/* style/index.css */
.page-index {
  color: #ffffff; /* Body background is #000 (dark), so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #000000;
}

.page-index__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Fixed navigation bar spacing */
  margin-top: 0;
}

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

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

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

.page-index__logo-carousel-section {
  width: 100%;
  padding: 30px 20px;
  background: #1a1a1a; /* Slightly lighter dark background for contrast */
  border-bottom: 1px solid #333;
}

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

.page-index__logo-carousel {
  display: flex;
  gap: 15px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none; /* Disable user interaction for auto-scroll */
}

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

.page-index__logo-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto; /* Re-enable pointer events for the link inside */
}

.page-index__logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

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

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

.page-index__games-section {
  width: 100%;
  padding: 60px 20px;
  background: #000000;
}

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

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

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

.page-index__featured-game-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #FFD700; /* Gold color for jackpot highlight */
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-index__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

.page-index__games-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.page-index__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-index__games-tab:hover {
  color: #FFD700;
}

.page-index__games-tab.active {
  color: #FFD700; /* Gold for active tab */
  border-bottom: 2px solid #FFD700;
  padding-bottom: 10px; /* Adjust to align with border */
}

.page-index__games-tab.active + .page-index__games-tab {
  color: #ffffff;
}

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

.page-index__games-grid.active {
  display: grid;
}

.page-index__game-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.page-index__game-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 0 0;
  padding: 0 5px 10px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

.page-index__section {
  padding: 80px 20px;
  background-color: #000000;
}

.page-index__dark-bg {
  background-color: #1a1a1a;
}

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

.page-index__heading {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: bold;
}

.page-index__paragraph {
  font-size: 16px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__paragraph a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index__paragraph a:hover {
  color: #fff;
}

.page-index__highlight-text {
  color: #FFD700;
  font-weight: bold;
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.page-index__btn-primary,
.page-index__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.page-index__btn-primary {
  background: #FFD700;
  color: #000000;
  border: 2px solid #FFD700;
}

.page-index__btn-primary:hover {
  background: #e0b800;
  border-color: #e0b800;
  color: #000000;
}

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

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

.page-index__btn-small {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background: #FFD700;
  color: #000000;
  border: none;
  margin-top: 15px;
}

.page-index__btn-small:hover {
  background: #e0b800;
}

.page-index__quick-access-section {
  background-color: #000000;
}

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

.page-index__quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px 20px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__quick-link-card img {
  width: 100px; /* Min size 200x200px requirement, but these are icons */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}

.page-index__quick-link-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__quick-link-desc {
  font-size: 14px;
  color: #f0f0f0;
}

.page-index__game-types-section {
  background-color: #1a1a1a;
}

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

.page-index__game-type-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-type-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-index__game-type-card img {
  width: 150px; /* Min size 200x200px requirement, adjusted for card context */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}

.page-index__game-type-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__game-type-desc {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-index__promotions-section {
  background-color: #000000;
}

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

.page-index__promotion-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-index__promotion-card img {
  width: 200px; /* Min size 200x200px */
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.page-index__promotion-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__promotion-desc {
  font-size: 15px;
  color: #f0f0f0;
}

.page-index__security-support-section {
  background-color: #1a1a1a;
}

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

.page-index__feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-index__feature-item img {
  width: 120px; /* Min size 200x200px requirement, adjusted for card context */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}

.page-index__feature-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__feature-desc {
  font-size: 15px;
  color: #f0f0f0;
}

.page-index__contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-index__contact-info a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index__contact-info a:hover {
  color: #fff;
}

.page-index__faq-section {
  background-color: #000000;
}

.page-index__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

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

.page-index__faq-item.active .page-index__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-index__faq-item.active .page-index__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}

.page-index__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-index__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-index__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #ffffff;
}

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

.page-index__faq-item.active .page-index__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg); /* Rotate for minus sign effect */
}

.page-index__latest-blog-section {
  background-color: #1a1a1a;
}

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

.page-index__blog-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-index__blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

.page-index__blog-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__blog-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-index__blog-title a:hover {
  text-decoration: underline;
}

.page-index__blog-excerpt {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-index__blog-excerpt a {
  color: #FFD700;
  text-decoration: underline;
}

.page-index__blog-excerpt a:hover {
  color: #fff;
}

.page-index__blog-date {
  font-size: 13px;
  color: #999999;
  display: block;
}

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

  .page-index__heading {
    font-size: 32px;
  }

  .page-index__paragraph {
    font-size: 15px;
  }

  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .page-index {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index__hero-section {
    padding-top: 10px; /* Mobile fixed navigation bar spacing */
  }
  
  .page-index__logo-carousel-section {
    padding: 20px 15px;
  }
  
  .page-index__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
  }
  
  .page-index__logo-carousel {
    gap: 12px;
  }
  
  .page-index__logo-item a {
    padding: 8px;
  }

  .page-index__games-section {
    padding: 40px 15px;
  }
  
  .page-index__games-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .page-index__featured-game-title {
    font-size: 24px;
  }
  
  .page-index__featured-game-image {
    height: 300px;
  }
  
  .page-index__games-tabs {
    gap: 15px;
  }
  
  .page-index__games-tab {
    font-size: 16px;
  }
  
  .page-index__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-index__game-card-image {
    height: 150px;
  }
  
  .page-index__game-card-title {
    font-size: 13px;
    margin: 8px 0 0 0;
    padding: 0 3px 8px;
  }

  .page-index__section {
    padding: 40px 15px;
  }

  .page-index__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-index__heading {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-index__paragraph {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .page-index__btn-primary,
  .page-index__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-index__link-grid,
  .page-index__game-type-grid,
  .page-index__promotion-grid,
  .page-index__feature-grid,
  .page-index__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index__quick-link-card img,
  .page-index__game-type-card img,
  .page-index__feature-item img {
    width: 80px; /* Adjusted for mobile view, still larger than typical icons */
    height: 80px;
  }

  .page-index__quick-link-title,
  .page-index__game-type-title,
  .page-index__promotion-title,
  .page-index__feature-title,
  .page-index__blog-title {
    font-size: 18px;
  }

  .page-index__quick-link-desc,
  .page-index__game-type-desc,
  .page-index__promotion-desc,
  .page-index__feature-desc,
  .page-index__blog-excerpt {
    font-size: 13px;
  }

  .page-index__faq-question {
    padding: 15px;
  }
  
  .page-index__faq-question h3 {
    font-size: 15px;
  }
  
  .page-index__faq-toggle {
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-index__faq-item.active .page-index__faq-answer {
    padding: 15px !important;
  }

  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__quick-link-card,
  .page-index__game-type-card,
  .page-index__promotion-card,
  .page-index__feature-item,
  .page-index__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Exception for logo items to maintain fixed size */
  .page-index__logo-item {
    width: 80px !important; 
    height: 80px !important; 
    max-width: 80px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Ensure all image tags within page-index are responsive */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure image containers within page-index are responsive */
.page-index__hero-image,
.page-index__game-card-image,
.page-index__quick-link-card,
.page-index__game-type-card,
.page-index__promotion-card,
.page-index__feature-item,
.page-index__blog-card {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}