:root {
    --color-bg-dark: #0B0F14;
    --color-bg-light: #121820;
    --color-border: #1C2430;
    --color-text-primary: #E6EAF0;
    --color-text-secondary: #A0AEC0;
    --color-accent-primary: #00E0A4;
    --color-accent-secondary: #7A5FFF;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --header-height: 70px;
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-primary);
    line-height: 1.3;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
}

a {
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover,
a:focus {
    color: #5fffe0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

section {
    padding: 4rem 0;
}

section:nth-of-type(odd) {
    background-color: var(--color-bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-accent-primary);
    color: var(--color-bg-dark);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #5fffe0;
    color: var(--color-bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 224, 164, 0.2);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(0, 224, 164, 0.1);
    color: var(--color-accent-primary);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn .fas {
    margin-right: 0.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


.site-header {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
    padding: 0 5%;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.logo-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
}

.logo-link:hover,
.logo-link:focus {
    color: var(--color-accent-primary);
}

.logo-link .fas {
    color: var(--color-accent-secondary);
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.logo-link strong {
    color: var(--color-accent-primary);
}

.desktop-nav {
    display: none;
}

.desktop-nav ul {
    display: flex;
    gap: 1.5rem;
}

.desktop-nav a {
    color: var(--color-text-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-primary);
    transition: width 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus {
    color: var(--color-text-primary);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus::after {
    width: 100%;
}

.btn-header-play {
    display: none;
}

.mobile-nav-toggle {
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.75rem;
    cursor: pointer;
    z-index: 1002;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg-light);
    z-index: 999;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-primary);
}

.mobile-nav .btn {
    margin-top: 1rem;
    width: 100%;
}


.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(rgba(11, 15, 20, 0.8), rgba(11, 15, 20, 1)), url('../img/hero.png') no-repeat center center/cover;
}

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

.hero-icons {
    font-size: 1.5rem;
    color: var(--color-accent-secondary);
    margin-bottom: 1rem;
}

.hero-icons .fas {
    margin: 0 0.5rem;
    opacity: 0.7;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-disclaimer {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    opacity: 0.8;
}

.hero-disclaimer .fas {
    color: var(--color-accent-primary);
    margin-right: 0.25rem;
}


.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.step-card {
    background-color: var(--color-bg-dark);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    text-align: center;
}

.step-card .fas {
    font-size: 2.5rem;
    color: var(--color-accent-secondary);
    margin-bottom: 1rem;
}

.step-card h3 {
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}


.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-card-content h3 {
    margin-bottom: 0.5rem;
}

.game-card-content p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.game-card-content .btn {
    width: 100%;
}


.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    background-color: var(--color-bg-dark);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.feature-item .fas {
    font-size: 2rem;
    color: var(--color-accent-primary);
    margin-top: 0.25rem;
}

.feature-item h3 {
    margin-bottom: 0.25rem;
}


.why-us-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.why-us-image img {
    border-radius: 8px;
}

.why-us-content ul {
    list-style: none;
    margin-top: 1.5rem;
}

.why-us-content li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.why-us-content li .fas {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--color-accent-primary);
}


.responsible-play {
    background-color: var(--color-accent-secondary);
    color: #fff;
}

.responsible-play .section-title,
.responsible-play .section-subtitle,
.responsible-play h3 {
    color: #fff;
}

.responsible-play .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.responsible-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 8px;
}

.responsible-content .fas {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.responsible-content .btn {
    margin-top: 1rem;
    background-color: #fff;
    color: var(--color-bg-dark);
    border-color: #fff;
}

.responsible-content .btn:hover {
    background-color: #eee;
}


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

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1.5rem 0;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    color: var(--color-accent-primary);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
    padding: 0 1rem 1.5rem 0;
    color: var(--color-text-secondary);
}


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

.location-wrapper .section-title,
.contact-form-wrapper .section-title {
    text-align: left;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.location-item .fas {
    font-size: 1.5rem;
    color: var(--color-accent-secondary);
    margin-top: 0.25rem;
}

.location-item strong {
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

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


.site-footer {
    background-color: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0;
    color: var(--color-text-secondary);
}

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

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
}

.footer-logo .fas {
    color: var(--color-accent-secondary);
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.footer-logo strong {
    color: var(--color-accent-primary);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-contact a {
    color: var(--color-text-secondary);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-accent-primary);
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact .fas {
    margin-right: 0.5rem;
}

.footer-disclaimer {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
}

.footer-disclaimer p {
    margin-bottom: 0.5rem;
}

.footer-disclaimer .fas {
    color: var(--color-accent-primary);
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 15, 20, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.modal-overlay.is-visible {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s;
}

.modal-overlay.is-visible .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

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


.age-gate-content {
    text-align: center;
}

.age-gate-content h2 {
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}


.game-modal-content {
    max-width: 1400px;
    width: 95%;
    height: 90vh;
    padding: 1rem;
}

.iframe-container {
    width: 100%;
    height: 100%;
    margin-top: 1.5rem;
}

#game-iframe {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-color: #000;
}


.cookie-manage-content {
    max-width: 600px;
}

.cookie-pref-item {
    background-color: var(--color-bg-dark);
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid var(--color-border);
}

.cookie-pref-item input[type="checkbox"] {
    margin-right: 0.5rem;
}

.cookie-pref-item label {
    font-size: 1.1rem;
}

.cookie-pref-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

#cookie-prefs-form .btn {
    margin-top: 1rem;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0;
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.cookie-banner-content p {
    margin-bottom: 0;
    flex-grow: 1;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}


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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper .fas {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 2.75rem;
    background-color: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
}

.form-group textarea {
    padding-left: 2.75rem;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 2px rgba(0, 224, 164, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}


.form-group input.invalid,
.form-group textarea.invalid,
.checkbox-group input.invalid+label {
    border-color: #e53e3e;
    color: #e53e3e;
}

.form-group input.invalid:focus,
.form-group textarea.invalid:focus {
    border-color: #e53e3e;
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.3);
}

.form-error-inline {
    color: #e53e3e;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.25rem;
    min-height: 1.2em;
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: none;
}

.form-message.is-visible {
    display: block;
}

.form-message.success {
    background-color: rgba(0, 224, 164, 0.1);
    border: 1px solid var(--color-accent-primary);
    color: var(--color-accent-primary);
}

.form-message.error {
    background-color: rgba(229, 62, 62, 0.1);
    border: 1px solid #e53e3e;
    color: #e53e3e;
}



:focus-visible {
    outline: 2px solid var(--color-accent-secondary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(122, 95, 255, 0.3);
    border-radius: 2px;
}

.modal-content:focus-visible,
.site-header:focus-visible {
    outline: none;
    box-shadow: none;
}





@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .mobile-nav-toggle {
        display: none;
    }

    .desktop-nav {
        display: block;
    }

    .btn-header-play {
        display: inline-flex;
        align-items: center;
    }

    .mobile-nav {
        display: none !important;
    }

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

    .hero-actions {
        flex-direction: row;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-location-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }

    .location-wrapper {
        margin-top: 5.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .cookie-banner-content {
        flex-direction: row;
        text-align: left;
    }

    .modal-actions {
        flex-direction: row;
        justify-content: center;
    }
}


@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-us-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}


.policy-page {
    padding: 3rem 0;
}

.policy-page .container {
    max-width: 900px;
}

.policy-page h1 {
    font-size: 2.5rem;
    color: var(--color-accent-primary);
    margin-bottom: 1.5rem;
}

.policy-page h2 {
    font-size: 1.75rem;
    color: var(--color-accent-secondary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
}

.policy-page h3 {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.policy-page p,
.policy-page li {
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.policy-page ul {
    list-style: disc;
    padding-left: 2rem;
}

.policy-page .last-updated {
    font-style: italic;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

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

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