/* style/slot-games.css */

/* Base styles for dark background */
.page-slot-games {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: 'Arial', sans-serif;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  box-sizing: border-box;
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  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 {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 15px;
  max-width: 800px;
  margin-top: -100px; /* Overlap slightly with image for visual flow, but not text on image */
  background-color: rgba(17, 39, 27, 0.9); /* Card B G with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

/* Section Titles and Text Blocks */
.page-slot-games__section-title {
  font-size: 2.2em;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.page-slot-games__text-block {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

/* Video Section */
.page-slot-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  box-sizing: border-box;
}

.page-slot-games__video-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* Ensure it's not inline */
}

/* Game Types Section */
.page-slot-games__game-types {
  padding: 60px 0;
}

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

.page-slot-games__game-card {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-slot-games__card-title {
  font-size: 1.5em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__card-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
  margin-bottom: 25px;
  padding: 0 15px;
}

.page-slot-games__card-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-slot-games__card-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-1px);
}

/* Promotion Section */
.page-slot-games__promotion-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__promo-card {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* How-To-Play Section */
.page-slot-games__how-to-play {
  padding: 60px 0;
}

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

.page-slot-games__step-card {
  background-color: #11271B; /* Card B G */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Tips Section */
.page-slot-games__tips-section {
  padding: 60px 0;
  background-color: #11271B; /* Card B G */
}

.page-slot-games__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-slot-games__list li {
  background-color: #0A4B2C; /* Deep Green */
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1em;
  color: #F2FFF6; /* Text Main */
  line-height: 1.7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #2AD16F;
}

.page-slot-games__list li strong {
  color: #57E38D; /* Glow */
}

/* Benefits Section */
.page-slot-games__benefits-section {
  padding: 60px 0;
}

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

.page-slot-games__benefit-item {
  background-color: #11271B; /* Card B G */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__benefit-title {
  font-size: 1.4em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
}

.page-slot-games__benefit-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__faq-item {
  background-color: #11271B; /* Card B G */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card B G */
  list-style: none;
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

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

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

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

.page-slot-games__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.7;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  background-color: #1E3A2A; /* Divider */
}

/* Final CTA Section */
.page-slot-games__cta-final-section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-slot-games__cta-final-content {
  position: relative;
  z-index: 1;
  background-color: rgba(17, 39, 27, 0.9); /* Card B G with transparency */
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.page-slot-games__cta-final-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 2.5em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__hero-content {
    margin-top: -80px;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-slot-games__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-slot-games__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-slot-games__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-slot-games__text-block {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-slot-games__hero-content {
    margin-top: -60px;
    padding: 10px;
  }

  /* Mobile image, video, button adaptations */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__video-wrapper,
  .page-slot-games__game-card,
  .page-slot-games__promo-card,
  .page-slot-games__step-card,
  .page-slot-games__benefit-item,
  .page-slot-games__cta-final-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .page-slot-games__video-section {
    padding-top: 10px !important;
  }

  .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 !important;
    padding-right: 15px !important;
    margin-bottom: 10px; /* Space out stacked buttons */
  }

  .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;
    flex-direction: column; /* Stack buttons vertically by default */
  }

  .page-slot-games__game-grid,
  .page-slot-games__promotion-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-slot-games__list li {
    padding: 15px;
  }
  .page-slot-games__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px 15px 15px;
  }
  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__game-types,
  .page-slot-games__promotion-section,
  .page-slot-games__how-to-play,
  .page-slot-games__tips-section,
  .page-slot-games__benefits-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-final-section {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 1.8em;
  }
  .page-slot-games__section-title {
    font-size: 1.6em;
  }
  .page-slot-games__hero-content {
    margin-top: -40px;
  }
  .page-slot-games__hero-section {
    padding-bottom: 40px;
  }
  .page-slot-games__cta-button--large {
    font-size: 1em;
  }
}