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

:root {
    --primary-red: #c41e3a;
    --deep-red: #8b0000;
    --gold: #ffd700;
    --dark-gold: #b8860b;
    --cream: #fffdd0;
    --dark-bg: #1a0000;
    --card-bg: #2a0a0a;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #1a0000 0%, #2d0a0a 50%, #1a0000 100%);
    background-attachment: fixed;
    color: var(--cream);
    line-height: 1.7;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.top-header {
    background: linear-gradient(135deg, var(--deep-red) 0%, var(--primary-red) 100%);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.brand-icon {
    font-size: 2.2rem;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.navigation {
    display: flex;
    gap: 0.5rem;
}

.nav-item {
    padding: 0.75rem 1.5rem;
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
    position: relative;
}

.nav-item:hover {
    background: rgba(255, 215, 0, 0.2);
    color: var(--gold);
}

.nav-item.active {
    background: var(--gold);
    color: var(--deep-red);
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    width: 30px;
    height: 3px;
    background: var(--gold);
    transition: 0.3s;
}

.main-wrapper {
    min-height: calc(100vh - 200px);
}

.hero-banner {
    background: radial-gradient(ellipse at center, rgba(196, 30, 58, 0.4) 0%, transparent 70%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-lead {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 500;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.welcome-block {
    background: var(--card-bg);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.welcome-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.important-notices {
    margin-bottom: 3rem;
}

.notice-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.notice-box {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.notice-box:hover {
    transform: translateY(-8px);
}

.red-accent {
    border-color: #ff4444;
}

.blue-accent {
    border-color: #4488ff;
}

.gold-accent {
    border-color: var(--gold);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.notice-emoji {
    font-size: 2.5rem;
}

.notice-box h3 {
    color: var(--gold);
    font-size: 1.3rem;
}

.featured-game {
    background: var(--card-bg);
    border: 3px solid var(--gold);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
}

.game-description {
    margin-bottom: 2rem;
}

.game-description p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.game-embed {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-footer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--gold);
    border-radius: 5px;
}

.why-choose {
    margin-bottom: 3rem;
}

.benefits-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--card-bg);
    border: 1px solid var(--primary-red);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.responsibility-message {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.3) 0%, rgba(139, 0, 0, 0.3) 100%);
    border: 2px solid var(--gold);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.responsibility-inner h2 {
    color: var(--gold);
    text-align: center;
    margin-bottom: 1.5rem;
}

.responsibility-inner p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.key-reminder {
    background: rgba(255, 215, 0, 0.15);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 5px solid var(--gold);
    margin-top: 2rem;
}

.site-footer {
    background: linear-gradient(to top, var(--deep-red) 0%, var(--primary-red) 100%);
    border-top: 3px solid var(--gold);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 0, 0, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

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

.age-modal-inner {
    background: linear-gradient(135deg, var(--deep-red) 0%, var(--primary-red) 100%);
    border: 3px solid var(--gold);
    border-radius: 15px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4);
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-modal-inner h2 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.age-text {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.age-subtext {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.age-actions {
    display: flex;
    gap: 1rem;
}

.btn-confirm, .btn-deny {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.btn-confirm {
    background: #22c55e;
    color: white;
}

.btn-confirm:hover {
    background: #16a34a;
    transform: scale(1.05);
}

.btn-deny {
    background: #ef4444;
    color: white;
}

.btn-deny:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.page-title-section {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    background: var(--card-bg);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
}

.page-title-section h1 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--cream);
}

.play-instructions, .game-area, .gameplay-guide, .technical-info, .important-reminders {
    margin-bottom: 3rem;
}

.play-instructions, .gameplay-guide, .technical-info, .important-reminders {
    background: var(--card-bg);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    padding: 2.5rem;
}

.play-instructions h2, .gameplay-guide h2, .technical-info h2, .important-reminders h2 {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.instruction-content p, .tech-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guide-step {
    background: rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.guide-step h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

.reminders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.reminder-item {
    background: rgba(255, 215, 0, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--primary-red);
    text-align: center;
}

.reminder-item strong {
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
}

.legal-article {
    background: var(--card-bg);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.legal-article h2 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
}

.legal-article h3 {
    color: var(--gold);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.legal-article p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.legal-article ul {
    margin: 1rem 0 1rem 2rem;
    list-style: square;
}

.legal-article li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.disclaimer-critical {
    border: 3px solid var(--gold);
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.4) 0%, rgba(139, 0, 0, 0.4) 100%);
}

.emphasis-text {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .navigation {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        flex-direction: column;
        background: linear-gradient(to bottom, var(--deep-red) 0%, var(--primary-red) 100%);
        padding: 2rem 0;
        border-right: 3px solid var(--gold);
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        transition: left 0.3s ease;
        height: calc(100vh - 70px);
    }

    .navigation.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .content-container {
        padding: 0 1rem 2rem;
    }

    .notice-columns, .benefits-layout, .guide-content, .reminders-grid {
        grid-template-columns: 1fr;
    }

    .welcome-block, .featured-game, .play-instructions, .gameplay-guide, .technical-info, .important-reminders, .legal-article {
        padding: 1.5rem;
    }

    .age-modal-inner {
        margin: 1rem;
        padding: 2rem;
    }

    .age-actions {
        flex-direction: column;
    }

    .game-embed {
        padding-bottom: 120%;
    }
}
