/* style/promotions-daily-rebate-program.css */
.page-promotions-daily-rebate-program {
    font-family: 'Arial', sans-serif;
    color: #f0f0f0; /* Light text on dark background for general content */
    background-color: #1A2B4C; /* Main brand dark blue */
    line-height: 1.6;
}

.page-promotions-daily-rebate-program__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-promotions-daily-rebate-program__hero-section {
    background: linear-gradient(135deg, #1A2B4C 0%, #3B5A8F 100%); /* Dark blue gradient */
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #FFD700; /* Gold text for hero title */
}

.page-promotions-daily-rebate-program__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-daily-rebate-program__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #ffffff; /* White for subtitle for contrast */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-daily-rebate-program__hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* General Content Sections */
.page-promotions-daily-rebate-program__content-section,
.page-promotions-daily-rebate-program__calculation-section,
.page-promotions-daily-rebate-program__optimize-section,
.page-promotions-daily-rebate-program__about-rikvip,
.page-promotions-daily-rebate-program__call-to-action {
    padding: 60px 0;
    background-color: #2A3E60; /* Slightly lighter dark blue for content blocks */
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-promotions-daily-rebate-program__content-section:nth-of-type(odd),
.page-promotions-daily-rebate-program__optimize-section:nth-of-type(odd) {
    background-color: #1A2B4C; /* Alternating background for visual separation */
}

.page-promotions-daily-rebate-program__section-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for main section titles */
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    position: relative;
}

.page-promotions-daily-rebate-program__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-daily-rebate-program__sub-section-title {
    font-size: 2em;
    color: #FFD700; /* Gold for sub-section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700;
    padding-left: 15px;
}

.page-promotions-daily-rebate-program__text {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #f0f0f0; /* Light grey for body text */
}

.page-promotions-daily-rebate-program__text strong {
    color: #FFD700;
}

.page-promotions-daily-rebate-program__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-promotions-daily-rebate-program__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-promotions-daily-rebate-program__list li strong {
    color: #FFD700;
}

/* Call to Action Buttons */
.page-promotions-daily-rebate-program__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button background */
    color: #1A2B4C; /* Dark blue text on gold button */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.page-promotions-daily-rebate-program__cta-button:hover {
    background-color: #e5c100; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

.page-promotions-daily-rebate-program__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
    margin-right: 15px;
}

.page-promotions-daily-rebate-program__cta-button--large {
    padding: 20px 40px;
    font-size: 1.5em;
}

/* Table Styling */
.page-promotions-daily-rebate-program__table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-rebate-program__rebate-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensure table is readable on smaller screens */
}

.page-promotions-daily-rebate-program__rebate-table th,
.page-promotions-daily-rebate-program__rebate-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f0f0; /* Light text for table content */
}

.page-promotions-daily-rebate-program__rebate-table th {
    background-color: #FFD700; /* Gold background for table headers */
    color: #1A2B4C; /* Dark blue text on gold header */
    font-weight: bold;
    font-size: 1.1em;
}

.page-promotions-daily-rebate-program__rebate-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.1); /* Subtle stripe for readability */
}

.page-promotions-daily-rebate-program__rebate-table tbody tr:hover {
    background-color: rgba(255, 215, 0, 0.1); /* Light gold hover effect */
}

.page-promotions-daily-rebate-program__note {
    font-style: italic;
    font-size: 0.95em;
    color: #ccc; /* Slightly dimmer text for notes */
    text-align: center;
    margin-top: 20px;
}

/* Formula display */
.page-promotions-daily-rebate-program__formula {
    background-color: #FFD700; /* Gold background for formula box */
    color: #1A2B4C; /* Dark blue text on gold */
    padding: 25px;
    margin: 30px auto;
    border-radius: 8px;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Image with text flow */
.page-promotions-daily-rebate-program__image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
}

.page-promotions-daily-rebate-program__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-promotions-daily-rebate-program__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}

/* Clear floats for responsive layout */
.page-promotions-daily-rebate-program__container::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-daily-rebate-program__hero-title {
        font-size: 3em;
    }
    .page-promotions-daily-rebate-program__section-title {
        font-size: 2.2em;
    }
    .page-promotions-daily-rebate-program__sub-section-title {
        font-size: 1.7em;
    }
}

@media (max-width: 768px) {
    .page-promotions-daily-rebate-program__hero-section {
        padding: 60px 0;
    }
    .page-promotions-daily-rebate-program__hero-title {
        font-size: 2.5em;
    }
    .page-promotions-daily-rebate-program__hero-subtitle {
        font-size: 1.2em;
    }
    .page-promotions-daily-rebate-program__section-title {
        font-size: 1.8em;
    }
    .page-promotions-daily-rebate-program__sub-section-title {
        font-size: 1.5em;
    }
    .page-promotions-daily-rebate-program__text,
    .page-promotions-daily-rebate-program__list li {
        font-size: 1em;
    }
    .page-promotions-daily-rebate-program__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-promotions-daily-rebate-program__cta-button--large {
        padding: 15px 30px;
        font-size: 1.2em;
    }
    .page-promotions-daily-rebate-program__image--right,
    .page-promotions-daily-rebate-program__image--left {
        float: none;
        margin: 20px auto;
        display: block;
    }
    .page-promotions-daily-rebate-program__rebate-table th,
    .page-promotions-daily-rebate-program__rebate-table td {
        padding: 10px;
        font-size: 0.9em;
    }
    .page-promotions-daily-rebate-program__formula {
        font-size: 1.1em;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions-daily-rebate-program__hero-title {
        font-size: 2em;
    }
    .page-promotions-daily-rebate-program__hero-subtitle {
        font-size: 1em;
    }
    .page-promotions-daily-rebate-program__section-title {
        font-size: 1.5em;
    }
    .page-promotions-daily-rebate-program__sub-section-title {
        font-size: 1.3em;
    }
    .page-promotions-daily-rebate-program__cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-promotions-daily-rebate-program__cta-button--large {
        font-size: 1.1em;
        padding: 12px 25px;
    }
    .page-promotions-daily-rebate-program__list {
        margin-left: 15px;
    }
    .page-promotions-daily-rebate-program__hero-section,
    .page-promotions-daily-rebate-program__content-section,
    .page-promotions-daily-rebate-program__calculation-section,
    .page-promotions-daily-rebate-program__optimize-section,
    .page-promotions-daily-rebate-program__about-rikvip,
    .page-promotions-daily-rebate-program__call-to-action {
        padding: 40px 0;
    }
}