/* style/promotions-first-deposit-bonus.css */
:root {
  --fly88-primary-color: #F2C14E;
  --fly88-secondary-color: #FFD36B;
  --fly88-card-bg: #111111;
  --fly88-background: #0A0A0A;
  --fly88-text-main: #FFF6D6;
  --fly88-border: #3A2A12;
  --fly88-glow: #FFD36B;
  --header-offset: 122px; /* Default value, assumed from shared.css */
}

.page-promotions-first-deposit-bonus {
  background-color: var(--fly88-background);
  color: var(--fly88-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-promotions-first-deposit-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  background-color: var(--fly88-background);
}

.page-promotions-first-deposit-bonus__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-promotions-first-deposit-bonus__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  position: relative; /* Ensure content is below image in normal flow */
  z-index: 1; /* Ensure content is above any background elements if present */
  margin-top: -80px; /* Pull content up slightly over the image if desired for visual flow, but not overlay */
  background-color: var(--fly88-background); /* Provide a solid background to prevent text overlaying image */
  padding-top: 80px; /* Compensate for negative margin */
  border-radius: 10px;
}

.page-promotions-first-deposit-bonus__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--fly88-secondary-color);
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions-first-deposit-bonus__hero-description {
  font-size: 1.1rem;
  color: var(--fly88-text-main);
  margin-bottom: 30px;
}

.page-promotions-first-deposit-bonus__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-promotions-first-deposit-bonus__btn-primary,
.page-promotions-first-deposit-bonus__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions-first-deposit-bonus__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text on bright button for contrast */
  border: none;
}

.page-promotions-first-deposit-bonus__btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--fly88-glow);
}

.page-promotions-first-deposit-bonus__btn-secondary {
  background: transparent;
  color: var(--fly88-secondary-color);
  border: 2px solid var(--fly88-secondary-color);
}

.page-promotions-first-deposit-bonus__btn-secondary:hover {
  background: var(--fly88-secondary-color);
  color: var(--fly88-background);
}

.page-promotions-first-deposit-bonus__section {
  padding: 60px 20px;
  background-color: var(--fly88-background);
}

.page-promotions-first-deposit-bonus__dark-section {
  background-color: var(--fly88-card-bg);
  color: var(--fly88-text-main);
}

.page-promotions-first-deposit-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions-first-deposit-bonus__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--fly88-primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-promotions-first-deposit-bonus__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--fly88-text-main);
}

.page-promotions-first-deposit-bonus__text-block strong {
  color: var(--fly88-secondary-color);
}

.page-promotions-first-deposit-bonus__features-grid,
.page-promotions-first-deposit-bonus__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-promotions-first-deposit-bonus__card,
.page-promotions-first-deposit-bonus__step-card {
  background-color: var(--fly88-card-bg);
  border: 1px solid var(--fly88-border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--fly88-text-main);
}

.page-promotions-first-deposit-bonus__card:hover,
.page-promotions-first-deposit-bonus__step-card:hover {
  transform: translateY(-5px);
}

.page-promotions-first-deposit-bonus__card-title,
.page-promotions-first-deposit-bonus__step-title {
  font-size: 1.5rem;
  color: var(--fly88-secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions-first-deposit-bonus__card-text,
.page-promotions-first-deposit-bonus__step-text {
  font-size: 1rem;
  color: var(--fly88-text-main);
}

.page-promotions-first-deposit-bonus__image-detail {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions-first-deposit-bonus__details-list {
  margin-top: 30px;
}

.page-promotions-first-deposit-bonus__detail-item {
  background-color: var(--fly88-card-bg);
  border-left: 5px solid var(--fly88-primary-color);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-promotions-first-deposit-bonus__detail-title {
  font-size: 1.4rem;
  color: var(--fly88-primary-color);
  margin-bottom: 10px;
}

.page-promotions-first-deposit-bonus__detail-text {
  font-size: 1rem;
  color: var(--fly88-text-main);
}

.page-promotions-first-deposit-bonus__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text on bright circle */
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-promotions-first-deposit-bonus__step-button {
  margin-top: 20px;
  display: inline-block;
}

.page-promotions-first-deposit-bonus__terms-list,
.page-promotions-first-deposit-bonus__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions-first-deposit-bonus__terms-list li,
.page-promotions-first-deposit-bonus__tips-list li {
  background-color: var(--fly88-card-bg);
  border-left: 4px solid var(--fly88-secondary-color);
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: var(--fly88-text-main);
  font-size: 1.05rem;
}

.page-promotions-first-deposit-bonus__terms-list li strong,
.page-promotions-first-deposit-bonus__tips-list li strong {
  color: var(--fly88-primary-color);
}

.page-promotions-first-deposit-bonus__button-link {
  margin-top: 30px;
  display: inline-block;
}

.page-promotions-first-deposit-bonus__faq-list {
  margin-top: 30px;
}

.page-promotions-first-deposit-bonus__faq-item {
  background-color: var(--fly88-card-bg);
  border: 1px solid var(--fly88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions-first-deposit-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fly88-primary-color);
  cursor: pointer;
  background-color: var(--fly88-card-bg);
  border-bottom: 1px solid var(--fly88-border);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-promotions-first-deposit-bonus__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-first-deposit-bonus__faq-question:hover {
  background-color: #1a1a1a;
}

.page-promotions-first-deposit-bonus__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--fly88-secondary-color);
  line-height: 1;
}

.page-promotions-first-deposit-bonus__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: var(--fly88-text-main);
  line-height: 1.7;
}

.page-promotions-first-deposit-bonus__faq-answer p {
  margin-bottom: 0;
}

.page-promotions-first-deposit-bonus__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-promotions-first-deposit-bonus__final-cta-button {
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-first-deposit-bonus__hero-content {
    margin-top: -60px;
    padding-top: 60px;
  }
  .page-promotions-first-deposit-bonus__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .page-promotions-first-deposit-bonus {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-first-deposit-bonus__hero-section {
    padding-top: 10px !important; /* Ensure small padding for mobile */
    padding-bottom: 20px;
  }

  .page-promotions-first-deposit-bonus__hero-content {
    margin-top: 0; /* Remove negative margin on mobile */
    padding-top: 20px; /* Adjust padding for mobile */
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
  }

  .page-promotions-first-deposit-bonus__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-promotions-first-deposit-bonus__hero-description {
    font-size: 1rem;
  }

  .page-promotions-first-deposit-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-promotions-first-deposit-bonus__btn-primary,
  .page-promotions-first-deposit-bonus__btn-secondary,
  .page-promotions-first-deposit-bonus a[class*="button"],
  .page-promotions-first-deposit-bonus a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-first-deposit-bonus__section {
    padding: 40px 15px;
  }

  .page-promotions-first-deposit-bonus__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-first-deposit-bonus__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-promotions-first-deposit-bonus__text-block {
    font-size: 0.95rem;
  }

  .page-promotions-first-deposit-bonus__features-grid,
  .page-promotions-first-deposit-bonus__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-first-deposit-bonus__card,
  .page-promotions-first-deposit-bonus__step-card {
    padding: 25px;
  }

  .page-promotions-first-deposit-bonus__card-title,
  .page-promotions-first-deposit-bonus__step-title {
    font-size: 1.3rem;
  }

  .page-promotions-first-deposit-bonus__image-detail {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 30px;
  }

  .page-promotions-first-deposit-bonus__terms-list li,
  .page-promotions-first-deposit-bonus__tips-list li {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  .page-promotions-first-deposit-bonus__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-promotions-first-deposit-bonus__faq-answer {
    font-size: 0.95rem;
    padding: 12px 20px 15px 20px;
  }

  .page-promotions-first-deposit-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-first-deposit-bonus video,
  .page-promotions-first-deposit-bonus__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-first-deposit-bonus__video-section,
  .page-promotions-first-deposit-bonus__video-container,
  .page-promotions-first-deposit-bonus__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions-first-deposit-bonus__video-section {
    padding-top: 10px !important;
  }
}