/* style/slot-games.css */
.page-slot-games {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000000; /* Body background color from shared.css */
}

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

.page-slot-games__section {
  padding: 60px 0;
  text-align: center;
}

.page-slot-games__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter than pure black for contrast */
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #1a1a1a; /* Dark gray for sections with 'light' styling */
  color: #f0f0f0;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand color for titles */
  margin-bottom: 20px;
  font-weight: bold;
}

.page-slot-games__section-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
}

.page-slot-games__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-slot-games__hero-video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.page-slot-games__hero-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-slot-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-slot-games__hero-content {
  max-width: 900px;
  color: #ffffff;
  padding: 20px;
}

.page-slot-games__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF; /* White for hero title on dark overlay */
}

.page-slot-games__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary,
.page-slot-games__btn-tertiary,
.page-slot-games__btn-link {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  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: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-slot-games__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-slot-games__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-slot-games__btn-tertiary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-slot-games__btn-tertiary:hover {
  background-color: #be6406;
  border-color: #be6406;
}

.page-slot-games__btn-link {
    background: none;
    border: none;
    color: #26A9E0;
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
    margin-top: 10px;
}

.page-slot-games__btn-link:hover {
    color: #1e87b8;
}

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

.page-slot-games__feature-card {
  background-color: #000000; /* Darker background for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #f0f0f0;
}

.page-slot-games__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__feature-description {
  font-size: 1em;
  color: #cccccc;
}

/* Game Grid */
.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: #000000;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #f0f0f0;
}

.page-slot-games__game-image {
  width: 100%;
  height: 250px; /* Fixed height for game images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games__game-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

/* How-to-Play Steps */
.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-item {
  background-color: #000000;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #f0f0f0;
}

.page-slot-games__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-slot-games__step-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-slot-games__step-description {
  font-size: 1em;
  color: #cccccc;
}

.page-slot-games__cta-bottom {
    margin-top: 60px;
    padding: 40px;
    background-color: #0d0d0d;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-slot-games__cta-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-slot-games__cta-text {
    font-size: 1.2em;
    color: #ffffff;
    max-width: 700px;
}

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

.page-slot-games__promo-card {
  background-color: #000000;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #f0f0f0;
}

.page-slot-games__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for promo images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-slot-games__promo-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-slot-games__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

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

.page-slot-games__promo-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-slot-games__cta-full-width {
    margin-top: 40px;
}

/* Security Section */
.page-slot-games__security .page-slot-games__section-text {
    margin-bottom: 20px;
}

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

/* FAQ Section */
.page-slot-games__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__faq-item {
  background-color: #000000; /* Darker background for FAQ items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background-color: #0d0d0d;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-slot-games__faq-item.active .page-slot-games__faq-toggle {
  transform: rotate(45deg);
}

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #cccccc;
  background-color: #000000;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 1000px !important; /* Use !important to ensure it overrides */
  padding: 15px 25px;
}

.page-slot-games__faq-answer p {
  margin-bottom: 10px;
  font-size: 1em;
  color: #cccccc;
}

.page-slot-games__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

/* Final CTA Section */
.page-slot-games__cta-final {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-slot-games__cta-final .page-slot-games__section-title {
  color: #ffffff;
  font-size: 3em;
}

.page-slot-games__cta-final .page-slot-games__section-text {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-slot-games__cta-final .page-slot-games__btn-primary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-slot-games__cta-final .page-slot-games__btn-primary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-slot-games__hero-title {
    font-size: 3em;
  }
  .page-slot-games__hero-description {
    font-size: 1.2em;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-slot-games__hero-title {
    font-size: 2.2em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary,
  .page-slot-games__btn-tertiary,
  .page-slot-games__btn-link {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-slot-games__container,
  .page-slot-games__section,
  .page-slot-games__feature-card,
  .page-slot-games__game-card,
  .page-slot-games__step-item,
  .page-slot-games__promo-card,
  .page-slot-games__faq-item,
  .page-slot-games__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

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

  .page-slot-games__cta-center {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__cta-final .page-slot-games__section-title {
    font-size: 2.5em;
  }

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

  .page-slot-games video,
  .page-slot-games__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-slot-games__hero-video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .page-slot-games__hero-video {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    object-fit: contain;
  }
}

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