/* style/slot-games.css */
.page-slot-games {
  /* Fixed nav bar spacing for the first content module if not a hero */
  padding-top: 0;
  color: #ffffff; /* Default text color for dark body background */
}

/* 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;
}

/* LOGO Carousel Section */
.page-slot-games__logo-carousel-section {
  width: 100%;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.2); /* Slightly lighter dark for contrast */
}

.page-slot-games__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-slot-games__logo-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.page-slot-games__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-slot-games__logo-item {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white */
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.page-slot-games__logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.page-slot-games__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 15px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-slot-games__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Games Section */
.page-slot-games__games-section {
  width: 100%;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.3); /* Darker background for contrast */
}

.page-slot-games__games-container {
  max-width: 1400px;
  margin: 0 auto;
}

.page-slot-games__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-slot-games__featured-game-area {
  width: 100%;
}

.page-slot-games__featured-game-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #ffd700; /* Yellow text */
  text-align: left;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.page-slot-games__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white */
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__featured-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
}

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

.page-slot-games__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

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

.page-slot-games__games-grid-area {
  width: 100%;
}

.page-slot-games__games-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
}

.page-slot-games__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.page-slot-games__games-tab:hover {
  color: #ffffff;
}

.page-slot-games__games-tab.active {
  color: #ffd700; /* Yellow text for active tab */
  text-decoration: underline;
  text-decoration-color: #ffd700;
}

.page-slot-games__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-slot-games__games-grid.active {
  display: grid;
}

.page-slot-games__game-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white */
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-slot-games__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

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

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

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

.page-slot-games__game-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 10px 0;
  padding: 0 5px;
  color: #ffffff; /* Light text for dark background */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

/* General Content Sections */
.page-slot-games__content-section {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.1); /* Slightly lighter dark for content areas */
  color: #ffffff;
}

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

.page-slot-games__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-slot-games__heading {
  font-size: 32px;
  font-weight: bold;
  color: #ffd700;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.page-slot-games__paragraph {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-slot-games__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-slot-games__ordered-list {
  list-style: decimal inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-slot-games__list-item {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-slot-games__list-item strong {
  color: #ffd700;
}

.page-slot-games__btn-primary {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 15px 30px;
  background: #ffd700;
  color: #000000; /* Black text for primary button */
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.page-slot-games__btn-primary:hover {
  background: #e0b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

/* FAQ Section */
.page-slot-games__faq-section {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

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

.page-slot-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05); /* Semi-transparent white */
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.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 20px;
  opacity: 0;
  color: #f0f0f0;
}

.page-slot-games__faq-item.active .page-slot-games__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 0 8px 8px;
}

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

.page-slot-games__faq-question:hover {
  background: rgba(255, 215, 0, 0.15);
  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;
  pointer-events: none;
  color: #ffd700;
}

.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-item.active .page-slot-games__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-slot-games__games-layout {
    grid-template-columns: 1fr;
  }
  
  .page-slot-games__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-slot-games__featured-game-image {
    height: 400px;
  }

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

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

  .page-slot-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-slot-games__hero-section,
  .page-slot-games__logo-carousel-section,
  .page-slot-games__games-section,
  .page-slot-games__content-section,
  .page-slot-games__faq-section,
  .page-slot-games__container,
  .page-slot-games__games-layout,
  .page-slot-games__featured-game-area,
  .page-slot-games__games-grid-area,
  .page-slot-games__logo-carousel-container,
  .page-slot-games__games-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-slot-games__logo-carousel-section,
  .page-slot-games__games-section,
  .page-slot-games__content-section,
  .page-slot-games__faq-section {
    padding: 30px 15px;
  }
  
  .page-slot-games__logo-item {
    width: 120px;
    height: 120px;
  }
  
  .page-slot-games__logo-carousel {
    gap: 10px;
  }

  .page-slot-games__featured-game-title {
    font-size: 24px;
  }
  
  .page-slot-games__featured-game-image {
    height: 250px;
  }
  
  .page-slot-games__games-tabs {
    gap: 15px;
  }
  
  .page-slot-games__games-tab {
    font-size: 16px;
  }
  
  .page-slot-games__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-slot-games__game-card-image {
    height: 120px;
  }
  
  .page-slot-games__game-card-title {
    font-size: 12px;
    margin: 8px 0 8px 0;
    padding: 0 3px;
  }

  .page-slot-games__heading {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .page-slot-games__paragraph,
  .page-slot-games__list-item {
    font-size: 15px;
    line-height: 1.7;
  }

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

  .page-slot-games__faq-question {
    padding: 15px;
  }
  
  .page-slot-games__faq-question h3 {
    font-size: 15px;
  }
  
  .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 !important;
  }
}