/* style/slot-games.css */

/* Base styles for the slot-games page */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark background */
  background-color: #121212; /* Body background from shared.css */
  line-height: 1.6;
  padding-top: 120px; /* Space for fixed header on desktop */
}

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

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

.page-slot-games__section-title {
  font-size: 38px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold color for main titles */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-slot-games__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #e0e0e0;
}

.page-slot-games__link-inline {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

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

/* Colors for sections based on body background */
.page-slot-games__dark-bg {
  background-color: #1A1A1A;
  color: #ffffff;
}

.page-slot-games__light-bg {
  background-color: #f8f9fa;
  color: #333333;
}

.page-slot-games__light-bg .page-slot-games__section-title,
.page-slot-games__light-bg .page-slot-games__section-description,
.page-slot-games__light-bg h3,
.page-slot-games__light-bg p {
  color: #333333;
}

.page-slot-games__light-bg .page-slot-games__link-inline {
  color: #007bff;
}

.page-slot-games__light-bg .page-slot-games__link-inline:hover {
  color: #0056b3;
}

/* Card styles */
.page-slot-games__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-slot-games__light-bg .page-slot-games__card {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-slot-games__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-slot-games__card h3 {
  font-size: 22px;
  margin-top: 15px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #FFD700;
}

.page-slot-games__light-bg .page-slot-games__card h3 {
  color: #333333;
}

.page-slot-games__card p {
  font-size: 16px;
  line-height: 1.5;
  color: #e0e0e0;
}

.page-slot-games__light-bg .page-slot-games__card p {
  color: #555555;
}

/* Buttons */
.page-slot-games__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-slot-games__btn-primary {
  background-color: #FFD700;
  color: #1A1A1A;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-slot-games__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

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

.page-slot-games__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A1A1A;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-slot-games__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 25px;
  margin-top: auto; /* Push button to bottom of card */
}

/* Hero Banner Section */
.page-slot-games__hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 100px 0;
  text-align: left;
  background: linear-gradient(135deg, #1A1A1A 0%, #000000 100%);
}

.page-slot-games__hero-content {
  flex: 1;
  max-width: 600px;
}

.page-slot-games__hero-title {
  font-size: 56px;
  font-weight: 800;
  color: #FFD700;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-slot-games__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.7;
}

.page-slot-games__hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-slot-games__hero-image-wrapper {
  flex: 1;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-slot-games__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  object-fit: cover;
}

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

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

/* How to Play Steps */
.page-slot-games__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.page-slot-games__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 10px;
}

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

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

/* Promotions Grid */
.page-slot-games__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-slot-games__promotion-card {
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.page-slot-games__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  margin-bottom: 20px;
}

.page-slot-games__promotion-card h3 {
  padding: 0 20px;
  margin-top: 0;
  font-size: 24px;
  color: #FFD700;
}

.page-slot-games__promotion-card p {
  padding: 0 20px;
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-slot-games__promotion-card .page-slot-games__btn {
  margin: 0 20px 20px 20px;
}

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

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

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

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

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

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

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

.page-slot-games__faq-toggle {
  font-size: 28px;
  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: 32px;
  height: 32px;
}

.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: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 10px 10px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

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

/* CTA Section */
.page-slot-games__cta {
  text-align: center;
  padding: 100px 0;
  background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
}

.page-slot-games__cta .page-slot-games__section-title {
  color: #1A1A1A;
  text-shadow: none;
}

.page-slot-games__cta .page-slot-games__section-description {
  color: #333333;
  margin-bottom: 50px;
}

.page-slot-games__cta .page-slot-games__btn-primary {
  background-color: #1A1A1A;
  color: #FFD700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-slot-games__cta .page-slot-games__btn-primary:hover {
  background-color: #000000;
  color: #FFD700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-slot-games__cta .page-slot-games__btn-secondary {
  color: #1A1A1A;
  border-color: #1A1A1A;
}

.page-slot-games__cta .page-slot-games__btn-secondary:hover {
  background-color: #1A1A1A;
  color: #FFD700;
}

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

/* General image responsive styles */
.page-slot-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-slot-games__hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 80px 0;
  }

  .page-slot-games__hero-content,
  .page-slot-games__hero-image-wrapper {
    max-width: 100%;
  }

  .page-slot-games__hero-image {
    margin-top: 40px;
  }

  .page-slot-games__hero-title {
    font-size: 48px;
  }

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

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

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

  .page-slot-games__btn {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-slot-games {
    padding-top: 100px !important; /* Mobile space for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-slot-games__container {
    padding: 0 15px !important;
  }

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

  .page-slot-games__hero-banner {
    padding: 60px 0;
  }

  .page-slot-games__hero-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

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

  .page-slot-games__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-slot-games__btn {
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
  }

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

  .page-slot-games__features-grid,
  .page-slot-games__steps-grid,
  .page-slot-games__tips-grid,
  .page-slot-games__promotions-grid,
  .page-slot-games__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-slot-games__card {
    padding: 25px;
  }

  .page-slot-games__feature-icon,
  .page-slot-games__step-icon,
  .page-slot-games__tip-icon,
  .page-slot-games__security-icon {
    width: 80px;
    height: 80px;
  }

  .page-slot-games__promotion-image {
    height: 200px;
  }

  .page-slot-games__promotion-card h3 {
    font-size: 20px;
  }

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

  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }

  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-slot-games__cta {
    padding: 80px 0;
  }

  /* Ensure all images and their containers are responsive */
  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-slot-games__hero-image-wrapper,
  .page-slot-games__promotion-card,
  .page-slot-games__card,
  .page-slot-games__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}