/* style/promotions-new-user-offer.css */

:root {
  --page-bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green-color: #0A4B2C;
  --primary-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-promotions-new-user-offer {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main-color); /* Default text color for the page */
  background-color: var(--page-bg-color); /* Default background for the page */
}

.page-promotions-new-user-offer__section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions-new-user-offer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

.page-promotions-new-user-offer__dark-bg {
  background-color: var(--page-bg-color);
  color: var(--text-main-color);
}

.page-promotions-new-user-offer__light-bg {
  background-color: #ffffff;
  color: #333333; /* Ensure contrast on light background */
}

.page-promotions-new-user-offer__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--gold-color);
  font-weight: bold;
}

.page-promotions-new-user-offer__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary-color);
}

.page-promotions-new-user-offer__paragraph--small {
  font-size: 0.9em;
}

.page-promotions-new-user-offer__paragraph a {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-promotions-new-user-offer__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  min-height: 500px;
}

.page-promotions-new-user-offer__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-promotions-new-user-offer__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-promotions-new-user-offer__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 15px;
  color: var(--text-main-color);
}

.page-promotions-new-user-offer__main-title {
  font-size: 3em; /* Use em for relative sizing */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.page-promotions-new-user-offer__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-secondary-color);
}

.page-promotions-new-user-offer__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-promotions-new-user-offer__btn-primary,
.page-promotions-new-user-offer__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  flex-grow: 1; /* Allow buttons to grow */
  max-width: 280px; /* Limit individual button width */
}

.page-promotions-new-user-offer__btn-primary {
  background: var(--primary-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-offer__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-promotions-new-user-offer__btn-secondary {
  background-color: transparent;
  color: var(--glow-color);
  border: 2px solid var(--glow-color);
}

.page-promotions-new-user-offer__btn-secondary:hover {
  background-color: var(--glow-color);
  color: var(--page-bg-color);
  transform: translateY(-2px);
}

.page-promotions-new-user-offer__btn-small {
  padding: 10px 20px;
  font-size: 1em;
  max-width: 200px;
}

.page-promotions-new-user-offer__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
  max-width: 350px;
}

.page-promotions-new-user-offer__features-grid,
.page-promotions-new-user-offer__offers-grid,
.page-promotions-new-user-offer__steps-grid,
.page-promotions-new-user-offer__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-new-user-offer__feature-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-promotions-new-user-offer__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions-new-user-offer__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.page-promotions-new-user-offer__feature-description {
  color: var(--text-secondary-color);
}

.page-promotions-new-user-offer__offer-card,
.page-promotions-new-user-offer__game-card {
  background-color: var(--card-bg-color);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color);
  text-align: center;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions-new-user-offer__card {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
  border: 1px solid var(--border-color);
}

.page-promotions-new-user-offer__offer-image,
.page-promotions-new-user-offer__game-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions-new-user-offer__offer-title,
.page-promotions-new-user-offer__game-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--gold-color);
  flex-grow: 1;
}

.page-promotions-new-user-offer__offer-title a,
.page-promotions-new-user-offer__game-title a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-promotions-new-user-offer__offer-title a:hover,
.page-promotions-new-user-offer__game-title a:hover {
  text-decoration: underline;
}

.page-promotions-new-user-offer__offer-description,
.page-promotions-new-user-offer__game-description {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
}

.page-promotions-new-user-offer__step-item {
  background-color: var(--card-bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  color: var(--text-main-color);
  text-align: left;
  border: 1px solid var(--border-color);
}

.page-promotions-new-user-offer__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--glow-color);
  margin-bottom: 15px;
  display: block;
  text-align: center;
}

.page-promotions-new-user-offer__step-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--gold-color);
  text-align: center;
}

.page-promotions-new-user-offer__step-description {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-promotions-new-user-offer__terms-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
}

.page-promotions-new-user-offer__terms-item {
  background-color: var(--card-bg-color);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.page-promotions-new-user-offer__terms-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 10px;
}

.page-promotions-new-user-offer__terms-description {
  color: var(--text-secondary-color);
  font-size: 1em;
}

.page-promotions-new-user-offer__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-promotions-new-user-offer__faq-item {
  background-color: var(--card-bg-color);
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-promotions-new-user-offer__faq-item summary {
  list-style: none;
}

.page-promotions-new-user-offer__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-new-user-offer__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main-color);
  background-color: var(--deep-green-color);
  border-radius: 10px;
}

.page-promotions-new-user-offer__faq-question:hover {
  background-color: var(--border-color);
}

.page-promotions-new-user-offer__faq-qtext {
  flex-grow: 1;
  color: var(--gold-color);
}

.page-promotions-new-user-offer__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color);
}

.page-promotions-new-user-offer__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--text-secondary-color);
  line-height: 1.8;
}

.page-promotions-new-user-offer__cta-section {
  padding: 80px 20px;
  background-color: var(--deep-green-color);
  color: var(--text-main-color);
}

.page-promotions-new-user-offer__cta-section .page-promotions-new-user-offer__section-title {
  color: var(--gold-color);
}

.page-promotions-new-user-offer__cta-section .page-promotions-new-user-offer__paragraph {
  color: var(--text-secondary-color);
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
  .page-promotions-new-user-offer__main-title {
    font-size: 2.5em;
  }
  .page-promotions-new-user-offer__section-title {
    font-size: 2em;
  }
  .page-promotions-new-user-offer__btn-large {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-offer__hero-section {
    padding-bottom: 40px;
  }
  .page-promotions-new-user-offer__main-title {
    font-size: 2em;
  }
  .page-promotions-new-user-offer__intro-text {
    font-size: 1em;
  }
  .page-promotions-new-user-offer__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions-new-user-offer__btn-primary,
  .page-promotions-new-user-offer__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-new-user-offer__section-title {
    font-size: 1.8em;
  }
  .page-promotions-new-user-offer__paragraph {
    font-size: 0.95em;
  }
  .page-promotions-new-user-offer__features-grid,
  .page-promotions-new-user-offer__offers-grid,
  .page-promotions-new-user-offer__steps-grid,
  .page-promotions-new-user-offer__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions-new-user-offer__feature-icon,
  .page-promotions-new-user-offer__offer-image,
  .page-promotions-new-user-offer__game-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions-new-user-offer__container,
  .page-promotions-new-user-offer__hero-content,
  .page-promotions-new-user-offer__feature-item,
  .page-promotions-new-user-offer__offer-card,
  .page-promotions-new-user-offer__game-card,
  .page-promotions-new-user-offer__step-item,
  .page-promotions-new-user-offer__terms-item,
  .page-promotions-new-user-offer__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-promotions-new-user-offer__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-promotions-new-user-offer__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-promotions-new-user-offer__faq-answer {
    padding: 10px 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions-new-user-offer__main-title {
    font-size: 1.8em;
  }
  .page-promotions-new-user-offer__section-title {
    font-size: 1.6em;
  }
  .page-promotions-new-user-offer__hero-image-wrapper {
    max-height: 400px;
  }
}