/* style/slot-games-new-releases.css */

:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --dark-text-color: #333333;
  --light-text-color: #FFFFFF;
  --background-light: #FFFFFF;
  --background-dark: #26A9E0;
  --login-button-color: #EA7C07;
}

.page-slot-games-new-releases {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-text-color);
  background-color: var(--background-light); /* Default body background is white, so text should be dark */
}

.page-slot-games-new-releases__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-slot-games-new-releases__dark-bg {
  background-color: var(--background-dark);
  color: var(--light-text-color);
}

.page-slot-games-new-releases__light-bg {
  background-color: var(--background-light);
  color: var(--dark-text-color);
}

.page-slot-games-new-releases__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-slot-games-new-releases__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-slot-games-new-releases__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability, not changing color */
}

.page-slot-games-new-releases__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games-new-releases__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--light-text-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-slot-games-new-releases__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--light-text-color);
}

.page-slot-games-new-releases__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-slot-games-new-releases__btn-primary,
.page-slot-games-new-releases__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%; /* Responsive button */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games-new-releases__btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border: 2px solid var(--primary-color);
}

.page-slot-games-new-releases__btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.page-slot-games-new-releases__btn-secondary {
  background-color: transparent;
  color: var(--light-text-color);
  border: 2px solid var(--light-text-color);
}

.page-slot-games-new-releases__btn-secondary:hover {
  background-color: var(--light-text-color);
  color: var(--primary-color);
}

.page-slot-games-new-releases__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: inherit;
}

.page-slot-games-new-releases__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: inherit;
}

.page-slot-games-new-releases__intro-section,
.page-slot-games-new-releases__benefits-section,
.page-slot-games-new-releases__faq-section,
.page-slot-games-new-releases__cta-final-section {
  padding: 80px 0;
}

.page-slot-games-new-releases__features-section,
.page-slot-games-new-releases__how-to-play-section {
  padding: 80px 0;
}

.page-slot-games-new-releases__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  justify-items: center;
}

.page-slot-games-new-releases__grid-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-new-releases__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games-new-releases__feature-card {
  background-color: var(--secondary-color);
  color: var(--dark-text-color);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-slot-games-new-releases__feature-card:hover {
  transform: translateY(-10px);
}

.page-slot-games-new-releases__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-slot-games-new-releases__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-slot-games-new-releases__card-text {
  font-size: 1em;
  color: var(--dark-text-color);
}

.page-slot-games-new-releases__benefits-list {
  list-style: none;
  padding: 0;
  margin: 50px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games-new-releases__list-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--secondary-color);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-slot-games-new-releases__list-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
  min-width: 48px; /* Ensure icons are not too small */
  min-height: 48px;
}

.page-slot-games-new-releases__list-content {
  text-align: left;
}

.page-slot-games-new-releases__list-title {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games-new-releases__cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: var(--primary-color);
  border-radius: 12px;
  color: var(--light-text-color);
}

.page-slot-games-new-releases__cta-text {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: var(--light-text-color);
}

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

.page-slot-games-new-releases__step-card {
  background-color: var(--secondary-color);
  color: var(--dark-text-color);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games-new-releases__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-slot-games-new-releases__btn-text {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push to bottom */
  padding: 10px 0;
  display: block;
  transition: color 0.3s ease;
}

.page-slot-games-new-releases__btn-text:hover {
  color: darken(var(--primary-color), 10%);
}

.page-slot-games-new-releases__faq-list {
  margin-top: 40px;
}

.page-slot-games-new-releases__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-slot-games-new-releases__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f9f9f9;
  color: var(--dark-text-color);
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-slot-games-new-releases__faq-question:hover {
  background-color: #f0f0f0;
}

.page-slot-games-new-releases__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--dark-text-color);
}

.page-slot-games-new-releases__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.page-slot-games-new-releases__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--dark-text-color);
}

.page-slot-games-new-releases__faq-item.active .page-slot-games-new-releases__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-slot-games-new-releases__faq-item.active .page-slot-games-new-releases__faq-toggle {
  transform: rotate(0deg);
}

.page-slot-games-new-releases__cta-final-section {
  text-align: center;
  padding: 80px 0;
}

.page-slot-games-new-releases__cta-final-section .page-slot-games-new-releases__section-title,
.page-slot-games-new-releases__cta-final-section .page-slot-games-new-releases__section-description {
  color: var(--light-text-color);
}

.page-slot-games-new-releases__cta-final-section .page-slot-games-new-releases__cta-buttons {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games-new-releases__hero-title {
    font-size: 3em;
  }
  .page-slot-games-new-releases__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games-new-releases {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games-new-releases__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
  }

  .page-slot-games-new-releases__hero-title {
    font-size: 2.5em;
  }

  .page-slot-games-new-releases__hero-description {
    font-size: 1em;
  }

  .page-slot-games-new-releases__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games-new-releases__btn-primary,
  .page-slot-games-new-releases__btn-secondary {
    width: 100%;
    padding: 12px 20px;
  }

  .page-slot-games-new-releases__section-title {
    font-size: 1.8em;
  }

  .page-slot-games-new-releases__section-description {
    font-size: 0.95em;
  }

  .page-slot-games-new-releases__intro-section,
  .page-slot-games-new-releases__benefits-section,
  .page-slot-games-new-releases__faq-section,
  .page-slot-games-new-releases__cta-final-section,
  .page-slot-games-new-releases__features-section,
  .page-slot-games-new-releases__how-to-play-section {
    padding: 50px 0;
  }

  .page-slot-games-new-releases__container {
    padding: 0 15px;
  }

  /* Mobile image responsiveness */
  .page-slot-games-new-releases img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games-new-releases__image-grid,
  .page-slot-games-new-releases__features-grid,
  .page-slot-games-new-releases__steps-grid,
  .page-slot-games-new-releases__benefits-list {
    grid-template-columns: 1fr;
  }

  .page-slot-games-new-releases__feature-card,
  .page-slot-games-new-releases__step-card,
  .page-slot-games-new-releases__list-item {
    padding: 20px;
  }

  .page-slot-games-new-releases__list-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .page-slot-games-new-releases__faq-question {
    padding: 15px 20px;
  }

  .page-slot-games-new-releases__faq-answer {
    padding: 0 20px;
  }

  .page-slot-games-new-releases__faq-item.active .page-slot-games-new-releases__faq-answer {
    padding: 15px 20px;
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-slot-games-new-releases__section,
  .page-slot-games-new-releases__card,
  .page-slot-games-new-releases__container,
  .page-slot-games-new-releases__hero-content,
  .page-slot-games-new-releases__image-grid,
  .page-slot-games-new-releases__features-grid,
  .page-slot-games-new-releases__steps-grid,
  .page-slot-games-new-releases__benefits-list,
  .page-slot-games-new-releases__cta-section,
  .page-slot-games-new-releases__cta-final-section .page-slot-games-new-releases__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are already set by .page-slot-games-new-releases__container */
    overflow-x: hidden;
  }
  
  .page-slot-games-new-releases__hero-buttons,
  .page-slot-games-new-releases__cta-final-section .page-slot-games-new-releases__cta-buttons {
    flex-wrap: wrap !important;
    gap: 15px;
  }

  .page-slot-games-new-releases__btn-primary,
  .page-slot-games-new-releases__btn-secondary,
  .page-slot-games-new-releases__btn-text,
  .page-slot-games-new-releases a[class*="button"],
  .page-slot-games-new-releases 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;
  }
}