/* style/promotions-daily-cashback.css */

/* --- Variables --- */
:root {
    --primary-color: #017439; /* Main green */
    --secondary-color: #C30808; /* Register/Login red */
    --text-color-light: #FFFFFF;
    --text-color-dark: #333333;
    --bg-color-light: #FFFFFF;
    --bg-color-dark: #017439;
    --border-color: #e0e0e0;
    --font-color-register-login: #FFFF00; /* Specific for register/login button text */
}

/* --- Base Styles --- */
.page-promotions-daily-cashback {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); /* Default text color for light body background */
    background-color: var(--bg-color-light); /* Default body background is white */
}

.page-promotions-daily-cashback h1,
.page-promotions-daily-cashback h2,
.page-promotions-daily-cashback h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-promotions-daily-cashback h1 {
    font-size: 3em;
    font-weight: bold;
    color: var(--text-color-dark); /* Ensure contrast on light background */
}

.page-promotions-daily-cashback h2 {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.page-promotions-daily-cashback h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--primary-color);
}

.page-promotions-daily-cashback p {
    margin-bottom: 1em;
}

.page-promotions-daily-cashback strong {
    font-weight: bold;
}

/* --- Layout Containers --- */
.page-promotions-daily-cashback__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-promotions-daily-cashback__section {
    padding: 60px 0;
}

/* --- Color Contrast Classes --- */
.page-promotions-daily-cashback__light-bg {
    background-color: var(--bg-color-light);
    color: var(--text-color-dark);
}

.page-promotions-daily-cashback__dark-bg {
    background-color: var(--bg-color-dark);
    color: var(--text-color-light);
}

.page-promotions-daily-cashback__dark-bg-text {
    color: var(--text-color-light);
}

/* --- Hero Section --- */
.page-promotions-daily-cashback__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    background: linear-gradient(135deg, var(--primary-color) 0%, #a8e063 100%); /* Lighter green gradient */
    overflow: hidden; /* Prevent content overflow */
}

.page-promotions-daily-cashback__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-promotions-daily-cashback__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-cashback__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-promotions-daily-cashback__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px); /* Slightly overlap image */
    background-color: var(--bg-color-light);
    color: var(--text-color-dark);
}

.page-promotions-daily-cashback__main-title {
    margin-top: 0;
    color: var(--primary-color);
}

.page-promotions-daily-cashback__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-color-dark);
}

/* --- CTA Buttons --- */
.page-promotions-daily-cashback__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}