/* style/promotions.css */
/* Base styles for the promotions page */
.page-promotions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark body background */
    background-color: transparent; /* Body background handled by shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-promotions__section-title {
    font-size: 36px;
    color: #E6B31E; /* Gold/Amber for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-promotions__section-intro {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #cccccc;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
    background-color: #0A2239; /* Dark blue background for hero */
    color: #ffffff;
    border-bottom: 5px solid #E6B31E;
}

.page-promotions__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-promotions__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #E6B31E; /* Gold/Amber for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__description {
    font-size: 20px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-promotions__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 100%; /* Ensure buttons adapt to mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__btn-primary {
    background-color: #E6B31E; /* Gold/Amber */
    color: #0A2239; /* Dark blue text on gold */
    border: 2px solid #E6B31E;
}

.page-promotions__btn-primary:hover {
    background-color: #d6a11a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
    background-color: transparent;
    color: #E6B31E; /* Gold/Amber text */
    border: 2px solid #E6B31E;
}

.page-promotions__btn-secondary:hover {
    background-color: #E6B31E;
    color: #0A2239;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
    pointer-events: none;
}

/* Current Promotions Section */
.page-promotions__current-promotions-section {
    padding: 60px 0;
    background-color: #1a1a1a;
}

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

.page-promotions__promo-card {
    background-color: #0A2239; /* Dark blue card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    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 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    border-bottom: 3px solid #E6B31E;
}

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

.page-promotions__promo-title {
    font-size: 24px;
    font-weight: bold;
    color: #E6B31E;
    margin-bottom: 15px;
}

.page-promotions__promo-description {
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-promotions__promo-features li {
    font-size: 15px;
    color: #f0f0f0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.page-promotions__promo-features li::before {
    content: '⭐'; /* Unicode star or similar */
    color: #E6B31E;
    margin-right: 10px;
    font-size: 18px;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
    padding: 80px 0;
    background-color: #0d0d0d;
}

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

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

.page-promotions__step-icon {
    font-size: 48px;
    font-weight: bold;
    color: #E6B31E;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border: 3px solid #E6B31E;
    border-radius: 50%;
    background-color: rgba(230, 179, 30, 0.1);
}

.page-promotions__step-title {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-promotions__step-description {
    font-size: 16px;
    color: #cccccc;
}

.page-promotions__step-description a {
    color: #E6B31E;
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__step-description a:hover {
    text-decoration: underline;
}

.page-promotions__how-to-claim-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 3px solid #E6B31E;
}

/* Terms and Conditions Section */
.page-promotions__dark-section {
    background-color: #0A2239; /* Main brand color for dark sections */
    color: #ffffff; /* White text on dark background */
}

.page-promotions__terms-section {
    padding: 60px 0;
}

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

.page-promotions__terms-list li {
    font-size: 17px;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #f0f0f0;
}

.page-promotions__terms-list li::before {
    content: '✔️'; /* Checkmark icon */
    color: #E6B31E;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
}

.page-promotions__terms-list li a {
    color: #E6B31E;
    text-decoration: none;
    font-weight: bold;
}

.page-promotions__terms-list li a:hover {
    text-decoration: underline;
}

/* Why Choose UK88 Section */
.page-promotions__why-choose-section {
    padding: 80px 0;
    background-color: #1a1a1a;
}

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

.page-promotions__feature-item {
    background-color: rgba(230, 179, 30, 0.1); /* Light gold transparent background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #E6B31E;
}

.page-promotions__feature-title {
    font-size: 22px;
    font-weight: bold;
    color: #E6B31E;
    margin-bottom: 15px;
}

.page-promotions__feature-description {
    font-size: 16px;
    color: #cccccc;
}

.page-promotions__why-choose-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 3px solid #0A2239;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
    padding: 60px 0;
    text-align: center;
    background-color: #0A2239;
    border-top: 5px solid #E6B31E;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions__main-title {
        font-size: 40px;
    }
    .page-promotions__section-title {
        font-size: 30px;
    }
    .page-promotions__description,
    .page-promotions__section-intro {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-promotions {
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-promotions__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-promotions__hero-section {
        padding: 60px 15px;
    }
    .page-promotions__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-promotions__description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-promotions__section-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .page-promotions__section-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-promotions__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__btn-primary,
    .page-promotions__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 25px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-promotions__promo-grid,
    .page-promotions__steps-grid,
    .page-promotions__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-promotions__promo-image {
        height: 200px;
    }
    .page-promotions__promo-title,
    .page-promotions__step-title,
    .page-promotions__feature-title {
        font-size: 20px;
    }
    .page-promotions__promo-description,
    .page-promotions__promo-features li,
    .page-promotions__step-description,
    .page-promotions__terms-list li,
    .page-promotions__feature-description {
        font-size: 15px;
    }

    .page-promotions__promo-card,
    .page-promotions__step-item,
    .page-promotions__feature-item {
        padding: 20px;
    }

    .page-promotions__promo-features li::before {
        font-size: 16px;
    }

    .page-promotions__terms-list {
        margin: 30px auto;
    }
    .page-promotions__terms-list li {
        padding-left: 25px;
    }
    .page-promotions__terms-list li::before {
        font-size: 18px;
    }

    /* All images responsive for mobile */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-promotions__hero-image,
    .page-promotions__promo-image,
    .page-promotions__how-to-claim-image,
    .page-promotions__why-choose-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        object-fit: contain; /* ensure image is fully visible */
    }
    .page-promotions__hero-section,
    .page-promotions__current-promotions-section,
    .page-promotions__how-to-claim-section,
    .page-promotions__terms-section,
    .page-promotions__why-choose-section,
    .page-promotions__final-cta-section {
        padding-left: 0;
        padding-right: 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}