/* style/promotions.css */

/* Variáveis de cor */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg-color: #111111;
    --bg-color-main: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Estilos gerais para o corpo do conteúdo da página, assumindo body background é escuro */
.page-promotions {
    background-color: var(--bg-color-main);
    color: var(--text-main-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-promotions__section {
    padding: 60px 0;
    position: relative;
}

.page-promotions__section--dark {
    background-color: var(--bg-color-main);
}

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

.page-promotions__section-title {
    font-size: 38px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-promotions__text-main {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: var(--text-main-color);
}

/* HERO Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, header offset handled by body */
    background-color: var(--bg-color-main);
    overflow: hidden;
}

.page-promotions__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-promotions__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-promotions__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.4);
    border: 2px solid var(--border-color);
}

.page-promotions__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-promotions__main-title {
    font-size: 52px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
    font-family: 'Impact', sans-serif;
}

.page-promotions__hero-description {
    font-size: 20px;
    color: var(--text-main-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
    border: none;
    cursor: pointer;
}

.page-promotions__cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow-color);
}

/* Features Grid */
.page-promotions__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__feature-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-promotions__feature-item img {
    width: 100%;
    max-width: 200px; /* Adjusted for smaller content images */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

.page-promotions__feature-title {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__feature-item p {
    color: var(--text-main-color);
    font-size: 16px;
}

/* Promo Cards */
.page-promotions__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__promo-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px 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__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-promotions__promo-card img {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    object-fit: cover;
}

.page-promotions__card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__promo-card p {
    color: var(--text-main-color);
    font-size: 16px;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-promotions__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px var(--glow-color);
}

/* Claim Steps */
.page-promotions__claim-steps {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 800px;
}

.page-promotions__claim-steps li {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-promotions__claim-steps li:last-child {
    margin-bottom: 0;
}

.page-promotions__step-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__claim-steps p {
    color: var(--text-main-color);
    font-size: 16px;
    text-align: left;
    margin-bottom: 0;
}

.page-promotions__claim-steps a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-promotions__claim-steps a:hover {
    color: var(--primary-color);
}

.page-promotions__button-group {
    text-align: center;
    margin-top: 40px;
}

/* Terms and Conditions */
.page-promotions__terms-list {
    list-style: disc;
    padding-left: 20px;
    margin: 40px auto;
    max-width: 900px;
    color: var(--text-main-color);
}

.page-promotions__terms-list li {
    margin-bottom: 15px;
    font-size: 16px;
}

.page-promotions__terms-list li p {
    color: var(--text-main-color);
    margin-bottom: 0;
    text-align: left;
}

.page-promotions__terms-list strong {
    color: var(--primary-color);
}

.page-promotions__terms-list a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-promotions__terms-list a:hover {
    color: var(--primary-color);
}

/* Responsible Gaming */
.page-promotions__responsible-gaming-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__responsible-gaming-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__responsible-gaming-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-promotions__responsible-gaming-item img {
    width: 100%;
     /* Smaller images for this section */
    height: auto;
    margin-bottom: 20px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

/* FAQ */
.page-promotions__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--primary-color);
  font-weight: bold;
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: rgba(var(--primary-color), 0.1);
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #1a1a1a; /* Slightly lighter than card bg for contrast */
  border-radius: 0 0 5px 5px;
  color: var(--text-main-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 44px;
    }
    .page-promotions__hero-description {
        font-size: 18px;
    }
    .page-promotions__section-title {
        font-size: 32px;
    }
    .page-promotions__text-main {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-image img {
        border-radius: 4px;
    }
    .page-promotions__main-title {
        font-size: 36px;
        line-height: 1.3;
    }
    .page-promotions__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-promotions__cta-button {
        padding: 15px 35px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-promotions__text-main {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-promotions__features-grid,
    .page-promotions__promo-cards,
    .page-promotions__responsible-gaming-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-promotions__feature-item,
    .page-promotions__promo-card,
    .page-promotions__responsible-gaming-item,
    .page-promotions__claim-steps li {
        padding: 20px;
    }
    .page-promotions__feature-title,
    .page-promotions__card-title,
    .page-promotions__step-title {
        font-size: 20px;
    }
    .page-promotions__feature-item img,
    .page-promotions__responsible-gaming-item img {
        
    }
    .page-promotions__btn-primary {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__faq-list {
        padding: 0 15px;
    }
    details.page-promotions__faq-item summary.page-promotions__faq-question {
        padding: 15px;
    }
    .page-promotions__faq-qtext {
        font-size: 16px;
    }
    details.page-promotions__faq-item .page-promotions__faq-answer {
        padding: 0 15px 15px;
    }
    /* Mobile image and container styles */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__section,
    .page-promotions__card,
    .page-promotions__container,
    .page-promotions__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__button-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .page-promotions__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}