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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #f9fafb;
    color: #111827;
    line-height: 1.6;
}

.top-banner {
    background: linear-gradient(90deg, #6366F1 0%, #4F46E5 100%);
    color: white;
    text-align: center;
    padding: 0.75rem;
    font-weight: 600;
}

.header {
    background: white;
    border-bottom: 3px solid #6366F1;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo-block {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-block h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #6366F1;
    letter-spacing: 2px;
}

.menu-btn {
    display: none;
    background: #6366F1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
}

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

.navigation a {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.navigation a:hover {
    color: #6366F1;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.masthead {
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    padding: 5rem 0;
}

.masthead-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: #6366F1;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.masthead-text h2 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #1F2937;
}

.masthead-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #4B5563;
}

.action-link {
    display: inline-block;
    background: #6366F1;
    color: white;
    padding: 1.25rem 3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.action-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.masthead-visual {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.visual-box {
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid #6366F1;
}

.principles {
    padding: 4rem 0;
    background: white;
}

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

.principle {
    text-align: center;
}

.principle-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.principle h3 {
    font-size: 1.75rem;
    color: #6366F1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.principle p {
    font-size: 1.1rem;
    color: #4B5563;
}

.featured-game {
    padding: 5rem 0;
    background: #f9fafb;
}

.game-header {
    text-align: center;
    margin-bottom: 3rem;
}

.game-header h2 {
    font-size: 2.5rem;
    color: #6366F1;
    font-weight: 700;
    margin-bottom: 1rem;
}

.game-header p {
    font-size: 1.15rem;
    color: #4B5563;
}

.game-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid #6366F1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.game-box iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.benefits-section {
    padding: 5rem 0;
    background: white;
}

.section-heading {
    font-size: 2.5rem;
    color: #6366F1;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

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

.benefit {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #6366F1;
}

.benefit-num {
    display: block;
    font-size: 2.5rem;
    color: #C7D2FE;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #1F2937;
}

.benefit p {
    color: #4B5563;
}

.critical-info {
    padding: 5rem 0;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
}

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

.panel {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    border: 3px solid #6366F1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.panel h3 {
    font-size: 1.5rem;
    color: #4F46E5;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.footer {
    background: #1F2937;
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
}

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

.footer-item h4 {
    color: #6366F1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-item ul {
    list-style: none;
}

.footer-item a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-item a:hover {
    color: #6366F1;
}

.footer-small {
    color: #9CA3AF;
    margin-top: 0.5rem;
}

.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-gate.active {
    display: flex;
}

.age-gate-card {
    background: white;
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    border: 4px solid #6366F1;
}

.age-gate-card h2 {
    color: #6366F1;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.age-gate-card p {
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: #4B5563;
}

.age-gate-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.age-gate-actions button {
    flex: 1;
    padding: 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-confirm {
    background: #10B981;
    color: white;
}

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

.age-gate-actions button:hover {
    transform: scale(1.05);
}

.play-intro-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
}

.play-intro-section h2 {
    font-size: 3rem;
    color: #6366F1;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.play-intro-section p {
    font-size: 1.15rem;
    color: #4B5563;
    max-width: 800px;
    margin: 0 auto;
}

.play-main {
    padding: 3rem 0;
}

.game-box-large {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 3px solid #6366F1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.game-box-large iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

.play-tips {
    padding: 4rem 0;
    background: white;
}

.play-tips h3 {
    font-size: 2rem;
    color: #6366F1;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

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

.tip-item {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #E5E7EB;
}

.tip-item h4 {
    color: #4F46E5;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.document-section {
    padding: 4rem 0;
}

.document {
    background: white;
    padding: 4rem;
    border-radius: 15px;
    border: 3px solid #6366F1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.document h2 {
    color: #6366F1;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.doc-meta {
    color: #6B7280;
    font-style: italic;
    margin-bottom: 3rem;
}

.document h3 {
    color: #4F46E5;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.document ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.document li {
    margin-bottom: 0.75rem;
}

.highlight-notice {
    background: #EEF2FF;
    border: 3px solid #6366F1;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 12px;
    text-align: center;
}

.highlight-notice h4 {
    color: #4F46E5;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
        border-top: 2px solid #6366F1;
    }

    .navigation.active {
        display: flex;
    }

    .navigation a {
        padding: 1rem 0;
        border-bottom: 1px solid #E5E7EB;
    }

    .masthead-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .masthead-text h2 {
        font-size: 2.5rem;
    }

    .masthead-visual {
        justify-content: center;
    }

    .visual-box {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .game-box iframe,
    .game-box-large iframe {
        height: 400px;
    }

    .principles .wrapper,
    .benefits-list,
    .info-panels,
    .tips-layout {
        grid-template-columns: 1fr;
    }
}