/* style/index-8kbet-platform-features.css */
.page-index-8kbet-platform-features {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Text color for dark body background */
  line-height: 1.6;
}

/* Fixed navbar spacing for the first content section */
.page-index-8kbet-platform-features__section--intro {
  padding-top: 120px; /* Adjust as needed for desktop fixed header */
}

@media (max-width: 768px) {
  .page-index-8kbet-platform-features__section--intro {
    padding-top: 100px; /* Adjust for mobile fixed header */
  }
}

.page-index-8kbet-platform-features__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-8kbet-platform-features__section {
  padding: 60px 0;
  background: #121212; /* Inherits from body for consistency */
}

.page-index-8kbet-platform-features__section:nth-of-type(odd) {
  background: #1A1A1A; /* Slightly different background for visual separation */
}

.page-index-8kbet-platform-features__heading {
  font-size: 38px;
  color: #FFD700; /* Gold for main headings */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-index-8kbet-platform-features__text {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-index-8kbet-platform-features__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.page-index-8kbet-platform-features__btn-primary {
  background: #FFD700;
  color: #1A1A1A; /* Dark text on gold for contrast */
  border-color: #FFD700;
}

.page-index-8kbet-platform-features__btn-primary:hover {
  background: #e6c200;
  border-color: #e6c200;
}

.page-index-8kbet-platform-features__btn-secondary {
  background: #1A1A1A;
  color: #FFD700; /* Gold text on dark background */
  border-color: #FFD700;
}

.page-index-8kbet-platform-features__btn-secondary:hover {
  background: #FFD700;
  color: #1A1A1A;
  border-color: #FFD700;
}

/* HERO Section */
.page-index-8kbet-platform-features__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.page-index-8kbet-platform-features__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-index-8kbet-platform-features__hero-image {
  width: 100%;
  margin: 0;
}

.page-index-8kbet-platform-features__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Product Showcase Section */
.page-index-8kbet-platform-features__products-section {
  width: 100%;
  padding: 60px 20px;
  background: #1A1A1A;
}

.page-index-8kbet-platform-features__products-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 2fr; /* Desktop: 4 small + 2 large */
  gap: 20px;
}

.page-index-8kbet-platform-features__products-grid {
  display: grid;
  gap: 20px;
}

.page-index-8kbet-platform-features__products-grid--small {
  grid-template-columns: repeat(4, 1fr);
}

.page-index-8kbet-platform-features__products-grid--large {
  grid-template-columns: repeat(2, 1fr);
}

.page-index-8kbet-platform-features__product-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Subtle white on dark background */
  border: 3px solid #FFD700; /* Gold border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-8kbet-platform-features__product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-index-8kbet-platform-features__product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%; /* Ensure link covers the whole card */
}

.page-index-8kbet-platform-features__product-card-image {
  width: 100%;
  height: 250px; /* Fixed height for desktop */
  overflow: hidden;
}

.page-index-8kbet-platform-features__product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Intro Section */
.page-index-8kbet-platform-features__section--intro {
  background: #121212;
}

.page-index-8kbet-platform-features__intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-8kbet-platform-features__intro-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFD700;
}

.page-index-8kbet-platform-features__intro-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-8kbet-platform-features__intro-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-8kbet-platform-features__intro-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-8kbet-platform-features__intro-text {
  font-size: 16px;
  color: #f0f0f0;
  text-align: center;
}

/* Quick Access Section */
.page-index-8kbet-platform-features__section--quick-access {
  background: #1A1A1A;
}

.page-index-8kbet-platform-features__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-index-8kbet-platform-features__link-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-index-8kbet-platform-features__link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border-color: #FFD700;
}

.page-index-8kbet-platform-features__link-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index-8kbet-platform-features__link-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Games Section */
.page-index-8kbet-platform-features__section--games {
  background: #121212;
}

.page-index-8kbet-platform-features__game-category {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-8kbet-platform-features__game-category--reverse {
  flex-direction: row-reverse;
}

.page-index-8kbet-platform-features__game-image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index-8kbet-platform-features__game-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-index-8kbet-platform-features__game-content {
  flex: 2;
}

.page-index-8kbet-platform-features__game-title {
  font-size: 32px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-8kbet-platform-features__game-description {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 25px;
}

/* Promotions Section */
.page-index-8kbet-platform-features__section--promotions {
  background: #1A1A1A;
}

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

.page-index-8kbet-platform-features__promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFD700;
  display: flex;
  flex-direction: column;
}

.page-index-8kbet-platform-features__promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-8kbet-platform-features__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index-8kbet-platform-features__promo-title {
  font-size: 24px;
  color: #FFD700;
  padding: 20px 20px 10px;
}

.page-index-8kbet-platform-features__promo-description {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index-8kbet-platform-features__promo-card .page-index-8kbet-platform-features__btn {
  margin: 0 20px 20px;
}

/* Security & Support Section */
.page-index-8kbet-platform-features__section--security-support {
  background: #121212;
}

.page-index-8kbet-platform-features__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-index-8kbet-platform-features__security-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-index-8kbet-platform-features__security-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index-8kbet-platform-features__security-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index-8kbet-platform-features__security-description {
  font-size: 16px;
  color: #f0f0f0;
}

.page-index-8kbet-platform-features__contact-info {
  text-align: center;
  margin-top: 40px;
  font-size: 18px;
  color: #f0f0f0;
}

.page-index-8kbet-platform-features__contact-info ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.page-index-8kbet-platform-features__contact-info .page-index-8kbet-platform-features__list-item a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-8kbet-platform-features__contact-info .page-index-8kbet-platform-features__list-item a:hover {
  color: #e6c200;
}

/* FAQ Section */
.page-index-8kbet-platform-features__section--faq {
  background: #1A1A1A;
}

.page-index-8kbet-platform-features__faq-list {
  margin-top: 40px;
}

.page-index-8kbet-platform-features__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-index-8kbet-platform-features__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index-8kbet-platform-features__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFD700;
}

.page-index-8kbet-platform-features__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-index-8kbet-platform-features__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; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-index-8kbet-platform-features__faq-item.active .page-index-8kbet-platform-features__faq-toggle {
  color: #ffffff;
}

.page-index-8kbet-platform-features__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;
  font-size: 16px;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 8px 8px;
}

.page-index-8kbet-platform-features__faq-item.active .page-index-8kbet-platform-features__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px 25px !important;
  opacity: 1;
}

/* Blog Section */
.page-index-8kbet-platform-features__section--blog {
  background: #121212;
}

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

.page-index-8kbet-platform-features__blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-index-8kbet-platform-features__blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-8kbet-platform-features__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index-8kbet-platform-features__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index-8kbet-platform-features__blog-title {
  font-size: 22px;
  margin-bottom: 10px;
}

.page-index-8kbet-platform-features__blog-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-8kbet-platform-features__blog-title a:hover {
  color: #e6c200;
}

.page-index-8kbet-platform-features__blog-summary {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index-8kbet-platform-features__read-more {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index-8kbet-platform-features__read-more:hover {
  color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-8kbet-platform-features__heading {
    font-size: 32px;
  }
  .page-index-8kbet-platform-features__text {
    font-size: 16px;
  }
  .page-index-8kbet-platform-features__products-container {
    grid-template-columns: 1fr; /* Stack product grids */
  }
  .page-index-8kbet-platform-features__products-grid--small {
    grid-template-columns: repeat(2, 1fr); /* 2x2 for smaller grid */
  }
  .page-index-8kbet-platform-features__products-grid--large {
    grid-template-columns: repeat(2, 1fr); /* 1x2 for larger grid */
  }
  .page-index-8kbet-platform-features__game-category {
    flex-direction: column;
    text-align: center;
  }
  .page-index-8kbet-platform-features__game-category--reverse {
    flex-direction: column;
  }
  .page-index-8kbet-platform-features__game-content {
    margin-top: 20px;
  }
  .page-index-8kbet-platform-features__game-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .page-index-8kbet-platform-features__section {
    padding: 40px 0;
  }
  .page-index-8kbet-platform-features__container {
    padding: 0 15px;
  }
  .page-index-8kbet-platform-features__heading {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-index-8kbet-platform-features__text {
    font-size: 15px;
    margin-bottom: 30px;
  }
  
  /* Mobile HERO */
  .page-index-8kbet-platform-features__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .page-index-8kbet-platform-features__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Mobile Product Showcase */
  .page-index-8kbet-platform-features__products-section {
    padding: 40px 15px;
  }
  .page-index-8kbet-platform-features__products-container {
    gap: 15px;
  }
  .page-index-8kbet-platform-features__products-grid {
    gap: 15px;
  }
  .page-index-8kbet-platform-features__products-grid--small {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid */
  }
  .page-index-8kbet-platform-features__products-grid--small .page-index-8kbet-platform-features__product-card {
    aspect-ratio: 1 / 1; /* Square cards */
  }
  .page-index-8kbet-platform-features__products-grid--small .page-index-8kbet-platform-features__product-card-image {
    height: 100%;
  }
  .page-index-8kbet-platform-features__products-grid--large {
    grid-template-columns: 1fr; /* Stack large cards */
  }
  .page-index-8kbet-platform-features__products-grid--large .page-index-8kbet-platform-features__product-card {
    aspect-ratio: 1 / 1; /* Square cards */
  }
  .page-index-8kbet-platform-features__products-grid--large .page-index-8kbet-platform-features__product-card-image {
    height: 100%;
  }

  /* Mobile Intro */
  .page-index-8kbet-platform-features__intro-grid {
    gap: 20px;
  }
  .page-index-8kbet-platform-features__intro-title {
    font-size: 20px;
  }
  .page-index-8kbet-platform-features__intro-icon {
    width: 60px;
    height: 60px;
  }

  /* Mobile Quick Access */
  .page-index-8kbet-platform-features__links-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-index-8kbet-platform-features__link-title {
    font-size: 20px;
  }
  .page-index-8kbet-platform-features__link-description {
    font-size: 15px;
  }

  /* Mobile Games */
  .page-index-8kbet-platform-features__game-category {
    gap: 20px;
    padding: 20px;
  }
  .page-index-8kbet-platform-features__game-title {
    font-size: 24px;
  }
  .page-index-8kbet-platform-features__game-description {
    font-size: 15px;
  }
  .page-index-8kbet-platform-features__game-image-wrapper {
    min-width: unset;
  }

  /* Mobile Promotions */
  .page-index-8kbet-platform-features__promo-grid {
    gap: 20px;
  }
  .page-index-8kbet-platform-features__promo-title {
    font-size: 20px;
  }
  .page-index-8kbet-platform-features__promo-image {
    height: 180px;
  }

  /* Mobile Security & Support */
  .page-index-8kbet-platform-features__security-grid {
    gap: 20px;
  }
  .page-index-8kbet-platform-features__security-title {
    font-size: 20px;
  }
  .page-index-8kbet-platform-features__security-icon {
    width: 60px;
    height: 60px;
  }
  .page-index-8kbet-platform-features__contact-info ul {
    flex-direction: column;
    gap: 10px;
  }

  /* Mobile FAQ */
  .page-index-8kbet-platform-features__faq-question {
    padding: 15px 20px;
  }
  .page-index-8kbet-platform-features__faq-question h3 {
    font-size: 16px;
  }
  .page-index-8kbet-platform-features__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-index-8kbet-platform-features__faq-answer {
    padding: 0 20px;
  }
  .page-index-8kbet-platform-features__faq-item.active .page-index-8kbet-platform-features__faq-answer {
    padding: 15px 20px !important;
  }

  /* Mobile Blog */
  .page-index-8kbet-platform-features__blog-grid {
    gap: 20px;
  }
  .page-index-8kbet-platform-features__blog-title {
    font-size: 20px;
  }
  .page-index-8kbet-platform-features__blog-image {
    height: 160px;
  }

  /* Universal image responsiveness for mobile */
  .page-index-8kbet-platform-features img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index-8kbet-platform-features__section,
  .page-index-8kbet-platform-features__card,
  .page-index-8kbet-platform-features__container,
  .page-index-8kbet-platform-features__promo-card,
  .page-index-8kbet-platform-features__blog-card,
  .page-index-8kbet-platform-features__link-card,
  .page-index-8kbet-platform-features__intro-item,
  .page-index-8kbet-platform-features__security-item,
  .page-index-8kbet-platform-features__game-category {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-8kbet-platform-features__products-section .page-index-8kbet-platform-features__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-index-8kbet-platform-features__products-grid {
    padding-left: 15px;
    padding-right: 15px;
  }
}