/* style/slot-games.css */

/* Custom Colors */
:root {
  --page-slot-games-primary-color: #11A84E;
  --page-slot-games-secondary-color: #22C768;
  --page-slot-games-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-slot-games-card-bg: #11271B;
  --page-slot-games-background: #08160F;
  --page-slot-games-text-main: #F2FFF6;
  --page-slot-games-text-secondary: #A7D9B8;
  --page-slot-games-border: #2E7A4E;
  --page-slot-games-glow: #57E38D;
  --page-slot-games-gold: #F2C14E;
  --page-slot-games-divider: #1E3A2A;
  --page-slot-games-deep-green: #0A4B2C;
}

.page-slot-games {
  background-color: var(--page-slot-games-background);
  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;
}

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

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Adjust as needed for visual balance */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  z-index: 1; /* Ensure content is above image if any overlap issues */
}

.page-slot-games__main-title {
  color: var(--page-slot-games-gold);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

.page-slot-games__hero-description {
  color: var(--page-slot-games-text-main);
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: #ffffff; /* White text for primary button */
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: var(--page-slot-games-gold);
  border: 2px solid var(--page-slot-games-gold);
}

.page-slot-games__btn-secondary:hover {
  background-color: var(--page-slot-games-gold);
  color: var(--page-slot-games-background);
  transform: translateY(-3px);
}

.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);
  font-size: 0.9em;
  padding: 10px 20px;
}

.page-slot-games__btn-tertiary:hover {
  background-color: var(--page-slot-games-primary-color);
  color: #ffffff;
}

.page-slot-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--page-slot-games-gold);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-description {
  font-size: 1.1em;
  color: var(--page-slot-games-text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__benefits-section {
  padding: 60px 0;
}

.page-slot-games__benefits-grid,
.page-slot-games__category-grid,
.page-slot-games__steps-grid,
.page-slot-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px 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: 15px;
  display: block;
}

.page-slot-games__card-title {
  font-size: 1.4em;
  color: var(--page-slot-games-text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-slot-games__how-to-play-section {
  padding: 60px 0;
}

.page-slot-games__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-card .page-slot-games__card-text {
  margin-bottom: 20px;
}

.page-slot-games__providers-section {
  padding: 60px 0;
  background-color: var(--page-slot-games-background);
}

.page-slot-games__providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.page-slot-games__provider-logo img {
  max-width: 100%;
  height: auto;
   /* Limit logo height */
  filter: brightness(0.8) grayscale(0.3); /* Subtle effect, no color change */
  transition: filter 0.3s ease;
}

.page-slot-games__provider-logo img:hover {
  filter: brightness(1) grayscale(0); /* Restore on hover */
}

.page-slot-games__promotions-section {
  padding: 60px 0;
}

.page-slot-games__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-slot-games__faq-section {
  padding: 60px 0;
}

.page-slot-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-slot-games__faq-item {
  background-color: var(--page-slot-games-card-bg);
  border: 1px solid var(--page-slot-games-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;
  cursor: pointer;
  font-weight: bold;
  color: var(--page-slot-games-text-main);
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-slot-games__faq-question:hover {
  background-color: var(--page-slot-games-deep-green);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-slot-games-gold);
}

.page-slot-games__faq-answer {
  padding: 0 25px 18px;
  color: var(--page-slot-games-text-secondary);
  font-size: 0.95em;
}

/* Floating Buttons */
.page-slot-games__floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--page-slot-games-button-gradient);
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  word-wrap: normal;
}

.page-slot-games__floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-slot-games__floating-btn--register {
  right: 20px;
}

.page-slot-games__floating-btn--login {
  right: 180px; /* Adjust based on register button width */
  background: var(--page-slot-games-deep-green);
  border: 1px solid var(--page-slot-games-primary-color);
}

.page-slot-games__floating-btn--login:hover {
  background-color: var(--page-slot-games-primary-color);
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__floating-btn--login {
    right: 160px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-content {
    padding: 20px 15px;
  }

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

  .page-slot-games__hero-description,
  .page-slot-games__section-description,
  .page-slot-games p,
  .page-slot-games li {
    font-size: 1em;
    line-height: 1.6;
  }

  .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;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__benefits-grid,
  .page-slot-games__category-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card-image {
    height: 180px; /* Slightly smaller on mobile */
  }

  .page-slot-games__card {
    padding: 20px;
  }

  .page-slot-games__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-slot-games__providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .page-slot-games__provider-logo img {
    
  }

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

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

  .page-slot-games__floating-btn {
    padding: 10px 20px;
    bottom: 15px;
    right: 15px;
    font-size: 0.9em;
  }

  .page-slot-games__floating-btn--login {
    right: 15px;
    bottom: 70px; /* Stack login above register */
  }

  /* Image and Video Responsive Fixes */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-slot-games video,
  .page-slot-games__video {
    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__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-slot-games__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-slot-games__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }
}