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

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

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

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

.page-index__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-index__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

/* 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: var(--site-bg);
}

.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: 12px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-index__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-index__hero-description {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto 20px auto;
}

/* Module 1: Intro Section */
.page-index__intro-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

.page-index__intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-index__intro-text p {
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-main);
}

.page-index__intro-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Module 2: Quick Access Section */
.page-index__quick-access-section {
  padding: 60px 0;
  background-color: var(--site-bg);
}

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

.page-index__access-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.page-index__access-card h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index__access-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}

/* Module 3: Games Section */
.page-index__games-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

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

.page-index__game-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-index__game-content {
  padding: 25px;
}

.page-index__game-content h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index__game-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

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

.page-index__game-link:hover {
  background-color: var(--primary-color);
}

/* Module 4: Promotions Section */
.page-index__promotions-section {
  padding: 60px 0;
  background-color: var(--site-bg);
}

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

.page-index__promo-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-index__promo-content {
  padding: 25px;
}

.page-index__promo-content h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

.page-index__promo-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index__promo-link:hover {
  color: var(--primary-color);
}

.page-index__all-promos-cta {
  text-align: center;
  margin-top: 50px;
}

/* Module 5: Security & Support Section */
.page-index__security-support-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

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

.page-index__info-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.page-index__info-card img {
  width: 100%;
  
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.page-index__info-card h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index__info-card p {
  font-size: 15px;
  color: #555;
}

.page-index__contact-cta {
  text-align: center;
  margin-top: 50px;
}

/* Module 6: FAQ Section */
.page-index__faq-section {
  padding: 60px 0;
  background-color: var(--site-bg);
}

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

details.page-index__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

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: #f8f8f8;
}

.page-index__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main);
}

.page-index__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-index__faq-item .page-index__faq-answer {
  padding: 0 25px 25px;
  background: #fcfcfc;
  border-radius: 0 0 12px 12px;
  color: #555;
  font-size: 16px;
}

/* Module 7: Blog Section */
.page-index__blog-section {
  padding: 60px 0;
  background-color: var(--card-bg);
}

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

.page-index__blog-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.page-index__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.page-index__blog-content {
  padding: 25px;
}

.page-index__blog-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.page-index__blog-content h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__blog-content h3 a:hover {
  color: var(--secondary-color);
}

.page-index__blog-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
}

.page-index__blog-date {
  font-size: 14px;
  color: #888;
}

.page-index__all-posts-cta {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-index__intro-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-index__intro-text {
    order: 1;
  }
  .page-index__intro-image {
    order: 2;
  }
}

@media (max-width: 1024px) {
  .page-index__section-title {
    font-size: 30px;
  }
  .page-index__section-description {
    font-size: 16px;
  }
  .page-index__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-index__hero-description {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
  }
  .page-index__game-card img, .page-index__promo-card img {
    
  }
}

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

  .page-index__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-index__hero-image img {
    border-radius: 8px;
  }
  
  .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__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-index__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .page-index__intro-section, .page-index__quick-access-section, .page-index__games-section, .page-index__promotions-section, .page-index__security-support-section, .page-index__faq-section, .page-index__blog-section {
    padding: 40px 0;
  }

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

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

  .page-index__quick-access-grid, .page-index__game-grid, .page-index__promo-grid, .page-index__security-support-grid, .page-index__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-index__access-card, .page-index__game-card, .page-index__promo-card, .page-index__info-card, .page-index__blog-card {
    padding: 20px;
  }

  .page-index__game-card img, .page-index__promo-card img {
    
  }

  .page-index__info-card img {
    
  }

  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 {
    padding: 0 15px 15px;
  }

  /* Mobile image adaptation */
  .page-index img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-index__hero-image,
  .page-index__intro-image,
  .page-index__game-card,
  .page-index__promo-card,
  .page-index__info-card,
  .page-index__blog-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-index__quick-access-section .page-index__container,
  .page-index__promotions-section .page-index__all-promos-cta,
  .page-index__security-support-section .page-index__contact-cta,
  .page-index__blog-section .page-index__all-posts-cta {
    padding-left: 15px;
    padding-right: 15px;
  }
}