/* style/index-explore-table-games.css */
.page-index-explore-table-games {
  color: #FFF6D6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-index-explore-table-games__dark-bg {
  background: #0A0A0A; /* Background */
}

.page-index-explore-table-games__text-block {
  background: #0A0A0A;
  padding: 60px 0;
}

.page-index-explore-table-games__card {
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-explore-table-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-index-explore-table-games__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Main Color */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-index-explore-table-games__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-explore-table-games__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-index-explore-table-games__btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(180deg, #FFD36B 0%, #F2C14E 100%);
}

.page-index-explore-table-games__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: transparent;
  color: #F2C14E; /* Main Color */
  border: 2px solid #F2C14E; /* Main Color */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-index-explore-table-games__btn-secondary:hover {
  background: #F2C14E; /* Main Color */
  color: #ffffff;
  transform: translateY(-3px);
}

.page-index-explore-table-games__btn-link {
  display: inline-block;
  color: #FFD36B; /* Glow */
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-index-explore-table-games__btn-link:hover {
  color: #F2C14E; /* Main Color */
  text-decoration: underline;
}

/* Hero Section */
.page-index-explore-table-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small decorative padding */
  min-height: 600px;
  text-align: center;
}

.page-index-explore-table-games__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-index-explore-table-games__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-index-explore-table-games__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  margin-top: 100px; /* Adjust to ensure content is below header and not directly on video */
  margin-bottom: 40px;
}

.page-index-explore-table-games__hero-title {
  color: #F2C14E; /* Main Color */
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
}

.page-index-explore-table-games__hero-description {
  color: #FFF6D6;
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-explore-table-games__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Introduction Section */
.page-index-explore-table-games__introduction p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: justify;
}

/* Popular Games Section */
.page-index-explore-table-games__popular-games {
  padding: 60px 0;
}

.page-index-explore-table-games__game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-explore-table-games__game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.page-index-explore-table-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-explore-table-games__game-title {
  font-size: 1.5em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-index-explore-table-games__game-title a {
  color: inherit;
  text-decoration: none;
}

.page-index-explore-table-games__game-title a:hover {
  text-decoration: underline;
}

.page-index-explore-table-games__game-description {
  color: #FFF6D6;
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Why Choose Us Section */
.page-index-explore-table-games__why-choose-us {
  padding: 60px 0;
}

.page-index-explore-table-games__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-explore-table-games__feature-item {
  text-align: center;
}

.page-index-explore-table-games__feature-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 15px;
}

.page-index-explore-table-games__feature-item p {
  color: #FFF6D6;
  font-size: 1em;
}

/* Strategies and Tips Section */
.page-index-explore-table-games__strategies-tips {
  padding: 60px 0;
}

.page-index-explore-table-games__strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-index-explore-table-games__strategy-card {
  text-align: center;
}

.page-index-explore-table-games__strategy-title {
  font-size: 1.4em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-index-explore-table-games__strategy-title a {
  color: inherit;
  text-decoration: none;
}

.page-index-explore-table-games__strategy-title a:hover {
  text-decoration: underline;
}

.page-index-explore-table-games__strategy-card p {
  color: #FFF6D6;
  font-size: 0.95em;
}

.page-index-explore-table-games__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Promotions Section */
.page-index-explore-table-games__promotions {
  padding: 60px 0;
}

.page-index-explore-table-games__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-index-explore-table-games__promo-card {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-index-explore-table-games__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index-explore-table-games__promo-title {
  font-size: 1.6em;
  color: #F2C14E; /* Main Color */
  margin-bottom: 10px;
}

.page-index-explore-table-games__promo-card p {
  color: #FFF6D6;
  font-size: 1em;
}

/* Download App Section */
.page-index-explore-table-games__download-app {
  padding: 80px 0;
}

.page-index-explore-table-games__app-content {
  text-align: center;
  margin-bottom: 40px;
}

.page-index-explore-table-games__app-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-index-explore-table-games__app-image-wrapper {
  text-align: center;
}

.page-index-explore-table-games__app-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* FAQ Section */
.page-index-explore-table-games__faq {
  padding: 60px 0;
}

.page-index-explore-table-games__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-explore-table-games__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
}

.page-index-explore-table-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  transition: background 0.3s ease;
}

.page-index-explore-table-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-index-explore-table-games__faq-question h3 {
  margin: 0;
  color: #F2C14E; /* Main Color */
  font-size: 1.2em;
}

.page-index-explore-table-games__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  transition: transform 0.3s ease;
}

.page-index-explore-table-games__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 1em;
}

.page-index-explore-table-games__faq-item.active .page-index-explore-table-games__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

.page-index-explore-table-games__faq-item.active .page-index-explore-table-games__faq-toggle {
  transform: rotate(45deg);
}

/* Partners Section */
.page-index-explore-table-games__partners {
  padding: 60px 0;
}

.page-index-explore-table-games__partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.page-index-explore-table-games__partner-logo {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.page-index-explore-table-games__partner-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* Responsible Gaming Section */
.page-index-explore-table-games__responsible-gaming {
  padding: 60px 0;
}

.page-index-explore-table-games__responsible-gaming .page-index-explore-table-games__cta-center {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Global Image Styles */
.page-index-explore-table-games img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-explore-table-games__hero-content {
    margin-top: 80px;
  }

  .page-index-explore-table-games__partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-explore-table-games__section-title {
    font-size: 2em;
  }

  .page-index-explore-table-games__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-index-explore-table-games__hero-description {
    font-size: 1em;
  }

  .page-index-explore-table-games__hero-cta-buttons,
  .page-index-explore-table-games__app-cta-buttons,
  .page-index-explore-table-games__responsible-gaming .page-index-explore-table-games__cta-center {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-explore-table-games__btn-primary,
  .page-index-explore-table-games__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-explore-table-games__app-cta-buttons,
  .page-index-explore-table-games__responsible-gaming .page-index-explore-table-games__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
  }

  .page-index-explore-table-games__video-section {
    padding-top: 10px !important; /* Small decorative padding, body handles header offset */
  }

  .page-index-explore-table-games__video-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  .page-index-explore-table-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-explore-table-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-explore-table-games__section,
  .page-index-explore-table-games__card,
  .page-index-explore-table-games__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-explore-table-games__download-app .page-index-explore-table-games__container {
    flex-direction: column;
  }

  .page-index-explore-table-games__app-image-wrapper {
    order: -1; /* Image appears above text on mobile */
    margin-bottom: 30px;
  }

  .page-index-explore-table-games__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-index-explore-table-games__partner-logo {
    width: 100px; /* Specific width for mobile partners to ensure 2 per row */
    height: auto;
  }

  .page-index-explore-table-games__faq-question h3 {
    font-size: 1em;
  }

  .page-index-explore-table-games__faq-answer p {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-index-explore-table-games__hero-content {
    padding: 20px 15px;
  }

  .page-index-explore-table-games__section-title {
    font-size: 1.8em;
  }

  .page-index-explore-table-games__hero-title {
    font-size: clamp(1.6em, 8vw, 2.2em);
  }

  .page-index-explore-table-games__game-grid,
  .page-index-explore-table-games__features-grid,
  .page-index-explore-table-games__strategy-cards,
  .page-index-explore-table-games__promo-grid {
    grid-template-columns: 1fr;
  }

  .page-index-explore-table-games__partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}