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

:root {
  --primary-color: #300060;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --border-color: #e0e0e0;
}

.page-promotions-welcome-bonus {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default for dark body background */
  background-color: var(--dark-bg); /* Inherited from shared.css, assuming dark */
}

.page-promotions-welcome-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
}

.page-promotions-welcome-bonus__hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-promotions-welcome-bonus__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-welcome-bonus__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-promotions-welcome-bonus__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-promotions-welcome-bonus__section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions-welcome-bonus__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

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

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

.page-promotions-welcome-bonus__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__section-title {
  color: var(--secondary-color);
}

.page-promotions-welcome-bonus__light-bg .page-promotions-welcome-bonus__section-title {
  color: var(--primary-color);
}

.page-promotions-welcome-bonus__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-promotions-welcome-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-welcome-bonus__content-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

.page-promotions-welcome-bonus__step-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1000px;
}

.page-promotions-welcome-bonus__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  flex: 1 1 300px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  color: var(--text-light);
}

.page-promotions-welcome-bonus__light-bg .page-promotions-welcome-bonus__list-item {
  background-color: rgba(48, 0, 96, 0.05);
  color: var(--text-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions-welcome-bonus__list-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-promotions-welcome-bonus__light-bg .page-promotions-welcome-bonus__list-title {
  color: var(--primary-color);
}

.page-promotions-welcome-bonus__terms-list {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
  max-width: 900px;
  margin: 30px auto;
  color: var(--text-dark);
}

.page-promotions-welcome-bonus__light-bg .page-promotions-welcome-bonus__terms-list li {
  color: var(--text-dark);
}

.page-promotions-welcome-bonus__terms-list li {
  margin-bottom: 10px;
}

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

.page-promotions-welcome-bonus__game-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
}

.page-promotions-welcome-bonus__game-card:hover {
  transform: translateY(-5px);
}

.page-promotions-welcome-bonus__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions-welcome-bonus__game-title {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin: 20px 15px 10px;
}

.page-promotions-welcome-bonus__game-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.page-promotions-welcome-bonus__game-description {
  font-size: 0.95em;
  color: var(--text-light);
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-promotions-welcome-bonus__why-choose-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 900px;
  margin: 30px auto;
}

.page-promotions-welcome-bonus__why-choose-list .page-promotions-welcome-bonus__list-item {
  background-color: transparent;
  box-shadow: none;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(48, 0, 96, 0.2);
  color: var(--text-dark);
}

.page-promotions-welcome-bonus__why-choose-list .page-promotions-welcome-bonus__list-item:last-child {
  border-bottom: none;
}

.page-promotions-welcome-bonus__why-choose-list .page-promotions-welcome-bonus__list-item strong {
  color: var(--primary-color);
}

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

.page-promotions-welcome-bonus__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-promotions-welcome-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions-welcome-bonus__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-promotions-welcome-bonus__faq-question h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.2em;
}

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

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-welcome-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
}

.page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px;
}

.page-promotions-welcome-bonus__faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-promotions-welcome-bonus__cta-final {
  padding-bottom: 80px;
}

/* Buttons */
.page-promotions-welcome-bonus__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-promotions-welcome-bonus__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-promotions-welcome-bonus__btn-primary:hover {
  background-color: #e6c200; /* Darken secondary color */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-promotions-welcome-bonus__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: none;
}

.page-promotions-welcome-bonus__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-welcome-bonus__hero-title {
    font-size: 3em;
  }

  .page-promotions-welcome-bonus__section-title {
    font-size: 2em;
  }

  .page-promotions-welcome-bonus__step-list {
    flex-direction: column;
    align-items: center;
  }

  .page-promotions-welcome-bonus__list-item {
    flex: 0 1 90%;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome-bonus__hero-section {
    padding: 60px 15px;
  }
  
  .page-promotions-welcome-bonus__hero-title {
    font-size: 2.2em;
  }

  .page-promotions-welcome-bonus__hero-description,
  .page-promotions-welcome-bonus__text-block,
  .page-promotions-welcome-bonus p,
  .page-promotions-welcome-bonus li {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-welcome-bonus__section-title {
    font-size: 1.8em;
  }

  .page-promotions-welcome-bonus__cta-button,
  .page-promotions-welcome-bonus__btn-primary,
  .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;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 15px; /* Add some spacing between stacked buttons */
  }

  .page-promotions-welcome-bonus__cta-buttons,
  .page-promotions-welcome-bonus__button-group,
  .page-promotions-welcome-bonus__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

  .page-promotions-welcome-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-welcome-bonus__content-image,
  .page-promotions-welcome-bonus__game-image {
    width: 100% !important;
    height: auto !important; /* Ensure images scale correctly */
    object-fit: cover;
  }

  .page-promotions-welcome-bonus__section,
  .page-promotions-welcome-bonus__card,
  .page-promotions-welcome-bonus__container,
  .page-promotions-welcome-bonus__game-grid,
  .page-promotions-welcome-bonus__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-promotions-welcome-bonus__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Re-apply for mobile if needed */
  }

  .page-promotions-welcome-bonus__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-promotions-welcome-bonus__faq-question h3 {
    font-size: 1.1em;
  }

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

  .page-promotions-welcome-bonus__faq-item.active .page-promotions-welcome-bonus__faq-answer {
    padding: 10px 20px;
  }

  .page-promotions-welcome-bonus__why-choose-list .page-promotions-welcome-bonus__list-item {
    font-size: 1em;
  }
}