/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: #121212; /* Matching body background from shared.css */
  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: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #E0B400; /* Gold for main titles */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Banner Section */
.page-slot-games__hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Use CSS variable for header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #0A2342 0%, #121212 100%); /* Dark blue to body background */
  overflow: hidden;
  text-align: center;
}

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

.page-slot-games__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #E0B400; /* Gold for main title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-slot-games__intro-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f8f8f8;
  line-height: 1.5;
}

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

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

.page-slot-games__btn-primary {
  background-color: #E0B400; /* Gold background */
  color: #0A2342; /* Dark blue text */
  border: 2px solid #E0B400;
}

.page-slot-games__btn-primary:hover {
  background-color: #ffc800;
  border-color: #ffc800;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(224, 180, 0, 0.4);
}

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #E0B400; /* Gold text */
  border: 2px solid #E0B400;
}

.page-slot-games__btn-secondary:hover {
  background-color: #E0B400;
  color: #0A2342;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(224, 180, 0, 0.4);
}

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

.page-slot-games__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtly blend with background */
  display: block;
}

/* Features Section */
.page-slot-games__features-section {
  padding: 80px 0;
  background-color: #121212;
}

.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: rgba(255, 255, 255, 0.08); /* Subtle light background on dark */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(224, 180, 0, 0.2);
}

.page-slot-games__feature-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #E0B400;
}

.page-slot-games__feature-icon {
  margin-bottom: 20px;
  display: inline-block;
  background-color: #E0B400;
  border-radius: 50%;
  padding: 10px;
}

.page-slot-games__feature-icon img {
  
  
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.page-slot-games__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #E0B400;
}

.page-slot-games__feature-description {
  font-size: 16px;
  color: #cccccc;
}

/* Game Providers Section */
.page-slot-games__game-providers-section {
  padding: 80px 0;
  background-color: #0A2342;
}

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

.page-slot-games__provider-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games__provider-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-slot-games__provider-card img {
  
  
  object-fit: contain;
  margin: 0 auto 15px auto;
  display: block;
}

.page-slot-games__provider-name {
  font-size: 20px;
  font-weight: bold;
  color: #E0B400;
  margin-bottom: 10px;
}

.page-slot-games__provider-description {
  font-size: 14px;
  color: #cccccc;
}

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

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

.page-slot-games__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(224, 180, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #E0B400;
  margin-bottom: 20px;
  background-color: rgba(224, 180, 0, 0.15);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #E0B400;
}

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

.page-slot-games__step-description {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-slot-games__step-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-top: auto; /* Push image to bottom if content above is shorter */
  width: 400px; /* Specific width for layout */
  height: 300px; /* Specific height for layout */
  object-fit: cover;
}

.page-slot-games__how-to-play-cta {
  margin-top: 60px;
  text-align: center;
}

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

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

.page-slot-games__tip-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-slot-games__tip-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #E0B400;
}

.page-slot-games__tip-description {
  font-size: 16px;
  color: #cccccc;
}

.page-slot-games__tip-description a {
  color: #E0B400;
  text-decoration: underline;
}

.page-slot-games__tip-description a:hover {
  color: #ffc800;
}

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

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(224, 180, 0, 0.2);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-slot-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #E0B400;
  pointer-events: none;
}

.page-slot-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #E0B400;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect */
  color: #ffffff;
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-slot-games__faq-answer p {
  font-size: 16px;
  color: #cccccc;
  margin: 0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important; /* Ensure it expands sufficiently */
  padding: 20px 25px !important;
  opacity: 1;
}

/* Promotions CTA Section */
.page-slot-games__promotions-cta {
  padding: 80px 0;
  background-color: #0A2342;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 42px;
  }

  .page-slot-games__intro-description {
    font-size: 18px;
  }

  .page-slot-games__section-title {
    font-size: 32px;
  }

  .page-slot-games__section-description {
    font-size: 16px;
  }

  .page-slot-games__features-grid,
  .page-slot-games__providers-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__tips-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__provider-name,
  .page-slot-games__step-title,
  .page-slot-games__tip-title {
    font-size: 20px;
  }

  .page-slot-games__faq-question h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 0 15px;
  }

  .page-slot-games__hero-banner {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

  .page-slot-games__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-slot-games__intro-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

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

  .page-slot-games__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-slot-games__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-slot-games__features-section,
  .page-slot-games__game-providers-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__faq-section,
  .page-slot-games__promotions-cta {
    padding: 50px 0;
  }

  .page-slot-games__features-grid,
  .page-slot-games__providers-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__tips-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__feature-card,
  .page-slot-games__provider-card,
  .page-slot-games__step-card,
  .page-slot-games__tip-item {
    padding: 25px;
  }

  .page-slot-games__feature-icon img {
    
    
  }

  .page-slot-games__feature-title,
  .page-slot-games__provider-name,
  .page-slot-games__step-title,
  .page-slot-games__tip-title {
    font-size: 20px;
  }

  .page-slot-games__step-number {
    font-size: 40px;
    width: 70px;
    height: 70px;
  }

  .page-slot-games__step-card img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

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

  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px !important;
  }

  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

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

  .page-slot-games__hero-image-container,
  .page-slot-games__hero-banner {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  /* Ensure all containers with images are constrained */
  .page-slot-games__features-section,
  .page-slot-games__game-providers-section,
  .page-slot-games__how-to-play-section,
  .page-slot-games__tips-section,
  .page-slot-games__faq-section,
  .page-slot-games__promotions-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__cta-buttons,
  .page-slot-games__how-to-play-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__main-title {
    font-size: 28px;
  }

  .page-slot-games__intro-description {
    font-size: 15px;
  }

  .page-slot-games__section-title {
    font-size: 24px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    font-size: 15px;
    padding: 10px 15px;
  }
}