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

:root {
    --primary-purple: #7B3FF2;
    --dark-purple: #5D2DBD;
    --light-purple: #9B6FFF;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #E9ECEF;
    --dark-gray: #6C757D;
    --text-dark: #212529;
    --text-light: #6C757D;
    --border-color: #DEE2E6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
    text-decoration: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-purple);
}

.btn-login {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
}

.btn-login:hover {
    background-color: var(--dark-purple);
    color: var(--white);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-purple);
    margin: 3px 0;
    transition: 0.3s;
}

.hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.age-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 2px solid var(--white);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-disclaimer {
    font-size: 0.9rem;
    margin-top: 1.5rem;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-purple);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-block;
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--dark-purple);
}

.featured-game,
.about-preview,
.testimonials,
.about-content,
.responsible-content,
.contact-form-section,
.game-container {
    padding: 4rem 0;
}

.featured-game h2,
.about-preview h2,
.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.game-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.game-preview {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--primary-purple) 100%);
    padding: 3rem;
    color: var(--white);
    text-align: center;
}

.game-placeholder h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.game-info {
    padding: 2rem;
    text-align: center;
}

.game-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-purple);
}

.game-info p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.about-preview {
    background-color: var(--light-gray);
}

.about-text {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
}

.about-preview .btn-secondary {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
}

.testimonials {
    background-color: var(--white);
}

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

.testimonial-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-purple);
}

.testimonial-card p {
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-purple);
}

.cta-banner,
.contact-cta {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-banner h2,
.contact-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-banner p,
.contact-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.disclaimer {
    background-color: var(--light-gray);
    padding: 3rem 0;
}

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

.age-warning {
    display: inline-block;
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.disclaimer h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.disclaimer p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.play-responsibly {
    font-weight: 600;
    color: var(--primary-purple);
    margin-top: 1.5rem;
}

.support-organizations {
    background-color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.support-organizations h3 {
    color: var(--primary-purple);
    margin-bottom: 2rem;
}

.support-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.support-item {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.support-item:hover {
    border-color: var(--primary-purple);
}

.support-name {
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.support-link {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--light-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.content-block {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.content-block h2 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.content-block p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.feature-list,
.guideline-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li,
.guideline-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: var(--text-light);
}

.feature-list li:before,
.guideline-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-purple);
    font-weight: 700;
}

.cta-section {
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
}

.cta-section h2 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.support-resources {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.support-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

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

.support-card-large {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-purple);
}

.support-card-large h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.support-card-large p {
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.support-contact {
    font-size: 0.95rem;
}

.support-note {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
    border: 2px solid var(--primary-purple);
}

.support-note p {
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-wrapper h2 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.checkbox-group {
    flex-direction: row;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    font-weight: 400;
    color: var(--text-light);
}

.contact-form button {
    padding: 1rem;
    background-color: var(--primary-purple);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--dark-purple);
}

.game-disclaimer {
    background-color: #FFF3CD;
    border: 2px solid #FFC107;
    padding: 2rem 0;
}

.disclaimer-banner {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.age-warning-large {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.5rem;
}

.disclaimer-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.disclaimer-text p {
    margin-bottom: 0.5rem;
    color: #856404;
}

.game-title {
    text-align: center;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.game-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.game-frame-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.game-info-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.game-info-box h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.game-info-box p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.game-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.game-features li {
    padding: 0.8rem;
    background-color: var(--white);
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-purple);
}

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}

.error-content {
    max-width: 600px;
}

.error-code {
    font-size: 6rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .nav-list.active {
        display: flex;
    }

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

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

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

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

    .form-wrapper {
        padding: 2rem 1rem;
    }

    .game-iframe {
        height: 400px;
    }

    .disclaimer-banner {
        flex-direction: column;
        text-align: center;
    }

    .disclaimer-text {
        text-align: center;
    }
}