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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    color: #512da8;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.age-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-buttons button {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-primary {
    background: #512da8;
    color: white;
}

.btn-primary:hover {
    background: #3d1f7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(81, 45, 168, 0.4);
}

.btn-secondary {
    background: #e53935;
    color: white;
}

.btn-secondary:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

/* Header & Navigation */
.header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #512da8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: #512da8;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: #512da8;
    border-bottom-color: #ffeb3b;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #512da8 0%, #7b1fa2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

/* Intro Section */
.intro-section {
    padding: 5rem 0;
    background: white;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
}

.intro-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Key Info Section */
.key-info-section {
    padding: 5rem 0;
    background: #fafafa;
}

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

.info-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 2rem;
    border-bottom: 3px solid;
}

.card-red .card-header {
    border-bottom-color: #e53935;
}

.card-green .card-header {
    border-bottom-color: #43a047;
}

.card-purple .card-header {
    border-bottom-color: #512da8;
}

.card-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.card-header h3 {
    margin: 0;
}

.card-body {
    padding: 2rem;
}

.card-body p {
    margin: 0;
    line-height: 1.7;
}

/* Game Showcase */
.game-showcase {
    padding: 5rem 0;
    background: white;
}

.game-wrapper {
    margin-top: 2rem;
}

.game-embed {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.game-embed iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.benefit-box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.benefit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.benefit-box h3 {
    margin-bottom: 1rem;
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
    background: #512da8;
    color: white;
}

.mission-box {
    max-width: 900px;
    margin: 0 auto;
}

.mission-box h2 {
    color: #ffeb3b;
    margin-bottom: 2rem;
    text-align: center;
}

.mission-box p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* Play Page */
.play-header {
    background: linear-gradient(135deg, #512da8 0%, #7b1fa2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.play-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.play-header p {
    font-size: 1.3rem;
}

.game-info-section {
    padding: 4rem 0;
    background: white;
}

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

.info-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.info-item h3 {
    margin-bottom: 1rem;
}

.main-game-section {
    padding: 3rem 0;
    background: #fafafa;
}

.game-container-full {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.game-container-full iframe {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

.game-rules {
    padding: 4rem 0;
    background: white;
}

.rules-box {
    max-width: 800px;
    margin: 0 auto;
}

.rules-box h2 {
    margin-bottom: 2rem;
}

.rules-list {
    list-style: none;
    counter-reset: rule-counter;
}

.rules-list li {
    counter-increment: rule-counter;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list li::before {
    content: counter(rule-counter);
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #512da8;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: 700;
    margin-right: 1rem;
}

.play-reminder {
    padding: 4rem 0;
    background: #fafafa;
}

.reminder-card {
    background: #fff3cd;
    border: 3px solid #ffc107;
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

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

.reminder-card h3 {
    color: #856404;
    margin-bottom: 1.5rem;
}

.reminder-card p {
    color: #856404;
    font-size: 1.1rem;
    margin: 0;
}

/* Legal Pages */
.legal-page {
    padding: 4rem 0;
    background: white;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-wrapper h1 {
    margin-bottom: 0.5rem;
}

.update-date {
    color: #888;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-wrapper h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.legal-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.legal-wrapper ul {
    margin: 1.5rem 0 1.5rem 2.5rem;
    line-height: 1.8;
}

.legal-wrapper ol {
    margin: 1.5rem 0 1.5rem 2.5rem;
    line-height: 1.8;
}

.terms-highlight {
    background: #e3f2fd;
    border-left: 5px solid #512da8;
    padding: 2rem;
    margin-top: 3rem;
    border-radius: 8px;
}

.terms-highlight h3 {
    margin-bottom: 1rem;
}

.terms-highlight p {
    margin: 0;
}

.alert-box {
    background: #fff3cd;
    border: 3px solid #ffc107;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.alert-box h2 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 1rem;
}

.alert-box p {
    color: #856404;
    margin: 0;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    color: #ffeb3b;
    margin-bottom: 1.5rem;
}

.footer-col p {
    line-height: 1.7;
    opacity: 0.9;
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: #ffeb3b;
}

.footer-bar {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.9;
}

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

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 2rem 0;
        gap: 0;
    }

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

    .nav-links li {
        margin: 1rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .game-embed iframe,
    .game-container-full iframe {
        height: 400px;
    }

    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }

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

    .container {
        padding: 0 1rem;
    }

    .intro-section,
    .key-info-section,
    .game-showcase,
    .benefits-section,
    .mission-section {
        padding: 3rem 0;
    }
}