/* Base Styles for page-slot-games */
.page-slot-games {
  background: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for first section to prevent header overlap */
}

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

.page-slot-games__section-title {
  font-size: clamp(28px, 4vw, 38px);
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-slot-games__text-block {
  font-size: 16px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

/* Hero Section */
.page-slot-games__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
  overflow: hidden;
}

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

.page-slot-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 30px 15px;
  max-width: 900px;
  background: rgba(17, 17, 17, 0.8);
  border-radius: 10px;
  margin-top: -80px; /* Overlap image slightly */
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.page-slot-games__main-title {
  font-size: clamp(32px, 5vw, 48px);
  color: #FFD36B; /* Glow color */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.page-slot-games__hero-description {
  font-size: 18px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-slot-games__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E; /* Border color */
}

.page-slot-games__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
  transform: translateY(-2px);
}

/* Intro Section */
.page-slot-games__intro-section {
  padding: 60px 0;
  background: #111111; /* Card BG */
  margin-bottom: 40px;
}

.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-item {
  text-align: center;
  padding: 25px;
  background: #1a1a1a;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border: 1px solid #3A2A12; /* Border */
}

.page-slot-games__feature-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__feature-title {
  font-size: 22px;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-slot-games__feature-description {
  font-size: 15px;
  color: #FFF6D6; /* Text Main */
}

/* Game Categories Section */
.page-slot-games__game-categories {
  padding: 60px 0;
}

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

.page-slot-games__game-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-slot-games__game-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__game-title {
  font-size: 20px;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-slot-games__game-description {
  font-size: 15px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__btn-play {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-play:hover {
  opacity: 0.9;
}

/* How to Play Section */
.page-slot-games__how-to-play-section {
  padding: 60px 0;
  background: #0A0A0A;
}

.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 {
  text-align: center;
  background: #111111; /* Card BG */
  padding: 30px 20px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-slot-games__step-icon {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-slot-games__step-title {
  font-size: 22px;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
}

.page-slot-games__step-description {
  font-size: 15px;
  color: #FFF6D6; /* Text Main */
}

.page-slot-games__step-description a {
  color: #FFD36B; /* Glow */
  text-decoration: none;
}

.page-slot-games__step-description a:hover {
  text-decoration: underline;
}

/* Promotions Section */
.page-slot-games__promotions-section {
  padding: 60px 0;
  background: #1a1a1a;
}

.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: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  border: 1px solid #3A2A12; /* Border */
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-slot-games__promo-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-slot-games__promo-title {
  font-size: 20px;
  color: #FFD36B; /* Glow */
  margin-bottom: 10px;
}

.page-slot-games__promo-description {
  font-size: 15px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-slot-games__btn-view-promo {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.page-slot-games__btn-view-promo:hover {
  background: rgba(242, 193, 78, 0.1);
  color: #FFD36B;
}

/* Security Section */
.page-slot-games__security-section {
  padding: 60px 0;
}

.page-slot-games__security-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  border: 1px solid #3A2A12; /* Border */
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 0;
  background: #111111; /* Card BG */
}

.page-slot-games__faq-list {
  margin-top: 40px;
}

details.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question::-webkit-details-marker {
  display: none;
}

details.page-slot-games__faq-item summary.page-slot-games__faq-question:hover {
  background: #2a2a2a;
}

.page-slot-games__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6; /* Text Main */
}

.page-slot-games__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-slot-games__faq-item .page-slot-games__faq-answer {
  padding: 0 20px 20px;
  background: #1a1a1a;
  border-radius: 0 0 5px 5px;
  color: #FFF6D6; /* Text Main */
}

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

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-slot-games__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-image {
    max-height: 350px;
  }
  
  .page-slot-games__hero-content {
    margin-top: -40px;
    padding: 20px 15px;
  }

  .page-slot-games__main-title {
    font-size: 32px;
  }

  .page-slot-games__hero-description {
    font-size: 16px;
  }

  .page-slot-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-slot-games__btn-primary,
  .page-slot-games__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .page-slot-games__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-slot-games__intro-section,
  .page-slot-games__game-categories,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__security-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    padding: 40px 0;
  }

  .page-slot-games__features-grid,
  .page-slot-games__game-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-slot-games__feature-item,
  .page-slot-games__game-card,
  .page-slot-games__step-item,
  .page-slot-games__promo-card {
    padding: 20px;
  }

  .page-slot-games__game-thumbnail,
  .page-slot-games__promo-thumbnail {
    height: 180px;
  }

  .page-slot-games__feature-icon,
  .page-slot-games__step-icon {
    max-width: 100px;
  }

  .page-slot-games__feature-title,
  .page-slot-games__game-title,
  .page-slot-games__step-title,
  .page-slot-games__promo-title {
    font-size: 20px;
  }

  .page-slot-games__feature-description,
  .page-slot-games__game-description,
  .page-slot-games__step-description,
  .page-slot-games__promo-description {
    font-size: 14px;
  }

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-slot-games__container,
  .page-slot-games__hero-section,
  .page-slot-games__intro-section,
  .page-slot-games__game-categories,
  .page-slot-games__how-to-play-section,
  .page-slot-games__promotions-section,
  .page-slot-games__security-section,
  .page-slot-games__faq-section,
  .page-slot-games__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  details.page-slot-games__faq-item summary.page-slot-games__faq-question { padding: 15px; }
  .page-slot-games__faq-qtext { font-size: 15px; }
  details.page-slot-games__faq-item .page-slot-games__faq-answer { padding: 0 15px 15px; }
}