* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.6;
}

.wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 24px;
    color: #7c3aed;
}

.brand-symbol {
    font-size: 28px;
}

.navigation {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #f3f4f6;
    color: #7c3aed;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #7c3aed;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.banner {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    padding: 100px 0;
    color: #fff;
}

.banner.compact {
    padding: 70px 0;
}

.banner-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.banner-text h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.banner-lead {
    font-size: 20px;
    line-height: 1.7;
    opacity: 0.95;
}

.essentials {
    padding: 80px 0;
    background: #fff;
}

.essentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.essential-item {
    padding: 40px;
    border-radius: 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.essential-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.15);
}

.essential-item.violet {
    border-color: #7c3aed;
}

.essential-item.purple {
    border-color: #a855f7;
}

.essential-item.indigo {
    border-color: #6366f1;
}

.essential-emoji {
    font-size: 52px;
    margin-bottom: 20px;
}

.essential-item h3 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #7c3aed;
}

.essential-item p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 16px;
}

.story {
    padding: 80px 0;
    background: #f9fafb;
}

.story-content {
    max-width: 800px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 42px;
    margin-bottom: 28px;
    font-weight: 800;
    color: #7c3aed;
}

.story-content p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 22px;
    color: #4b5563;
}

.showcase {
    padding: 80px 0;
    background: #fff;
}

.showcase-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 800;
    color: #7c3aed;
}

.showcase-desc {
    text-align: center;
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 48px;
}

.game-box {
    max-width: 950px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid #e5e7eb;
}

.game-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-box.full {
    max-width: 100%;
}

.showcase-caption {
    text-align: center;
    margin-top: 28px;
    font-style: italic;
    color: #9ca3af;
    font-size: 16px;
}

.perks {
    padding: 80px 0;
    background: #f9fafb;
}

.perks-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 56px;
    font-weight: 800;
    color: #7c3aed;
}

.perks-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.perk {
    padding: 36px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.perk:hover {
    transform: scale(1.03);
}

.perk-marker {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    border-radius: 50%;
    margin-bottom: 20px;
}

.perk h4 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #1d1d1f;
}

.perk p {
    color: #6b7280;
    line-height: 1.7;
}

.footer {
    background: #1d1d1f;
    color: #d1d5db;
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-block h4 {
    font-size: 18px;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 700;
}

.footer-block p {
    line-height: 1.7;
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #a855f7;
}

.footer-base {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 48px;
    max-width: 520px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.modal-icon {
    font-size: 68px;
    margin-bottom: 24px;
}

.age-modal-content h2 {
    font-size: 32px;
    margin-bottom: 18px;
    color: #7c3aed;
    font-weight: 800;
}

.age-modal-content p {
    margin-bottom: 14px;
    line-height: 1.7;
    color: #4b5563;
    font-size: 16px;
}

.modal-notice {
    background: #f3f4f6;
    padding: 16px;
    border-radius: 10px;
    border-left: 4px solid #7c3aed;
    margin-bottom: 28px;
}

.modal-buttons {
    display: flex;
    gap: 14px;
}

.btn-confirm,
.btn-cancel {
    flex: 1;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.btn-confirm {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
}

.btn-confirm:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.btn-cancel {
    background: #e5e7eb;
    color: #4b5563;
}

.btn-cancel:hover {
    background: #d1d5db;
}

.document {
    padding: 80px 0;
    background: #f9fafb;
}

.document-body {
    background: #fff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 880px;
    margin: 0 auto;
}

.document-body h2 {
    font-size: 28px;
    margin-top: 36px;
    margin-bottom: 16px;
    color: #7c3aed;
    font-weight: 700;
}

.document-body h2:first-child {
    margin-top: 0;
}

.document-body p {
    line-height: 1.8;
    margin-bottom: 18px;
    color: #4b5563;
    font-size: 16px;
}

.instructions {
    padding: 80px 0;
    background: #fff;
}

.instructions-box {
    background: #f9fafb;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    margin-bottom: 48px;
}

.instructions-box h2 {
    font-size: 36px;
    margin-bottom: 36px;
    color: #7c3aed;
    font-weight: 800;
}

.instructions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    margin-bottom: 32px;
}

.instruction {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.instruction-num {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #fff;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.instruction-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1d1d1f;
    font-weight: 700;
}

.instruction-text p {
    color: #6b7280;
    line-height: 1.6;
}

.instructions-alert {
    background: #fef3c7;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    font-size: 16px;
}

.play-zone {
    padding: 0 0 80px 0;
    background: #fff;
}

@media (max-width: 768px) {
    .navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 70%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    }

    .navigation.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 16px 12px;
        border-bottom: 1px solid #e5e7eb;
    }

    .menu-toggle {
        display: flex;
    }

    .banner-text h1 {
        font-size: 38px;
    }

    .banner-lead {
        font-size: 17px;
    }

    .essentials-grid {
        grid-template-columns: 1fr;
    }

    .perks-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .age-modal-content {
        margin: 20px;
        padding: 36px 24px;
    }

    .modal-icon {
        font-size: 60px;
    }

    .age-modal-content h2 {
        font-size: 26px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .document-body {
        padding: 36px 24px;
    }

    .instructions-box {
        padding: 36px 24px;
    }

    .instructions-list {
        grid-template-columns: 1fr;
    }
}
