/* style/promotions.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f9f9f9;
    --background-dark: #0d0d0d; /* Assuming --dark-bg-1 from shared.css is dark */
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

.page-promotions {
    color: var(--text-color-light); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Should match body background from shared.css */
    padding-top: 180px; /* For fixed header on desktop */
}

@media (max-width: 768px) {
    .page-promotions {
        padding-top: 140px; /* For fixed header on mobile */
    }
}

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

.page-promotions__intro-section,
.page-promotions__featured-promotions-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__responsible-gaming-section,
.page-promotions__news-section,
.page-promotions__faq-section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__intro-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--background-dark));
}

.page-promotions__featured-promotions-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__news-section,
.page-promotions__faq-section {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.page-promotions__main-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.page-promotions__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-promotions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-promotions__description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions__text-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions__text-link:hover {
    color: var(--primary-color);
}

.page-promotions__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 30px;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.page-promotions__cta-button--primary {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.page-promotions__cta-button--primary:hover {
    background: darken(var(--primary-color), 10%); /* Placeholder for darker shade */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button--secondary {
    background: var(--secondary-color);
    color: var(--text-color-light);
}

.page-promotions__cta-button--secondary:hover {
    background: darken(var(--secondary-color), 10%); /* Placeholder for darker shade */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-promotions__cta-button--tertiary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: none;
}

.page-promotions__cta-button--tertiary:hover {
    background: var(--secondary-color);
    color: var(--text-color-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__promotion-card {
    background: var(--text-color-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: var(--text-color-dark);
}

.page-promotions__promotion-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-promotions__card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-promotions__card-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-promotions__card-features li {
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.page-promotions__icon {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
    flex-shrink: 0;
}

.page-promotions__how-to-claim-section {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.page-promotions__claim-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-promotions__step-item {
    background: var(--text-color-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 30px;
    color: var(--text-color-dark);
    display: flex;
    flex-direction: column;
}

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

.page-promotions__step-description {
    font-size: 16px;
    line-height: 1.7;
    flex-grow: 1;
}

.page-promotions__terms-section,
.page-promotions__responsible-gaming-section {
    background-color: var(--background-dark);
    color: var(--text-color-light);
}

.page-promotions__terms-section .page-promotions__section-title,
.page-promotions__responsible-gaming-section .page-promotions__section-title {
    color: var(--primary-color);
}

.page-promotions__terms-section .page-promotions__description,
.page-promotions__responsible-gaming-section .page-promotions__description {
    color: var(--text-color-light);
}

.page-promotions__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-promotions__terms-list li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.page-promotions__terms-list li .page-promotions__icon {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 20px;
    line-height: 1.5;
    flex-shrink: 0;
}

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

.page-promotions__news-card {
    background: var(--text-color-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 25px;
    text-align: left;
    color: var(--text-color-dark);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-promotions__news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-promotions__news-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-promotions__news-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-promotions__news-title a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.page-promotions__news-excerpt {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions__news-date {
    font-size: 14px;
    color: #666;
    text-align: right;
    display: block;
}

.page-promotions__faq-section {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.page-promotions__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-promotions__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-promotions__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
    color: var(--text-color-dark);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-promotions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-promotions__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-promotions__faq-question:active {
    background: #eeeeee;
}

.page-promotions__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-dark);
}

.page-promotions__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__main-title {
        font-size: 36px;
    }
    .page-promotions__section-title {
        font-size: 30px;
    }
    .page-promotions__description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-promotions__intro-section,
    .page-promotions__featured-promotions-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__responsible-gaming-section,
    .page-promotions__news-section,
    .page-promotions__faq-section {
        padding: 40px 0;
    }
    .page-promotions__main-title {
        font-size: 30px;
    }
    .page-promotions__section-title {
        font-size: 26px;
    }
    .page-promotions__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-promotions__promotions-grid,
    .page-promotions__claim-steps,
    .page-promotions__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-promotions__promotion-image {
        height: 200px;
    }
    .page-promotions__card-title {
        font-size: 20px;
    }
    .page-promotions__card-description,
    .page-promotions__card-features li,
    .page-promotions__step-description,
    .page-promotions__terms-list li {
        font-size: 14px;
    }
    .page-promotions__step-title {
        font-size: 18px;
    }
    .page-promotions__news-image {
        height: 180px;
    }
    .page-promotions__news-title {
        font-size: 18px;
    }
    .page-promotions__news-excerpt {
        font-size: 14px;
    }
    .page-promotions__news-date {
        font-size: 12px;
    }
    .page-promotions__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-promotions__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-promotions__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-promotions__faq-answer {
        padding: 0 15px;
    }
    .page-promotions__faq-item.active .page-promotions__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-promotions__main-title {
        font-size: 26px;
    }
    .page-promotions__section-title {
        font-size: 22px;
    }
    .page-promotions__description {
        font-size: 15px;
    }
    .page-promotions__cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    .page-promotions__promotion-image {
        height: 150px;
    }
    .page-promotions__card-title {
        font-size: 18px;
    }
    .page-promotions__news-image {
        height: 150px;
    }
    .page-promotions__news-title {
        font-size: 16px;
    }
    .page-promotions__faq-question h3 {
        font-size: 14px;
    }
    .page-promotions__faq-toggle {
        font-size: 18px;
        width: 22px;
        height: 22px;
    }
}