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

/* Biến CSS */
:root {
  --i9bet-primary-color: #003366;
  --i9bet-secondary-color: #FFCC00;
  --i9bet-text-light: #ffffff;
  --i9bet-text-dark: #333333;
  --i9bet-background-light: #f0f2f5;
  --i9bet-background-dark: #0a1f33;
  --i9bet-border-color: #e0e0e0;
}

.page-promotions-cashback-offers {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--i9bet-text-dark);
  background-color: var(--i9bet-background-light);
}

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

.page-promotions-cashback-offers__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions-cashback-offers__section:nth-of-type(even) {
  background-color: var(--i9bet-background-dark);
  color: var(--i9bet-text-light);
}

.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__section-title,
.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__item-title,
.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__faq-question {
  color: var(--i9bet-secondary-color);
}

.page-promotions-cashback-offers__section:nth-of-type(even) p,
.page-promotions-cashback-offers__section:nth-of-type(even) li,
.page-promotions-cashback-offers__section:nth-of-type(even) a {
    color: var(--i9bet-text-light);
}

.page-promotions-cashback-offers__section:nth-of-type(even) a.page-promotions-cashback-offers__cta-button {
    background-color: var(--i9bet-secondary-color);
    color: var(--i9bet-primary-color);
}

.page-promotions-cashback-offers__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--i9bet-primary-color);
  position: relative;
  padding-bottom: 10px;
}

.page-promotions-cashback-offers__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--i9bet-secondary-color);
  border-radius: 2px;
}

.page-promotions-cashback-offers__hero {
  background: linear-gradient(135deg, var(--i9bet-primary-color) 0%, #0a1f33 100%);
  color: var(--i9bet-text-light);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.page-promotions-cashback-offers__hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_pattern,dark_blue,gold_accents]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-promotions-cashback-offers__hero .page-promotions-cashback-offers__container {
  position: relative;
  z-index: 1;
}

.page-promotions-cashback-offers__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--i9bet-secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-cashback-offers__hero-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.page-promotions-cashback-offers__cta-button {
  display: inline-block;
  background-color: var(--i9bet-secondary-color);
  color: var(--i9bet-primary-color);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
}

.page-promotions-cashback-offers__cta-button:hover {
  background-color: #e6b800;
  transform: translateY(-3px);
}

.page-promotions-cashback-offers__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-promotions-cashback-offers__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-promotions-cashback-offers__hero-image {
    max-width: 600px;
    margin-top: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-promotions-cashback-offers__section-image {
    max-width: 100%;
    height: auto;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-cashback-offers__what-is p {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: 1.1em;
}

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

.page-promotions-cashback-offers__grid-item {
  background-color: var(--i9bet-text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease;
  border-top: 5px solid var(--i9bet-secondary-color);
}

.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__grid-item {
    background-color: var(--i9bet-primary-color);
    color: var(--i9bet-text-light);
}

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

.page-promotions-cashback-offers__item-title {
  font-size: 1.5em;
  color: var(--i9bet-primary-color);
  margin-bottom: 15px;
}

.page-promotions-cashback-offers__grid-item p {
  font-size: 0.95em;
  line-height: 1.7;
}

.page-promotions-cashback-offers__item-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
}

.page-promotions-cashback-offers__formula,
.page-promotions-cashback-offers__example {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--i9bet-primary-color);
  background-color: #e6f0fa;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 700px;
}

.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__formula,
.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__example {
    background-color: var(--i9bet-primary-color);
    color: var(--i9bet-secondary-color);
}

.page-promotions-cashback-offers__list,
.page-promotions-cashback-offers__benefits-list,
.page-promotions-cashback-offers__steps-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

.page-promotions-cashback-offers__list li,
.page-promotions-cashback-offers__benefits-list li,
.page-promotions-cashback-offers__steps-list li {
  background-color: var(--i9bet-text-light);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 40px;
  font-size: 1.05em;
}

.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__list li,
.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__benefits-list li,
.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__steps-list li {
    background-color: var(--i9bet-primary-color);
    color: var(--i9bet-text-light);
}

.page-promotions-cashback-offers__list li::before,
.page-promotions-cashback-offers__benefits-list li::before {
  content: '✓';
  color: var(--i9bet-secondary-color);
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

.page-promotions-cashback-offers__steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: var(--i9bet-secondary-color);
    color: var(--i9bet-primary-color);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9em;
}

.page-promotions-cashback-offers__steps-list {
    counter-reset: step-counter;
}

.page-promotions-cashback-offers__steps-list li a {
    color: var(--i9bet-primary-color);
    font-weight: bold;
    text-decoration: none;
}

.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__steps-list li a {
    color: var(--i9bet-secondary-color);
}

.page-promotions-cashback-offers__faq-item {
  background-color: var(--i9bet-text-light);
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  text-align: left;
  overflow: hidden;
}

.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__faq-item {
    background-color: var(--i9bet-primary-color);
}

.page-promotions-cashback-offers__faq-question {
  font-size: 1.2em;
  color: var(--i9bet-primary-color);
  padding: 18px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-promotions-cashback-offers__section:nth-of-type(even) .page-promotions-cashback-offers__faq-question {
    color: var(--i9bet-secondary-color);
}

.page-promotions-cashback-offers__faq-question::after {
  content: '+';
  font-size: 1.5em;
  color: var(--i9bet-secondary-color);
  transition: transform 0.3s ease;
}

.page-promotions-cashback-offers__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-promotions-cashback-offers__faq-answer {
  padding: 0 25px 15px;
  font-size: 1em;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promotions-cashback-offers__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 10px;
}

.page-promotions-cashback-offers__call-to-action {
  background: linear-gradient(135deg, var(--i9bet-primary-color) 0%, #0a1f33 100%);
  color: var(--i9bet-text-light);
  padding: 80px 0;
}

.page-promotions-cashback-offers__call-to-action .page-promotions-cashback-offers__section-title {
    color: var(--i9bet-secondary-color);
}

.page-promotions-cashback-offers__call-to-action .page-promotions-cashback-offers__section-title::after {
    background-color: var(--i9bet-text-light);
}

.page-promotions-cashback-offers__call-to-action .page-promotions-cashback-offers__description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions-cashback-offers__hero-title {
    font-size: 2.8em;
  }
  .page-promotions-cashback-offers__section-title {
    font-size: 2em;
  }
  .page-promotions-cashback-offers__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-promotions-cashback-offers__hero {
    padding: 80px 0;
  }
  .page-promotions-cashback-offers__hero-title {
    font-size: 2.2em;
  }
  .page-promotions-cashback-offers__hero-description {
    font-size: 1em;
  }
  .page-promotions-cashback-offers__section {
    padding: 40px 0;
  }
  .page-promotions-cashback-offers__section-title {
    font-size: 1.8em;
  }
  .page-promotions-cashback-offers__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions-cashback-offers__list li,
  .page-promotions-cashback-offers__benefits-list li,
  .page-promotions-cashback-offers__steps-list li {
      font-size: 0.95em;
      padding-left: 35px;
  }
  .page-promotions-cashback-offers__list li::before,
  .page-promotions-cashback-offers__benefits-list li::before {
      left: 10px;
  }
  .page-promotions-cashback-offers__steps-list li::before {
      left: 8px;
  }
  .page-promotions-cashback-offers__faq-question {
      font-size: 1.1em;
      padding: 15px 20px;
  }
  .page-promotions-cashback-offers__faq-answer {
      padding: 0 20px 10px;
  }
}

@media (max-width: 480px) {
  .page-promotions-cashback-offers__hero-title {
    font-size: 1.8em;
  }
  .page-promotions-cashback-offers__section-title {
    font-size: 1.5em;
  }
  .page-promotions-cashback-offers__cta-button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-promotions-cashback-offers__item-title {
      font-size: 1.3em;
  }
  .page-promotions-cashback-offers__formula,
  .page-promotions-cashback-offers__example {
      font-size: 1.1em;
      padding: 10px;
  }
}