:root {

    --color-text: #333;
    --color-text-light: #555;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-primary: #c0392b;
    --color-primary-dark: #a93226;
    --color-secondary: #2c3e50;
    --color-secondary-light: #34495e;
    --color-border: #dee2e6;
    --color-success: #28a745;
    --color-error: #dc3545;
    --color-white: #fff;
    --color-overlay: rgba(0, 0, 0, 0.75);


    --font-family-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol";


    --font-size-sm: clamp(0.8rem, 0.17vw + 0.76rem, 0.89rem);
    --font-size-base: clamp(1rem, 0.34vw + 0.91rem, 1.19rem);
    --font-size-lg: clamp(1.25rem, 0.61vw + 1.1rem, 1.58rem);
    --font-size-xl: clamp(1.56rem, 1vw + 1.31rem, 2.11rem);
    --font-size-xxl: clamp(1.95rem, 1.56vw + 1.56rem, 2.81rem);
    --font-size-xxxl: clamp(2.44rem, 2.38vw + 1.85rem, 3.75rem);


    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;


    --border-radius: 8px;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.12);
    --transition-fast: all 0.2s ease-in-out;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --container-width: 1140px;
    --header-height: 70px;
}


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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-family-system);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-secondary);
}

h1 {
    font-size: var(--font-size-xxxl);
}

h2 {
    font-size: var(--font-size-xxl);
}

h3 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

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

ul,
ol {
    list-style-position: inside;
}

section {
    padding: var(--spacing-xxl) 0;
}

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

section>.container>h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}


.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-fast);
    line-height: 1.2;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-secondary);
    color: var(--color-white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

.hidden {
    display: none !important;
}



a:focus,
button:focus,
input:focus,
textarea:focus,
[tabindex="0"]:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    box-shadow: none;
}

:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}


.skip-link {
    position: absolute;
    top: -999px;
    left: 0;
    background-color: var(--color-secondary);
    color: white;
    padding: var(--spacing-md);
    z-index: 9999;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    outline: none;
}


.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 {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

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

.logo {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo:hover,
.logo:focus {
    color: var(--color-primary);
    text-decoration: none;
}

.logo .fa-tree {
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    font-size: var(--font-size-base);
    font-weight: 500;
    color: var(--color-text-light);
    padding: var(--spacing-sm) 0;
    text-decoration: none;
    position: relative;
    transition: var(--transition-fast);
}

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

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--color-primary);
    text-decoration: none;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--font-size-xl);
    color: var(--color-secondary);
    cursor: pointer;
    padding: var(--spacing-sm);
}

.nav-toggle:focus {
    outline-offset: 0;
}

.site-footer {
    background-color: var(--color-secondary);
    color: var(--color-bg-alt);
    padding: var(--spacing-xl) 0;
    font-size: var(--font-size-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
}

.footer-col .logo {
    color: var(--color-white);
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.footer-nav a {
    color: var(--color-border);
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: var(--color-white);
    text-decoration: underline;
}

.footer-center {
    font-weight: 500;
}

.footer-center .fa-exclamation-triangle {
    color: #f0ad4e;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.social-icons a {
    color: var(--color-bg-alt);
    font-size: var(--font-size-lg);
    transition: var(--transition-fast);
}

.social-icons a:hover,
.social-icons a:focus {
    color: var(--color-white);
    transform: translateY(-3px);
    text-decoration: none;
}

.copyright {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-border);
}



.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-gate.visible {
    opacity: 1;
    visibility: visible;
}

.age-gate-content {
    background-color: var(--color-bg);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 90%;
    width: 450px;
    box-shadow: var(--shadow-medium);
}

.age-gate-content h2 {
    color: var(--color-primary);
    margin-top: 0;
}

.age-gate-content p {
    font-size: var(--font-size-base);
    color: var(--color-text-light);
}

.age-gate-content button {
    width: 100%;
    margin-top: var(--spacing-md);
}


.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background-color: var(--color-secondary-light);
    color: var(--color-white);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    text-align: center;
    z-index: 5000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.visible {
    bottom: 0;
}

.cookie-banner p {
    margin: 0;
    font-size: var(--font-size-sm);
}

.cookie-banner a {
    color: var(--color-white);
    font-weight: 600;
    text-decoration: underline;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-overlay);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 8000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 900px;
    height: 80vh;
    box-shadow: var(--shadow-medium);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.modal-close-btn {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: none;
    border: none;
    font-size: var(--font-size-xl);
    color: var(--color-text-light);
    cursor: pointer;
    padding: var(--spacing-sm);
    line-height: 1;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    color: var(--color-primary);
}

.modal-content h3 {
    padding: var(--spacing-lg);
    margin: 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-primary);
    padding-right: 50px;
}

.modal-iframe-container {
    flex-grow: 1;
    overflow: hidden;
    padding: var(--spacing-sm);
}

.modal-iframe-container .iframe-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius);
    color: var(--color-text-light);
}

.iframe-placeholder .fa-gamepad {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-border);
}

.modal-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}


.back-to-top-btn {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: var(--font-size-lg);
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover,
.back-to-top-btn:focus {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.hero-section {
    background-color: var(--color-bg-alt);
    padding-top: var(--spacing-lg);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: var(--spacing-xl);
    text-align: center;
}

.hero-image-container {
    order: 1;
}

.hero-content {
    order: 2;
}

.hero-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    max-width: 600px;
    margin: 0 auto;
}

.hero-content h1 {
    color: var(--color-primary);
}

.hero-content .subtext {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-md);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.highlight-card {
    background-color: var(--color-bg);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition-smooth);
}

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

.highlight-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.highlight-card h3 {
    color: var(--color-secondary);
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.game-card {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

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

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

.game-card-content {
    padding: var(--spacing-lg);
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.game-card-content h3 {
    margin-top: 0;
}

.game-card-content p {
    flex-grow: 1;
    color: var(--color-text-light);
}

.game-card-content .btn {
    margin-top: var(--spacing-md);
}

.game-card-content .btn i {
    margin-left: var(--spacing-sm);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.step-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.step-card i {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background-color: var(--color-white);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 50px;
    box-shadow: var(--shadow-soft);
}

.step-card h3 {
    color: var(--color-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
}

.feature-item i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-top: var(--spacing-xs);
    flex-shrink: 0;
    width: 30px;
    text-align: center;
}

.feature-item h3 {
    margin-bottom: var(--spacing-xs);
}

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

.responsible-section {
    background-color: var(--color-secondary-light);
    color: var(--color-bg);
}

.responsible-section h2 {
    color: var(--color-white);
    text-align: center;
}

.responsible-section h3 {
    color: var(--color-white);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

 

.responsible-section ul {
    list-style-type: disc;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.responsible-section a {
    color: var(--color-white);
    font-weight: 600;
    text-decoration: underline;
}

.responsible-section a:hover {
    color: var(--color-border);
}
 
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--color-bg);
}

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

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover,
.faq-question:focus {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg) 0 var(--spacing-lg);
    color: var(--color-text-light);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-answer[hidden] {
    display: block;
}

.faq-answer p {
    margin-bottom: 0;
}

.faq-answer.open {
    max-height: 500px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

.contact-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: var(--font-size-base);
    font-family: var(--font-family-system);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.2);
    outline: none;
}

.contact-form .error-message {
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    display: none;
}

.contact-form .form-group.invalid input,
.contact-form .form-group.invalid textarea {
    border-color: var(--color-error);
}

.contact-form .form-group.invalid .error-message {
    display: block;
}

#form-message {
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-lg);
    display: none;
    font-weight: 500;
}

#form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}


.contact-info {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-info h3 {
    color: var(--color-primary);
}

.contact-info address {
    font-style: normal;
    margin-bottom: var(--spacing-md);
}

.contact-info p,
.contact-info address {  
    gap: var(--spacing-md);
    color: var(--color-text-light);
}

.contact-info i {
    color: var(--color-primary);
    margin-top: 5px;
}


.subpage-section {
    padding: var(--spacing-xxl) 0;
}

.subpage-section .container {
    max-width: 800px;
}

.subpage-section h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.subpage-section h2 {
    color: var(--color-secondary);
    border-bottom: 2px solid var(--color-bg-alt);
    padding-bottom: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.subpage-section ul,
.subpage-section ol {
    margin-bottom: var(--spacing-md);
    margin-left: var(--spacing-lg);
}

.subpage-section p.last-updated {
    font-style: italic;
    color: var(--color-text-light);
    text-align: center;
    font-size: var(--font-size-sm);
}



@media (min-width: 768px) {

    .nav-toggle {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: row;
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        padding: 0;
    }


    .footer-grid {
        grid-template-columns: 1fr 2fr 1fr;
        text-align: left;
    }

    .footer-col .logo,
    .social-icons,
    .footer-nav ul {
        justify-content: flex-start;
    }

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

    .footer-right {
        text-align: right;
    }

    .social-icons {
        justify-content: flex-end;
    }


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

    .cookie-banner p {
        max-width: 75%;
    }


    .hero-section .container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-image-container {
        order: 2;
    }

    .hero-content {
        order: 1;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
    }


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


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

    .game-image {
        height: 220px;
    }


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


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


    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}



@media (min-width: 1024px) {

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


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


    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 35px auto;
}

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