/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important;
}

body {
    font-family: 'Crimson Text', serif;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    background-image: url(parchmentbg1.png);
    color: #3d2914;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Parchment texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 108, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(120, 119, 108, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 119, 108, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Header styles */
header {
    text-align: center;
    margin-bottom: 3rem;
}

.game-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: #2c1810;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.3rem;
    color: #5d4037;
    font-style: italic;
    letter-spacing: 1px;
}

/* Main content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

/* Compass styles */
.compass-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.compass {
    width: 200px;
    height: 200px;
    position: relative;
    background: radial-gradient(circle, #f4f1e8 0%, #d4c4a0 70%, #8b7355 100%);
    border-radius: 50%;
    border: 4px solid #5d4037;
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

.compass-rose {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
}

.compass-needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 120px;
    background: linear-gradient(to bottom, #d32f2f 0%, #d32f2f 45%, #424242 55%, #424242 100%);
    transform: translate(-50%, -50%) rotate(0deg);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: needle-rotate 20s linear infinite;
}

.compass-needle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 16px solid #d32f2f;
}

.compass-directions {
    position: relative;
    width: 100%;
    height: 100%;
}

.compass-directions span {
    position: absolute;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #2c1810;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.north {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.east {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.south {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.west {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Content styles */
.content {
    text-align: center;
    max-width: 800px;
}

.content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #2c1810;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.description {
    font-size: 1.2rem;
    color: #4a3728;
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    
}

.feature {
    background: rgba(244, 241, 232, 0.6);
    padding: 2rem;
    border-radius: 0;
    border: 2px solid #d4c4a0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feature h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #2c1810;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.feature p {
    color: #5d4037;
    font-size: 1rem;
}

/* Footer styles */
footer {
    background:  rgba(244, 241, 232, 0.6);    
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
}

.coming-soon {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #2c1810;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    color: #5d4037;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 2px solid #d4c4a0;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(244, 241, 232, 0.6);
}

.social-link:hover {
    background: #d4c4a0;
    color: #2c1810;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes needle-rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .game-title {
        font-size: 2.5rem;
    }
    
    .content h2 {
        font-size: 2rem;
    }
    
    .compass {
        width: 150px;
        height: 150px;
    }
    
    .compass-rose {
        width: 120px;
        height: 120px;
    }
    
    .compass-needle {
        height: 90px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .content h2 {
        font-size: 1.8rem;
    }
    
    .description {
        font-size: 1.1rem;
    }
}