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

:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg-color: #FFFFFF;
  --background-color: #F4F7FB;
  --text-main-color: #1F2D3D;
  --text-black-color: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
}

/* Base styles for the page content, assuming body has a light background from shared.css */
.page-promotions-first-deposit-bonus {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default text color for light backgrounds */
  background-color: var(--background-color); /* Default section background */
  line-height: 1.6;
}

.page-promotions-first-deposit-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--primary-color);
  color: #ffffff;
  overflow: hidden;
}

.page-promotions-first-deposit-bonus__hero-image-wrapper {
  width: 100%;
  max-height: 70vh; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-promotions-first-deposit-bonus__hero-content {
  position: relative; /* Ensure content is above any potential background elements */
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  margin-top: -80px; /* Overlap slightly with the image for visual flow */
}

.page-promotions-first-deposit-bonus__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
  max-width: 100%;
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
}

.page-promotions-first-deposit-bonus__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions-first-deposit-bonus__btn-primary,
.page-promotions-first-deposit-bonus__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  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: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-promotions-first-deposit-bonus__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

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

.page-promotions-first-deposit-bonus__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

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

.page-promotions-first-deposit-bonus__light-bg {
  background-color: var(--background-color);
  color: var(--text-main-color);
}

.page-promotions-first-deposit-bonus__dark-bg {
  background-color: var(--primary-color);
  color: #ffffff;
}

.page-promotions-first-deposit-bonus__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
  color: inherit;
}

.page-promotions-first-deposit-bonus__dark-bg .page-promotions-first-deposit-bonus__section-title {
  color: #ffffff;
}

.page-promotions-first-deposit-bonus__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-first-deposit-bonus__text-block p {
  margin-bottom: 1.2em;
}

.page-promotions-first-deposit-bonus__text-block ul,
.page-promotions-first-deposit-bonus__text-block ol {
  margin-bottom: 1.2em;
  padding-left: 25px;
}

.page-promotions-first-deposit-bonus__text-block li {
  margin-bottom: 0.5em;
}

.page-promotions-first-deposit-bonus__sub-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit;
}

.page-promotions-first-deposit-bonus__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.page-promotions-first-deposit-bonus__text-link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: 600;
}

.page-promotions-first-deposit-bonus__text-link:hover {
  color: var(--primary-color);
}

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

.page-promotions-first-deposit-bonus__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.page-promotions-first-deposit-bonus__game-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-promotions-first-deposit-bonus__game-title a {
  color: #ffffff;
  text-decoration: none;
}

.page-promotions-first-deposit-bonus__game-title a:hover {
  text-decoration: underline;
}

.page-promotions-first-deposit-bonus__faq-section {
  padding: 60px 20px;
}

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

.page-promotions-first-deposit-bonus__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  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.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  list-style: none; /* For details tag */
}

.page-promotions-first-deposit-bonus__faq-question::-webkit-details-marker {
  display: none; /* For details tag */
}

.page-promotions-first-deposit-bonus__faq-qtext {
  flex-grow: 1;
}

.page-promotions-first-deposit-bonus__faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-promotions-first-deposit-bonus__faq-item[open] .page-promotions-first-deposit-bonus__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-first-deposit-bonus__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #f0f0f0;
}

.page-promotions-first-deposit-bonus__cta-section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions-first-deposit-bonus__cta-buttons--bottom {
  margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions-first-deposit-bonus__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-promotions-first-deposit-bonus__hero-section {
    padding: 10px 15px 40px 15px;
  }

  .page-promotions-first-deposit-bonus__hero-content {
    margin-top: -40px;
    padding: 15px;
  }

  .page-promotions-first-deposit-bonus__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

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

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

  .page-promotions-first-deposit-bonus__btn-primary,
  .page-promotions-first-deposit-bonus__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .page-promotions-first-deposit-bonus__content-area,
  .page-promotions-first-deposit-bonus__faq-section,
  .page-promotions-first-deposit-bonus__cta-section {
    padding: 40px 15px;
  }

  .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__sub-title {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-promotions-first-deposit-bonus__game-categories {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-first-deposit-bonus__game-card {
    padding: 20px;
  }

  .page-promotions-first-deposit-bonus__game-title {
    font-size: 1.2rem;
  }

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

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

  /* Image responsive fix */
  .page-promotions-first-deposit-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions-first-deposit-bonus__hero-image-wrapper,
  .page-promotions-first-deposit-bonus__content-area,
  .page-promotions-first-deposit-bonus__faq-section,
  .page-promotions-first-deposit-bonus__cta-section,
  .page-promotions-first-deposit-bonus__game-categories,
  .page-promotions-first-deposit-bonus__game-card,
  .page-promotions-first-deposit-bonus__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-first-deposit-bonus__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions-first-deposit-bonus__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-first-deposit-bonus__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}