/* style/promotions-first-deposit-offer-rules.css */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

.page-promotions-first-deposit-offer-rules {
  color: var(--color-text-main); /* Body background is dark, so text is light */
  background-color: var(--color-background);
}

.page-promotions-first-deposit-offer-rules__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 40px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions-first-deposit-offer-rules__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.page-promotions-first-deposit-offer-rules__hero-content {
  text-align: center;
  padding: 30px 0;
  max-width: 900px;
  margin-top: 20px;
}

.page-promotions-first-deposit-offer-rules__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gold);
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-promotions-first-deposit-offer-rules__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

.page-promotions-first-deposit-offer-rules__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-first-deposit-offer-rules__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-promotions-first-deposit-offer-rules__cta-button--small {
  padding: 12px 25px;
  font-size: 1em;
}

.page-promotions-first-deposit-offer-rules__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-promotions-first-deposit-offer-rules__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--color-divider);
  box-sizing: border-box;
}

.page-promotions-first-deposit-offer-rules__section:last-of-type {
  border-bottom: none;
}

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

.page-promotions-first-deposit-offer-rules__section-title {
  font-size: 2.5em;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(17, 168, 78, 0.3);
}

.page-promotions-first-deposit-offer-rules__text-block {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 30px;
  color: var(--color-text-main);
}

.page-promotions-first-deposit-offer-rules__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions-first-deposit-offer-rules__card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-text-main);
}

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

.page-promotions-first-deposit-offer-rules__card-title {
  font-size: 1.5em;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.page-promotions-first-deposit-offer-rules__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-promotions-first-deposit-offer-rules__list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.page-promotions-first-deposit-offer-rules__list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

.page-promotions-first-deposit-offer-rules__list--styled li {
  padding-left: 0;
}

.page-promotions-first-deposit-offer-rules__list--styled li::before {
  content: none;
}

.page-promotions-first-deposit-offer-rules__list--styled li strong {
  color: var(--color-gold);
}

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

.page-promotions-first-deposit-offer-rules__step-card {
  background-color: var(--color-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.page-promotions-first-deposit-offer-rules__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(17, 168, 78, 0.5);
}

.page-promotions-first-deposit-offer-rules__step-title {
  font-size: 1.4em;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions-first-deposit-offer-rules__step-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.page-promotions-first-deposit-offer-rules__faq-list {
  margin-top: 40px;
}

.page-promotions-first-deposit-offer-rules__faq-item {
  background-color: var(--color-card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-first-deposit-offer-rules__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-promotions-first-deposit-offer-rules__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions-first-deposit-offer-rules__faq-question:hover {
  background-color: rgba(34, 199, 104, 0.1);
}

.page-promotions-first-deposit-offer-rules__faq-item[open] .page-promotions-first-deposit-offer-rules__faq-question {
  border-bottom: 1px solid var(--color-divider);
}

.page-promotions-first-deposit-offer-rules__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

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

.page-promotions-first-deposit-offer-rules__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions-first-deposit-offer-rules__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }

  .page-promotions-first-deposit-offer-rules__section-title {
    font-size: 2em;
  }

  .page-promotions-first-deposit-offer-rules__hero-content {
    padding: 20px 0;
  }
}

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

  .page-promotions-first-deposit-offer-rules__hero-section {
    padding: 10px 15px 30px;
  }

  .page-promotions-first-deposit-offer-rules__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions-first-deposit-offer-rules__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }

  .page-promotions-first-deposit-offer-rules__description {
    font-size: 1em;
  }

  .page-promotions-first-deposit-offer-rules__cta-button,
  .page-promotions-first-deposit-offer-rules__cta-button--small,
  .page-promotions-first-deposit-offer-rules__cta-button--large,
  .page-promotions-first-deposit-offer-rules a[class*="button"],
  .page-promotions-first-deposit-offer-rules 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;
    margin-bottom: 15px; /* Add margin for stacked buttons */
  }

  .page-promotions-first-deposit-offer-rules__cta-buttons,
  .page-promotions-first-deposit-offer-rules__button-group,
  .page-promotions-first-deposit-offer-rules__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

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

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

  .page-promotions-first-deposit-offer-rules__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions-first-deposit-offer-rules__text-block {
    font-size: 1em;
  }

  .page-promotions-first-deposit-offer-rules__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions-first-deposit-offer-rules__content-grid,
  .page-promotions-first-deposit-offer-rules__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-first-deposit-offer-rules__card,
  .page-promotions-first-deposit-offer-rules__step-card,
  .page-promotions-first-deposit-offer-rules__faq-item {
    padding: 20px;
  }

  .page-promotions-first-deposit-offer-rules__card-title,
  .page-promotions-first-deposit-offer-rules__step-title {
    font-size: 1.3em;
  }

  .page-promotions-first-deposit-offer-rules__list li,
  .page-promotions-first-deposit-offer-rules__step-description,
  .page-promotions-first-deposit-offer-rules__faq-answer {
    font-size: 0.95em;
  }

  .page-promotions-first-deposit-offer-rules__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions-first-deposit-offer-rules__main-title {
    font-size: clamp(1.4em, 8vw, 2em);
  }

  .page-promotions-first-deposit-offer-rules__section-title {
    font-size: 1.6em;
  }

  .page-promotions-first-deposit-offer-rules__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-promotions-first-deposit-offer-rules__hero-content {
    padding: 15px 0;
  }

  .page-promotions-first-deposit-offer-rules__section {
    padding: 30px 10px;
  }

  .page-promotions-first-deposit-offer-rules__card,
  .page-promotions-first-deposit-offer-rules__step-card,
  .page-promotions-first-deposit-offer-rules__faq-item {
    padding: 15px;
  }

  .page-promotions-first-deposit-offer-rules__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-promotions-first-deposit-offer-rules__faq-answer {
    padding: 10px 15px 15px;
  }
}