/* style/slot-games.css */

/* Base styles for the page content, assuming a dark background for the main content sections */
.page-slot-games {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-slot-games__section--dark-bg {
  background-color: #11271B; /* Custom Card BG for contrast */
  color: #F2FFF6;
}

.page-slot-games__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6; /* Custom Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-slot-games__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Custom Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #11A84E; /* Main Color */
  border-radius: 2px;
}

.page-slot-games__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #F2C14E; /* Custom Gold */
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-slot-games__description,
.page-slot-games__text-block,
.page-slot-games__card-text,
.page-slot-games__list-item p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 15px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__link {
  color: #57E38D; /* Custom Glow */
  text-decoration: none;
  font-weight: 500;
}

.page-slot-games__link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, then content */
  overflow: hidden;
  min-height: 500px;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  position: relative;
  z-index: 1;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken for text readability */
}

.page-slot-games__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  max-width: 90%;
  padding: 20px;
  box-sizing: border-box;
}

.page-slot-games__hero-content .page-slot-games__main-title,
.page-slot-games__hero-content .page-slot-games__description {
  color: #F2FFF6; /* Ensure text is visible on dimmed image */
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
  width: 100%;
}

.page-slot-games__cta-buttons--center {
  margin-top: 40px;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #ffffff;
  border: none;
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #F2FFF6; /* Custom Text Main */
  border: 2px solid #11A84E; /* Main Color */
}

.page-slot-games__btn-secondary:hover {
  background-color: #11A84E; /* Main Color */
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
}

/* Grid containers */
.page-slot-games__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__grid-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-slot-games__grid-item .page-slot-games__sub-title {
  text-align: center;
  color: #F2FFF6; /* Custom Text Main */
}

.page-slot-games__grid-item .page-slot-games__text-block {
  text-align: left;
}

/* Card Grid */
.page-slot-games__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__card {
  background-color: #11271B; /* Custom Card BG */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #2E7A4E; /* Custom Border */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-slot-games__card-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Custom Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

/* Steps Container */
.page-slot-games__steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  counter-reset: step-counter;
}

.page-slot-games__step-item {
  background-color: #0A4B2C; /* Custom Deep Green */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-slot-games__step-number {
  counter-increment: step-counter;
  font-size: 2.5rem;
  color: #57E38D; /* Custom Glow */
  font-weight: 700;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #11271B;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #11A84E;
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-slot-games__step-item .page-slot-games__step-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Custom Text Main */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-games__step-item .page-slot-games__step-text {
  color: #A7D9B8; /* Custom Text Secondary */
  text-align: left;
  margin-bottom: 20px;
}

/* List styles */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__list-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-left: 5px solid #11A84E; /* Main Color */
}

.page-slot-games__list-item .page-slot-games__sub-title {
  color: #F2C14E; /* Custom Gold */
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__list-item .page-slot-games__text-block {
  text-align: left;
  margin-bottom: 0;
}

/* Features Grid */
.page-slot-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__feature-item {
  background-color: #0A4B2C; /* Custom Deep Green */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-slot-games__feature-item .page-slot-games__sub-title {
  color: #57E38D; /* Custom Glow */
}

.page-slot-games__feature-item .page-slot-games__text-block {
  color: #A7D9B8; /* Custom Text Secondary */
  text-align: left;
}

/* Provider Grid */
.page-slot-games__provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-slot-games__provider-item {
  background-color: #11271B; /* Custom Card BG */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #2E7A4E; /* Custom Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__provider-logo {
  max-width: 150px;
  height: auto;
  margin-bottom: 15px;
  filter: grayscale(100%) brightness(1.5);
  transition: filter 0.3s ease;
}

.page-slot-games__provider-item:hover .page-slot-games__provider-logo {
  filter: grayscale(0%) brightness(1);
}

.page-slot-games__provider-item .page-slot-games__sub-title {
  color: #F2FFF6; /* Custom Text Main */
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-slot-games__provider-item .page-slot-games__text-block {
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 0.95rem;
  text-align: center;
}

/* Promo Grid */
.page-slot-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promo-card {
  background-color: #0A4B2C; /* Custom Deep Green */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid #2E7A4E; /* Custom Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__promo-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-slot-games__promo-card .page-slot-games__card-title {
  color: #F2FFF6; /* Custom Text Main */
  font-size: 1.3rem;
}

.page-slot-games__promo-card .page-slot-games__card-text {
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 0.95rem;
  flex-grow: 1;
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6; /* Custom Text Main */
  cursor: pointer;
  background-color: #0A4B2C; /* Custom Deep Green */
  border-bottom: 1px solid #2E7A4E;
}

.page-slot-games__faq-question:hover {
  background-color: #11A84E; /* Main Color */
}

.page-slot-games__faq-qtext {
  flex-grow: 1;
}

.page-slot-games__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Custom Glow */
}

.page-slot-games__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: #A7D9B8; /* Custom Text Secondary */
  line-height: 1.6;
}

.page-slot-games__faq-answer p {
  text-align: left;
  margin-bottom: 0;
}

/* Image styles */
.page-slot-games__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Responsive images */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-slot-games__section {
    padding: 30px 15px;
  }

  .page-slot-games__hero-section {
    padding: 10px 0 30px 0;
  }

  .page-slot-games__hero-content {
    padding: 10px;
  }

  .page-slot-games__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-slot-games__section-title {
    font-size: clamp(1.8rem, 7vw, 2rem);
  }

  .page-slot-games__sub-title {
    font-size: clamp(1.3rem, 5vw, 1.5rem);
  }

  .page-slot-games__description,
  .page-slot-games__text-block,
  .page-slot-games__card-text,
  .page-slot-games__list-item p {
    font-size: clamp(0.95rem, 3.5vw, 1rem);
    text-align: left;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games a[class*="button"],
  .page-slot-games 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: 12px 15px;
    font-size: 1rem;
  }

  .page-slot-games__grid-container,
  .page-slot-games__card-grid,
  .page-slot-games__steps-container,
  .page-slot-games__features-grid,
  .page-slot-games__provider-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__step-item {
    padding-top: 50px;
  }

  .page-slot-games__step-number {
    top: -25px;
  }

  .page-slot-games__image-full-width,
  .page-slot-games__promo-image,
  .page-slot-games__provider-logo {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover;
  }

  .page-slot-games__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-slot-games__faq-answer {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  /* Ensure all content containers are responsive */
  .page-slot-games__hero-section,
  .page-slot-games__section,
  .page-slot-games__grid-item,
  .page-slot-games__card,
  .page-slot-games__step-item,
  .page-slot-games__feature-item,
  .page-slot-games__provider-item,
  .page-slot-games__promo-card,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-slot-games__hero-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
}

/* Contrast Fixes - although custom palette is dark, ensure text contrast */
.page-slot-games p, .page-slot-games li {
  color: #A7D9B8; /* Custom Text Secondary on dark backgrounds */
}

.page-slot-games__text-contrast-fix {
  color: #F2FFF6 !important; /* Force light text on dark backgrounds */
}

.page-slot-games__contrast-fix {
  background: #11271B !important;
  color: #F2FFF6 !important;
  border: 1px solid #2E7A4E !important;
}