/* style/promotions-welcome-bonus.css */

:root {
  --awin68-primary: #E53935;
  --awin68-secondary: #FF5A4F;
  --awin68-text-main: #333333;
  --awin68-card-bg: #FFFFFF;
  --awin68-background: #F5F7FA;
  --awin68-border: #E0E0E0;
}

.page-promotions-welcome-bonus {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--awin68-text-main);
  background-color: var(--awin68-background);
}

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

.page-promotions-welcome-bonus__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--awin68-primary);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-promotions-welcome-bonus__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Aligns with common rule: small top padding if body has header offset */
  padding-bottom: 50px;
  text-align: center;
  background: linear-gradient(180deg, var(--awin68-secondary) 0%, var(--awin68-primary) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-promotions-welcome-bonus__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-promotions-welcome-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions-welcome-bonus__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions-welcome-bonus__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions-welcome-bonus__hero-description {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions-welcome-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;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-welcome-bonus__btn-primary {
  background: linear-gradient(180deg, var(--awin68-secondary) 0%, var(--awin68-primary) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-welcome-bonus__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-welcome-bonus__btn-secondary {
  background: var(--awin68-card-bg);
  color: var(--awin68-primary);
  border: 2px solid var(--awin68-primary);
  margin-left: 20px;
}

.page-promotions-welcome-bonus__btn-secondary:hover {
  background: var(--awin68-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-promotions-welcome-bonus__why-awin68,
.page-promotions-welcome-bonus__terms-conditions,
.page-promotions-welcome-bonus__faq-section {
  padding: 80px 0;
  background-color: var(--awin68-background);
  color: var(--awin68-text-main);
}

.page-promotions-welcome-bonus__how-to-claim,
.page-promotions-welcome-bonus__cta-final {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--awin68-secondary) 0%, var(--awin68-primary) 100%);
  color: #ffffff;
}

.page-promotions-welcome-bonus__dark-bg {
  background: linear-gradient(180deg, var(--awin68-secondary) 0%, var(--awin68-primary) 100%);
  color: #ffffff;
}

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

.page-promotions-welcome-bonus__dark-bg-card {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-promotions-welcome-bonus__dark-bg-card .page-promotions-welcome-bonus__step-title {
  color: #ffffff;
}

.page-promotions-welcome-bonus__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions-welcome-bonus__feature-item {
  background: var(--awin68-card-bg);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--awin68-border);
}

.page-promotions-welcome-bonus__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-promotions-welcome-bonus__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.page-promotions-welcome-bonus__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--awin68-primary);
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus__feature-text {
  font-size: 1em;
  color: #555555;
}

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

.page-promotions-welcome-bonus__step-item {
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-welcome-bonus__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions-welcome-bonus__step-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-promotions-welcome-bonus__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-promotions-welcome-bonus__terms-list {
  list-style: disc;
  margin: 40px auto;
  max-width: 900px;
  padding-left: 25px;
}

.page-promotions-welcome-bonus__terms-item {
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.8;
  color: var(--awin68-text-main);
}

.page-promotions-welcome-bonus__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__faq-item {
  background: var(--awin68-card-bg);
  border: 1px solid var(--awin68-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-promotions-welcome-bonus__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--awin68-primary);
  cursor: pointer;
  outline: none;
  list-style: none;
}

.page-promotions-welcome-bonus__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions-welcome-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-promotions-welcome-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--awin68-primary);
}

.page-promotions-welcome-bonus__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
}

.page-promotions-welcome-bonus__faq-answer p {
  margin-bottom: 0;
}

.page-promotions-welcome-bonus__cta-final .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__cta-final .page-promotions-welcome-bonus__section-description {
  color: #ffffff;
}

.page-promotions-welcome-bonus__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* General image responsiveness */
.page-promotions-welcome-bonus img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-promotions-welcome-bonus {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-welcome-bonus__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-welcome-bonus__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-promotions-welcome-bonus__hero-image-wrapper {
    max-height: none !important;
    margin-bottom: 20px;
  }

  .page-promotions-welcome-bonus__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
    max-height: none !important;
  }

  .page-promotions-welcome-bonus__hero-title {
    font-size: 2.2em;
  }

  .page-promotions-welcome-bonus__hero-description {
    font-size: 1em;
  }

  .page-promotions-welcome-bonus__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-promotions-welcome-bonus__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  /* All images */
  .page-promotions-welcome-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* All image containers */
  .page-promotions-welcome-bonus__hero-image-wrapper,
  .page-promotions-welcome-bonus__feature-item,
  .page-promotions-welcome-bonus__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions-welcome-bonus__features-grid,
  .page-promotions-welcome-bonus__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-welcome-bonus__feature-item,
  .page-promotions-welcome-bonus__step-item,
  .page-promotions-welcome-bonus__faq-item {
    padding: 20px;
  }

  .page-promotions-welcome-bonus__why-awin68,
  .page-promotions-welcome-bonus__how-to-claim,
  .page-promotions-welcome-bonus__terms-conditions,
  .page-promotions-welcome-bonus__faq-section,
  .page-promotions-welcome-bonus__cta-final {
    padding: 50px 0;
  }

  /* All buttons */
  .page-promotions-welcome-bonus__cta-button,
  .page-promotions-welcome-bonus__btn-primary,
  .page-promotions-welcome-bonus__btn-secondary,
  .page-promotions-welcome-bonus a[class*="button"],
  .page-promotions-welcome-bonus a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button groups */
  .page-promotions-welcome-bonus__button-group {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-welcome-bonus__terms-list {
    margin: 30px auto;
    padding-left: 20px;
  }

  .page-promotions-welcome-bonus__terms-item {
    font-size: 0.95em;
  }

  .page-promotions-welcome-bonus__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

  .page-promotions-welcome-bonus__faq-answer {
    padding: 0 15px 15px;
  }
}