/* 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: var(--dark-bg-1); /* Inherited from shared.css */
}

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

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

/* Top padding for fixed header */
.page-slot-games__intro-section {
  padding-top: 120px; /* Desktop padding for fixed header */
}

.page-slot-games__dark-section {
  background-color: #0A2E36;
  color: #ffffff;
}

.page-slot-games__main-title {
  font-size: 3.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-slot-games__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  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: #FFD700;
  border-radius: 2px;
}

.page-slot-games__paragraph {
  font-size: 1.1em;
  text-align: justify;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-slot-games__link-inline {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-slot-games__link-inline:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-slot-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
}

.page-slot-games__btn--primary {
  background-color: #FFD700;
  color: #0A2E36;
  border-color: #FFD700;
}

.page-slot-games__btn--primary:hover {
  background-color: #e6c200;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-slot-games__btn--secondary {
  background-color: transparent;
  color: #FFD700;
  border-color: #FFD700;
}

.page-slot-games__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2E36;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

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

/* Hero Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.page-slot-games__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-slot-games__hero-image {
  width: 100%;
  margin: 0;
}

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

/* Why Choose Section */
.page-slot-games__why-choose-section {
  background-color: #1a3a44;
  padding: 60px 0;
  color: #ffffff;
}

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

.page-slot-games__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

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

.page-slot-games__feature-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px; /* Ensure icon container has height for image */
}

.page-slot-games__feature-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-slot-games__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

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

/* Game Types Section */
.page-slot-games__game-types-section {
  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-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-slot-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
}

.page-slot-games__game-title {
  font-size: 1.4em;
  color: #FFD700;
  padding: 15px 20px 5px;
}

.page-slot-games__game-description {
  font-size: 0.95em;
  color: #e0e0e0;
  padding: 0 20px 20px;
}

/* How To Play Section */
.page-slot-games__how-to-play-section {
  background-color: #1a3a44;
  padding: 60px 0;
  color: #ffffff;
}

.page-slot-games__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-slot-games__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
  padding: 25px 30px;
  border-radius: 10px;
  border-left: 5px solid #FFD700;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

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

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

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

.page-slot-games__promo-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-slot-games__promo-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-slot-games__promo-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.page-slot-games__promo-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-slot-games__promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-slot-games__promo-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Security Section */
.page-slot-games__security-section {
  background-color: #1a3a44;
  padding: 60px 0;
  color: #ffffff;
}

.page-slot-games__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-slot-games__security-text {
  flex: 1;
}

.page-slot-games__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-slot-games__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #e0e0e0;
}

.page-slot-games__list-item::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1;
}

.page-slot-games__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__security-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
}

.page-slot-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

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

.page-slot-games__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  color: #FFD700;
  line-height: 1.5;
  pointer-events: none;
}

.page-slot-games__faq-toggle {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

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

.page-slot-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.03);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 2.8em;
  }

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

  .page-slot-games__security-content {
    flex-direction: column;
  }

  .page-slot-games__security-image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-slot-games__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-slot-games__intro-section {
    padding-top: 100px; /* Mobile padding for fixed header */
  }

  .page-slot-games__main-title {
    font-size: 2.2em;
  }

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

  .page-slot-games__paragraph,
  .page-slot-games__feature-description,
  .page-slot-games__game-description,
  .page-slot-games__step-description,
  .page-slot-games__promo-description,
  .page-slot-games__list-item {
    font-size: 0.95em;
  }

  .page-slot-games__btn {
    font-size: 1em;
    padding: 10px 20px;
  }

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

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

  .page-slot-games__hero-image img,
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-slot-games__faq-question h3 {
    font-size: 1.1em;
  }

  .page-slot-games__faq-toggle {
    font-size: 1.8em;
    width: 25px;
    height: 25px;
  }

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

  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px 20px !important;
  }
}

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

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

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