:root {
    --color-primary: #4A90E2;
    --color-primary-dark: #3a7ac8;
    --color-secondary: #50E3C2;

    --color-dark-1: #121212;
    --color-dark-2: #1e1e1e;
    --color-dark-3: #2a2a2a;

    --color-light-1: #FFFFFF;
    --color-light-2: #E0E0E0;
    --color-light-3: #AAAAAA;

    --color-success: #28a745;
    --color-error: #dc3545;
    --color-warning: #ffc107;

    --font-primary: 'Arial', 'Helvetica', sans-serif;
    --font-heading: 'Arial', 'Helvetica', sans-serif;

    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    --transition-fast: 0.2s ease-in-out;
    --transition-slow: 0.4s ease-in-out;

    --container-width: 1140px;
    --border-radius: 8px;
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
}


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


html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    background-color: var(--color-dark-1);
    color: var(--color-light-2);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-light-1);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

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

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

ul {
    list-style: none;
}

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

address {
    font-style: normal;
}


:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: var(--spacing-xs);
}


.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-light-1);
    padding: var(--spacing-md);
    z-index: 9999;
    transition: top var(--transition-fast);
}

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


.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;
}


.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.container--small {
    max-width: 800px;
}

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

.section--light {
    background-color: var(--color-dark-2);
}

.section--dark {
    background-color: var(--color-dark-1);
}

.section__title {
    margin-bottom: var(--spacing-sm);
}

.section__subtitle {
    font-size: 1.15rem;
    color: var(--color-light-3);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

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

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

@media (min-width: 768px) {
    .grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (min-width: 1024px) {
    .grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}




.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn i {
    margin-right: var(--spacing-sm);
}

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

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

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

.btn--secondary:hover,
.btn--secondary:focus {
    background-color: #45c9ac;
    color: var(--color-dark-1);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-light-1);
    border-color: var(--color-light-2);
}

.btn--outline:hover,
.btn--outline:focus {
    background-color: var(--color-light-1);
    color: var(--color-dark-1);
    text-decoration: none;
}

.btn--link {
    background: none;
    border: none;
    color: var(--color-light-3);
    padding: 0;
    text-decoration: underline;
}

.btn--link:hover,
.btn--link:focus {
    color: var(--color-light-1);
}

.btn--small {
    padding: 8px 16px;
    font-size: 0.9rem;
}


.card {
    background: var(--color-dark-1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.card--icon {
    text-align: center;
}

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


.feature-item {
    text-align: center;
    padding: var(--spacing-md);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}


.disclaimer-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-dark-3);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin: var(--spacing-md) 0;
    font-size: 0.9rem;
    color: var(--color-light-3);
}

.disclaimer-box i {
    margin-right: var(--spacing-sm);
    color: var(--color-light-3);
}

.disclaimer-box--warning {
    border-left: 4px solid var(--color-warning);
    background: rgba(255, 193, 7, 0.1);
    color: var(--color-light-2);
}

.disclaimer-box--warning i {
    color: var(--color-warning);
}


.cta-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-light-1);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-box__content {
    margin-bottom: var(--spacing-lg);
}

.cta-box__content h2 {
    color: var(--color-light-1);
}

.cta-box__content i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.cta-box .btn {
    background: var(--color-light-1);
    color: var(--color-dark-1);
}

.cta-box .btn:hover,
.cta-box .btn:focus {
    background: var(--color-light-2);
}

@media (min-width: 768px) {
    .cta-box {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .cta-box__content {
        margin-bottom: 0;
        margin-right: var(--spacing-lg);
    }

    .cta-box__content i {
        display: none;
    }
}


.accordion__item {
    border-bottom: 1px solid var(--color-dark-3);
}

.accordion__button {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: var(--spacing-md) 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-light-1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion__button:hover,
.accordion__button:focus {
    color: var(--color-primary);
}

.accordion__button i {
    transition: transform var(--transition-fast);
    font-size: 1rem;
}

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

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
    background: var(--color-dark-1);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.accordion__content p {
    padding: var(--spacing-lg);
    margin: 0;
}


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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: var(--color-dark-1);
    border: 1px solid var(--color-dark-3);
    border-radius: var(--border-radius);
    color: var(--color-light-1);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.form-group textarea {
    resize: vertical;
}

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

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

.form-group input:invalid:not(:placeholder-shown)+.form-error,
.form-group textarea:invalid:not(:placeholder-shown)+.form-error {
    display: block;
}

.form-success {
    color: var(--color-success);
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--color-success);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-md);
}

.form-check {
    margin-bottom: var(--spacing-md);
}

.form-check input[type="checkbox"] {
    margin-right: var(--spacing-sm);
}

.form-check label {
    display: inline-block;
}

.form-check__desc {
    font-size: 0.9rem;
    color: var(--color-light-3);
    padding-left: 24px;
    margin: var(--spacing-xs) 0 0 0;
}




.header {
    background: var(--color-dark-2);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-dark-3);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.header__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-light-1);
    text-decoration: none;
}

.header__logo:hover,
.header__logo:focus {
    color: var(--color-light-1);
    text-decoration: none;
}

.header__logo i {
    color: var(--color-secondary);
    margin-right: var(--spacing-sm);
}

.header__nav {
    display: none;
}

.header__nav ul {
    display: flex;
    gap: var(--spacing-lg);
}

.header__nav a {
    color: var(--color-light-2);
    font-weight: 600;
    padding: var(--spacing-sm) 0;
    position: relative;
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.header__nav a:hover,
.header__nav a:focus {
    color: var(--color-light-1);
    text-decoration: none;
}

.header__nav a:hover::after,
.header__nav a:focus::after {
    width: 100%;
}

.header__menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--color-light-1);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .header__nav {
        display: block;
    }

    .header .btn--secondary {
        display: inline-block;
    }

    .header__menu-toggle {
        display: none;
    }
}

@media (max-width: 767px) {
    .header .btn--secondary {
        display: none;
    }
}




.footer {
    background: var(--color-dark-2);
    color: var(--color-light-3);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-dark-3);
}

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

.footer__logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-light-1);
    text-decoration: none;
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

.footer__logo i {
    color: var(--color-secondary);
}

.footer__about p {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.footer__links h3 {
    color: var(--color-light-1);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__links a {
    color: var(--color-light-3);
    font-size: 0.9rem;
}

.footer__links a:hover,
.footer__links a:focus {
    color: var(--color-light-1);
}

.footer__contact p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer__contact a {
    color: var(--color-light-3);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    color: var(--color-light-3);
    font-size: 1.25rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.social-links a:hover,
.social-links a:focus {
    color: var(--color-light-1);
    transform: translateY(-2px);
    text-decoration: none;
}

.footer__divider {
    border: 0;
    height: 1px;
    background: var(--color-dark-3);
    margin: var(--spacing-lg) 0;
}

.footer__bottom {
    padding-bottom: var(--spacing-lg);
    font-size: 0.85rem;
    text-align: center;
}

.footer__disclaimer {
    background: var(--color-dark-1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--color-dark-3);
}

.footer__disclaimer p {
    margin: var(--spacing-sm) 0;
    color: var(--color-light-2);
}

.footer__disclaimer strong {
    color: var(--color-warning);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}




.hero {
    position: relative;
    background: url('../../img/hero.png') no-repeat center center/cover;

    color: var(--color-light-1);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero__background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.85);
    z-index: 1;
}

.hero__container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--color-light-1);
    font-size: 2.2rem;
    font-weight: 700;
}

.hero__subheading {
    font-size: 1.25rem;
    color: var(--color-light-2);
    margin-bottom: var(--spacing-lg);
}

.hero__cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
}

.hero__disclaimer {
    margin-top: var(--spacing-lg);
    font-size: 0.9rem;
    color: var(--color-light-3);
    background: rgba(0, 0, 0, 0.2);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    display: inline-block;
}

@media (min-width: 768px) {
    .hero {
        padding: 150px 0;
    }

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

    .hero__cta {
        flex-direction: row;
    }
}


.game-card {
    background: var(--color-dark-2);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.game-card__image {
    position: relative;
}

.game-card__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.game-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-light-1);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.game-card:hover .game-card__overlay,
.game-card:focus .game-card__overlay {
    opacity: 1;
}

.game-card__overlay i {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.game-card__overlay span {
    font-weight: 600;
    font-size: 1.1rem;
}

.game-card__content {
    padding: var(--spacing-md);
}

.game-card__content h3 {
    margin: 0 0 var(--spacing-xs) 0;
}

.game-card__content p {
    font-size: 0.9rem;
    color: var(--color-light-3);
    margin: 0;
}


.points-tracker {
    background: var(--color-dark-1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg) auto;
    box-shadow: var(--shadow-md);
}

.points-tracker h3 {
    margin-top: 0;
}

.points-tracker p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.points-tracker strong {
    color: var(--color-secondary);
    font-size: 1.5rem;
    margin-left: var(--spacing-sm);
}

.points-tracker small {
    font-size: 0.8rem;
    color: var(--color-light-3);
}


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

.contact-info p {
    margin-bottom: var(--spacing-lg);
}

.contact-info i {
    color: var(--color-primary);
    margin-right: var(--spacing-md);
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: var(--color-light-2);
}

.contact-info a:hover,
.contact-info a:focus {
    color: var(--color-primary);
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }
}


.content-page {
    padding: var(--spacing-xl) 0;
    background: var(--color-dark-2);
    min-height: 60vh;
}

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

.content-page h1 {
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.content-page h2 {
    margin-top: var(--spacing-lg);
    color: var(--color-secondary);
}

.content-page ul {
    list-style: disc;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.content-page li {
    margin-bottom: var(--spacing-sm);
}



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.modal-overlay[hidden] {
    display: flex;
}

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

.modal {
    background: var(--color-dark-2);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform var(--transition-fast);
}

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

.modal--small {
    width: 500px;
}

.modal--medium {
    width: 700px;
}

.modal--large {
    width: 90vw;
    max-width: 1400px;
}

.modal__icon {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

.modal__content {
    padding: var(--spacing-lg);
    overflow-y: auto;
}

.modal__buttons {
    margin-top: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-dark-3);
}

.modal__header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal__close-btn {
    background: none;
    border: none;
    color: var(--color-light-3);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-sm);
    line-height: 1;
}

.modal__close-btn:hover,
.modal__close-btn:focus {
    color: var(--color-light-1);
}

.modal__body {
    padding: var(--spacing-md);
    overflow-y: auto;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .modal__buttons {
        flex-direction: row;
        justify-content: center;
    }

    .modal__body {
        padding: var(--spacing-lg);
    }
}



.game-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}

.game-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.game-sidebar {
    display: none;
}

@media (min-width: 1200px) {
    .modal--large .modal__body {
        display: grid;
        grid-template-columns: 3fr 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-md);
    }

    .game-container {
        padding-top: 0;
        height: calc(90vh - 120px);
    }

    .game-sidebar {
        display: block;
        padding: var(--spacing-md);
        background: var(--color-dark-1);
        border-radius: var(--border-radius);
    }

    .game-sidebar h3 {
        margin-top: 0;
        color: var(--color-secondary);
    }

    .game-sidebar ul {
        list-style: none;
        padding-left: 0;
        margin: var(--spacing-md) 0;
    }

    .game-sidebar li {
        display: flex;
        align-items: center;
        margin-bottom: var(--spacing-md);
    }

    .game-sidebar li i {
        margin-right: var(--spacing-sm);
        color: var(--color-primary);
        width: 20px;
    }
}



.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-dark-2);
    border-top: 1px solid var(--color-dark-3);
    padding: var(--spacing-md) 0;
    z-index: 1500;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

.cookie-banner[hidden] {
    display: block;
}

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

.cookie-banner__container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-light-3);
    text-align: center;
}

.cookie-banner__buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.cookie-banner__buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .cookie-banner__container {
        flex-direction: row;
    }

    .cookie-banner p {
        text-align: left;
    }
}

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

.footer-legal img {
    height: 65;
}