.page-slot-games {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  max-width: 100%;
  overflow-x: hidden;
}

.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 15px 40px;
  text-align: center;
  max-width: 1390px;
  margin: 0 auto;
}

.page-slot-games__hero-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/5; /* Matches 1920x600 */
  object-fit: cover;
  object-position: center;
  filter: none; /* Ensure no color filters */
}

.page-slot-games__hero-content {
  padding-top: 30px;
  max-width: 900px;
  width: 100%;
}

.page-slot-games__main-title {
  font-weight: bold;
  color: #F2C14E;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
}

.page-slot-games__hero-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
  border: none;
  cursor: pointer;
}

.page-slot-games__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-slot-games__section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #F2C14E;
  text-align: center;
  margin: 60px auto 40px;
  padding-bottom: 10px;
  position: relative;
  max-width: 900px;
  text-shadow: 0 0 5px rgba(255, 211, 107, 0.3);
}

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

.page-slot-games__introduction-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 15px;
}

.page-slot-games__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-slot-games__content-wrapper p {
  font-size: 1rem;
  color: #FFF6D6;
  text-align: justify;
  max-width: 800px;
}

.page-slot-games__image-container {
  width: 100%;
  max-width: 800px;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-slot-games__image-container img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
  filter: none; /* Ensure no color filters */
}

.page-slot-games__image-caption {
  background-color: #111111;
  padding: 10px 15px;
  font-size: 0.9rem;
  color: #FFD36B;
  text-align: center;
}

.page-slot-games__secondary-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #111111;
  color: #FFD36B;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid #3A2A12;
}

.page-slot-games__secondary-button:hover {
  background-color: #3A2A12;
  color: #F2C14E;
}

.page-slot-games__features-section {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 15px;
}

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

.page-slot-games__feature-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-slot-games__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 211, 107, 0.3);
}

.page-slot-games__card-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-slot-games__feature-card p {
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-slot-games__cta-section {
  background-color: #111111;
  padding: 60px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
  max-width: 100%; /* Ensure it doesn't overflow */
}

.page-slot-games__cta-content {
  max-width: 800px;
}

.page-slot-games__cta-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: #FFD36B;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-slot-games__cta-description {
  font-size: 1.1rem;
  color: #FFF6D6;
  margin-bottom: 30px;
}

.page-slot-games__cta-image-container {
  width: 100%;
  max-width: 600px;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-slot-games__cta-image-container img {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
  filter: none; /* Ensure no color filters */
}

/* Responsive adjustments */
@media (min-width: 769px) {
  .page-slot-games__hero-section {
    flex-direction: column;
    text-align: center;
    padding-bottom: 60px;
  }
  .page-slot-games__introduction-section .page-slot-games__content-wrapper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }
  .page-slot-games__content-wrapper p {
    text-align: left;
    flex: 1;
  }
  .page-slot-games__content-wrapper p:first-of-type {
    margin-right: 30px;
  }
  .page-slot-games__image-container {
    flex-shrink: 0;
    max-width: 400px;
    margin-top: 0;
  }
  .page-slot-games__cta-section {
    flex-direction: row;
    justify-content: center;
    gap: 60px;
    padding: 80px 15px;
  }
  .page-slot-games__cta-content {
    text-align: left;
  }
  .page-slot-games__cta-image-container {
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding: 15px 10px 30px;
  }
  .page-slot-games__hero-description {
    font-size: 1rem;
  }
  .page-slot-games__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
  .page-slot-games__section-title {
    margin: 40px auto 30px;
  }
  .page-slot-games__content-wrapper p {
    text-align: left;
  }
  .page-slot-games__feature-card {
    padding: 20px;
  }
  .page-slot-games__cta-section {
    padding: 40px 10px;
  }
  .page-slot-games__cta-description {
    font-size: 1rem;
  }
  /* Mobile image overflow prevention */
  .page-slot-games img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 549px) {
  .page-slot-games__main-title {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
  .page-slot-games__hero-description {
    font-size: 0.95rem;
  }
  .page-slot-games__section-title {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }
  .page-slot-games__content-wrapper p {
    font-size: 0.9rem;
  }
  .page-slot-games__feature-grid {
    grid-template-columns: 1fr;
  }
  .page-slot-games__card-title {
    font-size: 1.2rem;
  }
  .page-slot-games__feature-card p {
    font-size: 0.9rem;
  }
  .page-slot-games__cta-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
  .page-slot-games__cta-description {
    font-size: 0.95rem;
  }
}