.page-index-featured-games {
  color: #ffffff; /* Dark body background #0a0a0a, so light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

.page-index-featured-games__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-index-featured-games__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #26A9E0; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__section-description {
  font-size: 18px;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Video Section */
.page-index-featured-games__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.5);
}

.page-index-featured-games__video-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-featured-games__video-link {
  display: block;
  text-decoration: none;
  position: relative;
  width: 100%;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-featured-games__video-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-index-featured-games__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  pointer-events: none;
}

.page-index-featured-games__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(38, 169, 224, 0.4);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.page-index-featured-games__video-link:hover .page-index-featured-games__video-overlay {
  opacity: 1;
}

.page-index-featured-games__video-click-hint {
  color: #ffffff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  white-space: nowrap;
}

.page-index-featured-games__video-cta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.page-index-featured-games__play-now-button {
  display: inline-block;
  padding: 18px 50px;
  background: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-index-featured-games__play-now-button:hover {
  background: #ff8c1a;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index-featured-games__play-now-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Title Section */
.page-index-featured-games__title-section {
  padding: 80px 20px;
  background: #0a0a0a;
  text-align: center;
}

.page-index-featured-games__main-title {
  font-size: 48px;
  color: #26A9E0;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.page-index-featured-games__title-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-featured-games__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.page-index-featured-games__cta-button {
  display: inline-block;
  padding: 16px 45px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-index-featured-games__cta-button--primary {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-index-featured-games__cta-button--primary:hover {
  background: #1a8cc4;
  border-color: #1a8cc4;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__cta-button--secondary {
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-index-featured-games__cta-button--secondary:hover {
  background: rgba(38, 169, 224, 0.1);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Games Showcase Section */
.page-index-featured-games__games-showcase {
  padding: 80px 20px;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

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

.page-index-featured-games__game-card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent light background for dark theme */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
}

.page-index-featured-games__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.page-index-featured-games__game-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-featured-games__game-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-index-featured-games__game-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-featured-games__game-title a:hover {
  color: #FFFFFF;
}

.page-index-featured-games__game-description {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 25px;
  padding: 0 20px;
  flex-grow: 1;
}

.page-index-featured-games__card-button {
  display: inline-block;
  padding: 12px 30px;
  background: #EA7C07;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__card-button:hover {
  background: #ff8c1a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-index-featured-games__faq-section {
  padding: 80px 20px;
  background: #0a0a0a;
}

.page-index-featured-games__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-index-featured-games__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

details.page-index-featured-games__faq-item[open] {
  background: rgba(38, 169, 224, 0.15);
}

details.page-index-featured-games__faq-item summary.page-index-featured-games__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

details.page-index-featured-games__faq-item summary.page-index-featured-games__faq-question::-webkit-details-marker {
  display: none;
}

details.page-index-featured-games__faq-item summary.page-index-featured-games__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-index-featured-games__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFFFFF;
}

.page-index-featured-games__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #26A9E0;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

details.page-index-featured-games__faq-item[open] .page-index-featured-games__faq-toggle {
  transform: rotate(45deg);
  color: #EA7C07;
}

details.page-index-featured-games__faq-item .page-index-featured-games__faq-answer {
  padding: 20px 25px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 8px 8px;
}

.page-index-featured-games__faq-answer p {
  color: #cccccc;
  font-size: 16px;
  margin-bottom: 0;
}

/* Brand Section */
.page-index-featured-games__brand-section {
  padding: 80px 20px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.page-index-featured-games__brand-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-featured-games__brand-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-index-featured-games__brand-item:hover {
  background: rgba(38, 169, 224, 0.15);
}

.page-index-featured-games__brand-subtitle {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-featured-games__brand-item p {
  font-size: 16px;
  color: #cccccc;
  line-height: 1.7;
}

/* Blog Section */
.page-index-featured-games__blog-section {
  padding: 80px 20px;
  background: #0a0a0a;
}

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

.page-index-featured-games__blog-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-featured-games__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index-featured-games__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-featured-games__blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index-featured-games__blog-item-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
  flex-grow: 1;
}

.page-index-featured-games__blog-item-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-featured-games__blog-item-title a:hover {
  color: #FFFFFF;
}

.page-index-featured-games__blog-item-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 15px;
}

.page-index-featured-games__blog-item-date {
  font-size: 14px;
  color: #999999;
  display: block;
  text-align: right;
}

.page-index-featured-games__view-all-button-container {
  text-align: center;
  margin-top: 50px;
}

.page-index-featured-games__view-all-button {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  border-radius: 8px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-index-featured-games__view-all-button:hover {
  background: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-featured-games__main-title {
    font-size: 40px;
  }
  .page-index-featured-games__section-title {
    font-size: 32px;
  }
  .page-index-featured-games__game-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-index-featured-games__blog-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index-featured-games__video-section,
  .page-index-featured-games__title-section,
  .page-index-featured-games__games-showcase,
  .page-index-featured-games__faq-section,
  .page-index-featured-games__brand-section,
  .page-index-featured-games__blog-section {
    padding: 40px 15px;
  }

  .page-index-featured-games__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-index-featured-games__container {
    padding: 0 15px;
  }

  .page-index-featured-games__main-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .page-index-featured-games__title-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-index-featured-games__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-featured-games__cta-button,
  .page-index-featured-games__play-now-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 18px;
    padding: 14px 20px;
  }

  .page-index-featured-games__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-index-featured-games__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-index-featured-games__game-grid,
  .page-index-featured-games__brand-content,
  .page-index-featured-games__blog-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-index-featured-games__game-image,
  .page-index-featured-games__blog-image {
    height: 180px;
  }

  .page-index-featured-games__game-title,
  .page-index-featured-games__brand-subtitle {
    font-size: 20px;
  }

  .page-index-featured-games__game-description,
  .page-index-featured-games__brand-item p,
  .page-index-featured-games__blog-item-excerpt,
  .page-index-featured-games__faq-answer p {
    font-size: 15px;
  }

  .page-index-featured-games__faq-qtext {
    font-size: 16px;
  }

  .page-index-featured-games__faq-question {
    padding: 15px 20px;
  }
  .page-index-featured-games__faq-answer {
    padding: 15px 20px 20px;
  }
  .page-index-featured-games__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 15px;
  }

  /* Image and Video responsiveness */
  .page-index-featured-games img,
  .page-index-featured-games video,
  .page-index-featured-games__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-featured-games__section,
  .page-index-featured-games__card,
  .page-index-featured-games__container,
  .page-index-featured-games__video-container,
  .page-index-featured-games__video-wrapper,
  .page-index-featured-games__cta-buttons,
  .page-index-featured-games__button-group,
  .page-index-featured-games__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}