@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

:root {
    /* colores */
    --cta-gradient-1: #fcd53f;
    --cta-gradient-2: #c9a414;
    --light-grey: #292d2e;
    --main-bg-gradient-1: #150f1c;
    --main-bg-gradient-2: #c9a414;
    --casa-accent: #fcd53f;
    --white: #ffffff;

    /* fuentes */
    --font-family: 'Montserrat', sans-serif;
    --font-size: 16px;
    --font-weight-regular: 400;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    /* espaciado */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    --spacing-xxl: 48px;
    --spacing-container: 80px;

    /* border-radius */
    --border-radius: 16px;
    --site-bg: #150F1C;
}

/* scroll */
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: var(--main-bg-gradient-1);
}

::-webkit-scrollbar-thumb {
    background-color: var(--cta-gradient-1);
    border-radius: 6px;
}

/* generales */
body, html {
    overflow-x: hidden;
}

body * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: var(--font-weight-regular);
    color: var(--white);
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, var(--main-bg-gradient-1), var(--main-bg-gradient-2));
}

main {
    background-image: url('../images/sports/fondo-multi-sports.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;  
    width: 100%;
}

p {
    font-size: var(--font-size);
    font-weight: var(--font-weight-regular);
    line-height: 1.2;
}

h1, h2, h3 {
    line-height: 1;
}

h1 {
    font-size: 30px;
    font-weight: var(--font-weight-black);
    margin-bottom: 15px;
    text-align: center;
    margin: 30px 0;
}

h2 {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
}

span {
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
}

h1 span {
    font-size: 30px;
    color: var(--casa-accent);
}

.desktop {
    display: none;
}

/* site */
.header-site {
    width: 100%;
    height: 100px;
    padding: 20px 16px;
    background: var(--site-bg);
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-site img {
    height: 85px;
    width: 300px;
}

/* btn */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    position: relative;
    border-radius: var(--border-radius);
    background: linear-gradient(90deg, var(--cta-gradient-1), var(--cta-gradient-2));
    color: var(--main-bg-gradient-1);
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    padding: calc(var(--spacing-md)/2) var(--spacing-md);
    transition: all 0.6s;  
}

.btn:hover {
    background: var(--cta-gradient-2);
    transition: none;
}

.btn p{
    font-weight: var(--font-weight-bold);
    font-size: 18px;
}

.click {
    padding: 0 30px;
    text-align: center;
    cursor: pointer;
    border: 3px solid var(--main-bg);
    animation: shakeme 3s infinite;
}

@keyframes shakeme {
    0% { scale: 1; }
    5% { scale: 0.5; }
    10% { scale: 1.1; }
    15% { scale: 0.8; }
    20% { scale: 1.15; }
    30% { scale: 1.1; }
}

.click:hover {
    animation: none;
}

/* size btn */
.btn.btn-large {
    font-size: 26px;
    padding: var(--spacing-sm) var(--spacing-xl);
    gap: var(--spacing-sm);  
}

.btn.btn-medium {
    font-size: 22px;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 3px solid var(--main-bg-gradient-1);
}

.btn.btn-medium::after {
    width: 12px;
    height: 12px;
}

/* section */
section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

section .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 50px 0;
    width: 100%;
    max-width: 996px;
}

@keyframes btn-animate {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes header-zoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.titulo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    max-width: 1170px;
    margin: 0 auto;
}

/* section cards */
.claim {
    max-width: 500px;
}

.cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 10px;
}

.card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    border-radius: var(--border-radius);
    border: 3px solid var(--casa-accent);
    background: var(--main-bg-gradient-1);
    color: var(--white);
    text-decoration: none;
    transition: all 0.6s;
    width: 100%;
    padding: 20px;
    height: 180px;
    position: relative;
    overflow: visible;
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-xxl);
}

.card-header img {
    width: 200px;
    height: auto;
}

.icono-pelota {
    width: 100px;
    height: auto;
    position: absolute;
    left: -50px;
    z-index: 1;
}

.card:hover {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
}

.card-content h2 {
    font-size: 35px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
}

.card-content p {
    font-size: 20px;
}

.bono-value {
    margin-top: 10px;
    font-size: 30px;
    font-weight: var(--font-weight-bold);
    color: var(--casa-accent);
}

.card-cta {
    padding: 20px;
}

.card-cta .btn.btn-medium {
    height: 70px;
    font-size: 18px;
    border: none;
}

/* section games */
section.torneos {
    background: var(--main-bg);
}

section.torneos a {
    text-decoration: none;
}

section.torneos a h2 {
    color: white;
}

section.torneos .content {
    gap: var(--spacing-xxl);
    align-items: center;
}

section.torneos h2 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-wrap: balance;
    text-align: center;
    font-size: 26px;
    font-weight: var(--font-weight-regular);
}

section.torneos h2 small {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
}

section.torneos .list-torneos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xxl);
    align-items: center;
}

section.torneos .list-torneos .torneo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    text-decoration: none;
    color: var(--white);
}

section.torneos .list-torneos .torneo:hover {
    text-decoration: none;
    color: var(--white);
}

.list-torneos img {
    max-width: 150px;
    margin-bottom: 25px;
}

/* faqs */
.faqs-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faqs-container h2 {
    font-size: 40px;
    margin: 50px 0;
}

.faq-carousel {
    width: 90%;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 50px;
    border: 1px solid #ddd;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 15px 20px;
    background: var(--main-bg-gradient-1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question span {
    font-size: 16px;
    margin: 0;
}

.faq-question:hover {
    background: var(--main-bg-gradient-2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 35px;
    background: var(--white);
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 15px 0;
    color: var(--main-bg-gradient-1);
}

.faq-answer ol {
    margin-left: 20px;
    font-size: 14px;
}

.faq-answer ol li {
    margin-bottom: 15px;
}

.faq-answer video, .faq-answer img {
    max-height: 500px;
    margin: 25px 0;
}

.faq-question .icon {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.faq-question.active .icon {
    transform: rotate(90deg);
}

.faq-answer.active {
    max-height: 1000px;
}

/* footer */
footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--main-bg-gradient-1);
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    padding: var(--spacing-container) var(--spacing-sm);
}

footer .container .legal {
    display: flex;
    justify-items: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: space-between;
    margin-bottom: 25px;
}

footer .container .legal img {
    width: auto;
}

footer .container .legal .mayor {
    height: 32px;
}

footer .container .legal .loteria {
    width: auto;
    height: 37px;
}

footer .container .legal .text-legal {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    line-height: 1;
    text-transform: uppercase;
    flex: 0 1 240px;
    width: 240px;
    text-align: right;
}

footer .container .legal .help {
    height: 43px;
}

footer .container .legal .linea {
    height: 34px;
}

.logo-footer {
    height: 50px;
    margin-top: 25px;
}

/* media queries */
@media (min-width: 768px) {
    .desktop {
        display: block;
    }
    .mobile {
        display: none;
    }

    h1 {
        font-size: 50px;
        margin: 100px 0 50px 0;
    }

    h1 span {
        font-size: 50px;
    }

    .btn.btn-large {
        font-size: 31px;
        padding: var(--spacing-sm) var(--spacing-lg);
        gap: var(--spacing-sm);  
    }

    .btn.btn-medium {
        font-size: 28px;
        padding: var(--spacing-sm) var(--spacing-lg);
    }

    .cards-container {
        padding: 50px 100px;
    }

    .card-header img {
        margin-left: 70px;
    }

    .torneos-a, .steps-a {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .steps-a {
        flex-direction: column;
        align-items: center;
        color: white;
        text-decoration: none;
    }

    section.torneos h2 {
        font-size: 31px;
        height: 70px;
    }

    section.torneos h2 small {
        font-size: 24px;
    }

    section.torneos .list-torneos {
        height: 200px;
        width: 100%;
    }

    section.torneos .torneo:hover {
        scale: 1.15;
        transition: all 0.6s;
    }

    section.torneos .list-games {
        gap: var(--spacing-lg);
    }

    section.steps-bono .content {
        align-items: stretch;
    }

    section.steps-bono h2 {
        font-size: 24px;
    }

    section.steps-bono .steps {
        flex-direction: row;
        gap: var(--spacing-md);
        align-items: flex-start;
        justify-content: center;
    }

    section.steps-bono .steps .step {
        width: 27%;
        font-size: 18px;
    }

    section.steps-bono .steps .step .step-number {
        width: 44px;
        height: 44px;
        font-size: 28px;
    }

    section.steps-bono .steps-footer p {
        font-size: 20px;
        line-height: 1.2;
    }

    footer .container .legal {
        gap: var(--spacing-md);
        align-items: center;
    }

    footer .container .legal .mayor {
        height: 37px;
    }

    footer .container .legal .loteria {
        width: auto;
        height: 46px;
    }

    footer .container .legal .text-legal {
        font-size: 12px;
        text-align: center;
    }

    footer .container .legal .help {
        height: 50px;
    }

    footer .container .legal .linea {
        height: 47px;
    }
}

@media (max-width: 768px) {
    .cards-container{
        gap: 10px;
    }

    .card {
        height: auto;
        padding: 0 15px;
    }

    .card-header {
        flex-direction: column;
        width: 40%;
    }

    .card-header img {
        width: 100%;
        height: auto;
    }

    .card-content .bono-value {
        font-size: 35px;
    }

    .faq-question span {
        width: 90%;
    }

    .card-cta, .card-cta a {
        width: 40%;
        padding: 10px 0;
    }

    .card-cta .btn.btn-medium {
        width: 100%;
        height: 50px;
    }

    .btn.btn-medium {
        width: 100%;
        height: 50px;
    }
}










