/* style/slot-games.css */

/* Root variables for colors */
:root {
  --page-slot-games-bg-color: #08160F;
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-border-color: #2E7A4E;
  --page-slot-games-glow-color: #57E38D;
  --page-slot-games-gold-color: #F2C14E;
  --page-slot-games-divider-color: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
  background-color: var(--page-slot-games-bg-color); /* Assuming body background is dark from shared.css */
  color: var(--page-slot-games-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Sections */
.page-slot-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--page-slot-games-gold-color);
  text-align: center;
  margin-bottom: 30px;
  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: var(--page-slot-games-glow-color);
  border-radius: 2px;
}

.page-slot-games__dark-section {
  background-color: var(--page-slot-games-bg-color);
  color: var(--page-slot-games-text-main);
  padding: 60px 0;
}

.page-slot-games__light-bg {
  background-color: #f8f8f8; /* A very light background to contrast with dark text */
  color: #333333;
  padding: 60px 0;
}

.page-slot-games__text-main {
  color: var(--page-slot-games-text-main);
}

.page-slot-games__text-secondary {
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__highlight {
  color: var(--page-slot-games-gold-color);
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden;
  background: var(--page-slot-games-deep-green);
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-slot-games__hero-content {
  z-index: 1; /* Ensure content is above any background elements if needed */
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-slot-games__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 800;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-slot-games__tagline {
  font-size: 1.3em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-btn-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-slot-games__btn-secondary {
  background: none;
  color: var(--page-slot-games-glow-color);
  border: 2px solid var(--page-slot-games-glow-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-secondary:hover {
  background: var(--page-slot-games-glow-color);
  color: var(--page-slot-games-bg-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-tertiary {
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-main);
  border: 1px solid var(--page-slot-games-border-color);
  font-size: 0.9em;
  padding: 10px 20px;
}

.page-slot-games__btn-tertiary:hover {
  background-color: var(--page-slot-games-glow-color);
  color: var(--page-slot-games-bg-color);
}

.page-slot-games__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

/* Introduction Section */
.page-slot-games__introduction .page-slot-games__container {
  text-align: center;
}

/* Game Types Section */
.page-slot-games__game-types .page-slot-games__container {
  text-align: center;
}

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

.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__card-bg {
  background-color: var(--page-slot-games-card-bg);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-slot-games__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-slot-games__card-text {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Providers Section */
.page-slot-games__providers .page-slot-games__container {
  text-align: center;
}

.page-slot-games__provider-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__provider-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  max-width: 200px;
  min-width: 150px;
}

.page-slot-games__provider-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Benefits Section */
.page-slot-games__benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-slot-games__benefit-item {
  background-color: var(--page-slot-games-card-bg);
  border-left: 5px solid var(--page-slot-games-glow-color);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__benefit-title {
  font-size: 1.4em;
  color: var(--page-slot-games-gold-color);
  margin-bottom: 10px;
}

/* How-To-Play Section */
.page-slot-games__how-to-play .page-slot-games__container {
  text-align: center;
}

.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-slot-games__step-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.page-slot-games__step-title {
  font-size: 1.3em;
  color: var(--page-slot-games-glow-color);
  margin-bottom: 10px;
  position: relative;
  padding-left: 35px;
}

.page-slot-games__step-title::before {
  content: attr(data-step-number);
  position: absolute;
  left: 0;
  top: -5px;
  background: var(--page-slot-games-btn-gradient);
  color: #ffffff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  font-weight: bold;
}

.page-slot-games__step-list li:nth-child(1) .page-slot-games__step-title::before { content: '1'; }
.page-slot-games__step-list li:nth-child(2) .page-slot-games__step-title::before { content: '2'; }
.page-slot-games__step-list li:nth-child(3) .page-slot-games__step-title::before { content: '3'; }
.page-slot-games__step-list li:nth-child(4) .page-slot-games__step-title::before { content: '4'; }
.page-slot-games__step-list li:nth-child(5) .page-slot-games__step-title::before { content: '5'; }

/* Promotions Section */
.page-slot-games__promotions .page-slot-games__container {
  text-align: center;
}

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

.page-slot-games__promo-card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 250px; /* Adjust height as needed */
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-card h3,
.page-slot-games__promo-card p,
.page-slot-games__promo-card a {
  padding: 0 25px;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: var(--page-slot-games-gold-color);
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-slot-games__promo-description {
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__promo-card .page-slot-games__btn-primary {
  margin: 0 25px 25px 25px;
  align-self: flex-start;
}

.page-slot-games__all-promos-cta {
  margin-top: 40px;
  text-align: center;
}

/* FAQ Section */
.page-slot-games__faq-section .page-slot-games__container {
  text-align: center;
}

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

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-slot-games-text-main);
  background-color: var(--page-slot-games-deep-green);
  border-bottom: 1px solid var(--page-slot-games-divider-color);
}

.page-slot-games__faq-item summary::-webkit-details-marker {
  display: none;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-slot-games-glow-color);
}

.page-slot-games__faq-item[open] summary .page-slot-games__faq-toggle {
  content: '−';
}

.page-slot-games__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: var(--page-slot-games-text-secondary);
  text-align: left;
}

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

/* Conclusion Section */
.page-slot-games__conclusion .page-slot-games__container {
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-image-wrapper {
    max-width: 900px;
  }
  .page-slot-games__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__grid,
  .page-slot-games__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section,
  .page-slot-games__introduction,
  .page-slot-games__game-types,
  .page-slot-games__providers,
  .page-slot-games__benefits,
  .page-slot-games__how-to-play,
  .page-slot-games__promotions,
  .page-slot-games__faq-section,
  .page-slot-games__conclusion {
    padding: 40px 0;
  }

  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-slot-games__tagline {
    font-size: 1.1em;
  }

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

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary {
    width: 100% !important;
    padding: 12px 20px;
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
  }

  .page-slot-games__grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__card-image,
  .page-slot-games__promo-image {
    height: 180px;
  }

  .page-slot-games__provider-logos {
    gap: 20px;
  }

  .page-slot-games__provider-logo {
    height: 60px;
    min-width: 100px;
  }

  .page-slot-games__benefit-list,
  .page-slot-games__step-list {
    grid-template-columns: 1fr;
  }

  .page-slot-games__faq-item summary {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-slot-games__faq-answer {
    padding: 10px 20px 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__promo-card,
  .page-slot-games__provider-logos,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  /* Specific override for hero-section padding-top, as body handles header offset */
  .page-slot-games__hero-section {
    padding-top: 10px !important;
  }

  /* Buttons specific mobile styles */
  .page-slot-games__cta-button,
  .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-left: 15px;
    padding-right: 15px;
  }
  
  .page-slot-games__cta-buttons,
  .page-slot-games__button-group,
  .page-slot-games__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;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
  }
}