.page-index {
  background-color: #08160F;
  color: #F2FFF6;
}

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

.page-index__section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Gold */
  line-height: 1.3;
}

.page-index__text-block {
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-index__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-index__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  background: transparent;
  color: #F2FFF6;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid #2E7A4E; /* Border */
  cursor: pointer;
}

.page-index__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2); /* 2E7A4E with 20% opacity */
  transform: translateY(-2px);
  border-color: #57E38D; /* Glow */
}

.page-index__btn-link {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.page-index__btn-link:hover {
  background: #11A84E; /* Main */
}

/* LOGO Carousel Section */
.page-index__logo-carousel-section {
  width: 100%;
  padding: 10px 20px 30px;
  background: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-index__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-index__logo-carousel {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.page-index__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-index__logo-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.page-index__logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-index__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-index__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* HERO Section */
.page-index__hero-section {
  position: relative;
  padding: 0;
  margin-top: 0;
  background-color: #08160F;
}

.page-index__hero-container {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
}

.page-index__hero-image {
  width: 100%;
  margin: 0;
}

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

/* Games Section */
.page-index__games-section {
  width: 100%;
  padding: 60px 20px;
  background: #08160F;
}

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

.page-index__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-index__featured-game-area {
  width: 100%;
}

.page-index__featured-game-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 25px 0;
  color: #F2C14E; /* Gold */
  text-align: left;
}

.page-index__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__featured-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-index__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-index__featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-index__games-grid-area {
  width: 100%;
}

.page-index__games-tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
  align-items: center;
}

.page-index__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #A7D9B8; /* Text Secondary */
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
}

.page-index__games-tab:hover {
  color: #F2FFF6; /* Text Main */
}

.page-index__games-tab.active {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.page-index__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-index__games-grid.active {
  display: grid;
}

.page-index__game-card {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-index__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-index__game-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.page-index__game-card-title {
  font-size: 15px;
  font-weight: 500;
  margin: 10px 0 10px 0;
  padding: 0 8px;
  color: #F2FFF6; /* Text Main */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
}

/* Homepage Introduction Section */
.page-index__intro-section {
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-index__main-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
  font-size: clamp(30px, 5vw, 48px); /* Clamp for H1 to prevent excessive size */
}

.page-index__description {
  font-size: 17px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #A7D9B8; /* Text Secondary */
}

.page-index__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Quick Access Section */
.page-index__quick-access-section {
  padding: 60px 20px;
  background-color: #08160F;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-index__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  justify-items: center;
}

.page-index__link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px 15px;
  text-decoration: none;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 220px;
  box-sizing: border-box;
}

.page-index__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4); /* Glow */
  color: #F2C14E; /* Gold */
}

.page-index__link-card img {
  
  
  object-fit: contain;
  margin-bottom: 15px;
}

.page-index__link-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

/* Core Games Section */
.page-index__core-games-section {
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

.page-index__game-type-card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__game-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-index__game-type-card img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index__game-type-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-index__game-type-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 20px;
  background-color: #08160F;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

.page-index__promo-card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4); /* Glow */
}

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

.page-index__promo-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-index__promo-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Security & Customer Service Section */
.page-index__security-customer-section {
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

.page-index__feature-item {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-index__feature-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold */
}

.page-index__feature-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-index__contact-cta {
  text-align: center;
}

/* FAQ Section */
.page-index__faq-section {
  padding: 80px 20px;
  background-color: #08160F;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

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

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

details.page-index__faq-item[open] {
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4); /* Glow */
}

details.page-index__faq-item summary.page-index__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2FFF6; /* Text Main */
  font-size: 17px;
  font-weight: 600;
}

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: #0A4B2C; /* Deep Green */
}

.page-index__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-index__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 25px 25px;
  background: #0A4B2C; /* Deep Green */
  border-radius: 0 0 10px 10px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 16px;
  line-height: 1.7;
}

/* Blog Section */
.page-index__blog-section {
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
}

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

.page-index__blog-card {
  background: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4); /* Glow */
}

.page-index__blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 20px; /* Add padding to the bottom of the clickable area */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index__blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__blog-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 20px 15px;
  color: #F2C14E; /* Gold */
  line-height: 1.4;
}

.page-index__blog-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-index__blog-date {
  font-size: 14px;
  color: #A7D9B8; /* Text Secondary */
  margin: 0 20px;
  text-align: right;
  display: block;
}

.page-index__view-all-posts {
  text-align: center;
}

/* General image responsiveness */
.page-index img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button responsiveness */
.page-index__cta-button,
.page-index__btn-primary,
.page-index__btn-secondary,
.page-index a[class*="button"],
.page-index a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index__cta-buttons,
.page-index__button-group,
.page-index__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-index__games-layout {
    grid-template-columns: 1fr;
  }
  
  .page-index__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-index__featured-game-image {
    height: 400px;
  }

  .page-index__game-card-image {
    height: 180px;
  }

  .page-index__game-card-title {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .page-index__container {
    padding: 30px 15px;
  }

  .page-index__section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-index__text-block {
    font-size: 15px;
    margin-bottom: 25px;
  }

  /* LOGO Carousel Section */
  .page-index__logo-carousel-section {
    padding: 10px 15px 20px;
  }

  .page-index__logo-carousel {
    gap: 15px;
  }

  .page-index__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
  }

  .page-index__logo-item a {
    padding: 8px;
  }

  /* HERO Section */
  .page-index__hero-section {
    padding-top: 0 !important;
  }

  /* Games Section */
  .page-index__games-section {
    padding: 40px 15px;
  }
  
  .page-index__games-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .page-index__featured-game-title {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .page-index__featured-game-image {
    height: 300px;
  }
  
  .page-index__games-tabs {
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .page-index__games-tab {
    font-size: 18px;
  }
  
  .page-index__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .page-index__game-card-image {
    height: 150px;
  }
  
  .page-index__game-card-title {
    font-size: 13px;
    margin: 8px 0 8px 0;
    padding: 0 5px;
  }

  /* Homepage Introduction Section */
  .page-index__intro-section {
    padding: 50px 15px;
  }

  .page-index__main-title {
    font-size: clamp(28px, 8vw, 38px);
    margin-bottom: 25px;
  }

  .page-index__description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-index__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__btn-primary,
  .page-index__btn-secondary {
    padding: 10px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Quick Access Section */
  .page-index__quick-access-section {
    padding: 40px 15px;
  }

  .page-index__links-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
  }

  .page-index__link-card {
    padding: 20px 10px;
    max-width: 180px;
  }

  .page-index__link-card img {
    
    
    margin-bottom: 10px;
  }

  .page-index__link-text {
    font-size: 14px;
  }

  /* Core Games Section */
  .page-index__core-games-section {
    padding: 50px 15px;
  }

  .page-index__game-types-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-index__game-type-card {
    padding: 25px;
  }

  .page-index__game-type-card img {
    
  }

  .page-index__game-type-card h3 {
    font-size: 20px;
  }

  .page-index__game-type-card p {
    font-size: 15px;
  }

  /* Promotions Section */
  .page-index__promotions-section {
    padding: 50px 15px;
  }

  .page-index__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-index__promo-card {
    padding: 20px;
  }

  .page-index__promo-card img {
    height: 200px;
  }

  .page-index__promo-card h3 {
    font-size: 18px;
  }

  .page-index__promo-card p {
    font-size: 15px;
  }

  /* Security & Customer Service Section */
  .page-index__security-customer-section {
    padding: 50px 15px;
  }

  .page-index__security-features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }

  .page-index__feature-item {
    padding: 25px;
  }

  .page-index__feature-item img {
    
    
    margin-bottom: 15px;
  }

  .page-index__feature-item h3 {
    font-size: 18px;
  }

  .page-index__feature-item p {
    font-size: 15px;
  }

  /* FAQ Section */
  .page-index__faq-section {
    padding: 50px 15px;
  }

  details.page-index__faq-item summary.page-index__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-index__faq-toggle {
    font-size: 24px;
    width: 25px;
    margin-left: 10px;
  }

  details.page-index__faq-item .page-index__faq-answer {
    padding: 0 20px 20px;
    font-size: 15px;
  }

  /* Blog Section */
  .page-index__blog-section {
    padding: 50px 15px;
  }

  .page-index__blog-cards-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 40px;
  }

  .page-index__blog-card img {
    height: 200px;
  }

  .page-index__blog-card h3 {
    font-size: 18px;
    margin: 0 15px 10px;
  }

  .page-index__blog-card p {
    font-size: 15px;
    margin: 0 15px 15px;
  }

  .page-index__blog-date {
    margin: 0 15px;
  }

  /* Universal image/container rules for mobile */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index__section,
  .page-index__card,
  .page-index__container,
  .page-index__link-card,
  .page-index__game-card,
  .page-index__featured-game,
  .page-index__game-type-card,
  .page-index__promo-card,
  .page-index__feature-item,
  .page-index__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Exclude logo-item from general width:100% */
  .page-index__logo-item {
    padding-left: 0;
    padding-right: 0;
  }

  /* Button containers */
  .page-index__cta-buttons,
  .page-index__button-group,
  .page-index__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;
  }

  .page-index__cta-buttons {
    flex-direction: column;
  }
}