:root {
    --main-color: #11A84E;
    --accent-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --body-bg: #08160F; /* Main page background from custom colors */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base styles for the page content, ensuring contrast with dark body background */
.page-promotions-daily-bonus {
    background-color: var(--body-bg);
    color: var(--text-main); /* Light text on dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Section styling */
.page-promotions-daily-bonus__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden; /* Ensure content doesn't spill */
}

/* Container for content width */
.page-promotions-daily-bonus__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-promotions-daily-bonus__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--deep-green); /* A slightly different dark green for hero */
    text-align: center;
    overflow: hidden;
}

.page-promotions-daily-bonus__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-promotions-daily-bonus__hero-content-wrapper {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for design, but text is below image in DOM */
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-bonus__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    color: var(--gold-color); /* Use gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions-daily-bonus__intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Titles */
.page-promotions-daily-bonus__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-promotions-daily-bonus__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--button-gradient);
    border-radius: 2px;
}

.page-promotions-daily-bonus__sub-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.page-promotions-daily-bonus__sub-title.page-promotions-daily-bonus__light-bg-title {
    color: var(--gold-color); /* Adjust for sections that might appear lighter */
}

.page-promotions-daily-bonus__card-title,
.page-promotions-daily-bonus__feature-heading,
.page-promotions-daily-bonus__step-heading,
.page-promotions-daily-bonus__terms-heading,
.page-promotions-daily-bonus__tips-heading {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

/* Text blocks */
.page-promotions-daily-bonus__text-block {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

/* Buttons */
.page-promotions-daily-bonus__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
}

.page-promotions-daily-bonus__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main); /* White-ish text on green button */
}

.page-promotions-daily-bonus__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
}

/* Feature List */
.page-promotions-daily-bonus__feature-list,
.page-promotions-daily-bonus__steps-list,
.page-promotions-daily-bonus__terms-list,
.page-promotions-daily-bonus__tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 25px;
}

.page-promotions-daily-bonus__feature-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-promotions-daily-bonus__feature-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-promotions-daily-bonus__feature-icon {
    font-size: 2rem;
    margin-right: 15px;
    color: var(--gold-color);
}

.page-promotions-daily-bonus__feature-content {
    flex: 1;
}

/* Steps List */
.page-promotions-daily-bonus__steps-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    counter-reset: step-counter;
}

.page-promotions-daily-bonus__step-item {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    position: relative;
    padding-left: 70px; /* Space for step number */
}

.page-promotions-daily-bonus__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 25px;
    width: 40px;
    height: 40px;
    background: var(--button-gradient);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.page-promotions-daily-bonus__step-description {
    color: var(--text-secondary);
}

/* Rewards Grid */
.page-promotions-daily-bonus__rewards-grid,
.page-promotions-daily-bonus__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.page-promotions-daily-bonus__card {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-main); /* Default to light text */
}

.page-promotions-daily-bonus__card-text {
    color: var(--text-secondary);
}

.page-promotions-daily-bonus__card-link {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promotions-daily-bonus__card-link:hover {
    color: var(--glow-color);
    text-decoration: underline;
}