/* 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); /* Deep dark green 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__section-title {
  font-size: 2.5em;
  color: var(--page-slot-games-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-slot-games__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--page-slot-games-text-secondary);
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Max height for the image wrapper */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-slot-games__hero-content {
  position: relative; /* Ensure content is above other elements but not overlapping image */
  z-index: 2;
  max-width: 900px;
  margin-top: -50px; /* Pull content up slightly, but not over image */
}

.page-slot-games__main-title {
  font-size: 3.2em;
  font-weight: 800;
  color: var(--page-slot-games-gold);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-slot-games__description {
  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;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  text-align: center;
}

.page-slot-games__btn-primary {
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-slot-games__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 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);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.2);
}

.page-slot-games__btn-secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.4);
}

/* Section Styling */
.page-slot-games__intro-section,
.page-slot-games__types-section,
.page-slot-games__popular-games-section,
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-secondary);
}

.page-slot-games__benefits-section,
.page-slot-games__how-to-play-section,
.page-slot-games__promotions-section,
.page-slot-games__cta-section {
  padding: 80px 0;
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__dark-section {
  background-color: var(--page-slot-games-deep-green);
  color: var(--page-slot-games-text-main);
}

.page-slot-games__light-bg {
  background-color: var(--page-slot-games-background);
  color: var(--page-slot-games-text-secondary);
}

/* Card Styles */
.page-slot-games__card {
  background-color: var(--page-slot-games-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-slot-games__card-image {
  width: 100%;
  max-width: 400px;
  height: 267px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-slot-games__card-title a {
  color: var(--page-slot-games-gold);
  text-decoration: none;
}

.page-slot-games__card-title a:hover {
  text-decoration: underline;
}

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

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

/* List Styles */
.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__list-item {
  background-color: var(--page-slot-games-card-bg);
  border-left: 5px solid var(--page-slot-games-primary-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

/* Steps List */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  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);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--page-slot-games-text-main);
}

.page-slot-games__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--page-slot-games-button-gradient);
  color: var(--page-slot-games-text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  border: 3px solid var(--page-slot-games-deep-green);
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

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

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

.page-slot-games__step-item .page-slot-games__btn-primary,
.page-slot-games__step-item .page-slot-games__btn-secondary {
  margin-top: auto;
  width: auto; /* Allow buttons to size based on content */
  max-width: 100%;
}

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

.page-slot-games__game-card .page-slot-games__card-image {
  height: 200px; /* Adjust height for game cards */
}

.page-slot-games__cta-center {
  text-align: center;
}

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

.page-slot-games__promo-item {
  background-color: var(--page-slot-games-card-bg);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--page-slot-games-text-main);
}

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

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

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  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);
  transition: background-color 0.3s ease;
}

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

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

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

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

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

.page-slot-games__faq-answer a {
  color: var(--page-slot-games-secondary-color);
  text-decoration: underline;
}

/* Details element specific styling for FAQ */
.page-slot-games__faq-item[open] > .page-slot-games__faq-question {
  background-color: var(--page-slot-games-primary-color);
  border-bottom: 1px solid var(--page-slot-games-primary-color);
}

.page-slot-games__faq-item summary {
  list-style: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 2.8em;
  }
  .page-slot-games__description {
    font-size: 1.2em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 10px 15px 40px; /* Adjust padding for mobile */
  }
  .page-slot-games__hero-content {
    margin-top: -30px;
  }
  .page-slot-games__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-slot-games__description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-slot-games__intro-section,
  .page-slot-games__benefits-section,
  .page-slot-games__types-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }

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

  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-slot-games__text-block {
    font-size: 0.95em;
  }

  .page-slot-games__benefits-grid,
  .page-slot-games__steps-list,
  .page-slot-games__game-grid,
  .page-slot-games__promo-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .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__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;
  }
  
  .page-slot-games__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-slot-games__faq-answer {
    padding: 0 20px 10px;
  }

  /* Ensure content area images are responsive */
  .page-slot-games__content-area img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Video specific mobile styles - if any video is added */
  .page-slot-games video,
  .page-slot-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__video-section,
  .page-slot-games__video-container,
  .page-slot-games__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.7em;
  }
  .page-slot-games__section-title {
    font-size: 1.5em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 0.95em;
  }
}

/* Text contrast fix for specific links if needed, though color is already good */
.page-slot-games__text-contrast-fix {
  color: var(--page-slot-games-text-main) !important; /* Ensure light text on dark background */
}