/* style/promotions.css */

/* General Page Styling */
.page-promotions {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.page-promotions__section {
    padding: 60px 0;
    text-align: center;
}

.page-promotions__section:nth-child(even) {
    background-color: #f8f8f8;
}

.page-promotions__section-title {
    font-size: 2.8em;
    color: #0A2463;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-promotions__section-description {
    font-size: 1.1em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-promotions__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-promotions__btn--primary {
    background-color: #FFD700;
    color: #0A2463;
}

.page-promotions__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-promotions__btn--secondary {
    background-color: #0A2463;
    color: #FFD700;
    border: 2px solid #0A2463;
}

.page-promotions__btn--secondary:hover {
    background-color: #1a3a7a;
    border-color: #1a3a7a;
    transform: translateY(-2px);
}

.page-promotions__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-promotions__btn--large {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Hero Section */
.page-promotions__hero {
    background: linear-gradient(135deg, #0A2463 0%, #1a3a7a 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.page-promotions__hero .page-promotions__container {
    position: relative;
    z-index: 1;
}

.page-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* Why Choose Section */
.page-promotions__section--why-choose {
    background-color: #f0f4f8;
}

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

.page-promotions__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

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

.page-promotions__feature-item h3 {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-promotions__feature-item p {
    color: #666;
    font-size: 0.95em;
}

/* Current Promotions Grid */
.page-promotions__section--current-promos {
    background-color: #fff;
}

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

.page-promotions__promo-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-promotions__promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid #FFD700;
}

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

.page-promotions__promo-title {
    font-size: 1.8em;
    color: #0A2463;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__promo-title a {
    color: #0A2463;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-promotions__promo-description {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-promotions__promo-details {
    color: #444;
    font-size: 0.9em;
    margin-bottom: 25px;
    line-height: 1.5;
}

.page-promotions__promo-content .page-promotions__btn {
    margin-top: 15px;
    align-self: flex-start;
}

.page-promotions__promo-content .page-promotions__btn:first-of-type {
    margin-top: auto; /* Pushes the first button to the bottom */
}

.page-promotions__promo-content .page-promotions__btn + .page-promotions__btn {
    margin-left: 10px;
}

/* How To Claim Section */
.page-promotions__section--how-to-claim {
    background-color: #e9eff6;
}

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

.page-promotions__step-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-promotions__step-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.15));
}

.page-promotions__step-item h3 {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 15px;
}

.page-promotions__step-item p {
    color: #666;
    font-size: 1em;
    margin-bottom: 20px;
}

/* Responsible Gambling Section */
.page-promotions__section--responsible-gambling {
    background-color: #0A2463;
    color: #e0e0e0;
}

.page-promotions__section--responsible-gambling .page-promotions__section-title {
    color: #FFD700;
}

.page-promotions__section--responsible-gambling .page-promotions__section-description {
    color: #c0c0c0;
}

.page-promotions__section--responsible-gambling .page-promotions__btn--secondary {
    background-color: #FFD700;
    color: #0A2463;
    border-color: #FFD700;
}

.page-promotions__section--responsible-gambling .page-promotions__btn--secondary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

/* FAQ Section */
.page-promotions__section--faq {
    background-color: #fff;
}

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

.page-promotions__faq-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-promotions__faq-question {
    background-color: #f9f9f9;
    padding: 18px 25px;
    font-size: 1.2em;
    color: #0A2463;
    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: #FFD700;
    transition: transform 0.3s ease;
}

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

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

.page-promotions__faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-promotions__faq-answer.open {
    max-height: 200px; /* Adjust based on content */
    padding: 15px 25px;
}

.page-promotions__faq-answer p {
    color: #555;
    font-size: 1em;
}

/* Final CTA Section */
.page-promotions__section--cta-final {
    background: linear-gradient(135deg, #0A2463 0%, #1a3a7a 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

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

.page-promotions__section--cta-final .page-promotions__container {
    position: relative;
    z-index: 1;
}

.page-promotions__section--cta-final .page-promotions__section-title {
    color: #FFD700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-promotions__section--cta-final .page-promotions__section-description {
    color: #e0e0e0;
    margin-bottom: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions__hero-title {
        font-size: 2.8em;
    }
    .page-promotions__section-title {
        font-size: 2.2em;
    }
    .page-promotions__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promotions__hero {
        padding: 80px 0;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-subtitle {
        font-size: 1.1em;
    }
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__section-description {
        font-size: 1em;
    }
    .page-promotions__features, .page-promotions__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__promo-card {
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
    }
    .page-promotions__promo-title {
        font-size: 1.5em;
    }
    .page-promotions__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promotions__faq-answer.open {
        max-height: 300px; /* Adjust for mobile content */
        padding: 10px 20px;
    }
    .page-promotions__promo-content .page-promotions__btn {
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
    .page-promotions__promo-content .page-promotions__btn + .page-promotions__btn {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .page-promotions__hero-title {
        font-size: 1.8em;
    }
    .page-promotions__hero-subtitle {
        font-size: 0.95em;
    }
    .page-promotions__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-promotions__btn--large {
        padding: 12px 25px;
        font-size: 1em;
    }
}