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

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

:root {
    --gold: #d4af37;
    --gold-light: #f4e4bc;
    --purple: #4a1a6b;
    --purple-dark: #2d0f42;
    --cream: #faf8f3;
    --dark: #1a1216;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.8;
}

/* Header */
header {
    background: linear-gradient(90deg, var(--purple-dark), var(--purple));
    padding: 18px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-symbol {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-dark);
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    color: var(--gold-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--gold);
    transition: 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
    min-height: 100vh;
    padding: 140px 30px 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M40 0l40 40-40 40L0 40 40 0zm0 10L10 40l30 30 30-30-30-30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--gold-light);
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 16px 45px;
    background: var(--gold);
    color: var(--purple-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.hero-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-card {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.info-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--gold-light);
    opacity: 0.8;
}

/* Game Section */
.game-area {
    background: var(--cream);
    padding: 80px 30px;
}

.game-area h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--purple);
    margin-bottom: 50px;
}

.game-frame {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--purple-dark);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(74, 26, 107, 0.3);
}

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

/* About Section */
.about-section {
    background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dark) 100%);
    padding: 100px 30px;
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.about-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--gold);
    position: sticky;
    top: 120px;
}

.about-content p {
    color: var(--gold-light);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* Benefits */
.benefits {
    background: var(--cream);
    padding: 100px 30px;
}

.benefits-header {
    text-align: center;
    margin-bottom: 60px;
}

.benefits-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--purple);
}

.benefits-list {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.benefit-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    align-items: start;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--gold);
}

.benefit-item .num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.benefit-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--purple);
    margin-bottom: 10px;
}

.benefit-item p {
    color: #555;
    font-size: 0.95rem;
}

/* Page Header */
.page-hero {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    padding: 150px 30px 80px;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.page-hero p {
    color: var(--gold-light);
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Content Pages */
.content-area {
    padding: 80px 30px;
    background: var(--cream);
}

.content-box {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.content-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--purple);
    margin-bottom: 20px;
    margin-top: 40px;
}

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

.content-box p {
    color: #444;
    margin-bottom: 18px;
}

.content-box ul {
    margin: 20px 0;
    padding-left: 25px;
}

.content-box li {
    color: #444;
    margin-bottom: 12px;
}

/* Footer */
footer {
    background: var(--dark);
    padding: 60px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: #888;
    font-size: 0.9rem;
    max-width: 350px;
}

.footer-nav h4, .footer-resources h4 {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.footer-nav ul, .footer-resources ul {
    list-style: none;
}

.footer-nav a, .footer-resources a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: block;
    margin-bottom: 12px;
}

.footer-nav a:hover, .footer-resources a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

/* Age Modal */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 18, 22, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-box {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
    border: 2px solid var(--gold);
    padding: 50px 60px;
    border-radius: 16px;
    text-align: center;
    max-width: 480px;
}

.age-box .icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.age-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.age-box p {
    color: var(--gold-light);
    margin-bottom: 30px;
}

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

.age-yes, .age-no {
    padding: 14px 40px;
    border: none;
    border-radius: 6px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.age-yes {
    background: var(--gold);
    color: var(--purple-dark);
}

.age-no {
    background: transparent;
    border: 2px solid var(--gold-light);
    color: var(--gold-light);
}

.age-yes:hover, .age-no:hover {
    transform: scale(1.03);
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cards {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-title h2 {
        position: static;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--purple-dark);
        padding: 100px 30px;
        transition: right 0.3s;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .game-frame iframe {
        height: 380px;
    }
    
    .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .content-box {
        padding: 30px 20px;
    }
    
    .age-box {
        margin: 20px;
        padding: 35px 25px;
    }
    
    .age-actions {
        flex-direction: column;
    }
}
