@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;800&family=Cormorant+Garamond:wght@400;600;700&display=swap');

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

:root {
    --deep-blue: #1E3A5F;
    --ocean-blue: #2563EB;
    --sky-blue: #3B82F6;
    --foam-white: #E0F2FE;
    --pearl: #F0F9FF;
    --sand: #FCD34D;
    --midnight: #0F172A;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(180deg, var(--midnight) 0%, var(--deep-blue) 100%);
    color: var(--pearl);
    line-height: 1.75;
    min-height: 100vh;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

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

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--foam-white);
    text-decoration: none;
    letter-spacing: 3px;
}

.primary-nav {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.primary-nav a {
    color: var(--foam-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.primary-nav a:hover {
    color: var(--sand);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--sand);
    border-radius: 3px;
    transition: 0.3s;
}

.main-content {
    padding-top: 85px;
}

.welcome-section {
    text-align: center;
    padding: 6rem 2rem;
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.2) 0%, transparent 60%);
}

.welcome-section h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--foam-white);
}

.welcome-section h1 .accent {
    color: var(--sand);
    display: block;
}

.welcome-section .lead {
    font-size: 1.3rem;
    color: rgba(224, 242, 254, 0.85);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.action-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--sky-blue) 100%);
    color: var(--pearl);
    padding: 1.1rem 3rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.info-badges {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
    background: rgba(30, 58, 95, 0.5);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-item .badge-icon {
    font-size: 1.5rem;
}

.badge-item span {
    font-weight: 600;
    font-size: 0.95rem;
}

.game-section {
    padding: 5rem 2rem;
    text-align: center;
}

.game-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    margin-bottom: 3rem;
    color: var(--sand);
}

.game-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.game-iframe {
    width: 100%;
    height: 580px;
    border: none;
    border-radius: 14px;
    background: #000;
}

.features-section {
    padding: 5rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.features-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--foam-white);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-box {
    background: linear-gradient(145deg, rgba(30, 58, 95, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--sky-blue);
}

.feature-box h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--sand);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: rgba(224, 242, 254, 0.8);
    font-size: 0.95rem;
}

.highlight-area {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean-blue) 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.highlight-area h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.highlight-area p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: rgba(240, 249, 255, 0.9);
}

footer {
    background: #060B14;
    padding: 3.5rem 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(224, 242, 254, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.responsible-area {
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.responsible-area p {
    color: rgba(224, 242, 254, 0.6);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.responsible-area a {
    color: var(--sand);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.85rem;
}

.copyright {
    margin-top: 2rem;
    color: rgba(224, 242, 254, 0.4);
    font-size: 0.8rem;
}

.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 20, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

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

.modal-content {
    background: linear-gradient(145deg, var(--deep-blue) 0%, var(--midnight) 100%);
    border: 2px solid var(--sky-blue);
    border-radius: 20px;
    padding: 3.5rem;
    max-width: 480px;
    text-align: center;
    margin: 1rem;
}

.modal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--foam-white);
    margin-bottom: 1rem;
}

.modal-content p {
    color: rgba(224, 242, 254, 0.85);
    margin-bottom: 2rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.modal-btn.yes {
    background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--sky-blue) 100%);
    color: var(--pearl);
}

.modal-btn.no {
    background: transparent;
    border: 2px solid var(--foam-white);
    color: var(--foam-white);
}

.modal-btn:hover {
    transform: scale(1.05);
}

.page-banner {
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--ocean-blue) 100%);
    padding: 7rem 2rem 4rem;
    text-align: center;
}

.page-banner h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: var(--pearl);
}

.content-area {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-card {
    background: rgba(30, 58, 95, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.content-card h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--sand);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.content-card p {
    color: rgba(224, 242, 254, 0.85);
    margin-bottom: 1rem;
}

.content-card ul {
    margin-left: 1.5rem;
    color: rgba(224, 242, 254, 0.8);
}

.content-card li {
    margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-200%);
        transition: transform 0.4s;
    }

    .primary-nav.show {
        transform: translateY(0);
    }

    .welcome-section h1 {
        font-size: 2.6rem;
    }

    .info-badges {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .game-iframe {
        height: 360px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .page-banner h1 {
        font-size: 2.2rem;
    }
}
