/* style/promotions.css */

/* Variables */
:root {
    --page-promotions-primary-color: #007bff;
    --page-promotions-secondary-color: #ffc107;
    --page-promotions-dark-text: #212529;
    --page-promotions-light-text: #ffffff;
    --page-promotions-gray-bg: #f8f9fa;
    --page-promotions-border-color: #dee2e6;
}

/* Base styles for the promotions page content */
.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-promotions-dark-text);
}

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

.page-promotions__hero-section {
    background: linear-gradient(135deg, var(--page-promotions-primary-color) 0%, #0056b3 100%); /* Darker primary for contrast */
    padding: 80px 0;
    color: var(--page-promotions-light-text);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: page-promotions-pulse 4s infinite ease-in-out;
}

.page-promotions__hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: page-promotions-pulse 4s infinite ease-in-out reverse;
}

@keyframes page-promotions-pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.page-promotions__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--page-promotions-light-text);
    line-height: 1.2;
}

.page-promotions__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions__section-title {
    font-size: 2.2em;
    color: var(--page-promotions-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    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(--page-promotions-secondary-color);
    border-radius: 2px;
}

.page-promotions__sub-section-title {
    font-size: 1.8em;
    color: var(--page-promotions-primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-promotions__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-promotions__button--primary {
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-dark-text);
    border: 2px solid var(--page-promotions-secondary-color);
}

.page-promotions__button--primary:hover {
    background-color: #e6ac00; /* Slightly darker gold */
    transform: translateY(-2px);
    color: var(--page-promotions-dark-text);
}

.page-promotions__button--secondary {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-light-text);
    border: 2px solid var(--page-promotions-primary-color);
}

.page-promotions__button--secondary:hover {
    background-color: #0056b3; /* Darker blue */
    transform: translateY(-2px);
    color: var(--page-promotions-light-text);
}

.page-promotions__link {
    color: var(--page-promotions-primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-left: 15px;
}

.page-promotions__link:hover {
    color: var(--page-promotions-secondary-color);
    text-decoration: underline;
}

.page-promotions__content-section,
.page-promotions__detail-list-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__app-download-section,
.page-promotions__faq-section,
.page-promotions__cta-section {
    padding: 60px 0;
}

.page-promotions__bg--light {
    background-color: var(--page-promotions-gray-bg);
}

.page-promotions__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-promotions__feature-item {
    background-color: var(--page-promotions-light-text);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-5px);
}

.page-promotions__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-promotions__feature-title {
    font-size: 1.4em;
    color: var(--page-promotions-primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-promotions__feature-text {
    font-size: 1em;
    color: var(--page-promotions-dark-text);
}

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

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

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

.page-promotions__promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.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: var(--page-promotions-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions__promo-card-title a {
    color: var(--page-promotions-primary-color);
    text-decoration: none;
}

.page-promotions__promo-card-title a:hover {
    color: var(--page-promotions-secondary-color);
    text-decoration: underline;
}

.page-promotions__promo-card-description {
    font-size: 1em;
    color: var(--page-promotions-dark-text);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-promotions__how-to-claim-section {
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-light-text);
    text-align: center;
}

.page-promotions__how-to-claim-section .page-promotions__section-title {
    color: var(--page-promotions-light-text);
}

.page-promotions__how-to-claim-section .page-promotions__section-title::after {
    background-color: var(--page-promotions-secondary-color);
}

.page-promotions__how-to-claim-section .page-promotions__text-block {
    color: rgba(255, 255, 255, 0.9);
}

.page-promotions__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.page-promotions__steps-list li {
    background-color: var(--page-promotions-light-text);
    color: var(--page-promotions-dark-text);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    flex: 1 1 calc(33% - 40px);
    min-width: 280px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.page-promotions__step-number {
    background-color: var(--page-promotions-secondary-color);
    color: var(--page-promotions-dark-text);
    width: 40px;
    height: 40px;
    min-width: 40px; /* Ensure number doesn't shrink */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-promotions__steps-list li p {
    margin: 0;
    font-size: 1.1em;
    text-align: left;
}

.page-promotions__steps-list li p a {
    color: var(--page-promotions-primary-color);
    text-decoration: underline;
}

.page-promotions__steps-list li p a:hover {
    color: var(--page-promotions-secondary-color);
}

.page-promotions__terms-list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 30px;
    font-size: 1.1em;
}

.page-promotions__terms-list li {
    margin-bottom: 10px;
}

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

.page-promotions__app-download-section {
    text-align: center;
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-light-text);
}

.page-promotions__app-download-section .page-promotions__section-title {
    color: var(--page-promotions-light-text);
}

.page-promotions__app-download-section .page-promotions__section-title::after {
    background-color: var(--page-promotions-secondary-color);
}

.page-promotions__app-download-section .page-promotions__text-block {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-promotions__app-image {
    max-width: 300px;
    height: auto;
    margin: 30px auto;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.page-promotions__faq-accordion {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-promotions__faq-question {
    background-color: var(--page-promotions-light-text);
    color: var(--page-promotions-primary-color);
    padding: 20px 25px;
    width: 100%;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-promotions__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: var(--page-promotions-secondary-color);
    transition: transform 0.3s ease;
}

.page-promotions__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

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

.page-promotions__faq-answer {
    background-color: var(--page-promotions-light-text);
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-promotions__faq-answer p {
    margin-top: 0;
    margin-bottom: 20px;
    padding-top: 10px;
    font-size: 1.05em;
}

.page-promotions__cta-section {
    text-align: center;
    background-color: var(--page-promotions-primary-color);
    color: var(--page-promotions-light-text);
}

.page-promotions__cta-section .page-promotions__section-title {
    color: var(--page-promotions-light-text);
}

.page-promotions__cta-section .page-promotions__section-title::after {
    background-color: var(--page-promotions-secondary-color);
}

.page-promotions__cta-section .page-promotions__text-block {
    color: rgba(255, 255, 255, 0.9);
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-promotions__mt-40 {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__sub-section-title {
        font-size: 1.5em;
    }
    .page-promotions__steps-list li {
        flex: 1 1 calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__section-title {
        font-size: 1.6em;
    }
    .page-promotions__sub-section-title {
        font-size: 1.3em;
    }
    .page-promotions__button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-promotions__steps-list li {
        flex: 1 1 100%;
    }
    .page-promotions__features-grid,
    .page-promotions__promo-cards-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__hero-section,
    .page-promotions__content-section,
    .page-promotions__detail-list-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__app-download-section,
    .page-promotions__faq-section,
    .page-promotions__cta-section {
        padding: 40px 0;
    }
    .page-promotions__promo-card-image {
        height: 180px;
    }
    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.6em;
    }
    .page-promotions__section-title {
        font-size: 1.4em;
    }
    .page-promotions__hero-section::before,
    .page-promotions__hero-section::after {
        display: none;
    }
}