:root {
  --primary-color: #0A2463; /* Deep Tech Blue */
  --secondary-color: #FFD700; /* Luxury Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #0A2463;
  --border-color: #e0e0e0;
}

/* Base styles for the page content */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.page-index .section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-index .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-index .text-center {
    text-align: center;
    margin-top: 40px;
}

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color); /* High contrast with secondary-color */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index .cta-button:hover {
  background: var(--primary-color);
  color: var(--secondary-color); /* High contrast with primary-color */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-index .btn-small {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.page-index .btn-small:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* HERO Section */
.page-index .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7c 100%); /* Gradient background */
  color: var(--text-light);
}

.page-index .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.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 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-index .hero-content h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--secondary-color); /* High contrast with primary-color background */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-index .hero-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0; /* Good contrast with primary-color background */
}

/* Module 1: Homepage Introduction */
.page-index .intro-section {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.page-index .intro-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index .intro-container > p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

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

.page-index .intro-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .intro-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .intro-item .intro-icon {
  width: 80px; /* Actual image size will be >= 200px */
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index .intro-item h3 {
  font-size: 1.8em;
  color: var(--primary-color); /* Good contrast with white background */
  margin-bottom: 15px;
}

.page-index .intro-item p {
  font-size: 1em;
  color: #555555; /* Good contrast with white background */
}

/* Module 2: Quick Access Links */
.page-index .quick-access-section {
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index .quick-access-section .section-title {
  color: var(--secondary-color); /* High contrast with primary-color background */
}

.page-index .quick-access-section .section-title::after {
    background-color: var(--text-light);
}

.page-index .quick-access-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index .quick-access-container > p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: #e0e0e0; /* Good contrast with primary-color background */
}

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

.page-index .access-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on primary-color */
  padding: 30px 20px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-light); /* High contrast with primary-color background */
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-index .access-link-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.page-index .access-link-item .link-icon {
  width: 60px; /* Actual image size will be >= 200px */
  height: 60px;
  margin-bottom: 15px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Allowed filter for shadow, not color change */
}

/* Module 3: Core Games/Services Introduction */
.page-index .games-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-index .games-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index .games-container > p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

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

.page-index .game-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .game-card .game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-index .game-card h3 {
  font-size: 1.6em;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color); /* Good contrast with light background */
}

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

.page-index .game-card h3 a:hover {
    color: var(--secondary-color);
}

.page-index .game-card p {
  font-size: 0.95em;
  color: #666666; /* Good contrast with light background */
  padding: 0 20px 15px 20px;
}

.page-index .game-card .btn-small {
    margin: 0 20px 20px 20px;
}

/* Module 4: Promotions */
.page-index .promotions-section {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

.page-index .promotions-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index .promotions-container > p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

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

.page-index .promo-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .promo-card .promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-index .promo-card h3 {
  font-size: 1.6em;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color); /* Good contrast with white background */
}

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

.page-index .promo-card h3 a:hover {
    color: var(--secondary-color);
}

.page-index .promo-card p {
  font-size: 0.95em;
  color: #666666; /* Good contrast with white background */
  padding: 0 20px 15px 20px;
}

.page-index .promo-card .btn-small {
    margin: 0 20px 20px 20px;
}

/* Module 5: Security & Customer Service */
.page-index .security-cs-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-index .security-cs-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index .security-cs-container > p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

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

.page-index .info-item {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .info-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .info-item .info-icon {
  width: 80px; /* Actual image size will be >= 200px */
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index .info-item h3 {
  font-size: 1.8em;
  color: var(--primary-color); /* Good contrast with light background */
  margin-bottom: 15px;
}

.page-index .info-item p {
  font-size: 1em;
  color: #555555; /* Good contrast with light background */
}

/* Module 6: FAQ */
.page-index .faq-section {
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-index .faq-section .section-title {
  color: var(--secondary-color); /* High contrast with primary-color background */
}

.page-index .faq-section .section-title::after {
    background-color: var(--text-light);
}

.page-index .faq-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-index .faq-container > p {
    font-size: 1.1em;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #e0e0e0; /* Good contrast with primary-color background */
}

.page-index .faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-index .faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: var(--primary-color); /* Good contrast with white background */
}

.page-index .faq-question:hover {
  background: var(--bg-light);
}

.page-index .faq-question h3 {
  font-size: 1.2em;
  margin: 0;
  color: var(--primary-color); /* Good contrast with white background */
}

.page-index .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: var(--secondary-color); /* Good contrast with white background */
}

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555555; /* Good contrast with light gray background */
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px 25px 25px;
  border-radius: 0 0 5px 5px;
}

.page-index .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Module 7: Latest Blog Content */
.page-index .blog-section {
  padding: 80px 20px;
  background-color: #ffffff;
}

.page-index .blog-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-index .blog-container > p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

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

.page-index .blog-post-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .blog-post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .blog-post-card .blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.page-index .blog-post-card h3 {
  font-size: 1.6em;
  margin: 20px 20px 10px 20px;
  color: var(--primary-color); /* Good contrast with light background */
}

.page-index .blog-post-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-index .blog-post-card h3 a:hover {
    color: var(--secondary-color);
}

.page-index .blog-post-card p {
  font-size: 0.95em;
  color: #666666; /* Good contrast with light background */
  padding: 0 20px 10px 20px;
}

.page-index .blog-post-card .post-date {
  display: block;
  font-size: 0.85em;
  color: #999999; /* Good contrast with light background */
  padding: 0 20px 10px 20px;
}

.page-index .blog-post-card .btn-small {
    margin: 0 20px 20px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-content h1 {
    font-size: 2.8em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index .section-title {
    font-size: 2em;
  }
  .page-index .intro-grid,
  .page-index .access-links-grid,
  .page-index .game-categories,
  .page-index .promo-grid,
  .page-index .security-cs-grid,
  .page-index .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image img {
    border-radius: 8px;
  }
  .page-index .hero-content h1 {
    font-size: 2.2em;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index .section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .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 {
    padding: 60px 15px;
  }
  .page-index .intro-item h3,
  .page-index .game-card h3,
  .page-index .promo-card h3,
  .page-index .info-item h3 {
    font-size: 1.4em;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index .faq-answer {
    padding: 0 20px;
  }
}