/* style/latest-promotions.css */

.page-latest-promotions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f8f8;
}

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

/* Hero Section */
.page-latest-promotions__hero {
    background: linear-gradient(135deg, #003366, #FFCC00); /* Primary and secondary colors */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-latest-promotions__hero-content {
    z-index: 1;
    max-width: 800px;
}

.page-latest-promotions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff; /* White text on dark background */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-latest-promotions__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #eeeeee;
}

.page-latest-promotions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    overflow: hidden;
}

.page-latest-promotions__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transform: scale(1.1);
}

/* Buttons */
.page-latest-promotions__btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1.1em;
}

.page-latest-promotions__btn--primary {
    background-color: #FFCC00; /* Secondary color */
    color: #003366; /* Primary color for text */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-latest-promotions__btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #FFCC00; /* Secondary color for border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-latest-promotions__btn--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    transform: translateY(-2px);
}

.page-latest-promotions__btn--detail {
    background-color: #003366;
    color: #FFCC00;
    padding: 8px 20px;
    font-size: 0.9em;
    border: 1px solid #003366;
}

.page-latest-promotions__btn--detail:hover {
    background-color: #FFCC00;
    color: #003366;
    border-color: #FFCC00;
}

.page-latest-promotions__btn--small {
    padding: 8px 20px;
    font-size: 0.95em;
    margin: 5px;
}

.page-latest-promotions__btn--large {
    padding: 15px 40px;
    font-size: 1.3em;
    margin-top: 30px;
}

/* General Sections */
.page-latest-promotions__introduction,
.page-latest-promotions__promo-categories,
.page-latest-promotions__why-888slot,
.page-latest-promotions__how-to-claim,
.page-latest-promotions__terms-overview,
.page-latest-promotions__detail-pages,
.page-latest-promotions__final-cta {
    padding: 60px 0;
    text-align: center;
}

.page-latest-promotions__introduction {
    background-color: #ffffff;
}

.page-latest-promotions__section-title {
    font-size: 2.5em;
    color: #003366; /* Primary color */
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-latest-promotions__text-block {
    font-size: 1.1em;
    color: #555555;
    max-width: 900px;
    margin: 0 auto 20px auto;
    text-align: left;
}

.page-latest-promotions__text-block a {
    color: #003366;
    font-weight: bold;
    text-decoration: underline;
}

.page-latest-promotions__text-block a:hover {
    color: #FFCC00;
}

/* Promotion Categories */
.page-latest-promotions__promo-categories {
    background-color: #f0f4f8; /* Lighter shade of primary background */
}

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

.page-latest-promotions__category-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

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

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

.page-latest-promotions__card-title {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
}

.page-latest-promotions__card-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take available space */
}

/* Why 888slot */
.page-latest-promotions__why-888slot {
    background-color: #ffffff;
}

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

.page-latest-promotions__feature-item {
    background-color: #f9f9f9;
    border-left: 5px solid #FFCC00;
    padding: 25px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-latest-promotions__feature-title {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
}

/* How to Claim */
.page-latest-promotions__how-to-claim {
    background-color: #003366; /* Primary color background */
    color: #ffffff;
}

.page-latest-promotions__how-to-claim .page-latest-promotions__section-title {
    color: #FFCC00; /* Secondary color for title */
}

.page-latest-promotions__how-to-claim .page-latest-promotions__section-title::after {
    background-color: #ffffff; /* White underline */
}

.page-latest-promotions__how-to-claim .page-latest-promotions__text-block {
    color: #e0e0e0;
}

.page-latest-promotions__how-to-claim .page-latest-promotions__text-block a {
    color: #FFCC00;
}

.page-latest-promotions__how-to-claim .page-latest-promotions__text-block a:hover {
    color: #ffffff;
}

.page-latest-promotions__steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
}

.page-latest-promotions__steps li {
    position: relative;
    padding: 20px 0 20px 70px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.page-latest-promotions__steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFCC00; /* Secondary color */
    color: #003366; /* Primary color for number */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-latest-promotions__step-title {
    font-size: 1.8em;
    color: #FFCC00;
    margin-bottom: 10px;
}

.page-latest-promotions__cta-bottom {
    margin-top: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.page-latest-promotions__cta-text {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Terms Overview */
.page-latest-promotions__terms-overview {
    background-color: #ffffff;
}

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

.page-latest-promotions__terms-list li {
    background-color: #f9f9f9;
    margin-bottom: 15px;
    padding: 20px;
    border-left: 4px solid #003366;
    border-radius: 5px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    color: #444444;
}

.page-latest-promotions__terms-list li strong {
    color: #003366;
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

/* Detail Pages List */
.page-latest-promotions__detail-pages {
    background-color: #f0f4f8;
}

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

.page-latest-promotions__detail-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-latest-promotions__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-latest-promotions__detail-title {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-latest-promotions__detail-title a {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-latest-promotions__detail-title a:hover {
    color: #FFCC00;
}

.page-latest-promotions__detail-description {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Final Call to Action */
.page-latest-promotions__final-cta {
    background-color: #003366;
    color: #ffffff;
    padding: 80px 20px;
}

.page-latest-promotions__final-cta .page-latest-promotions__section-title {
    color: #FFCC00;
}

.page-latest-promotions__final-cta .page-latest-promotions__section-title::after {
    background-color: #ffffff;
}

.page-latest-promotions__final-cta .page-latest-promotions__text-block {
    color: #e0e0e0;
    margin-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-latest-promotions__hero-title {
        font-size: 3em;
    }
    .page-latest-promotions__hero-subtitle {
        font-size: 1.2em;
    }
    .page-latest-promotions__section-title {
        font-size: 2em;
    }
    .page-latest-promotions__category-grid,
    .page-latest-promotions__features-grid,
    .page-latest-promotions__detail-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-latest-promotions__hero {
        padding: 60px 20px;
    }
    .page-latest-promotions__hero-title {
        font-size: 2.5em;
    }
    .page-latest-promotions__hero-subtitle {
        font-size: 1em;
    }
    .page-latest-promotions__btn {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-latest-promotions__btn--large {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page-latest-promotions__section-title {
        font-size: 1.8em;
    }
    .page-latest-promotions__text-block,
    .page-latest-promotions__card-description,
    .page-latest-promotions__detail-description {
        font-size: 0.95em;
    }
    .page-latest-promotions__steps li {
        padding: 15px 0 15px 60px;
    }
    .page-latest-promotions__steps li::before {
        width: 35px;
        height: 35px;
        font-size: 1.3em;
        left: 15px;
    }
    .page-latest-promotions__step-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page-latest-promotions__hero-title {
        font-size: 2em;
    }
    .page-latest-promotions__hero-subtitle {
        font-size: 0.9em;
    }
    .page-latest-promotions__btn {
        margin: 5px;
        padding: 8px 20px;
        font-size: 0.9em;
    }
    .page-latest-promotions__section-title {
        font-size: 1.5em;
    }
    .page-latest-promotions__category-grid,
    .page-latest-promotions__features-grid,
    .page-latest-promotions__detail-list {
        grid-template-columns: 1fr;
    }
    .page-latest-promotions__category-card,
    .page-latest-promotions__feature-item,
    .page-latest-promotions__detail-item {
        padding: 20px;
    }
    .page-latest-promotions__card-icon {
        width: 60px;
        height: 60px;
    }
    .page-latest-promotions__card-title {
        font-size: 1.4em;
    }
    .page-latest-promotions__steps li {
        padding: 10px 0 10px 50px;
    }
    .page-latest-promotions__steps li::before {
        width: 30px;
        height: 30px;
        font-size: 1.2em;
        left: 10px;
    }
    .page-latest-promotions__step-title {
        font-size: 1.3em;
    }
}