/* style/slot-games.css */

/* Variables */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --login-color: #EA7C07;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark: #26A9E0;
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--bg-light);
}

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

.page-slot-games__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-slot-games__highlight {
  color: var(--primary-color);
  font-weight: bold;
}

/* Section styles */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  min-height: 600px;
  overflow: hidden;
  color: var(--text-light);
}

.page-slot-games__dark-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

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

.page-slot-games__hero-content {
  max-width: 600px;
  text-align: center;
  z-index: 1;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-slot-games__btn-primary {
  background-color: var(--login-color); /* Using login color for primary action */
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-slot-games__btn-primary:hover {
  background-color: #d16b06;
  border-color: #d16b06;
}

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

.page-slot-games__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.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; /* Subtle overlay for text readability */
}

.page-slot-games__introduction-section,
.page-slot-games__game-types-section,
.page-slot-games__providers-section,
.page-slot-games__faq-section,
.page-slot-games__cta-section {
  padding: 80px 0;
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.page-slot-games__feature-icon {
  width: 150px; /* Min 200x200px image, displaying smaller for icon */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-slot-games__feature-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--text-light);
}

.page-slot-games__feature-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
}

/* Video Section */
.page-slot-games__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
}

.page-slot-games__video-caption {
  text-align: center;
  margin-top: 20px;
  font-style: italic;
  color: var(--text-dark);
}

/* Game Types & Providers Sections */
.page-slot-games__game-list,
.page-slot-games__provider-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

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

.page-slot-games__list-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-slot-games__list-description {
  font-size: 1em;
  color: var(--text-dark);
}

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

.page-slot-games__provider-item {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px 25px;
  border-radius: 5px;
  font-weight: bold;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.page-slot-games__provider-item:hover {
  transform: translateY(-3px);
}

.page-slot-games__content-image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
}

.page-slot-games__faq-item {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  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;
  background-color: #f9f9f9;
  font-weight: bold;
  color: var(--text-dark);
  transition: background-color 0.3s ease;
}

.page-slot-games__faq-question:hover {
  background-color: #f0f0f0;
}

.page-slot-games__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg); /* Changes '+' to 'x' or similar */
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* CTA Section */
.page-slot-games__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-slot-games__cta-button {
  margin-top: 30px;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

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

  .page-slot-games__hero-description {
    font-size: 1.1em;
  }

  .page-slot-games__section-title {
    font-size: 2em;
  }

  .page-slot-games__feature-icon {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-slot-games__hero-content {
    max-width: 100%;
    padding: 0;
  }

  .page-slot-games__hero-title {
    font-size: 2.2em;
  }

  .page-slot-games__hero-description {
    font-size: 1em;
  }

  .page-slot-games__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__hero-image-wrapper {
    display: none; /* Hide hero image on small screens if it obstructs content */
  }

  .page-slot-games__section-title {
    font-size: 1.8em;
  }

  .page-slot-games__introduction-section,
  .page-slot-games__game-types-section,
  .page-slot-games__providers-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 50px 0;
  }

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

  .page-slot-games__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-slot-games__feature-icon {
    width: 100px;
    height: 100px;
  }

  /* Image responsive for mobile */
  .page-slot-games img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video responsive for mobile */
  .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;
  }

  /* All content containers for mobile */
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__provider-list {
    flex-direction: column;
    align-items: center;
  }

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

  .page-slot-games__faq-question h3 {
    font-size: 1.1em;
  }

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-slot-games__hero-title {
    font-size: 1.8em;
  }

  .page-slot-games__section-title {
    font-size: 1.5em;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-slot-games__feature-icon {
    width: 80px;
    height: 80px;
  }
}