@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Cormorant+Garamond:wght@300;400;500;600;700&display=swap');

:root {
    --gold-primary: #d4a853;
    --gold-light: #f5d998;
    --gold-dark: #a67c3d;
    --purple-deep: #4a1a6b;
    --purple-accent: #7b3ba3;
    --sand-light: #f5efe6;
    --sand-medium: #e8dcc8;
    --cream: #faf7f2;
    --text-dark: #2c1810;
    --text-muted: #6b5a4d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: linear-gradient(135deg, var(--sand-light) 0%, var(--cream) 50%, var(--sand-medium) 100%);
    color: var(--text-dark);
    line-height: 1.7;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

a {
    color: var(--purple-deep);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-primary);
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header */
.site-header {
    background: linear-gradient(180deg, var(--purple-deep) 0%, #3a1255 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(74, 26, 107, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    max-width: 1300px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--purple-deep);
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.4);
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(212, 168, 83, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sand-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-nav a:hover {
    color: var(--gold-primary);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero */
.hero-section {
    padding: 160px 25px 100px;
    text-align: center;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,5 95,30 95,70 50,95 5,70 5,30" fill="none" stroke="%23d4a853" stroke-width="0.5" opacity="0.15"/></svg>') repeat;
    background-size: 80px 80px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.2rem;
    color: var(--purple-deep);
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(74, 26, 107, 0.1);
}

.hero-section p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto;
    font-weight: 500;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(74, 26, 107, 0.08);
    border: 1px solid rgba(212, 168, 83, 0.2);
    transition: all 0.4s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(74, 26, 107, 0.12);
    border-color: var(--gold-primary);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--purple-deep);
    margin-bottom: 12px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Game Area */
.game-area {
    padding: 80px 25px;
    background: linear-gradient(180deg, transparent 0%, rgba(74, 26, 107, 0.03) 50%, transparent 100%);
}

.game-area h2 {
    text-align: center;
    font-size: 2.4rem;
    color: var(--purple-deep);
    margin-bottom: 40px;
}

.game-container {
    max-width: 950px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 15px 60px rgba(74, 26, 107, 0.15);
    border: 3px solid var(--gold-primary);
}

.game-container iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 15px;
}

/* Features */
.features-section {
    padding: 80px 25px;
}

.features-section h2 {
    text-align: center;
    font-size: 2.4rem;
    color: var(--purple-deep);
    margin-bottom: 50px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.feature-number {
    width: 50px;
    height: 50px;
    background: var(--gold-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--purple-deep);
    margin-bottom: 8px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Content Pages */
.page-banner {
    padding: 150px 25px 70px;
    text-align: center;
    background: linear-gradient(180deg, var(--purple-deep) 0%, #3a1255 100%);
}

.page-banner h1 {
    font-size: 2.8rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.page-banner p {
    color: var(--sand-light);
    font-size: 1.2rem;
}

.content-area {
    padding: 60px 25px;
    max-width: 900px;
    margin: 0 auto;
}

.content-area h2 {
    font-size: 1.8rem;
    color: var(--purple-deep);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-primary);
}

.content-area h2:first-child {
    margin-top: 0;
}

.content-area p {
    margin-bottom: 18px;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.content-area ul {
    list-style: none;
    margin: 20px 0;
}

.content-area li {
    padding: 14px 0 14px 35px;
    position: relative;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.content-area li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 0.8rem;
}

/* Footer */
.site-footer {
    background: var(--purple-deep);
    padding: 60px 25px 40px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-heading {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--sand-light);
    margin: 0 20px;
    font-size: 1rem;
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--gold-primary);
    opacity: 1;
}

.footer-bottom {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(212, 168, 83, 0.3);
    color: var(--sand-light);
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Age Modal */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 24, 16, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-overlay.hidden {
    display: none;
}

.age-box {
    background: white;
    border-radius: 25px;
    padding: 50px 45px;
    text-align: center;
    max-width: 480px;
    margin: 20px;
    border: 4px solid var(--gold-primary);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.age-box h2 {
    font-size: 1.8rem;
    color: var(--purple-deep);
    margin-bottom: 20px;
}

.age-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 35px;
    line-height: 1.6;
}

.age-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-age {
    padding: 16px 45px;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-age.confirm {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    color: white;
}

.btn-age.confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 168, 83, 0.4);
}

.btn-age.decline {
    background: transparent;
    border: 2px solid var(--purple-deep);
    color: var(--purple-deep);
}

.btn-age.decline:hover {
    background: var(--purple-deep);
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .info-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--purple-deep);
        padding: 25px;
        display: none;
        border-top: 1px solid rgba(212, 168, 83, 0.3);
    }
    
    .main-nav.open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    .game-container iframe {
        height: 450px;
    }
    
    .age-actions {
        flex-direction: column;
    }
    
    .btn-age {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .logo-symbol {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .game-container iframe {
        height: 380px;
    }
}
