:root {
    --primary-color: #8a2be2;
    --primary-dark: #6a1cb0;
    --secondary-color: #00ced1;
    --secondary-dark: #00a5a8;
    --background-dark: #0b1020;
    --background-medium: #161b2a;
    --background-light: #1e2435;
    --text-light: #ffffff;
    --text-muted: #b0b7c3;
    --accent-purple: #9d4edd;
    --accent-teal: #00e5ff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
}

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

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

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


h1,
h2,
h3,
h4,
h5 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-teal);
}


.btn-primary,
.btn-secondary,
.btn-link {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 206, 209, 0.1);
    transform: translateY(-2px);
}

.btn-link {
    background: transparent;
    color: var(--text-light);
    padding: 10px 15px;
}

.btn-link:hover {
    color: var(--accent-teal);
}


.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 16, 32, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-verification-content {
    background-color: var(--background-medium);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow);
    border: 1px solid var(--primary-color);
}

.age-logo h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.age-verification h2 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.age-verification p {
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.age-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-medium);
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

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

.cookie-content p {
    flex: 1;
    margin-bottom: 0;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


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

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

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

.logo h1 {
    color: var(--primary-color);
    margin-bottom: 0;
    font-size: 1.8rem;
}

.language-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    background-color: var(--background-light);
    padding: 2px 8px;
    border-radius: 4px;
}

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

.nav-list a {
    color: var(--text-light);
    font-weight: 500;
}

.nav-list a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}


.hero {
    background: linear-gradient(135deg, var(--background-dark), var(--background-medium));
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(138, 43, 226, 0.1), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 206, 209, 0.1), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}


.how-it-works {
    background-color: var(--background-medium);
}

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

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.step p {
    color: var(--text-muted);
}


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

.game-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.game-image {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: white;
}

.game-image img {
    width: 100%;
}

.game-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-light);
}

.game-card p {
    padding: 0 1.5rem;
    color: var(--text-muted);
    flex-grow: 1;
}

.game-card button {
    margin: 1.5rem;
}


.features {
    background-color: var(--background-medium);
}

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

.feature-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}


.safety-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

.safety-text li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.safety-image {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.7;
}


.faq {
    background-color: var(--background-medium);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--background-light);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    margin-bottom: 0;
    color: var(--text-light);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}


.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px solid var(--background-light);
    background-color: var(--background-medium);
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.contact-item strong {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.contact-item p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--background-light);
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}


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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-column a {
    color: var(--text-muted);
}

.footer-column a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid var(--background-light);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-disclaimer {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--background-medium);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--secondary-color);
}

.modal-content h2 {
    padding: 1.5rem 2rem 0;
    color: var(--text-light);
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
}

.game-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}

.game-placeholder i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}


@media (max-width: 992px) {

    .safety-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .safety-image {
        order: -1;
        font-size: 6rem;
    }

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

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-medium);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }

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

    .nav-list li {
        margin: 0;
        text-align: center;
    }

    .nav-list a {
        display: block;
        padding: 0.8rem 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
    }

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

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .steps,
    .games-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

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

#game-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

#game-container iframe {
    width: 100%;
    height: 500px;
    border: none;
    background: white;
}

.game-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--text-muted);
}

.game-loading i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.game-info {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(0, 206, 209, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.game-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    #game-container iframe {
        height: 400px;
    }
}

@media (max-width: 576px) {
    #game-container iframe {
        height: 300px;
    }

    .modal-content {
        width: 95%;
    }
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 35px auto;
}

.footer-legal img {
    height: 60px;
}

.legal-content {
    background-color: var(--background-medium);
    padding: 3rem 0;
}

.legal-content h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.legal-content h2 {
    color: var(--text-light);
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.8rem;
}

.legal-content h3 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.4rem;
}

.legal-content h4 {
    color: var(--text-light);
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.2rem;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--background-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.legal-text p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.legal-text ul,
.legal-text ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-text li {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    position: relative;
}

.legal-text ul li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.legal-text strong {
    color: var(--text-light);
    font-weight: 600;
}

.legal-text a {
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.legal-text a:hover {
    color: var(--accent-teal);
    border-bottom: 1px solid var(--accent-teal);
}

.cookie-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--background-medium);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.cookie-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--background-medium);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cookie-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.cookie-table tr:hover {
    background-color: rgba(138, 43, 226, 0.1);
}

.safety-notice {
    background: linear-gradient(135deg, rgba(0, 206, 209, 0.1), rgba(138, 43, 226, 0.1));
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.safety-notice h3 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.safety-notice p {
    color: var(--text-light);
    margin-bottom: 0;
}

.cookie-settings {
    background-color: var(--background-medium);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    text-align: center;
    border: 1px solid var(--primary-color);
}

.cookie-settings h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.cookie-settings p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem 0;
    }

    .legal-content h1 {
        font-size: 2rem;
    }

    .legal-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }

    .legal-content h3 {
        font-size: 1.2rem;
    }

    .legal-text {
        padding: 1.5rem;
    }

    .cookie-table {
        font-size: 0.8rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 576px) {
    .legal-content {
        padding: 1.5rem 0;
    }

    .legal-content h1 {
        font-size: 1.8rem;
    }

    .legal-text {
        padding: 1rem;
    }

    .legal-text ul,
    .legal-text ol {
        padding-left: 1.5rem;
    }

    .cookie-table {
        font-size: 0.7rem;
    }
}

@media print {
    .legal-content {
        background: white;
        color: black;
        padding: 0;
    }

    .legal-text {
        background: white;
        box-shadow: none;
        max-width: none;
    }

    .legal-content h1,
    .legal-content h2,
    .legal-content h3,
    .legal-content h4 {
        color: black;
    }

    .legal-text p,
    .legal-text li {
        color: #333;
    }

    .header,
    .footer,
    .cookie-banner,
    .age-verification {
        display: none;
    }
}