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

body {
    font-family: 'Roboto', sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

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

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

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

.age-modal-inner {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.age-modal-content {
    background: #fff;
    border-radius: 10px;
    padding: 40px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-modal-content h2 {
    color: #4a90e2;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.age-modal-content p {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: #555;
}

.age-modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.age-btn {
    flex: 1;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.age-btn-yes {
    background: #4a90e2;
    color: #fff;
}

.age-btn-yes:hover {
    background: #3a7bc8;
    transform: translateY(-2px);
}

.age-btn-no {
    background: #e0e0e0;
    color: #666;
}

.age-btn-no:hover {
    background: #d0d0d0;
}

/* Header */
.main-header {
    background: #fff;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.site-branding .site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4a90e2;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 26px;
    height: 3px;
    background: #4a90e2;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-nav {
    display: flex;
    gap: 10px;
}

.site-nav a {
    color: #555;
    text-decoration: none;
    padding: 8px 16px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.site-nav a:hover {
    background: #4a90e2;
    color: #fff;
}

/* Main Content */
.main-content {
    min-height: 60vh;
}

/* Hero Area */
.hero-area {
    background: linear-gradient(135deg, #4a90e2 0%, #357ab7 100%);
    padding: 80px 0;
    color: #fff;
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-link {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.cta-primary {
    background: #fff;
    color: #4a90e2;
}

.cta-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.cta-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-ghost:hover {
    background: #fff;
    color: #4a90e2;
}

/* Critical Info */
.critical-info {
    padding: 60px 0;
    background: #fff;
}

.info-wrapper {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px;
}

.info-wrapper h2 {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 35px;
    font-weight: 700;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.15);
    transform: translateY(-3px);
}

.info-card-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #4a90e2;
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-card p {
    color: #666;
    line-height: 1.7;
}

/* Game Area */
.game-area {
    padding: 60px 0;
}

.game-header {
    text-align: center;
    margin-bottom: 35px;
}

.game-header h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.game-header p {
    color: #666;
    font-size: 1.1rem;
}

.game-box {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.game-embed {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 6px;
}

.game-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 18px;
    margin-top: 20px;
    text-align: center;
}

.game-disclaimer strong {
    color: #856404;
}

/* Benefits Area */
.benefits-area {
    padding: 60px 0;
    background: #fff;
}

.benefits-area h2 {
    text-align: center;
    color: #333;
    font-size: 2rem;
    margin-bottom: 45px;
    font-weight: 700;
}

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

.benefit {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #4a90e2;
    transition: all 0.3s ease;
}

.benefit:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.benefit h3 {
    color: #4a90e2;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.benefit p {
    color: #666;
    line-height: 1.7;
}

/* About Area */
.about-area {
    padding: 60px 0;
}

.about-box {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 40px;
}

.about-box h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-box > p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-check {
    color: #4a90e2;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.about-feature p {
    color: #666;
    line-height: 1.7;
}

.about-feature strong {
    color: #4a90e2;
}

/* Play Page */
.page-intro {
    padding: 60px 0 30px;
    text-align: center;
    background: linear-gradient(135deg, #4a90e2, #357ab7);
    color: #fff;
}

.page-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.intro-text {
    font-size: 1.15rem;
}

.play-section {
    padding: 40px 0;
}

.play-container {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
}

.full-game {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 6px;
}

.instructions-section {
    padding: 50px 0;
}

.instructions-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.instruction-panel {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
}

.instruction-panel h2 {
    color: #4a90e2;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.instruction-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.instruction-content strong {
    color: #4a90e2;
}

.instruction-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.instruction-content li {
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.play-notes {
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 35px;
}

.play-notes h3 {
    color: #333;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.note-item {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    border-left: 3px solid #4a90e2;
}

.note-item h4 {
    color: #4a90e2;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.note-item p {
    color: #666;
    line-height: 1.6;
}

/* Document Pages */
.document-header {
    padding: 60px 0 30px;
    text-align: center;
    background: linear-gradient(135deg, #4a90e2, #357ab7);
    color: #fff;
}

.document-header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.document-meta {
    font-style: italic;
    opacity: 0.9;
}

.document-body {
    padding: 50px 0;
}

.doc-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-intro {
    background: #f0f8ff;
    border-left: 4px solid #4a90e2;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
}

.privacy-intro p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.doc-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 25px;
}

.doc-item h2 {
    color: #4a90e2;
    font-size: 1.6rem;
    margin-bottom: 18px;
    font-weight: 600;
}

.doc-item h3 {
    color: #357ab7;
    font-size: 1.25rem;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 500;
}

.doc-item p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.doc-item ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.doc-item li {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.7;
}

.doc-item strong {
    color: #4a90e2;
}

.critical-disclaimer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.critical-disclaimer h2 {
    color: #856404;
    font-size: 1.7rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.critical-disclaimer h3 {
    color: #856404;
    font-size: 1.25rem;
    margin-top: 20px;
    margin-bottom: 12px;
}

.summary-section {
    background: #f0f8ff;
    border: 2px solid #4a90e2;
    border-radius: 8px;
    padding: 30px;
    margin-top: 35px;
}

.summary-section h2 {
    color: #4a90e2;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.summary-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-section li {
    color: #555;
    font-size: 1.05rem;
    padding-left: 25px;
    position: relative;
}

.summary-section li::before {
    content: "✓";
    color: #4a90e2;
    position: absolute;
    left: 0;
    font-weight: 700;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.summary-card {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.summary-card strong {
    display: block;
    color: #4a90e2;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.summary-card p {
    color: #666;
    margin: 0;
}

.final-notice {
    background: #4a90e2;
    color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-top: 35px;
    text-align: center;
}

.final-notice p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-column p {
    line-height: 1.7;
    margin-bottom: 10px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a90e2;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(236, 240, 241, 0.2);
    color: #bdc3c7;
}

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

    .site-nav {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        padding: 20px 0;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

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

    .site-nav a {
        padding: 12px 20px;
        border-radius: 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-link {
        width: 100%;
        text-align: center;
    }

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

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

    .instructions-layout {
        grid-template-columns: 1fr;
    }

    .game-embed {
        height: 450px;
    }

    .full-game {
        height: 550px;
    }

    .age-modal-content {
        padding: 30px 25px;
    }

    .age-modal-actions {
        flex-direction: column;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }

    .doc-item, .critical-disclaimer {
        padding: 25px 20px;
    }
}
