/* style/slot-games.css */

/* Base styles for the page-slot-games scope */
.page-slot-games {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Explicitly setting for clarity, body is default white */
  line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  overflow: hidden; /* Ensure content doesn't overflow */
}

.page-slot-games__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for large screens */
  overflow: hidden;
}

.page-slot-games__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-slot-games__hero-content {
  position: relative; /* Not absolute to overlap image */
  max-width: 900px;
  padding: 40px 20px;
  margin-top: -80px; /* Pull content slightly over image, but not covering text */
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for text readability */
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  z-index: 10;
}

.page-slot-games__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-slot-games__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  justify-content: center;
  gap: 20px;
}

.page-slot-games__cta-buttons--center {
  margin-top: 30px;
}

/* General Sections */
.page-slot-games__section {
  padding: 60px 0;
}

.page-slot-games__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-slot-games__sub-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-slot-games__paragraph,
.page-slot-games__text-block {
  font-size: 1em;
  color: #333333;
  margin-bottom: 20px;
}

.page-slot-games__text-center {
  text-align: center;
}

.page-slot-games__link {
  color: #26A9E0;
  text-decoration: underline;
}

/* Image and Text Grid */
.page-slot-games__image-and-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-slot-games__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

.page-slot-games__image-center {
  margin: 40px auto;
}

/* 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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

.page-slot-games__game-trial-frame {
  width: 100%;
  border: none;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Ensure iframe is not too small */
}

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

.page-slot-games__step-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-slot-games__step-number {
  font-size: 2.5em;
  color: #26A9E0;
  font-weight: bold;
  margin-bottom: 15px;
  background: #f0f8ff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-slot-games__step-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Promotions Section - CTA buttons are already handled by general .page-slot-games__cta-buttons */

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

.page-slot-games__faq-item {
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #e0e0e0;
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
}

.page-slot-games__faq-item[open] .page-slot-games__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

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

.page-slot-games__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  color: #555555;
}

.page-slot-games__faq-answer p {
  margin: 0;
}

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

/* Buttons */
.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  display: inline-flex; /* Use inline-flex for better button alignment */
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-slot-games__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

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

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

.page-slot-games__btn-small {
  padding: 8px 20px;
  font-size: 0.9em;
  min-width: unset;
}

.page-slot-games__btn-large {
  padding: 15px 40px;
  font-size: 1.2em;
  min-width: 220px;
}

/* Color Contrast Specifics */
.page-slot-games__dark-bg {
  background: #26A9E0; /* Main brand color as background */
  color: #ffffff; /* White text for contrast */
}

.page-slot-games__dark-bg .page-slot-games__section-title,
.page-slot-games__dark-bg .page-slot-games__sub-title,
.page-slot-games__dark-bg .page-slot-games__step-title {
  color: #ffffff;
}

.page-slot-games__dark-bg .page-slot-games__step-number {
  background: rgba(255, 255, 255, 0.2); /* Lighter background for number */
  color: #ffffff;
}

.page-slot-games__dark-bg .page-slot-games__link {
  color: #ffffff;
}

.page-slot-games__light-bg {
  background: #ffffff; /* Default white background */
  color: #333333; /* Dark text for contrast */
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-slot-games__image-and-text-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-slot-games__hero-image-wrapper {
    max-height: 500px; /* Adjust height for desktop hero image */
  }
}

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

  /* All images */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All image containers */
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__image-and-text-grid,
  .page-slot-games__game-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__faq-list,
  .page-slot-games__hero-section,
  .page-slot-games__section,
  .page-slot-games__game-card,
  .page-slot-games__step-item,
  .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Important for preventing overflow */
  }

  /* Video related (if any, though not explicitly in HTML for this page) */
  .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;
  }
  .page-slot-games__video-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
  }

  /* All buttons */
  .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;
    padding-right: 15px;
    margin: 0 auto; /* Center single buttons */
  }
  
  /* Button containers */
  .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-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important; /* Adjust gap for stacked buttons */
  }

  .page-slot-games__hero-content {
    margin-top: -40px; /* Less overlap on mobile */
    padding: 30px 15px;
  }

  .page-slot-games__main-title {
    font-size: 2em; /* Smaller H1 on mobile */
  }

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

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

  .page-slot-games__section {
    padding: 40px 0;
  }

  .page-slot-games__game-grid {
    grid-template-columns: 1fr; /* Stack game cards */
  }
  
  .page-slot-games__steps-grid {
    grid-template-columns: 1fr; /* Stack steps */
  }

  .page-slot-games__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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