/* style/promotions-red88-weekly-cashback.css */

/* Variables for consistency */
:root {
    --red88-primary-color: #DC143C; /* Crimson */
    --red88-secondary-color: #36454F; /* Charcoal Gray */
    --red88-text-light: #FFFFFF;
    --red88-text-dark: #36454F; /* Using secondary color for dark text */
    --red88-background-light: #F8F8F8; /* A very light gray for contrast */
    --red88-accent-color: #23ebc3; /* Complementary to primary for emphasis */
}

.page-promotions-red88-weekly-cashback {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--red88-text-dark); /* Default text color */
    background-color: var(--red88-background-light); /* Default light background */
}

/* Hero Section */
.page-promotions-red88-weekly-cashback-hero {
    background: linear-gradient(135deg, var(--red88-primary-color) 0%, var(--red88-secondary-color) 100%);
    color: var(--red88-text-light);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-promotions-red88-weekly-cashback-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--red88-text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-red88-weekly-cashback-hero p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--red88-text-light);
}

.page-promotions-red88-weekly-cashback-btn-primary {
    display: inline-block;
    background-color: var(--red88-accent-color); /* Using accent for CTA */
    color: var(--red88-secondary-color); /* Dark text on accent */
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-red88-weekly-cashback-btn-primary:hover {
    background-color: #1edaa3; /* Slightly darker accent on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Container */
.page-promotions-red88-weekly-cashback-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styling */
.page-promotions-red88-weekly-cashback-intro,
.page-promotions-red88-weekly-cashback-benefits,
.page-promotions-red88-weekly-cashback-how-to,
.page-promotions-red88-weekly-cashback-terms,
.page-promotions-red88-weekly-cashback-faq,
.page-promotions-red88-weekly-cashback-why-choose {
    padding: 60px 0;
    text-align: center;
}

.page-promotions-red88-weekly-cashback-intro h2,
.page-promotions-red88-weekly-cashback-benefits h2,
.page-promotions-red88-weekly-cashback-how-to h2,
.page-promotions-red88-weekly-cashback-terms h2,
.page-promotions-red88-weekly-cashback-faq h2,
.page-promotions-red88-weekly-cashback-why-choose h2 {
    font-size: 2.5em;
    color: var(--red88-primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-promotions-red88-weekly-cashback-intro h2::after,
.page-promotions-red88-weekly-cashback-benefits h2::after,
.page-promotions-red88-weekly-cashback-how-to h2::after,
.page-promotions-red88-weekly-cashback-terms h2::after,
.page-promotions-red88-weekly-cashback-faq h2::after,
.page-promotions-red88-weekly-cashback-why-choose h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--red88-secondary-color);
    border-radius: 2px;
}

/* Intro Section specific */
.page-promotions-red88-weekly-cashback-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-promotions-red88-weekly-cashback-text-content p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: var(--red88-text-dark);
}

.page-promotions-red88-weekly-cashback-text-content a {
    color: var(--red88-primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-promotions-red88-weekly-cashback-text-content a:hover {
    text-decoration: underline;
}

.page-promotions-red88-weekly-cashback-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-promotions-red88-weekly-cashback-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Benefits Section */
.page-promotions-red88-weekly-cashback-benefits {
    background-color: var(--red88-secondary-color);
    color: var(--red88-text-light);
}

.page-promotions-red88-weekly-cashback-benefits h2 {
    color: var(--red88-text-light);
}

.page-promotions-red88-weekly-cashback-benefits h2::after {
    background-color: var(--red88-primary-color);
}

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

.page-promotions-red88-weekly-cashback-benefit-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-promotions-red88-weekly-cashback-benefit-item:hover {
    transform: translateY(-5px);
}

.page-promotions-red88-weekly-cashback-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: invert(100%) saturate(0%) brightness(100%) contrast(100%); /* Make icons white */
}

.page-promotions-red88-weekly-cashback-benefit-item h3 {
    font-size: 1.5em;
    color: var(--red88-primary-color);
    margin-bottom: 15px;
}

.page-promotions-red88-weekly-cashback-benefit-item p {
    color: var(--red88-text-light);
}

/* How To Section */
.page-promotions-red88-weekly-cashback-how-to {
    background-color: var(--red88-background-light);
}

.page-promotions-red88-weekly-cashback-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.page-promotions-red88-weekly-cashback-step-item {
    background-color: var(--red88-text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-promotions-red88-weekly-cashback-step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: var(--red88-primary-color);
    color: var(--red88-text-light);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}