.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF1E8; /* Default text color for dark background */
  background-color: #140C0C; /* Main background color */
}

.page-index__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #F3C54D; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* HERO Section */
.page-index__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-color: #140C0C;
  overflow: hidden;
}

.page-index__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width for max-width to work */
}

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

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

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

.page-index__hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F3C54D; /* Gold for main title */
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.page-index__hero-description {
  font-size: 20px;
  color: #FFF1E8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__cta-button:hover {
  background: linear-gradient(180deg, #FFC05A 0%, #E87A24 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-index__cta-button--secondary {
  background: #6A1E1E;
  color: #FFF1E8;
  border: 1px solid #F3C54D;
}

.page-index__cta-button--secondary:hover {
  background: #7E0D0D;
  border-color: #FFD700;
}

/* Intro Section */
.page-index__intro-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
  border-top: 1px solid #6A1E1E;
  border-bottom: 1px solid #6A1E1E;
}

.page-index__intro-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-index__intro-text {
  flex: 2;
  font-size: 17px;
  color: #FFF1E8;
}

.page-index__intro-text p {
  margin-bottom: 15px;
}

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

.page-index__intro-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Quick Access Section */
.page-index__quick-access-section {
  padding: 60px 0;
  background-color: #140C0C; /* Main background */
}

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

.page-index__access-card {
  background-color: #2A1212; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: #FFF1E8;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
}

.page-index__access-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  border-color: #F3C54D;
}

.page-index__access-card h3 {
  font-size: 22px;
  color: #F3C54D; /* Gold for card titles */
  margin-bottom: 10px;
}

.page-index__access-card p {
  font-size: 16px;
  color: #FFF1E8;
}

/* Games Section */
.page-index__games-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
  border-top: 1px solid #6A1E1E;
  border-bottom: 1px solid #6A1E1E;
}

.page-index__game-tabs {
  margin-top: 30px;
}

.page-index__tab-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.page-index__tab-button {
  background-color: #6A1E1E;
  color: #FFF1E8;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 17px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-index__tab-button:hover {
  background-color: #7E0D0D;
}

.page-index__tab-button--active {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index__tab-button--active:hover {
  background: linear-gradient(180deg, #FFC05A 0%, #E87A24 100%);
}

.page-index__game-showcase {
  position: relative;
  overflow: hidden;
  min-height: 400px; /* Ensure space for content */
}

.page-index__game-item {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  animation: fadeIn 0.5s ease-out forwards;
}

.page-index__game-item--active {
  display: flex;
}

.page-index__game-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-index__game-item h3 {
  font-size: 28px;
  color: #F3C54D; /* Gold for game titles */
  margin-top: 15px;
}

.page-index__game-item p {
  font-size: 17px;
  color: #FFF1E8;
  max-width: 800px;
}

.page-index__game-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #C61F1F;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__game-link:hover {
  background-color: #E53030;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 60px 0;
  background-color: #140C0C; /* Main background */
}

.page-index__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index__promo-card {
  background-color: #2A1212; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: #FFF1E8;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-index__promo-card:hover {
  transform: translateY(-5px);
  border-color: #F3C54D;
}

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

.page-index__promo-card h3 {
  font-size: 22px;
  color: #F3C54D; /* Gold for promo titles */
  margin-bottom: 10px;
}

.page-index__promo-card p {
  font-size: 16px;
  color: #FFF1E8;
  margin-bottom: 20px;
}

.page-index__promo-link {
  display: inline-block;
  padding: 8px 20px;
  background-color: #C61F1F;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index__promo-link:hover {
  background-color: #E53030;
}

/* Security & CS Section */
.page-index__security-cs-section {
  padding: 60px 0;
  background-color: #2A1212; /* Card BG */
  border-top: 1px solid #6A1E1E;
  border-bottom: 1px solid #6A1E1E;
}

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

.page-index__feature-item {
  text-align: center;
  background-color: #140C0C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
}

.page-index__feature-item img {
  width: 200px;
  height: 200px;
  object-fit: contain; /* Icons might be better with contain */
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(243, 197, 77, 0.5)); /* Gold glow for icons */
}

.page-index__feature-item h3 {
  font-size: 22px;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-index__feature-item p {
  font-size: 16px;
  color: #FFF1E8;
}

/* FAQ Section */
details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border color */
  overflow: hidden;
  background: #2A1212; /* Card BG */
  color: #FFF1E8;
}
details.page-index__faq-item summary.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-index__faq-item summary.page-index__faq-question::-webkit-details-marker {
  display: none;
}
details.page-index__faq-item summary.page-index__faq-question:hover {
  background: #3A1C1C;
}
.page-index__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold for question text */
}
.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F3C54D; /* Gold for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-index__faq-item .page-index__faq-answer {
  padding: 0 20px 20px;
  background: #140C0C; /* Main background for answer area */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8;
  font-size: 16px;
}

/* Blog Section */
.page-index__blog-section {
  padding: 60px 0;
  background-color: #140C0C; /* Main background */
}

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

.page-index__blog-card {
  background-color: #2A1212; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid #6A1E1E;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-index__blog-card:hover {
  transform: translateY(-5px);
  border-color: #F3C54D;
}

.page-index__blog-card img {
  width: 100%;
  height: 220px; /* Fixed height for blog images */
  object-fit: cover;
  display: block;
}

.page-index__blog-card h3 {
  font-size: 20px;
  color: #F3C54D; /* Gold for blog titles */
  padding: 15px;
  margin-bottom: 0;
}

.page-index__blog-card h3 a {
  color: #F3C54D;
  text-decoration: none;
}

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

.page-index__blog-card p {
  font-size: 15px;
  color: #FFF1E8;
  padding: 0 15px 15px;
}

.page-index__blog-card .page-index__blog-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: #C61F1F;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 0 15px 15px;
  transition: background-color 0.3s ease;
}

.page-index__blog-card .page-index__blog-link:hover {
  background-color: #E53030;
}

.page-index__view-all-blog {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-image-wrapper img {
    border-radius: 8px;
  }
  .page-index__intro-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__intro-text {
    flex: none;
  }
  .page-index__intro-image-wrapper {
    flex: none;
    max-width: 600px;
  }
  .page-index__section-title {
    font-size: 32px;
  }
  .page-index__section-description {
    font-size: 16px;
  }
  .page-index__hero-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-index__hero-description {
    font-size: 18px;
  }
  .page-index__access-grid, .page-index__promotions-grid, .page-index__features-grid, .page-index__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__hero-image-wrapper img {
    border-radius: 4px;
  }
  .page-index__hero-content h1 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-index__hero-description {
    font-size: 16px;
  }
  .page-index__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-index__hero-cta-group {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__container {
    padding: 20px 15px;
  }
  .page-index__section-title {
    font-size: 28px;
  }
  .page-index__section-description {
    font-size: 15px;
  }
  .page-index__intro-text, .page-index__intro-text p {
    font-size: 15px;
  }
  .page-index__access-grid, .page-index__promotions-grid, .page-index__features-grid, .page-index__blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index__tab-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-index__tab-button {
    width: 100%;
  }
  .page-index__game-item h3 {
    font-size: 24px;
  }
  .page-index__game-item p {
    font-size: 15px;
  }
  .page-index__promo-card h3, .page-index__feature-item h3, .page-index__blog-card h3 {
    font-size: 20px;
  }
  .page-index__promo-card p, .page-index__feature-item p, .page-index__blog-card p {
    font-size: 15px;
  }
  details.page-index__faq-item summary.page-index__faq-question { padding: 15px; }
  .page-index__faq-qtext { font-size: 16px; }
  details.page-index__faq-item .page-index__faq-answer { font-size: 15px; padding: 0 15px 15px; }
  /* Mobile image responsive styles */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__hero-section,
  .page-index__intro-section,
  .page-index__quick-access-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__security-cs-section,
  .page-index__faq-section,
  .page-index__blog-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__blog-card img {
    
  }
}