@import url('https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&family=Nunito:wght@300;400;600;700&display=swap');

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

:root {
    --sapphire: #2563EB;
    --sapphire-light: #3B82F6;
    --sapphire-glow: #60A5FA;
    --midnight: #0A0E1A;
    --surface: #111827;
    --pearl: #F9FAFB;
    --pearl-dim: #9CA3AF;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--midnight);
    color: var(--pearl);
    line-height: 1.75;
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--midnight) 0%, rgba(10, 14, 26, 0.9) 100%);
    backdrop-filter: blur(16px);
    padding: 18px 0;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

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

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 14px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    position: relative;
}

.brand-mark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--sapphire), var(--sapphire-glow));
    border-radius: 8px;
    transform: rotate(45deg);
}

.brand-mark::after {
    content: 'A';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Philosopher', serif;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.brand-title {
    font-family: 'Philosopher', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--sapphire-glow);
    letter-spacing: 2px;
}

.navigation {
    display: flex;
    gap: 45px;
}

.navigation a {
    color: var(--pearl-dim);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: var(--sapphire-glow);
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--sapphire-glow);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 35px 100px;
    background: radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(96, 165, 250, 0.05) 0%, transparent 40%);
}

.hero-content {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-family: 'Philosopher', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--sapphire-glow);
}

.hero .description {
    font-size: 1.2rem;
    color: var(--pearl-dim);
    max-width: 650px;
    margin-bottom: 45px;
    font-weight: 300;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 17px 45px;
    background: var(--sapphire);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
}

.cta-link:hover {
    background: var(--sapphire-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.45);
}

/* Info Blocks */
.info-blocks {
    padding: 80px 35px;
    max-width: 1350px;
    margin: 0 auto;
}

.blocks-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-block {
    background: var(--surface);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.info-block:hover {
    border-color: var(--sapphire);
    transform: translateY(-5px);
}

.info-block .ico {
    font-size: 3rem;
    margin-bottom: 22px;
}

.info-block h3 {
    font-family: 'Philosopher', serif;
    font-size: 1.25rem;
    color: var(--sapphire-glow);
    margin-bottom: 14px;
}

.info-block p {
    color: var(--pearl-dim);
    font-size: 0.95rem;
}

/* Game Area */
.game-area {
    padding: 100px 35px;
}

.game-area h2 {
    font-family: 'Philosopher', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--sapphire-glow);
    margin-bottom: 50px;
}

.game-holder {
    max-width: 1180px;
    margin: 0 auto;
    background: var(--surface);
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.4);
}

.game-holder iframe {
    width: 100%;
    height: 660px;
    border: none;
    border-radius: 12px;
}

/* Benefits */
.benefits {
    padding: 100px 35px;
    max-width: 1250px;
    margin: 0 auto;
}

.benefits h2 {
    font-family: 'Philosopher', serif;
    font-size: 2.3rem;
    text-align: center;
    color: var(--pearl);
    margin-bottom: 55px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.benefit {
    background: linear-gradient(135deg, var(--surface), rgba(37, 99, 235, 0.05));
    padding: 32px 28px;
    border-radius: 12px;
    border-left: 4px solid var(--sapphire);
}

.benefit h4 {
    font-family: 'Philosopher', serif;
    font-size: 1.2rem;
    color: var(--sapphire-glow);
    margin-bottom: 12px;
}

.benefit p {
    color: var(--pearl-dim);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: rgba(5, 8, 15, 0.95);
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    padding: 60px 35px 40px;
    margin-top: 90px;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--pearl-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.support-section {
    padding-top: 35px;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.support-section p {
    color: var(--pearl-dim);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.support-section a {
    color: var(--sapphire-light);
    text-decoration: none;
    margin: 0 18px;
    font-size: 0.85rem;
}

.support-section a:hover {
    text-decoration: underline;
}

.footer-copyright {
    margin-top: 35px;
    color: rgba(156, 163, 175, 0.4);
    font-size: 0.8rem;
}

/* Age Modal */
.age-modal-wrap {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-modal-wrap.closed {
    display: none;
}

.age-modal-box {
    background: var(--surface);
    border: 2px solid var(--sapphire);
    padding: 55px 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 520px;
    margin: 25px;
    box-shadow: 0 0 70px rgba(37, 99, 235, 0.25);
}

.age-modal-box h2 {
    font-family: 'Philosopher', serif;
    font-size: 1.9rem;
    color: var(--sapphire-glow);
    margin-bottom: 22px;
}

.age-modal-box p {
    color: var(--pearl-dim);
    margin-bottom: 35px;
}

.age-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.age-enter, .age-exit {
    padding: 15px 42px;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.age-enter {
    background: var(--sapphire);
    color: white;
}

.age-exit {
    background: transparent;
    border: 2px solid var(--pearl-dim);
    color: var(--pearl-dim);
}

.age-enter:hover, .age-exit:hover {
    transform: scale(1.04);
}

/* Page Content */
.page-body {
    padding: 150px 35px 100px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-body h1 {
    font-family: 'Philosopher', serif;
    font-size: 2.7rem;
    color: var(--sapphire-glow);
    margin-bottom: 45px;
}

.page-body h2 {
    font-family: 'Philosopher', serif;
    font-size: 1.45rem;
    color: var(--sapphire-light);
    margin: 42px 0 18px;
}

.page-body p {
    color: var(--pearl-dim);
    margin-bottom: 20px;
}

.page-body ul {
    color: var(--pearl-dim);
    margin: 0 0 25px 28px;
}

.page-body li {
    margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 1000px) {
    .blocks-row {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 22px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(37, 99, 235, 0.2);
    }
    
    .navigation.open {
        transform: translateY(0);
    }
    
    .hero h1 {
        font-size: 2.4rem;
    }
    
    .hero .description {
        font-size: 1.05rem;
    }
    
    .game-holder iframe {
        height: 460px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .age-btn-group {
        flex-direction: column;
    }
}
