/* style/promotions.css */
.page-promotions {
    font-family: Arial, sans-serif;
    color: #333333; /* Default dark text for light body background */
    line-height: 1.6;
    background-color: #f5f5f5;
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #8B0000; /* Dark Red for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background-color: #1a1a1a; /* Dark background for hero */
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 0;
}

.page-promotions__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    color: #FFD700; /* Gold for hero title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
}

.page-promotions__cta-button--primary {
    background-color: #FFD700; /* Gold primary button */
    color: #1a1a1a;
    border: 2px solid #FFD700;
}

.page-promotions__cta-button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-promotions__cta-button--secondary {
    background-color: #8B0000; /* Dark Red secondary button */
    color: #ffffff;
    border: 2px solid #8B0000;
}

.page-promotions__cta-button--secondary:hover {
    background-color: #6a0000;
    border-color: #6a0000;
}

.page-promotions__cta-button--link {
    background: none;
    color: #8B0000;
    border: 2px solid #8B0000;
    padding: 10px 20px;
    font-size: 1em;
}

.page-promotions__cta-button--link:hover {
    background-color: #8B0000;
    color: #ffffff;
}

/* Featured Promotions */
.page-promotions__featured-promos {
    padding: 60px 0;
    background-color: #ffffff;
}

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

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

.page-promotions__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

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

.page-promotions__promo-card-title {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__promo-card-title a {
    color: #8B0000;
    text-decoration: none;
}

.page-promotions__promo-card-title a:hover {
    color: #FFD700;
}

.page-promotions__promo-card-text {
    font-size: 0.95em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Additional Promos */
.page-promotions__additional-promos {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.page-promotions__promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-promotions__promo-list-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #FFD700;
}

.page-promotions__promo-list-title {
    font-size: 1.3em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-promotions__promo-list-text {
    color: #666666;
    font-size: 0.95em;
}

/* How to Claim */
.page-promotions__how-to-claim {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-promotions__step-item {
    text-align: center;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fcfcfc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions__step-icon {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
    background-color: #8B0000;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.page-promotions__step-title {
    font-size: 1.4em;
    color: #8B0000;
    margin-bottom: 10px;
}

.page-promotions__step-text {
    color: #666666;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.page-promotions__guide-image {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 50px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Terms & Conditions */
.page-promotions__terms-conditions {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-promotions__term-item {
    background-color: #ffffff;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #FFD700;
    color: #444444;
    font-size: 1em;
}

/* Responsible Gambling */
.page-promotions__responsible-gambling {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-promotions__responsible-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-promotions__responsible-item {
    background-color: #fcfcfc;
    margin-bottom: 15px;
    padding: 18px;
    border-radius: 8px;
    border: 1px dashed #FFD700;
    color: #444444;
    font-size: 1em;
}

/* FAQ Section */
.page-promotions__faq-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

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

.page-promotions__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #FFD700; /* Gold background for question */
    color: #1a1a1a; /* Dark text for gold background */
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
    background-color: #e6c200;
}

.page-promotions__faq-question-title {
    font-size: 1.15em;
    margin: 0;
    color: #1a1a1a;
}

.page-promotions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #fcfcfc;
    color: #555555;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 20px 25px;
}

.page-promotions__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Call to Action Bottom */
.page-promotions__cta-bottom {
    padding: 60px 0;
    text-align: center;
    background-color: #8B0000; /* Dark Red background for CTA */
    color: #ffffff;
}

.page-promotions__cta-bottom-title {
    font-size: 2.2em;
    color: #FFD700; /* Gold for CTA title */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__cta-bottom-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__hero-title {
        font-size: 3em;
    }
    .page-promotions__hero-description {
        font-size: 1.1em;
    }
    .page-promotions__section-title {
        font-size: 2em;
    }
    .page-promotions__promo-card-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__hero-section {
        min-height: 400px;
        padding: calc(var(--header-offset, 120px) + 20px) 15px 40px;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-promotions__cta-buttons-group {
        flex-direction: column;
        align-items: center;
    }
    .page-promotions__cta-button--primary,
    .page-promotions__cta-button--secondary,
    .page-promotions__cta-button--link {
        width: 100%;
        max-width: 300px !important; /* Constrain max-width for buttons */
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-description {
        font-size: 0.95em;
    }
    .page-promotions__promo-grid,
    .page-promotions__promo-list,
    .page-promotions__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__promo-card-image,
    .page-promotions__guide-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promotions__container,
    .page-promotions__promo-card,
    .page-promotions__promo-list-item,
    .page-promotions__step-item,
    .page-promotions__term-item,
    .page-promotions__responsible-item,
    .page-promotions__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promotions__faq-question {
        padding: 15px 20px;
    }
    .page-promotions__faq-answer {
        padding: 15px 20px;
    }
    .page-promotions__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-description {
        font-size: 0.9em;
    }
    .page-promotions__section-title {
        font-size: 1.5em;
    }
    .page-promotions__cta-bottom-title {
        font-size: 1.8em;
    }
    .page-promotions__cta-bottom-description {
        font-size: 0.9em;
    }
}