/* style/slot-games.css */
.page-slot-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

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

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

.page-slot-games__section-title {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-slot-games__description-text {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: center;
}

.page-slot-games__text-center {
  text-align: center;
}

.page-slot-games__btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: #000000; /* Dark text for bright button */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-slot-games__btn-primary:hover {
  background: linear-gradient(90deg, #FFA500, #FFD700);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-slot-games__btn-secondary {
  display: inline-block;
  background: transparent;
  color: #FFD700;
  padding: 10px 20px;
  border: 2px solid #FFD700;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
}

.page-slot-games__btn-secondary:hover {
  background: #FFD700;
  color: #000000;
}

.page-slot-games__btn-center {
  display: block;
  margin: 30px auto 0 auto;
  width: fit-content;
}

/* HERO Section */
.page-slot-games__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 120px; /* Fixed nav bar clearance for desktop */
}

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

/* Products Section */
.page-slot-games__products-section {
  width: 100%;
  padding: 60px 20px;
  background-color: #0a0a0a;
}

.page-slot-games__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Desktop: First 4 cards take 4/6, last 2 take 2/6 */
  gap: 20px;
}

.page-slot-games__products-grid {
  display: grid;
  gap: 20px;
}

.page-slot-games__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-slot-games__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-slot-games__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark background */
  border: 3px solid #FFD700; /* Gold border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-slot-games__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-slot-games__product-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.page-slot-games__product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Intro Section */
.page-slot-games__intro-section {
  background-color: #0a0a0a;
}

/* Quick Links Section */
.page-slot-games__dark-section {
  background-color: #0d0d0d;
}

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

.page-slot-games__quick-link-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-slot-games__quick-link-card:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.2);
}

.page-slot-games__link-icon {
  font-size: 48px;
  color: #FFD700;
  display: block;
  margin-bottom: 15px;
}

.page-slot-games__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-slot-games__quick-link-card p {
  font-size: 16px;
  color: #f0f0f0;
  margin: 0;
}

/* Featured Games Section */
.page-slot-games__featured-games-section {
  background-color: #0a0a0a;
}

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

.page-slot-games__game-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 25px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
}

.page-slot-games__game-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
}

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

.page-slot-games__game-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-slot-games__game-description {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 20px;
}

/* Promotions Section */
.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: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-slot-games__promo-card .page-slot-games__card-title {
  font-size: 26px;
  margin-bottom: 15px;
}

.page-slot-games__promo-card p {
  color: #f0f0f0;
  font-size: 17px;
  margin-bottom: 25px;
}

/* Security Section */
.page-slot-games__security-section {
  background-color: #0a0a0a;
}

.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 {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-slot-games__feature-item .page-slot-games__card-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.page-slot-games__feature-item p {
  color: #f0f0f0;
  font-size: 16px;
}

/* FAQ Section */
.page-slot-games__faq-section {
  background-color: #0d0d0d;
}

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 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.08);
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

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

.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: 20px;
  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(0deg); /* Explicitly set for consistency */
  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: #f0f0f0;
}

.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.03);
  border-radius: 0 0 8px 8px;
}

.page-slot-games__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  text-align: left;
}

/* Blog Section */
.page-slot-games__blog-section {
  background-color: #0a0a0a;
}

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

.page-slot-games__blog-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.page-slot-games__blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.page-slot-games__blog-card .page-slot-games__card-title {
  font-size: 22px;
  margin: 20px 15px 10px 15px;
  text-align: left;
}

.page-slot-games__blog-card .page-slot-games__card-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-slot-games__blog-card .page-slot-games__card-title a:hover {
  color: #FFA500;
}

.page-slot-games__blog-excerpt {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 15px;
  margin-bottom: 15px;
  text-align: left;
}

.page-slot-games__read-more {
  display: inline-block;
  color: #000080;
  background-color: #FFD700;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  margin: 0 15px 20px 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-slot-games__read-more:hover {
  background-color: #FFA500;
  color: #000080;
}

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

/* Responsive design */
@media (max-width: 1024px) {
  .page-slot-games__main-title {
    font-size: 38px;
  }
  .page-slot-games__section-title {
    font-size: 32px;
  }
  .page-slot-games__products-container {
    grid-template-columns: 1fr; /* Stack product grids */
  }
  .page-slot-games__products-grid--small {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-slot-games__products-grid--large {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-slot-games__game-list, .page-slot-games__promo-grid, .page-slot-games__features-grid, .page-slot-games__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-slot-games__hero-section {
    padding-top: 100px; /* Fixed nav bar clearance for mobile */
  }
  .page-slot-games__section-padding {
    padding: 50px 15px;
  }
  .page-slot-games__main-title {
    font-size: 32px;
  }
  .page-slot-games__section-title {
    font-size: 28px;
  }
  .page-slot-games__description-text {
    font-size: 16px;
  }
  .page-slot-games__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-slot-games__products-container {
    grid-template-columns: 1fr; /* Mobile: two grids stack vertically */
    gap: 15px;
  }
  .page-slot-games__products-grid--small {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid for first 4 cards */
    gap: 15px;
  }
  .page-slot-games__products-grid--small .page-slot-games__product-card {
    aspect-ratio: 1 / 1; /* Square shape */
  }
  .page-slot-games__products-grid--small .page-slot-games__product-card-image {
    height: 100%; /* Fill parent */
  }
  .page-slot-games__products-grid--large {
    grid-template-columns: 1fr; /* Each card takes full width */
    gap: 15px;
  }
  .page-slot-games__products-grid--large .page-slot-games__product-card {
    aspect-ratio: 1 / 1; /* Square shape */
  }
  .page-slot-games__products-grid--large .page-slot-games__product-card-image {
    height: 100%; /* Fill parent */
  }

  .page-slot-games img {
    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__promo-card, .page-slot-games__feature-item, .page-slot-games__blog-card, .page-slot-games__game-card, .page-slot-games__quick-link-card, .page-slot-games__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-slot-games__card-title {
    font-size: 20px;
  }
  .page-slot-games__faq-question h3 {
    font-size: 16px;
  }
  .page-slot-games__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }
  .page-slot-games__faq-answer {
    padding: 0 15px;
  }
  .page-slot-games__faq-item.active .page-slot-games__faq-answer {
    padding: 15px !important;
  }
  .page-slot-games__blog-card .page-slot-games__card-title {
    font-size: 18px;
  }
}