* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --gold-dark: #b8941f;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --charcoal: #2a2a2a;
    --light-text: #f5f5f5;
    --gray-text: #b8b8b8;
    --border-gold: rgba(212, 175, 55, 0.3);
}

body {
    font-family: 'Lato', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.header-wrapper, .section-container, .content-grid, .footer-container, .legal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-modal.hidden {
    display: none;
}

.age-content {
    background: var(--charcoal);
    padding: 3rem;
    max-width: 550px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--gold);
    box-shadow: 0 10px 50px rgba(212, 175, 55, 0.2);
}

.age-emblem {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.age-content h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.age-text {
    color: var(--gray-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.age-note {
    color: var(--gray-text);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.age-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-gold, .btn-outline {
    padding: 12px 28px;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark-bg);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gray-text);
    border: 2px solid var(--gray-text);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Header */
.header {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gold);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--gold);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.navigation {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

/* Hero */
.hero, .page-hero {
    padding: 8rem 0;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.page-hero {
    padding: 5rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05), transparent);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-heading {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
    font-weight: 600;
}

.hero-heading.small {
    font-size: 2.5rem;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--gray-text);
}

/* Sections */
.intro-section, .info-section, .game-presentation, .advantages-section, .responsibility-section {
    padding: 5rem 0;
}

.info-section {
    background: var(--charcoal);
}

.advantages-section {
    background: var(--charcoal);
}

.section-heading, .elegant-heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gold);
    font-weight: 600;
}

.elegant-heading {
    text-align: left;
    margin-bottom: 2rem;
}

.section-intro {
    text-align: center;
    color: var(--gray-text);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.content-column, .content-column-wide {
    color: var(--gray-text);
    line-height: 1.8;
}

.content-column p, .content-column-wide p {
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: var(--charcoal);
    padding: 2rem;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
}

.highlight-box h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.highlight-box p {
    color: var(--gray-text);
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.elegant-card {
    background: var(--dark-bg);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    position: relative;
    transition: all 0.3s ease;
}

.elegant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
}

.card-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    opacity: 0.15;
}

.elegant-card h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.elegant-card p {
    color: var(--gray-text);
    line-height: 1.7;
}

/* Game Frame */
.game-frame-wrapper {
    max-width: 950px;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.advantage-box {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-box:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.15);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.advantage-box h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.advantage-box p {
    color: var(--gray-text);
    line-height: 1.7;
}

/* Play Page */
.play-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.play-info-card {
    background: var(--charcoal);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
}

.play-info-card h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.play-info-card p {
    color: var(--gray-text);
    line-height: 1.7;
}

.play-section {
    background: #000;
    padding: 0;
}

.game-container-full {
    width: 100%;
}

.game-frame-full {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.guidance-section {
    background: var(--charcoal);
    padding: 5rem 0;
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.guidance-item {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    text-align: center;
}

.guidance-item h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.guidance-item p {
    color: var(--gray-text);
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
}

.legal-item {
    background: var(--charcoal);
    padding: 2.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 3px solid var(--gold);
}

.legal-item.critical {
    border: 2px solid var(--gold);
    border-left: 5px solid var(--gold);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.1);
}

.legal-item h2 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.legal-item p {
    color: var(--gray-text);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-item ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-item li {
    color: var(--gray-text);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-gold);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-column p {
    color: var(--gray-text);
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gold);
    color: var(--gray-text);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
    }

    .navigation {
        position: fixed;
        top: 70px;
        right: -100%;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        width: 250px;
        padding: 2rem;
        border-left: 1px solid var(--border-gold);
        transition: right 0.3s ease;
        gap: 1.5rem;
        box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.5);
    }

    .navigation.active {
        right: 0;
    }

    .hero-heading {
        font-size: 2.5rem;
    }

    .hero-heading.small {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .age-content {
        padding: 2rem;
        margin: 1rem;
    }

    .age-actions {
        flex-direction: column;
    }

    .content-grid,
    .info-cards,
    .advantages-grid,
    .play-info-grid,
    .guidance-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .game-frame-full {
        height: 550px;
    }
}
