.page-index-featured-games {
  color: var(--text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--deep-navy);
}

.page-index-featured-games__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(180deg, var(--deep-navy) 0%, #10233F 100%);
  border-bottom: 1px solid var(--divider);
}

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

.page-index-featured-games__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-index-featured-games__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-featured-games__main-title {
  font-size: 3.2em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-index-featured-games__intro-text {
  font-size: 1.2em;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.page-index-featured-games__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-featured-games__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-index-featured-games__small-button {
  padding: 10px 25px;
  font-size: 0.95em;
  margin-top: 15px;
}

.page-index-featured-games__large-button {
  padding: 18px 50px;
  font-size: 1.2em;
  margin-top: 30px;
}

.page-index-featured-games__section {
  padding: 80px 20px;
  background-color: var(--deep-navy);
  border-bottom: 1px solid var(--divider);
}

.page-index-featured-games__section-title {
  font-size: 2.5em;
  color: var(--glow);
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(79, 168, 255, 0.5);
}

.page-index-featured-games__section-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.page-index-featured-games__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-index-featured-games__features-grid,
.page-index-featured-games__game-category-grid,
.page-index-featured-games__bonus-guide,
.page-index-featured-games__steps-grid,
.page-index-featured-games__support-info,
.page-index-featured-games__news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-featured-games__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: var(--text-secondary);
}

.page-index-featured-games__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-featured-games__feature-title,
.page-index-featured-games__game-title,
.page-index-featured-games__step-title,
.page-index-featured-games__step-heading,
.page-index-featured-games__channel-title,
.page-index-featured-games__news-title {
  font-size: 1.6em;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.page-index-featured-games__feature-title a,
.page-index-featured-games__game-title a,
.page-index-featured-games__news-title a {
  color: var(--text-main);
  text-decoration: none;
}

.page-index-featured-games__feature-title a:hover,
.page-index-featured-games__game-title a:hover,
.page-index-featured-games__news-title a:hover {
  color: var(--gold);
}

.page-index-featured-games__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--divider);
}

.page-index-featured-games__read-more {
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-index-featured-games__read-more:hover {
  color: var(--gold);
}

.page-index-featured-games__news-date {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-top: 10px;
  display: block;
}

.page-index-featured-games__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

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

/* FAQ Section Styling (if needed, but this page doesn't have an explicit FAQ section in content outline) */
/* The JS for FAQ is included as a fallback/standard, but the HTML doesn't generate FAQ module for this page */

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-featured-games__main-title {
    font-size: 2.8em;
  }
  .page-index-featured-games__section-title {
    font-size: 2em;
  }
}

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

  .page-index-featured-games__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-index-featured-games__hero-image {
    margin-bottom: 20px;
  }

  .page-index-featured-games__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-index-featured-games__intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-index-featured-games__cta-button {
    padding: 12px 30px;
    font-size: 1em;
    margin-top: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-index-featured-games__small-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-index-featured-games__large-button {
    padding: 15px 40px;
    font-size: 1.1em;
  }

  .page-index-featured-games__section {
    padding: 50px 15px;
  }

  .page-index-featured-games__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  .page-index-featured-games__features-grid,
  .page-index-featured-games__game-category-grid,
  .page-index-featured-games__bonus-guide,
  .page-index-featured-games__steps-grid,
  .page-index-featured-games__support-info,
  .page-index-featured-games__news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index-featured-games__card {
    padding: 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-index-featured-games__feature-title,
  .page-index-featured-games__game-title,
  .page-index-featured-games__step-title,
  .page-index-featured-games__step-heading,
  .page-index-featured-games__channel-title,
  .page-index-featured-games__news-title {
    font-size: 1.4em;
  }

  .page-index-featured-games__container {
    padding-left: 0;
    padding-right: 0;
  }

  /* Ensure all img tags are responsive */
  .page-index-featured-games img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Button containers mobile adaptation */
  .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;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* Color Contrast Adjustments for dark background */
.page-index-featured-games p,
.page-index-featured-games li,
.page-index-featured-games__section-description,
.page-index-featured-games__intro-text,
.page-index-featured-games__news-excerpt,
.page-index-featured-games__news-date {
  color: var(--text-secondary);
}

.page-index-featured-games__card h3,
.page-index-featured-games__card h3 a {
  color: var(--text-main);
}

.page-index-featured-games__card {
  background-color: var(--card-bg);
  color: var(--text-secondary);
}

/* Specific button colors as per custom palette */
.page-index-featured-games__cta-button {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
}

.page-index-featured-games__cta-button:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}