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

.page-promotions-weekly-cashback {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.page-promotions-weekly-cashback__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-promotions-weekly-cashback__hero {
    background: linear-gradient(135deg, #4A2780, #6A3F9C);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.page-promotions-weekly-cashback__hero-content {
    z-index: 1;
    max-width: 800px;
}

.page-promotions-weekly-cashback__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-weekly-cashback__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-promotions-weekly-cashback__hero-btn,
.page-promotions-weekly-cashback__btn {
    display: inline-block;
    background-color: #FFD700;
    color: #4A2780;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions-weekly-cashback__hero-btn:hover,
.page-promotions-weekly-cashback__btn:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-promotions-weekly-cashback__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-promotions-weekly-cashback__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

/* General Section Styling */
.page-promotions-weekly-cashback__section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-promotions-weekly-cashback__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-promotions-weekly-cashback__section-title {
    font-size: 2.5em;
    color: #4A2780;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-promotions-weekly-cashback__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-promotions-weekly-cashback p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}

.page-promotions-weekly-cashback__image-fullwidth {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-weekly-cashback__image-centered {
  display: block;
  margin: 30px auto;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* How It Works Grid */
.page-promotions-weekly-cashback__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-weekly-cashback__grid-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-weekly-cashback__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-promotions-weekly-cashback__item-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-promotions-weekly-cashback__item-title {
    font-size: 1.5em;
    color: #4A2780;
    margin-bottom: 15px;
}

.page-promotions-weekly-cashback__note {
    font-style: italic;
    color: #777;
    text-align: center;
    margin-top: 30px;
    font-size: 0.95em;
}

.page-promotions-weekly-cashback__btn--centered {
    display: block;
    margin: 40px auto 0;
    width: fit-content;
}

/* Benefits List */
.page-promotions-weekly-cashback__benefit-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-weekly-cashback__benefit-list li {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-promotions-weekly-cashback__benefit-list li:hover {
    transform: translateY(-5px);
}

.page-promotions-weekly-cashback__benefit-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-promotions-weekly-cashback__benefit-list h3 {
    font-size: 1.6em;
    color: #4A2780;
    margin-bottom: 15px;
}

/* Guide Steps */
.page-promotions-weekly-cashback__step-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
}

.page-promotions-weekly-cashback__step-list li {
    background-color: #fff;
    border-left: 5px solid #FFD700;
    margin-bottom: 20px;
    padding: 20px 30px 20px 50px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.page-promotions-weekly-cashback__step-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4A2780;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
    box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
}

.page-promotions-weekly-cashback__step-list h4 {
    font-size: 1.3em;
    color: #4A2780;
    margin-bottom: 10px;
}

.page-promotions-weekly-cashback__step-list p a {
    color: #4A2780;
    text-decoration: underline;
    font-weight: bold;
}

.page-promotions-weekly-cashback__step-list p a:hover {
    color: #FFD700;
}

.page-promotions-weekly-cashback__important-note {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px 20px;
    margin-top: 30px;
    border-radius: 5px;
    color: #856404;
    font-size: 1em;
}

/* Terms List */
.page-promotions-weekly-cashback__terms-list {
    list-style: disc;
    padding-left: 25px;
    color: #555;
}

.page-promotions-weekly-cashback__terms-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-promotions-weekly-cashback__terms-list li strong {
    color: #4A2780;
}

/* Why fi88 Grid */
.page-promotions-weekly-cashback__reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-promotions-weekly-cashback__reason-item {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-promotions-weekly-cashback__reason-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 3px rgba(74, 39, 128, 0.5));
}

.page-promotions-weekly-cashback__reason-item h3 {
    font-size: 1.4em;
    color: #4A2780;
    margin-bottom: 10px;
}

/* FAQ Accordion */
.page-promotions-weekly-cashback__accordion {
    margin-top: 40px;
}

.page-promotions-weekly-cashback__accordion-item {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions-weekly-cashback__accordion-header {
    background-color: #4A2780;
    color: #ffffff;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-promotions-weekly-cashback__accordion-header:hover {
    background-color: #6A3F9C;
}

.page-promotions-weekly-cashback__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-promotions-weekly-cashback__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-promotions-weekly-cashback__accordion-content {
    padding: 0 25px;
    background-color: #fdfdfd;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-promotions-weekly-cashback__accordion-content p {
    padding: 15px 0;
    margin: 0;
    color: #555;
}

/* CTA Section */
.page-promotions-weekly-cashback__cta {
    background: #4A2780;
    color: #ffffff;
    text-align: center;
    padding: 70px 0;
    border-radius: 10px;
    margin-top: 40px;
}

.page-promotions-weekly-cashback__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-weekly-cashback__cta-subtitle {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-promotions-weekly-cashback__cta-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #4A2780;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promotions-weekly-cashback__cta-btn:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promotions-weekly-cashback__hero-title {
        font-size: 2.5em;
    }
    .page-promotions-weekly-cashback__section-title {
        font-size: 2em;
    }
    .page-promotions-weekly-cashback__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-promotions-weekly-cashback__hero {
        padding: 60px 0;
    }
    .page-promotions-weekly-cashback__hero-title {
        font-size: 2em;
    }
    .page-promotions-weekly-cashback__hero-subtitle {
        font-size: 1.1em;
    }
    .page-promotions-weekly-cashback__section {
        padding: 40px 0;
    }
    .page-promotions-weekly-cashback__section-title {
        font-size: 1.8em;
    }
    .page-promotions-weekly-cashback__grid,
    .page-promotions-weekly-cashback__benefit-list,
    .page-promotions-weekly-cashback__reason-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-weekly-cashback__step-list li {
        padding: 15px 20px 15px 45px;
    }
    .page-promotions-weekly-cashback__step-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }
    .page-promotions-weekly-cashback__cta-title {
        font-size: 1.8em;
    }
    .page-promotions-weekly-cashback__cta-subtitle {
        font-size: 1em;
    }
    .page-promotions-weekly-cashback__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions-weekly-cashback__hero-title {
        font-size: 1.8em;
    }
    .page-promotions-weekly-cashback__hero-subtitle {
        font-size: 1em;
    }
    .page-promotions-weekly-cashback__hero-btn,
    .page-promotions-weekly-cashback__btn,
    .page-promotions-weekly-cashback__cta-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions-weekly-cashback__section-title {
        font-size: 1.6em;
    }
    .page-promotions-weekly-cashback p {
        font-size: 0.95em;
    }
    .page-promotions-weekly-cashback__cta-title {
        font-size: 1.6em;
    }
}