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

/* Base styles for the page */
.page-promotions-new-user-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--bg-color); /* Inherit from shared.css */
}

.page-promotions-new-user-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-promotions-new-user-bonus__section-title--light {
  color: #ffffff;
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: justify;
}

.page-promotions-new-user-bonus__text-block--light {
  color: #f2fff6;
}

/* CTA Button Styles */
.page-promotions-new-user-bonus__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-user-bonus__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions-new-user-bonus__cta-button--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions-new-user-bonus__cta-button--secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Button gradient start color */
  border: 2px solid #2AD16F;
}

.page-promotions-new-user-bonus__cta-button--secondary:hover {
  background: #2AD16F;
  color: #11271B;
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.page-promotions-new-user-bonus__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions-new-user-bonus__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions-new-user-bonus__description {
  font-size: 1.2em;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Introduction Section */
.page-promotions-new-user-bonus__introduction-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

/* Details Section */
.page-promotions-new-user-bonus__details-section {
  padding: 60px 0;
  background-color: var(--deep-green);
}

.page-promotions-new-user-bonus__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

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

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

.page-promotions-new-user-bonus__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 15px;
}

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

.page-promotions-new-user-bonus__cta-container {
  text-align: center;
  margin-top: 40px;
}

/* Registration Guide Section */
.page-promotions-new-user-bonus__registration-guide-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.page-promotions-new-user-bonus__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-promotions-new-user-bonus__list-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  position: relative;
  padding-left: 70px;
  color: var(--text-secondary);
}

.page-promotions-new-user-bonus__list-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  left: 20px;
  top: 25px;
  background-color: var(--gold);
  color: #000000;
  font-weight: bold;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 0.9em;
}

.page-promotions-new-user-bonus__list-title {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__list-item p {
  margin-bottom: 0;
}

.page-promotions-new-user-bonus__text-block--note {
  font-style: italic;
  text-align: center;
  color: var(--text-secondary);
}

/* Terms Section */
.page-promotions-new-user-bonus__terms-section {
  padding: 60px 0;
  background-color: var(--deep-green);
}

.page-promotions-new-user-bonus__terms-list {
  list-style: none;
  padding: 0;
}

.page-promotions-new-user-bonus__terms-list .page-promotions-new-user-bonus__list-item {
  padding-left: 25px; /* Remove step counter offset */
}

.page-promotions-new-user-bonus__terms-list .page-promotions-new-user-bonus__list-item::before {
  content: "\2022"; /* Bullet point */
  position: absolute;
  left: 0;
  top: 25px;
  background: none;
  color: var(--gold);
  font-size: 1.5em;
  padding: 0;
}

.page-promotions-new-user-bonus__text-link {
  display: block;
  text-align: center;
  margin-top: 30px;
  color: var(--glow);
  text-decoration: underline;
  font-weight: bold;
}

.page-promotions-new-user-bonus__text-link:hover {
  color: var(--gold);
}

/* Why Choose Section */
.page-promotions-new-user-bonus__why-choose-section {
  padding: 60px 0;
  background-color: var(--bg-color);
}

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

.page-promotions-new-user-bonus__feature-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-secondary);
}

.page-promotions-new-user-bonus__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-promotions-new-user-bonus__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 10px;
}

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

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
  padding: 60px 0;
  background-color: var(--deep-green);
}

.page-promotions-new-user-bonus__faq-list {
  margin-top: 40px;
}

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

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: #11271B; /* Ensure contrast */
  border-bottom: 1px solid var(--divider);
}

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: #1a3023;
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-question {
  border-bottom: 1px solid var(--divider);
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.3s ease;
}

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

.page-promotions-new-user-bonus__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary);
  border-top: none;
}

/* Final CTA Section */
.page-promotions-new-user-bonus__cta-final-section {
  padding: 80px 0;
  background-color: var(--bg-color);
  text-align: center;
}

.page-promotions-new-user-bonus__cta-final-section .page-promotions-new-user-bonus__container {
  background-color: var(--deep-green);
  padding: 50px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
}

/* Color Variables (from custom config) */
:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-color: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }
  .page-promotions-new-user-bonus__hero-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-promotions-new-user-bonus__description {
    font-size: 1.1em;
  }
  .page-promotions-new-user-bonus__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions-new-user-bonus__cta-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
  .page-promotions-new-user-bonus__grid {
    grid-template-columns: 1fr;
  }
  .page-promotions-new-user-bonus__features-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions-new-user-bonus__list-item {
    padding-left: 60px;
  }
  .page-promotions-new-user-bonus__list-item::before {
    left: 15px;
  }
  .page-promotions-new-user-bonus__hero-section,
  .page-promotions-new-user-bonus__introduction-section,
  .page-promotions-new-user-bonus__details-section,
  .page-promotions-new-user-bonus__registration-guide-section,
  .page-promotions-new-user-bonus__terms-section,
  .page-promotions-new-user-bonus__why-choose-section,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__cta-final-section {
    padding: 40px 0;
  }
  .page-promotions-new-user-bonus__container {
    padding: 0 15px;
  }
  .page-promotions-new-user-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions-new-user-bonus__hero-image-wrapper,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__feature-card,
  .page-promotions-new-user-bonus__faq-item,
  .page-promotions-new-user-bonus__list-item,
  .page-promotions-new-user-bonus__cta-final-section .page-promotions-new-user-bonus__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow for image containers */
  }
   .page-promotions-new-user-bonus__hero-section {
    padding-top: 10px !important;
  }
}

/* Color Contrast Fixes (if needed) */
.page-promotions-new-user-bonus__dark-bg {
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-promotions-new-user-bonus__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions-new-user-bonus__medium-bg {
  background-color: var(--accent-color);
  color: #000000;
}