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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f9fafb;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    color: white;
    font-size: 1.7rem;
    font-weight: 800;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
}

.main-nav {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Age Overlay */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

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

.age-dialog {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.age-star {
    font-size: 4.5rem;
    margin-bottom: 1rem;
}

.age-dialog h2 {
    color: #7c3aed;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.age-dialog p {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 0.8rem;
}

.age-note {
    font-weight: 600;
}

.age-disclaimer {
    font-size: 0.95rem !important;
    color: #6b7280 !important;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-verify {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Open Sans', sans-serif;
}

.btn-yes {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    color: white;
}

.btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.btn-no {
    background: #dc2626;
    color: white;
}

.btn-no:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

/* Hero Area */
.hero-area {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    padding: 5rem 2rem;
    color: white;
    text-align: center;
}

.hero-inner h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-desc {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-icon {
    font-size: 1.5rem;
}

/* Sections */
.welcome-area,
.info-area,
.game-area,
.highlights-area {
    padding: 4rem 0;
}

.welcome-area {
    background: white;
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #7c3aed;
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-lead {
    font-size: 1.15rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.15);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #4b5563;
    line-height: 1.8;
}

/* Info Area */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.info-panel {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid;
}

.panel-purple {
    border-top-color: #7c3aed;
}

.panel-blue {
    border-top-color: #2563eb;
}

.panel-indigo {
    border-top-color: #4f46e5;
}

.info-panel h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.info-panel p {
    color: #4b5563;
    line-height: 1.8;
}

/* Game Area */
.game-area {
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
}

.game-box {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
    margin-bottom: 1.5rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
}

.game-hint {
    text-align: center;
    font-size: 1.05rem;
    color: #6b7280;
}

/* Highlights Area */
.highlights-area {
    background: white;
}

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

.highlight-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.highlight-num {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 0.7rem;
}

.highlight-content p {
    color: #4b5563;
    line-height: 1.8;
}

/* Title Section */
.title-section {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    padding: 3rem 2rem;
    color: white;
    text-align: center;
}

.title-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.title-section p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Instructions Area */
.instructions-area {
    padding: 3rem 0;
    background: white;
}

.instructions-box {
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.instructions-box h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 1.5rem;
}

.instructions-list {
    list-style: none;
    margin-bottom: 2rem;
}

.instructions-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #374151;
    font-size: 1.05rem;
}

.instructions-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #7c3aed;
    font-weight: bold;
    font-size: 1.2rem;
}

.instructions-reminder {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #7c3aed;
    color: #1f2937;
}

/* Gameplay Area */
.gameplay-area {
    padding: 3rem 0;
}

.gameplay-container {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
}

.gameplay-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
}

/* Tips Area */
.tips-area {
    padding: 3rem 0;
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
}

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

.tip-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tip-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    display: block;
}

.tip-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.tip-card p {
    color: #4b5563;
    line-height: 1.8;
}

/* Document Area */
.document-area {
    padding: 3rem 0;
}

.document-box {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.doc-section {
    margin-bottom: 2.5rem;
}

.doc-section h2 {
    text-align: left;
    font-size: 1.8rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

.doc-section p {
    color: #4b5563;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.doc-meta {
    background: linear-gradient(135deg, #faf5ff 0%, #ede9fe 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.doc-meta p {
    color: #7c3aed;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.disclaimer-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 2.5rem;
}

.disclaimer-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.disclaimer-banner p {
    color: white;
    opacity: 0.95;
}

/* Footer */
.site-footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-block h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-block p {
    opacity: 0.9;
    line-height: 1.8;
}

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

.footer-menu li {
    margin-bottom: 0.7rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: white;
}

.footer-bar {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-bar p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: linear-gradient(180deg, #7c3aed 0%, #2563eb 100%);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: left 0.3s;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .main-nav.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-inner h1 {
        font-size: 2.2rem;
    }

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

    h2 {
        font-size: 2rem;
    }

    .feature-grid,
    .info-grid,
    .tips-grid {
        grid-template-columns: 1fr;
    }

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

    .game-frame {
        height: 400px;
    }

    .gameplay-frame {
        height: 500px;
    }

    .document-box {
        padding: 2rem 1.5rem;
    }

    .age-dialog {
        padding: 2rem 1.5rem;
    }

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