* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold-primary: #d4af37;
    --gold-bright: #ffd700;
    --gold-dark: #8b6914;
    --brown-dark: #3e2723;
    --brown-medium: #5d4a1f;
    --bg-cream: #faf8f3;
    --bg-light: #f5f2ed;
    --text-dark: #2c1810;
    --text-medium: #5d4a1f;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.7;
}

/* Age Modal */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 39, 19, 0.95), rgba(139, 105, 20, 0.95));
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-box {
    background: linear-gradient(135deg, var(--bg-cream), var(--bg-light));
    padding: 3.5rem;
    border-radius: 15px;
    max-width: 550px;
    margin: 1.5rem;
    text-align: center;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.modal-box h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold-dark);
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.modal-box p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.modal-question {
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2rem;
    font-size: 1.3rem;
}

.modal-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.modal-actions button {
    padding: 1.2rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-accept {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-bright));
    color: var(--brown-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-accept:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.btn-deny {
    background: #6d6d6d;
    color: white;
}

.btn-deny:hover {
    background: #555;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--brown-dark), var(--brown-medium));
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 50px;
    height: 50px;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold-bright);
    letter-spacing: 2px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: var(--gold-primary);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--brown-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--gold-bright);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-bright);
    transition: width 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a.active {
    color: var(--gold-bright);
}

/* Main Container */
.main-container {
    min-height: 100vh;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, rgba(61, 39, 19, 0.85), rgba(93, 74, 31, 0.85)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%235d4a1f" width="1200" height="400"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 8rem 2rem;
    text-align: center;
}

.hero-banner.small {
    padding: 5rem 2rem;
}

.hero-overlay h1 {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--gold-bright);
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
    font-size: 1.6rem;
    color: var(--bg-cream);
    font-weight: 300;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold-dark);
    margin-bottom: 1rem;
}

.header-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 0 auto;
}

/* Introduction */
.intro-section {
    margin-bottom: 5rem;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Declarations */
.declarations {
    margin-bottom: 5rem;
}

.declaration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.declaration-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--gold-primary);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.declaration-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--gold-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.declaration-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
}

/* Game Section */
.game-section {
    margin-bottom: 5rem;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
}

.game-embed {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--gold-primary);
    max-width: 1100px;
    margin: 0 auto;
}

.game-embed iframe {
    width: 100%;
    height: 700px;
    display: block;
    border: none;
}

/* Values */
.values-section {
    margin-bottom: 5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.value-item {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(255, 215, 0, 0.05));
    padding: 2.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--gold-primary);
}

.value-item h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-medium);
}

/* Instructions */
.instructions-section {
    margin-bottom: 5rem;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.instruction-item {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.instruction-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.instruction-item h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.instruction-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.important-reminder {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 215, 0, 0.15));
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--gold-primary);
    text-align: center;
}

.important-reminder p {
    font-size: 1.2rem;
    margin: 0;
    color: var(--text-dark);
}

/* Legal Section */
.legal-section {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-article {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--gold-primary);
}

.legal-article.emphasis {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(255, 215, 0, 0.08));
    border-left: 5px solid var(--gold-dark);
}

.legal-article h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.9rem;
    color: var(--gold-dark);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.legal-article p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    color: var(--text-medium);
}

.legal-article ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-article li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
    color: var(--text-medium);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--brown-dark), var(--brown-medium));
    color: var(--bg-cream);
    padding: 4rem 2rem;
    margin-top: auto;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-wrapper h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--gold-bright);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--bg-cream);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gold-bright);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold-primary);
}

.footer-links a:hover {
    background: var(--gold-primary);
    color: var(--brown-dark);
    transform: translateY(-3px);
}

.footer-copyright {
    font-size: 0.95rem;
    color: rgba(250, 248, 243, 0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--brown-dark);
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a::before {
        display: none;
    }

    .hero-overlay h1 {
        font-size: 2.5rem;
    }

    .hero-overlay p {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .declaration-grid,
    .values-grid,
    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .game-embed iframe {
        height: 500px;
    }

    .modal-box {
        padding: 2.5rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}
