:root {
    --primary-color: #000000;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --accent-color-register: #FFFFFF;
    --accent-color-login: #FCBC45;
    --background-color: #FFFFFF;
}

.page-promotions {
    font-family: Arial, sans-serif;
    color: var(--text-color-dark); /* Default text color for light background */
    background-color: var(--background-color);
}

.page-promotions__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--primary-color);
}

.page-promotions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-promotions__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-color-light);
    max-width: 900px;
    padding: 20px;
    z-index: 10;
}

.page-promotions__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: -0.05em;
}

.page-promotions__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    line-height: 1.5;
}

.page-promotions__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

.page-promotions__btn-primary {
    background-color: var(--accent-color-login);
    color: var(--primary-color);
    border: 2px solid var(--accent-color-login);
}

.page-promotions__btn-primary:hover {
    background-color: #e6a735;
    border-color: #e6a735;
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: var(--accent-color-register);
    border: 2px solid var(--accent-color-register);
}

.page-promotions__btn-secondary:hover {
    background-color: var(--accent-color-register);
    color: var(--primary-color);
}

.page-promotions__featured-bonuses-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section,
.page-promotions__why-choose-section,
.page-promotions__cta-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-promotions__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-promotions__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: var(--text-color-dark);
}

.page-promotions__bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__bonus-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-promotions__bonus-card:hover {
    transform: translateY(-5px);
}

.page-promotions__bonus-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-promotions__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.page-promotions__card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-button {
    display: inline-block;
    background-color: var(--accent-color-login);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-promotions__card-button:hover {
    background-color: #e6a735;
}

.page-promotions__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions__step-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promotions__step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color-login);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-promotions__step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-promotions__step-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color-dark);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promotions__step-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.page-promotions__step-button:hover {
    background-color: #333333;
}

.page-promotions__faq-list {
    margin-top: 40px;
}

.page-promotions__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    position: relative;
}

.page-promotions__faq-question::-webkit-details-marker {
    display: none;
}

.page-promotions__faq-qtext {
    flex-grow: 1;
}

.page-promotions__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
    transform: rotate(45deg);
}

.page-promotions__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-dark);
}

.page-promotions__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-promotions__advantage-item {
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__advantage-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-promotions__advantage-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-dark);
}

.page-promotions__cta-section {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    border-radius: 12px;
    margin-bottom: 50px;
}

.page-promotions__cta-content {
    max-width: 600px;
}

.page-promotions__cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-promotions__cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-promotions__cta-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-promotions__hero-content {
        max-width: 700px;
    }

    .page-promotions__bonuses-grid,
    .page-promotions__steps-container,
    .page-promotions__advantage-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-promotions__cta-section {
        flex-direction: column;
        gap: 30px;
    }

    .page-promotions__cta-image {
        max-width: 80%;
    }
}

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

    .page-promotions__hero-content {
        padding: 15px;
        top: auto;
        bottom: 0;
        transform: translate(-50%, 0%);
        position: relative;
        width: 100%;
        max-width: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4), transparent);
        padding-top: 100px;
    }

    .page-promotions__hero-image {
        max-height: 400px;
    }

    .page-promotions__hero-title {
        font-size: 2rem;
    }

    .page-promotions__hero-description {
        font-size: 1rem;
    }

    .page-promotions__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .page-promotions__featured-bonuses-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__faq-section,
    .page-promotions__why-choose-section,
    .page-promotions__cta-section {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-promotions__section-title {
        font-size: 1.8rem;
    }

    .page-promotions__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-promotions__bonuses-grid,
    .page-promotions__steps-container,
    .page-promotions__advantage-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__bonus-image {
        height: 200px;
    }

    .page-promotions__card-title {
        font-size: 1.2rem;
    }

    .page-promotions__card-text {
        font-size: 0.9rem;
    }

    .page-promotions__step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .page-promotions__step-title {
        font-size: 1.2rem;
    }

    .page-promotions__step-text {
        font-size: 0.9rem;
    }

    .page-promotions__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-promotions__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.9rem;
    }

    .page-promotions__advantage-title {
        font-size: 1.2rem;
    }

    .page-promotions__advantage-text {
        font-size: 0.9rem;
    }

    .page-promotions__cta-section {
        padding: 40px 15px;
        border-radius: 8px;
    }

    .page-promotions__cta-title {
        font-size: 1.8rem;
    }

    .page-promotions__cta-description {
        font-size: 1rem;
    }

    .page-promotions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .page-promotions__cta-image {
        max-width: 90%;
    }

    /* Ensure all images are responsive */
    .page-promotions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all containers with images are responsive */
    .page-promotions__hero-section,
    .page-promotions__featured-bonuses-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__faq-section,
    .page-promotions__why-choose-section,
    .page-promotions__cta-section,
    .page-promotions__bonuses-grid,
    .page-promotions__bonus-card,
    .page-promotions__steps-container,
    .page-promotions__step-card,
    .page-promotions__advantage-list,
    .page-promotions__advantage-item,
    .page-promotions__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__hero-section {
      padding-left: 0;
      padding-right: 0;
    }
    .page-promotions__hero-content {
      padding-left: 15px;
      padding-right: 15px;
    }

    /* Buttons specific for mobile */
    .page-promotions__cta-button,
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary,
    .page-promotions a[class*="button"],
    .page-promotions 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;
    }

    .page-promotions__cta-buttons,
    .page-promotions__button-group,
    .page-promotions__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__hero-cta-buttons {
      flex-direction: column;
    }

    .page-promotions__cta-section .page-promotions__cta-buttons {
      flex-direction: column;
    }

    /* Dark/Light background text color handling */
    .page-promotions__dark-bg {
        color: #ffffff;
        background: #000000;
    }
    .page-promotions__light-bg {
        color: #333333;
        background: #ffffff;
    }
    .page-promotions__medium-bg {
        color: #000000;
        background: #FFFFFF;
    }
    .page-promotions__contrast-fix {
        background: #ffffff !important;
        color: #333333 !important;
        border: 1px solid #e0e0e0 !important;
    }
    .page-promotions__text-contrast-fix {
        color: #333333 !important;
        text-shadow: none !important;
    }
}