/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
    color: #ffffff; /* Light text for dark body background #121212 */
    background-color: transparent; /* Body background is 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: 20px;
}

/* Hero Section */
.page-promotions__hero-section {
    position: relative;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
    background-color: #1A202C; /* Main color for hero background */
}

.page-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Slightly dim the background image for text readability */
}

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

.page-promotions__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Auxiliary color for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-promotions__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-promotions__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for primary button */
    color: #1A202C; /* Dark text for light button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-promotions__hero-button--secondary {
    background-color: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
}

.page-promotions__hero-button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    color: #e6c200;
}

/* General Section Styling */
.page-promotions__section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__section:last-of-type {
    border-bottom: none;
}

.page-promotions__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    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__sub-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-promotions__paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #f0f0f0;
}

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

.page-promotions__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #f0f0f0;
}

.page-promotions__list li::before {
    content: '★'; /* Star icon for list items */
    color: #FFD700;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: 0;
}

.page-promotions__list-item-strong {
    color: #FFD700;
}

.page-promotions__inline-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-promotions__inline-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* Promo Cards Grid */
.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: rgba(255, 255, 255, 0.08); /* Slightly lighter background for cards */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-promotions__promo-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.12);
}

.page-promotions__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-promotions__promo-description {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-promotions__promo-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    text-align: left;
}

.page-promotions__promo-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 0.95em;
    color: #cccccc;
}

.page-promotions__promo-features li::before {
    content: '✓';
    color: #FFD700;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-promotions__promo-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto; /* Push button to the bottom */
}

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

/* VIP Program Section */
.page-promotions__vip-program {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly different background for distinction */
}

.page-promotions__vip-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.page-promotions__vip-text {
    flex: 1;
    min-width: 300px;
}

.page-promotions__vip-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px; /* Max width for image */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-promotions__button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

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

/* How To Claim Section */
.page-promotions__ordered-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin-top: 30px;
}

.page-promotions__ordered-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #f0f0f0;
}

.page-promotions__ordered-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #FFD700;
    color: #1A202C;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
}

.page-promotions__call-to-action {
    text-align: center;
    margin-top: 50px;
}

.page-promotions__call-to-action-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__call-to-action-button:hover {
    background-color: #e6c200;
    transform: translateY(-4px);
}

/* FAQ Section */
.page-promotions__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-promotions__faq-answer {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Details Page List (Related Promotions) */
.page-promotions__details-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-promotions__details-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-promotions__details-item:hover {
    transform: translateY(-10px);
}

.page-promotions__details-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promotions__details-title a {
    color: inherit; /* Inherit color from parent */
    text-decoration: none;
}

.page-promotions__details-title a:hover {
    text-decoration: underline;
}

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

.page-promotions__details-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: auto;
}

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

/* Image specific styling to enforce minimums and prevent filter */
.page-promotions img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: none !important;
    -webkit-filter: none !important;
}

/* Ensure content images are not too small */
.page-promotions img:not(.page-promotions__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

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

@media (max-width: 768px) {
    .page-promotions {
        padding-top: var(--header-offset, 120px); /* Ensure mobile content is below fixed header */
    }
    .page-promotions__hero-section {
        padding: 60px 20px;
    }
    .page-promotions__hero-title {
        font-size: 2.2em;
    }
    .page-promotions__hero-description {
        font-size: 1em;
    }
    .page-promotions__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-promotions__hero-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-promotions__section {
        padding: 40px 0;
    }
    .page-promotions__section-title {
        font-size: 1.8em;
    }
    .page-promotions__sub-title {
        font-size: 1.4em;
    }
    .page-promotions__promo-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions__vip-content {
        flex-direction: column;
    }
    .page-promotions__vip-image {
        order: -1; /* Image above text on mobile */
        max-width: 100%;
    }
    .page-promotions__ordered-list li {
        padding-left: 40px;
    }
    .page-promotions__ordered-list li::before {
        width: 30px;
        height: 30px;
        font-size: 1.1em;
    }
    .page-promotions__call-to-action-button {
        font-size: 1.1em;
        padding: 15px 30px;
        width: 100%;
        max-width: 300px;
    }
    .page-promotions__details-list {
        grid-template-columns: 1fr;
    }

    /* Mobile specific image sizing to prevent overflow */
    .page-promotions img {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-promotions__promo-image,
    .page-promotions__vip-image {
        min-width: 200px;
        min-height: 200px;
    }
    .page-promotions__container {
        overflow-x: hidden; /* Prevent horizontal scroll for content */
    }
}

@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__promo-card,
    .page-promotions__faq-item,
    .page-promotions__details-item {
        padding: 20px;
    }
    .page-promotions__promo-image {
        height: 200px;
    }
}

/* Enforce minimum image display size for content area images */
.page-promotions img:not(.page-promotions__hero-image) {
    width: auto; /* Allow auto width to respect max-width */
    height: auto; /* Allow auto height to maintain aspect ratio */
    max-width: 100%; /* Ensure responsiveness */
    min-width: 200px; /* Minimum display width */
    min-height: 200px; /* Minimum display height */
    object-fit: cover; /* Ensure images fill their space nicely */
}