/* style/promotions-latest-bonuses.css */

/* Variáveis de cores */
:root {
    --page-promotions-latest-bonuses-primary-color: #11A84E;
    --page-promotions-latest-bonuses-secondary-color: #22C768;
    --page-promotions-latest-bonuses-card-bg: #11271B;
    --page-promotions-latest-bonuses-background: #08160F;
    --page-promotions-latest-bonuses-text-main: #F2FFF6;
    --page-promotions-latest-bonuses-text-secondary: #A7D9B8;
    --page-promotions-latest-bonuses-border-color: #2E7A4E;
    --page-promotions-latest-bonuses-glow-color: #57E38D;
    --page-promotions-latest-bonuses-gold-color: #F2C14E;
    --page-promotions-latest-bonuses-divider-color: #1E3A2A;
    --page-promotions-latest-bonuses-deep-green: #0A4B2C;
    --page-promotions-latest-bonuses-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);

    /* Para contraste, assumindo body background é escuro (var(--background-color) é geralmente escuro em iGaming) */
    --page-promotions-latest-bonuses-default-text-color: var(--page-promotions-latest-bonuses-text-main);
    --page-promotions-latest-bonuses-default-link-color: var(--page-promotions-latest-bonuses-gold-color);
}

.page-promotions-latest-bonuses {
    font-family: 'Arial', sans-serif;
    color: var(--page-promotions-latest-bonuses-default-text-color); /* Texto principal claro para fundo escuro */
    background-color: var(--page-promotions-latest-bonuses-background); /* Fundo geral da página */
    line-height: 1.6;
    font-size: 1rem;
}

.page-promotions-latest-bonuses a {
    color: var(--page-promotions-latest-bonuses-default-link-color); /* Links em dourado para destaque */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions-latest-bonuses a:hover {
    color: var(--page-promotions-latest-bonuses-primary-color);
    text-decoration: underline;
}

.page-promotions-latest-bonuses__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-promotions-latest-bonuses__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Espaço para o conteúdo abaixo da imagem */
    padding-top: 10px; /* Pequeno padding-top, body já tem offset */
}

.page-promotions-latest-bonuses__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 0;
}

.page-promotions-latest-bonuses__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 700px; /* Limita a altura da imagem hero */
}

.page-promotions-latest-bonuses__hero-content {
    position: relative; /* Conteúdo abaixo da imagem, em fluxo normal */
    z-index: 1;
    max-width: 900px;
    margin-top: 40px; /* Espaço entre a imagem e o texto */
    padding: 0 20px;
}

.page-promotions-latest-bonuses__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Título responsivo */
    color: var(--page-promotions-latest-bonuses-gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions-latest-bonuses__description {
    font-size: 1.25rem;
    color: var(--page-promotions-latest-bonuses-text-secondary);
    margin-bottom: 30px;
}

.page-promotions-latest-bonuses__cta-button {
    display: inline-block;
    background: var(--page-promotions-latest-bonuses-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-promotions-latest-bonuses__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
    text-decoration: none;
}

.page-promotions-latest-bonuses__cta-button--inline {
    margin-top: 30px;
}

.page-promotions-latest-bonuses__cta-button--large {
    padding: 20px 40px;
    font-size: 1.3rem;
    margin-top: 40px;
}

/* General Section Styling */
.page-promotions-latest-bonuses__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-promotions-latest-bonuses-divider-color);
}

.page-promotions-latest-bonuses__section:last-of-type {
    border-bottom: none;
}

.page-promotions-latest-bonuses__section-title {
    font-size: 2.5rem;
    color: var(--page-promotions-latest-bonuses-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(17, 168, 78, 0.3);
}

.page-promotions-latest-bonuses__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--page-promotions-latest-bonuses-text-secondary);
    text-align: justify;
}

/* Card Grid */
.page-promotions-latest-bonuses__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-latest-bonuses__card {
    background-color: var(--page-promotions-latest-bonuses-card-bg);
    border: 1px solid var(--page-promotions-latest-bonuses-border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions-latest-bonuses__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-latest-bonuses__card-image {
    width: 100%;
    height: 200px; /* Altura fixa para uniformidade */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--page-promotions-latest-bonuses-deep-green);
}

.page-promotions-latest-bonuses__card-title {
    font-size: 1.5rem;
    color: var(--page-promotions-latest-bonuses-gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-latest-bonuses__card-text {
    font-size: 1rem;
    color: var(--page-promotions-latest-bonuses-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions-latest-bonuses__card-button {
    display: inline-block;
    background: var(--page-promotions-latest-bonuses-button-gradient);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: auto; /* Empurra o botão para baixo */
    border: none;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Para responsividade */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions-latest-bonuses__card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
    text-decoration: none;
}

/* List Styling (Ordered and Unordered) */
.page-promotions-latest-bonuses__step-list,
.page-promotions-latest-bonuses__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-promotions-latest-bonuses__step-list .page-promotions-latest-bonuses__list-item,
.page-promotions-latest-bonuses__tip-list .page-promotions-latest-bonuses__list-item {
    background-color: var(--page-promotions-latest-bonuses-card-bg);
    border: 1px solid var(--page-promotions-latest-bonuses-border-color);
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-latest-bonuses__list-title {
    font-size: 1.35rem;
    color: var(--page-promotions-latest-bonuses-primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions-latest-bonuses__list-text {
    font-size: 1rem;
    color: var(--page-promotions-latest-bonuses-text-secondary);
    text-align: justify;
}

/* Image with Text Block */
.page-promotions-latest-bonuses__image-text-block {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap; /* Para responsividade */
}

.page-promotions-latest-bonuses__content-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--page-promotions-latest-bonuses-deep-green);
    flex-shrink: 0;
}

.page-promotions-latest-bonuses__feature-list {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.page-promotions-latest-bonuses__feature-list .page-promotions-latest-bonuses__list-item {
    background-color: transparent;
    border: none;
    padding: 0;
    margin-bottom: 15px;
    box-shadow: none;
}

/* FAQ Section */
.page-promotions-latest-bonuses__faq-list {
    margin-top: 30px;
}

.page-promotions-latest-bonuses__faq-item {
    background-color: var(--page-promotions-latest-bonuses-card-bg);
    border: 1px solid var(--page-promotions-latest-bonuses-border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.page-promotions-latest-bonuses__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    color: var(--page-promotions-latest-bonuses-gold-color);
    font-weight: bold;
    cursor: pointer;
    background-color: var(--page-promotions-latest-bonuses-deep-green);
    border-bottom: 1px solid var(--page-promotions-latest-bonuses-border-color);
    transition: background-color 0.3s ease;
}

.page-promotions-latest-bonuses__faq-question:hover {
    background-color: var(--page-promotions-latest-bonuses-primary-color);
}

.page-promotions-latest-bonuses__faq-item[open] .page-promotions-latest-bonuses__faq-question {
    background-color: var(--page-promotions-latest-bonuses-primary-color);
    border-bottom: 1px solid var(--page-promotions-latest-bonuses-primary-color);
}

.page-promotions-latest-bonuses__faq-qtext {
    flex-grow: 1;
}

.page-promotions-latest-bonuses__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    line-height: 1;
}

.page-promotions-latest-bonuses__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--page-promotions-latest-bonuses-text-secondary);
    text-align: justify;
    background-color: var(--page-promotions-latest-bonuses-card-bg);
}

.page-promotions-latest-bonuses__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-promotions-latest-bonuses__faq-item summary {
    list-style: none;
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-latest-bonuses__section-title {
        font-size: 2rem;
    }
    .page-promotions-latest-bonuses__main-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    .page-promotions-latest-bonuses__description {
        font-size: 1.1rem;
    }
    .page-promotions-latest-bonuses__hero-content {
        margin-top: 20px;
    }
    .page-promotions-latest-bonuses__card-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .page-promotions-latest-bonuses {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-promotions-latest-bonuses__container {
        padding: 0 15px; /* Ajuste o padding para telas menores */
    }

    .page-promotions-latest-bonuses__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important; /* body já tem offset */
    }

    .page-promotions-latest-bonuses__hero-image {
        max-height: 400px;
    }

    .page-promotions-latest-bonuses__main-title {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
        margin-bottom: 15px;
    }

    .page-promotions-latest-bonuses__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-promotions-latest-bonuses__cta-button,
    .page-promotions-latest-bonuses__cta-button--large,
    .page-promotions-latest-bonuses__card-button,
    .page-promotions-latest-bonuses a[class*="button"],
    .page-promotions-latest-bonuses a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 1rem;
    }

    .page-promotions-latest-bonuses__cta-buttons,
    .page-promotions-latest-bonuses__button-group,
    .page-promotions-latest-bonuses__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-promotions-latest-bonuses__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-promotions-latest-bonuses__section {
        padding: 40px 0;
    }

    .page-promotions-latest-bonuses__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-promotions-latest-bonuses__text-block {
        font-size: 1rem;
    }

    .page-promotions-latest-bonuses__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions-latest-bonuses__card-image {
        height: 160px;
    }

    .page-promotions-latest-bonuses__card-title {
        font-size: 1.3rem;
    }

    .page-promotions-latest-bonuses__image-text-block {
        flex-direction: column;
        align-items: center;
    }

    .page-promotions-latest-bonuses__content-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .page-promotions-latest-bonuses__list-title {
        font-size: 1.2rem;
    }

    .page-promotions-latest-bonuses__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    /* Imagens responsivas */
    .page-promotions-latest-bonuses img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-promotions-latest-bonuses__section,
    .page-promotions-latest-bonuses__card,
    .page-promotions-latest-bonuses__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Garante que o conteúdo não vaze */
    }

    /* Vídeos responsivos (se houver, embora este page não tenha video diretamente) */
    .page-promotions-latest-bonuses video,
    .page-promotions-latest-bonuses__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    .page-promotions-latest-bonuses__video-section,
    .page-promotions-latest-bonuses__video-container,
    .page-promotions-latest-bonuses__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-promotions-latest-bonuses__video-section {
        padding-top: 10px !important;
    }
    .page-promotions-latest-bonuses__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-promotions-latest-bonuses__main-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
    .page-promotions-latest-bonuses__section-title {
        font-size: 1.5rem;
    }
    .page-promotions-latest-bonuses__faq-question {
        font-size: 1rem;
        padding: 12px 15px;
    }
}