* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #c9a962;
    --gold-light: #dfc88a;
    --dark: #0d0d0d;
    --dark-secondary: #1a1a1a;
    --dark-tertiary: #252525;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-light);
}

/* Age Verification Overlay */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.age-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.age-modal {
    background: linear-gradient(145deg, var(--dark-secondary), var(--dark-tertiary));
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 3rem 2.5rem;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.age-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.age-modal h2 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.age-modal p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.yes-btn {
    background: var(--gold);
    color: var(--dark);
}

.yes-btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.no-btn {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

.no-btn:hover {
    border-color: var(--text-light);
    color: var(--text-light);
}

/* Header */
.site-header {
    background: var(--dark-secondary);
    border-bottom: 1px solid var(--dark-tertiary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark) 100%);
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--dark-tertiary);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    background: linear-gradient(180deg, var(--dark-secondary) 0%, var(--dark) 100%);
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--dark-tertiary);
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Notices Grid */
.notices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.notice-card {
    background: var(--dark-secondary);
    border: 1px solid var(--dark-tertiary);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: border-color 0.3s ease;
}

.notice-card:hover {
    border-color: var(--gold);
}

.notice-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.notice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Game Section */
.game-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
}

.game-header h2 {
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.game-header p {
    color: var(--text-muted);
}

.game-wrapper {
    background: var(--dark-secondary);
    border: 1px solid var(--dark-tertiary);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.game-wrapper.large {
    aspect-ratio: 16 / 10;
    max-width: 1200px;
    margin: 0 auto;
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.full-game {
    padding-top: 2rem;
}

/* Content Sections */
.content-section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    border-bottom: 1px solid var(--dark-tertiary);
}

.content-section:last-of-type {
    border-bottom: none;
}

.content-section h2 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.content-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.content-section p:last-child {
    margin-bottom: 0;
}

.highlight-section {
    background: var(--dark-secondary);
    border-radius: 6px;
    border: 1px solid var(--dark-tertiary);
    padding: 2.5rem !important;
    margin: 2rem auto;
}

/* Features List */
.features-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    color: var(--text-muted);
    padding: 0.8rem 1rem;
    background: var(--dark-secondary);
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: var(--dark-secondary);
    border-top: 1px solid var(--dark-tertiary);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-responsible {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-responsible span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-responsible a {
    color: var(--gold);
    font-size: 0.85rem;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Mobile Styles */
@media (max-width: 968px) {
    .notices-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--dark-tertiary);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .header-inner {
        padding: 1rem 1.5rem;
    }

    .hero-section {
        padding: 3rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .page-header {
        padding: 3rem 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .notices-grid {
        padding: 2rem 1.5rem;
    }

    .notice-card {
        padding: 2rem 1.5rem;
    }

    .game-section {
        padding: 2rem 1rem;
    }

    .game-wrapper {
        aspect-ratio: 4 / 3;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .footer-responsible {
        flex-direction: column;
        gap: 0.8rem;
    }

    .site-footer {
        padding: 2rem 1.5rem;
    }

    .age-modal {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
