/* style/index.css */

:root {
  --primary-color: #0A192F;
  --secondary-color: #FFD700;
  --text-color-light: #f8f8f8;
  --text-color-dark: #333333;
  --border-color: #e0e0e0;
  --card-bg-light: #ffffff;
}

.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--text-color-light); /* Assuming body bg is light */
}

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

.page-index__section {
  padding: 60px 0;
  text-align: center;
}

.page-index__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.page-index__section-description {
  font-size: 18px;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-color-dark);
}

/* 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: var(--header-offset, 120px); /* Ensure header offset */
  background-color: var(--primary-color); /* Fallback if image fails */
}

.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%;
}

.page-index__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

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

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

.page-index__hero-title {
  font-size: 48px;
  font-weight: 900;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__hero-description {
  font-size: 20px;
  color: var(--text-color-light);
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

.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;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__cta-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.page-index__cta-button--primary:hover {
  background: #e6c200; /* Darken secondary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__cta-button--secondary {
  background: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.page-index__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Intro Section */
.page-index__intro-section {
  background-color: var(--card-bg-light);
  color: var(--text-color-dark);
}

.page-index__intro-section .page-index__section-title {
  color: var(--primary-color);
}

.page-index__intro-section .page-index__section-description {
  color: var(--text-color-dark);
}

/* Quick Links Section */
.page-index__quick-links-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-index__quick-links-section .page-index__section-title {
  color: var(--secondary-color);
}

.page-index__quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-color-light);
  transition: transform 0.3s ease, color 0.3s ease;
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-index__quick-link-item:hover {
  transform: translateY(-5px);
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-index__quick-link-item img {
  
  
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 50%;
  border: 2px solid var(--secondary-color);
}

.page-index__quick-link-text {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

/* Games Section */
.page-index__games-section {
  background-color: var(--card-bg-light);
  color: var(--text-color-dark);
}

.page-index__games-section .page-index__section-title {
  color: var(--primary-color);
}

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

.page-index__game-card {
  background-color: var(--card-bg-light);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__game-card:hover {
  transform: translateY(-5px);
}

.page-index__game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index__game-title {
  font-size: 22px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color);
}

.page-index__game-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-index__game-title a:hover {
  color: var(--secondary-color);
}

.page-index__game-description {
  font-size: 15px;
  color: #555555;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

/* Promotions Section */
.page-index__promotions-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-index__promotions-section .page-index__section-title {
  color: var(--secondary-color);
}

.page-index__promotions-section .page-index__section-description {
  color: var(--text-color-light);
}

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

.page-index__promo-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-index__promo-card img {
  width: 100%;
  
  object-fit: cover;
  display: block;
}

.page-index__promo-title {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 20px 10px 20px;
  color: var(--secondary-color);
}

.page-index__promo-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-index__promo-title a:hover {
  color: var(--text-color-light);
}

.page-index__promo-text {
  font-size: 15px;
  color: var(--text-color-light);
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

/* Security & Support Section */
.page-index__security-support-section {
  background-color: var(--card-bg-light);
  color: var(--text-color-dark);
}

.page-index__security-support-section .page-index__section-title {
  color: var(--primary-color);
}

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

.page-index__feature-item {
  background-color: var(--card-bg-light);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-5px);
}

.page-index__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index__feature-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index__feature-description {
  font-size: 15px;
  color: #555555;
}

.page-index__contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* General Buttons */
.page-index__btn-primary,
.page-index__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  border-color: var(--primary-color);
}

.page-index__btn-primary:hover {
  background-color: #071221; /* Darken primary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-index__btn-secondary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
}

.page-index__btn-secondary:hover {
  background-color: #e6c200; /* Darken secondary color */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-index__faq-section {
  background-color: var(--primary-color);
  color: var(--text-color-light);
}

.page-index__faq-section .page-index__section-title {
  color: var(--secondary-color);
}

.page-index__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-index__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 15px;
  opacity: 0;
}

.page-index__faq-item.active .page-index__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0 0 5px 5px;
  color: var(--text-color-light);
}

.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}