/* style/promotions-daily-rebate-vip.css */

/* Custom properties for colors */
:root {
  --goplay09-bg: #08160F;
  --goplay09-card-bg: #11271B;
  --goplay09-text-main: #F2FFF6;
  --goplay09-text-secondary: #A7D9B8;
  --goplay09-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --goplay09-border: #2E7A4E;
  --goplay09-glow: #57E38D;
  --goplay09-gold: #F2C14E;
  --goplay09-divider: #1E3A2A;
  --goplay09-deep-green: #0A4B2C;
}

.page-promotions-daily-rebate-vip {
  background-color: var(--goplay09-bg);
  color: var(--goplay09-text-main); /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

.page-promotions-daily-rebate-vip__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding as body already handles header offset */
  overflow: hidden; /* Prevent content overflow */
}

.page-promotions-daily-rebate-vip__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image wrapper */
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.page-promotions-daily-rebate-vip__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
  filter: brightness(0.7); /* Slightly darken image for text readability, not color change */
}

.page-promotions-daily-rebate-vip__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above image */
}

.page-promotions-daily-rebate-vip__hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: var(--goplay09-gold);
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-daily-rebate-vip__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--goplay09-text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-rebate-vip__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--goplay09-btn-gradient);
  color: var(--goplay09-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-promotions-daily-rebate-vip__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-daily-rebate-vip__section {
  padding: 60px 20px;
  margin-bottom: 20px;
  background-color: var(--goplay09-bg);
  border-radius: 10px;
}

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

.page-promotions-daily-rebate-vip__section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--goplay09-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions-daily-rebate-vip__sub-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--goplay09-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  border-left: 4px solid var(--goplay09-glow);
  padding-left: 15px;
}

.page-promotions-daily-rebate-vip__text-block {
  font-size: 1.1rem;
  color: var(--goplay09-text-secondary);
  margin-bottom: 20px;
}

.page-promotions-daily-rebate-vip__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  background-color: var(--goplay09-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--goplay09-border);
}

.page-promotions-daily-rebate-vip__image-text-block--reverse {
  flex-direction: row-reverse;
}

.page-promotions-daily-rebate-vip__image {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-promotions-daily-rebate-vip__image:hover {
  transform: scale(1.02);
}

.page-promotions-daily-rebate-vip__text-content {
  flex: 2;
}

.page-promotions-daily-rebate-vip__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-promotions-daily-rebate-vip__list-item {
  background-color: var(--goplay09-deep-green);
  color: var(--goplay09-text-main);
  padding: 12px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  display: flex;
  align-items: flex-start;
  border-left: 3px solid var(--goplay09-glow);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-rebate-vip__list-item strong {
  color: var(--goplay09-gold);
  margin-right: 8px;
}

.page-promotions-daily-rebate-vip__vip-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background-color: var(--goplay09-card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-rebate-vip__vip-table th,
.page-promotions-daily-rebate-vip__vip-table td {
  border: 1px solid var(--goplay09-divider);
  padding: 15px;
  text-align: left;
  color: var(--goplay09-text-main);
}

.page-promotions-daily-rebate-vip__vip-table th {
  background-color: var(--goplay09-deep-green);
  color: var(--goplay09-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.page-promotions-daily-rebate-vip__vip-table tbody tr:nth-child(even) {
  background-color: rgba(var(--goplay09-deep-green), 0.5);
}

.page-promotions-daily-rebate-vip__vip-table tbody tr:hover {
  background-color: var(--goplay09-deep-green);
}

.page-promotions-daily-rebate-vip__table-wrapper {
  overflow-x: auto; /* Enable horizontal scrolling for tables on small screens */
  margin-bottom: 30px;
}

.page-promotions-daily-rebate-vip__faq-section {
  background-color: var(--goplay09-card-bg);
  border-radius: 10px;
  border: 1px solid var(--goplay09-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-rebate-vip__faq-list {
  margin-top: 30px;
}

.page-promotions-daily-rebate-vip__faq-item {
  background-color: var(--goplay09-deep-green);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--goplay09-divider);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-daily-rebate-vip__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-promotions-daily-rebate-vip__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-promotions-daily-rebate-vip__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  background-color: var(--goplay09-deep-green);
  color: var(--goplay09-text-main);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid transparent; /* For visual separation when open */
}

.page-promotions-daily-rebate-vip__faq-question:hover {
  background-color: var(--goplay09-divider);
}

.page-promotions-daily-rebate-vip__faq-item[open] .page-promotions-daily-rebate-vip__faq-question {
  border-bottom-color: var(--goplay09-border);
}

.page-promotions-daily-rebate-vip__faq-qtext {
  flex-grow: 1;
}

.page-promotions-daily-rebate-vip__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--goplay09-glow);
}

.page-promotions-daily-rebate-vip__faq-answer {
  padding: 15px 25px 20px;
  background-color: rgba(var(--goplay09-deep-green), 0.3); /* Slightly lighter background */
  color: var(--goplay09-text-secondary);
  font-size: 1rem;
}

.page-promotions-daily-rebate-vip__faq-answer p {
  margin: 0;
}

.page-promotions-daily-rebate-vip__cta-bottom-section {
  text-align: center;
  padding: 80px 20px;
}

.page-promotions-daily-rebate-vip__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  background-color: var(--goplay09-card-bg);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--goplay09-border);
}

.page-promotions-daily-rebate-vip__image--center {
  max-width: 600px;
  margin-bottom: 20px;
  border-radius: 10px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .page-promotions-daily-rebate-vip__image-text-block {
    flex-direction: column;
  }
  .page-promotions-daily-rebate-vip__image-text-block--reverse {
    flex-direction: column; /* Ensure it stays column on smaller screens */
  }
  .page-promotions-daily-rebate-vip__image {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-promotions-daily-rebate-vip {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-daily-rebate-vip__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-promotions-daily-rebate-vip__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-promotions-daily-rebate-vip__hero-description {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }

  .page-promotions-daily-rebate-vip__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-daily-rebate-vip__section {
    padding: 40px 15px;
  }

  .page-promotions-daily-rebate-vip__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-daily-rebate-vip__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-promotions-daily-rebate-vip__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
    margin-top: 25px;
  }

  .page-promotions-daily-rebate-vip__text-block {
    font-size: 1rem;
  }

  .page-promotions-daily-rebate-vip__image-text-block {
    padding: 20px;
    gap: 20px;
  }

  .page-promotions-daily-rebate-vip__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-daily-rebate-vip__list-item {
    padding: 10px 15px;
    font-size: 0.95rem;
  }

  .page-promotions-daily-rebate-vip__vip-table th,
  .page-promotions-daily-rebate-vip__vip-table td {
    padding: 10px;
    font-size: 0.9rem;
  }

  .page-promotions-daily-rebate-vip__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-promotions-daily-rebate-vip__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-promotions-daily-rebate-vip__cta-bottom-section {
    padding: 60px 15px;
  }
  
  .page-promotions-daily-rebate-vip__cta-content {
    padding: 30px;
  }
  
  .page-promotions-daily-rebate-vip__image--center {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .page-promotions-daily-rebate-vip__hero-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }
  .page-promotions-daily-rebate-vip__section-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }
  .page-promotions-daily-rebate-vip__sub-title {
    font-size: clamp(1.2rem, 6vw, 1.4rem);
  }
}

/* Ensure images do not use filters for color change */
.page-promotions-daily-rebate-vip img {
  filter: none; /* Explicitly remove any default filters */
}
/* For the hero image, if a darkening effect is desired, use brightness() filter (which is allowed for this purpose as it's not changing the color itself but rather its intensity for readability) */
.page-promotions-daily-rebate-vip__hero-image {
  filter: brightness(0.7); /* Allowed for readability, not a color change */
}