.page-index {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Dark body background, so use light text */
  background-color: #000000;
  padding-bottom: 50px;
}

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

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

.page-index__section-title {
  font-size: 38px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.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: none;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-index__cta-button--primary {
  background: #FFD700;
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index__cta-button--primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-index__cta-button--secondary {
  background: #8B0000;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

.page-index__cta-button--secondary:hover {
  background: #6b0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.6);
}

.page-index__btn-text {
  display: inline-block;
  margin-top: 20px;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-index__btn-text:hover {
  color: #e6c200;
  border-color: #e6c200;
}

.page-index__center-button {
  text-align: center;
  margin-top: 50px;
}

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

/* 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 content is below header */
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}

.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;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-index__hero-title {
  font-size: 52px;
  font-weight: 900;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-index__hero-description {
  font-size: 22px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.page-index__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Introduction Section */
.page-index__introduction {
  background-color: #0a0a0a;
  color: #f0f0f0;
  padding: 80px 0;
}

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

.page-index__intro-content {
  flex: 1;
}

.page-index__intro-content p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
}

.page-index__intro-content strong {
  color: #FFD700;
}

.page-index__intro-image {
  flex: 1;
  min-width: 300px;
}

.page-index__intro-image img {
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Quick Access Section */
.page-index__quick-access {
  background-color: #1a1a1a;
  padding: 80px 0;
}

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

.page-index__quick-link-card {
  background: #2a2a2a;
  padding: 30px;
  border-radius: 10px;
  text-decoration: none;
  color: #ffffff;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__quick-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  background: #3a3a3a;
}

.page-index__quick-link-card h3 {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__quick-link-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
}

/* Core Games Section */
.page-index__core-games {
  background-color: #000000;
  padding: 80px 0;
}

.page-index__games-tab-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-index__games-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  border-bottom: 2px solid #333333;
}

.page-index__games-tab {
  background: transparent;
  border: none;
  padding: 15px 25px;
  font-size: 18px;
  font-weight: bold;
  color: #cccccc;
  cursor: pointer;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.page-index__games-tab:hover {
  color: #FFD700;
}

.page-index__games-tab--active {
  color: #FFD700;
  border-bottom: 2px solid #FFD700;
}

.page-index__games-content {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-index__game-panel {
  display: none;
  align-items: center;
  gap: 30px;
  text-align: left;
}

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

.page-index__game-panel-image {
  flex: 1;
  min-width: 300px;
}

.page-index__game-panel-image img {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index__game-panel-text {
  flex: 1;
}

.page-index__game-panel-text h3 {
  font-size: 28px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-index__game-panel-text p {
  font-size: 16px;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Promotions Section */
.page-index__promotions {
  background-color: #0a0a0a;
  padding: 80px 0;
}

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

.page-index__promo-card {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index__promo-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__promo-card h3 {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-index__promo-card p {
  font-size: 15px;
  color: #cccccc;
  line-height: 1.6;
  flex-grow: 1;
}

/* Security & Service Section */
.page-index__security-service {
  background-color: #000000;
  padding: 80px 0;
}

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

.page-index__security-item {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index__security-item img {
  
  
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
  padding: 15px;
  box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.3);
}

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

.page-index__security-item p {
  font-size: 15px;
  color: #cccccc;
  line-height: 1.6;
}

/* FAQ Section */
.page-index__faq-section {
  background-color: #0a0a0a;
  padding: 80px 0;
}

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

.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.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;
  padding: 0 20px;
  opacity: 0;
  background: #1a1a1a;
  color: #cccccc;
}

.page-index__faq-item.active .page-index__faq-answer {
  max-height: 2000px !important; /* Ensure enough height for content */
  padding: 20px !important;
  opacity: 1;
  background: #1a1a1a;
  border-radius: 0 0 8px 8px;
}

.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-index__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-index__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFD700;
  pointer-events: none;
}

.page-index__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;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-index__faq-item.active .page-index__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* Latest Blog Section */
.page-index__latest-blog {
  background-color: #1a1a1a;
  padding: 80px 0;
}

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

.page-index__blog-card {
  background: #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-index__blog-card img {
  width: 100%;
  height: 200px; /* Fixed height for blog images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index__blog-card h3 {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index__blog-card p {
  font-size: 15px;
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index__blog-date {
  font-size: 13px;
  color: #888888;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 44px;
  }
  .page-index__hero-description {
    font-size: 20px;
  }
  .page-index__section-title {
    font-size: 32px;
  }
  .page-index__section-description {
    font-size: 16px;
  }
  .page-index__intro-grid, .page-index__game-panel {
    flex-direction: column;
    text-align: center;
  }
  .page-index__intro-image, .page-index__game-panel-image {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-index__intro-content, .page-index__game-panel-text {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index__hero-title {
    font-size: 32px;
  }
  .page-index__hero-description {
    font-size: 18px;
  }
  .page-index__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-index__cta-button, .page-index a[class*="button"], .page-index a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }
  .page-index__container {
    padding: 0 15px;
  }
  .page-index__section {
    padding: 40px 0;
  }
  .page-index__section-title {
    font-size: 28px;
  }
  .page-index__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-index img, .page-index__hero-image img, .page-index__intro-image img, .page-index__game-panel-image img, .page-index__promo-card img, .page-index__security-item img, .page-index__blog-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-index__games-tabs {
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: none;
  }
  .page-index__games-tab {
    flex-grow: 1;
    border-bottom: 2px solid #333333;
    font-size: 16px;
    padding: 12px 15px;
  }
  .page-index__games-tab--active {
    border-color: #FFD700;
  }
  .page-index__game-panel {
    flex-direction: column;
    gap: 20px;
  }
  .page-index__game-panel-image {
    margin-bottom: 20px;
  }
  .page-index__game-panel-text h3 {
    font-size: 24px;
  }
  .page-index__game-panel-text p {
    font-size: 15px;
  }
  .page-index__promo-card img, .page-index__blog-card img {
     /* Adjust height for mobile */
  }
  .page-index__promo-card h3, .page-index__blog-card h3 {
    font-size: 20px;
  }
  .page-index__faq-question {
    padding: 15px;
  }
  .page-index__faq-question h3 {
    font-size: 16px;
  }
  .page-index__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-index__faq-item.active .page-index__faq-answer {
    padding: 15px !important;
  }
}