/* style/slot-games.css */

/* Base styles and color scheme */
.page-slot-games {
  background-color: #08160F; /* Background color */
  color: #F2FFF6; /* Main text color */
  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;
}

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #F2C14E; /* Gold color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__section-description {
  font-size: 18px;
  color: #A7D9B8; /* Secondary text color */
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px; /* Minimum height for hero */
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  overflow: hidden;
}

.page-slot-games__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim the image for text readability */
}

.page-slot-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.page-slot-games__main-title {
  color: #F2FFF6; /* Main text color for H1 */
  font-size: clamp(36px, 5vw, 64px); /* Responsive font size for H1 */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: clamp(18px, 2vw, 24px);
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-slot-games__cta-button--centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

/* Why Choose Section */
.page-slot-games__why-choose-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__feature-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__feature-title {
  font-size: 24px;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-description {
  font-size: 16px;
  color: #A7D9B8; /* Secondary text color */
}

/* Popular Games Section */
.page-slot-games__popular-games-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

.page-slot-games__game-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 200px; /* Fixed height for thumbnails */
  object-fit: cover;
  display: block;
}

.page-slot-games__game-title {
  font-size: 22px;
  color: #F2C14E; /* Gold color */
  margin: 20px 20px 10px 20px;
  font-weight: bold;
}

.page-slot-games__game-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__game-link:hover {
  color: #57E38D; /* Glow color on hover */
}

.page-slot-games__game-provider {
  font-size: 15px;
  color: #A7D9B8; /* Secondary text color */
  margin: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-slot-games__game-button {
  display: block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px; /* Rounded bottom corners */
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

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

.page-slot-games__step-title {
  font-size: 24px;
  color: #F2C14E; /* Gold color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__step-description {
  font-size: 16px;
  color: #A7D9B8; /* Secondary text color */
}

/* Tips Section */
.page-slot-games__tips-section {
  padding: 80px 0;
  background-color: #08160F;
}

.page-slot-games__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-slot-games__tip-item {
  background-color: #11271B;
  padding: 20px 30px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #2E7A4E;
  font-size: 18px;
  color: #F2FFF6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__tip-item strong {
  color: #F2C14E; /* Gold for strong text */
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-slot-games__promo-item {
  background-color: #11271B;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  color: #F2FFF6;
}

.page-slot-games__promo-item strong {
  color: #57E38D; /* Glow color for strong text */
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 80px 0;
  background-color: #08160F;
}

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

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

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #F2FFF6; /* Main text color */
  cursor: pointer;
  background-color: #1E3A2A; /* Slightly darker for summary */
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker */
}

.page-slot-games__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for webkit */
}

.page-slot-games__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green on hover */
}

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

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

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

.page-slot-games__faq-answer {
  padding: 20px;
  font-size: 16px;
  color: #A7D9B8; /* Secondary text color */
  background-color: #11271B; /* Card BG */
  border-top: 1px solid #2E7A4E;
}

/* Final CTA Section */
.page-slot-games__final-cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

  .page-slot-games__main-title {
    font-size: clamp(28px, 6vw, 48px);
  }

  .page-slot-games__hero-description {
    font-size: clamp(16px, 3vw, 20px);
  }

  .page-slot-games__cta-button {
    font-size: 18px;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-slot-games__cta-button--centered {
    margin-left: 0;
    margin-right: 0;
  }

  .page-slot-games__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  .page-slot-games__section-description,
  .page-slot-games__feature-description,
  .page-slot-games__game-provider,
  .page-slot-games__step-description,
  .page-slot-games__tip-item,
  .page-slot-games__promo-item,
  .page-slot-games__faq-answer {
    font-size: 15px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__game-title,
  .page-slot-games__step-title,
  .page-slot-games__faq-question {
    font-size: 18px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__steps-list,
  .page-slot-games__promo-list {
    grid-template-columns: 1fr;
  }

  .page-slot-games__game-thumbnail {
    height: 180px;
  }

  /* Mobile specific padding for content sections */
  .page-slot-games__why-choose-section,
  .page-slot-games__popular-games-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__promotions-section,
  .page-slot-games__faq-section,
  .page-slot-games__final-cta-section {
    padding: 40px 0;
  }

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

  /* Image responsiveness */
  .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__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__step-item,
  .page-slot-games__promo-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* Buttons within flex containers */
  .page-slot-games__button-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}