/* style/promotions-first-deposit-bonus.css */

:root {
  --primary-color: #0A2342;
  --secondary-color: #FFC107;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000;
  --background-light-card: rgba(255, 255, 255, 0.1);
  --border-color: #e0e0e0;
}

.page-promotions-first-deposit-bonus {
  background-color: var(--background-dark); /* Body background is dark, so main content text should be light */
  color: var(--text-light); /* Default text color for main content */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Essential: Space for fixed header on desktop */
}

.page-promotions-first-deposit-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions-first-deposit-bonus__hero-section {
  text-align: center;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a5e 100%);
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

.page-promotions-first-deposit-bonus__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--secondary-color); /* Highlight with secondary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-first-deposit-bonus__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-promotions-first-deposit-bonus__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-promotions-first-deposit-bonus__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button adapts to width */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-first-deposit-bonus__cta-button--primary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-promotions-first-deposit-bonus__cta-button--primary:hover {
  background-color: #e6b300;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions-first-deposit-bonus__cta-button--secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-promotions-first-deposit-bonus__cta-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions-first-deposit-bonus__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions-first-deposit-bonus__section:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions-first-deposit-bonus__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-promotions-first-deposit-bonus__subtitle {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-first-deposit-bonus__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-promotions-first-deposit-bonus__content-wrapper:nth-child(even) {
  flex-direction: row-reverse;
}

.page-promotions-first-deposit-bonus__text-content {
  flex: 1;
}

.page-promotions-first-deposit-bonus__text-content p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05em;
}

.page-promotions-first-deposit-bonus__image-wrapper {
  flex: 1;
  min-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-first-deposit-bonus__image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-promotions-first-deposit-bonus__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-first-deposit-bonus__btn-primary:hover {
  background-color: #e6b300;
  transform: translateY(-2px);
}

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

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

.page-promotions-first-deposit-bonus__step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-first-deposit-bonus__step-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-first-deposit-bonus__step-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-promotions-first-deposit-bonus__step-description {
  font-size: 0.95em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.75);
}

.page-promotions-first-deposit-bonus__step-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-first-deposit-bonus__step-link:hover {
  background-color: #1a3a5e;
}

.page-promotions-first-deposit-bonus__terms-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
  margin-top: 40px;
}

.page-promotions-first-deposit-bonus__terms-item {
  background-color: var(--background-light-card);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-first-deposit-bonus__terms-heading {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-promotions-first-deposit-bonus__terms-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
}

.page-promotions-first-deposit-bonus__terms-image-wrapper {
  margin-top: 50px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions-first-deposit-bonus__feature-card {
  background-color: var(--background-light-card);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-light);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-first-deposit-bonus__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-first-deposit-bonus__feature-icon {
  width: 90px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-first-deposit-bonus__feature-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-promotions-first-deposit-bonus__feature-card p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.75);
}

/* FAQ Section Styles */
.page-promotions-first-deposit-bonus__faq-section {
  background-color: var(--primary-color); /* Dark background for FAQ */
  color: var(--text-light);
  padding: 60px 0;
}

.page-promotions-first-deposit-bonus__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-promotions-first-deposit-bonus__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-first-deposit-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-promotions-first-deposit-bonus__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-promotions-first-deposit-bonus__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Prevent h3 from blocking click event */
  color: var(--secondary-color);
}

.page-promotions-first-deposit-bonus__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-promotions-first-deposit-bonus__faq-item.active .page-promotions-first-deposit-bonus__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

.page-promotions-first-deposit-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.page-promotions-first-deposit-bonus__faq-item.active .page-promotions-first-deposit-bonus__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-promotions-first-deposit-bonus__faq-answer p {
  margin-bottom: 15px;
  font-size: 1em;
  color: inherit;
}

.page-promotions-first-deposit-bonus__btn-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-first-deposit-bonus__btn-link:hover {
  background-color: #e6b300;
}

.page-promotions-first-deposit-bonus__final-cta {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-first-deposit-bonus__main-title {
    font-size: 2.8em;
  }

  .page-promotions-first-deposit-bonus__section-title {
    font-size: 2.2em;
  }

  .page-promotions-first-deposit-bonus__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions-first-deposit-bonus__content-wrapper .page-promotions-first-deposit-bonus__text-content,
  .page-promotions-first-deposit-bonus__content-wrapper .page-promotions-first-deposit-bonus__image-wrapper {
    flex: none;
    width: 100%;
  }

  .page-promotions-first-deposit-bonus__image-wrapper {
    min-width: unset;
    margin-top: 30px;
  }

  .page-promotions-first-deposit-bonus__content-wrapper:nth-child(even) {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-promotions-first-deposit-bonus {
    padding-top: 100px !important; /* Essential: Space for fixed header on mobile */
    font-size: 15px;
  }

  .page-promotions-first-deposit-bonus__container {
    padding: 0 15px;
  }

  .page-promotions-first-deposit-bonus__hero-section {
    padding: 60px 0 40px;
  }

  .page-promotions-first-deposit-bonus__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-promotions-first-deposit-bonus__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-promotions-first-deposit-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-first-deposit-bonus__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-promotions-first-deposit-bonus__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-promotions-first-deposit-bonus__subtitle {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-promotions-first-deposit-bonus__image-wrapper {
    margin-top: 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-promotions-first-deposit-bonus__image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-promotions-first-deposit-bonus__btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-promotions-first-deposit-bonus__step-item,
  .page-promotions-first-deposit-bonus__terms-item,
  .page-promotions-first-deposit-bonus__feature-card {
    padding: 20px;
  }

  .page-promotions-first-deposit-bonus__step-icon,
  .page-promotions-first-deposit-bonus__feature-icon {
    width: 80px;
  }

  .page-promotions-first-deposit-bonus__step-title {
    font-size: 1.3em;
  }

  .page-promotions-first-deposit-bonus__terms-heading {
    font-size: 1.2em;
  }

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

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

  .page-promotions-first-deposit-bonus__faq-question h3 {
    font-size: 1em;
  }

  .page-promotions-first-deposit-bonus__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-promotions-first-deposit-bonus__faq-answer {
    padding: 0 20px;
  }

  .page-promotions-first-deposit-bonus__faq-item.active .page-promotions-first-deposit-bonus__faq-answer {
    padding: 15px 20px !important;
  }

  .page-promotions-first-deposit-bonus__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-first-deposit-bonus__terms-image-wrapper {
    margin-top: 30px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}