/* style/slot-games.css */

/* Base styles for the page content */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

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

.page-slot-games__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter than body for contrast */
  color: #ffffff;
}

.page-slot-games__section-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-slot-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  border-radius: 2px;
}

.page-slot-games__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.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: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
  max-width: 100%;
  box-sizing: border-box;
  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: #1d8ac2;
  border-color: #1d8ac2;
}

.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;
}

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px; /* Adjusted padding-top for header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a1a1a);
}

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

.page-slot-games__hero-title {
  font-size: 3.8em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-slot-games__hero-image-wrapper {
  margin-top: 50px;
  width: 100%;
  max-width: 1000px; /* Adjust max-width for display */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

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

/* Introduction Section */
.page-slot-games__introduction .page-slot-games__image-content {
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  height: auto;
}

/* Game Types Section */
.page-slot-games__game-types .page-slot-games__section-title {
  color: #ffffff;
}

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

.page-slot-games__card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-slot-games__card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.page-slot-games__card-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

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

.page-slot-games__feature-item {
  text-align: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-slot-games__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-slot-games__feature-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-slot-games__features .page-slot-games__image-content {
  margin-top: 60px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  height: auto;
}

/* How to Play Section */
.page-slot-games__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__steps-list li {
  counter-increment: step-counter;
  margin-bottom: 30px;
  padding-left: 60px;
  position: relative;
  color: #f0f0f0;
}

.page-slot-games__steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #26A9E0;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  font-weight: bold;
}

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

.page-slot-games__steps-list li p a {
  color: #EA7C07; /* Login color */
  text-decoration: underline;
}

.page-slot-games__steps-list li p a:hover {
  color: #ff9933;
}

.page-slot-games__how-to-play .page-slot-games__image-content {
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  height: auto;
}

/* Promotions Section */
.page-slot-games__promotion-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__promotion-list li {
  background-color: rgba(255, 255, 255, 0.08);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #f0f0f0;
}

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

.page-slot-games__promotion-cta {
  margin-top: 40px;
}

.page-slot-games__promotions .page-slot-games__image-content {
  margin-top: 60px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 1200px;
  height: auto;
}

/* Security Section */
.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-slot-games__security-list li {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-slot-games__security .page-slot-games__image-content {
  margin-top: 60px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  height: auto;
}

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

.page-slot-games__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-slot-games__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-slot-games__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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: #f0f0f0;
}

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

/* Conclusion Section */
.page-slot-games__conclusion .page-slot-games__text-block a {
  color: #EA7C07;
  text-decoration: underline;
}

.page-slot-games__conclusion .page-slot-games__text-block a:hover {
  color: #ff9933;
}

.page-slot-games__conclusion .page-slot-games__cta-buttons {
  margin-top: 40px;
}

/* Image specific styles */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* Center images */
}

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

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding: 80px 0 40px;
  }
  .page-slot-games__hero-title {
    font-size: 2.5em;
  }
  .page-slot-games__hero-description {
    font-size: 1em;
  }
  .page-slot-games__section {
    padding: 60px 0;
  }
  .page-slot-games__section-title {
    font-size: 2em;
  }
  .page-slot-games__text-block {
    font-size: 0.95em;
  }
  .page-slot-games__cards-grid,
  .page-slot-games__features-grid,
  .page-slot-games__security-list {
    grid-template-columns: 1fr;
  }
  .page-slot-games__card-image {
    height: 180px;
  }
  .page-slot-games__steps-list li {
    padding-left: 50px;
  }
  .page-slot-games__steps-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.1em;
  }
  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: calc(100% - 20px); /* Full width with margin */
    margin: 10px 0;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-slot-games__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-slot-games__image-content,
  .page-slot-games__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-slot-games__section,
  .page-slot-games__card,
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__hero-content,
  .page-slot-games__hero-image-wrapper,
  .page-slot-games__cta-buttons,
  .page-slot-games__promotion-cta,
  .page-slot-games__faq-list,
  .page-slot-games__faq-item,
  .page-slot-games__faq-question,
  .page-slot-games__faq-answer,
  .page-slot-games__steps-list,
  .page-slot-games__promotion-list,
  .page-slot-games__security-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  .page-slot-games__hero-cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-slot-games__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile video section padding */
  }
}