:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #0A2463; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #0A2463;
  --accent-color: #E6C200; /* Darker Gold for hover */
  --border-color: #e0e0e0;
}

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

.page-index .section-spacing {
  padding: 60px 0;
}

.page-index .section-spacing.bg-secondary-light {
  background-color: #e6e9ed; /* A lighter shade of secondary for contrast */
}

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

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

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

.page-index .text-center {
  text-align: center;
}

.page-index .mt-4 {
  margin-top: 40px;
}

.page-index .btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 16px;
  cursor: pointer;
  border: none;
}

.page-index .btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

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

.page-index .btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-index .btn-secondary:hover {
  background-color: #071a47; /* Darker secondary */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-index .btn-primary-large {
  padding: 15px 40px;
  font-size: 18px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-index .btn-primary-large:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px 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-color: var(--background-dark);
}

.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: 8px;
  object-fit: cover;
}

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

.page-index .hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
  line-height: 1.2;
}

.page-index .hero-content p {
  font-size: 22px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-index .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-index .cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-index .intro-section .intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-index .intro-section .intro-image {
  flex: 1 1 45%;
  max-width: 550px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  width: 100%;
  height: auto;
}

.page-index .intro-section .text-content {
  flex: 1 1 50%;
  color: var(--text-dark);
}

.page-index .intro-section .text-content h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-index .intro-section .text-content p {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 17px;
}

.page-index .intro-section .text-content a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-index .intro-section .text-content a:hover {
  color: var(--primary-color);
}

/* Quick Access Section */
.page-index .access-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-index .access-link-card {
  background: var(--text-light);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.page-index .access-link-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index .access-link-card .card-icon {
  width: 80px; /* Minimum 200x200px for content images, but these are icon-like features for quick access */
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-index .access-link-card h3 {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

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

/* Games Section */
.page-index .games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index .game-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-index .game-card h3 {
  font-size: 22px;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
  margin: 0;
}

.page-index .game-card p {
  font-size: 15px;
  color: #555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index .game-card .btn {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Promotions Section */
.page-index .promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index .promotion-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index .promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.page-index .promotion-card h3 {
  font-size: 22px;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
  margin: 0;
}

.page-index .promotion-card p {
  font-size: 15px;
  color: #555;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index .promotion-card .btn {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Security & Support Section */
.page-index .security-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index .info-block {
  background: var(--text-light);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .info-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index .info-block .block-icon {
  width: 100px; /* All images must be >= 200x200px, but these are explicitly icon-like within the block. Adjust if needed. */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-index .info-block h3 {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-index .info-block p {
  font-size: 15px;
  color: #555;
}

.page-index .info-block p a {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-index .info-block p a:hover {
  color: var(--primary-color);
}

/* FAQ Section */
.page-index .faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-index .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index .faq-question:hover {
  background: #f5f5f5;
}

.page-index .faq-question h3 {
  font-size: 19px;
  color: var(--secondary-color);
  margin: 0;
  flex-grow: 1;
}

.page-index .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.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: var(--background-light);
  color: var(--text-dark);
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Adjusted to accommodate content */
  padding: 25px;
}

.page-index .faq-answer p {
  margin-bottom: 10px;
  font-size: 16px;
}

.page-index .faq-answer p:last-child {
  margin-bottom: 0;
}

.page-index .faq-answer a {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-index .faq-answer a:hover {
  color: var(--primary-color);
}

/* Blog Section */
.page-index .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index .blog-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-index .blog-card .blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index .blog-card h3 {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-index .blog-card h3 a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

.page-index .blog-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index .blog-card .blog-date {
  font-size: 14px;
  color: #888;
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-content h1 {
    font-size: 42px;
  }
  .page-index .hero-content p {
    font-size: 20px;
  }
  .page-index .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-index .section-title {
    font-size: 32px;
  }
  .page-index .intro-section .intro-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-index .intro-section .text-content {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-index .section-spacing {
    padding: 40px 0;
  }
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image img {
    border-radius: 4px;
  }
  .page-index .hero-content h1 {
    font-size: 32px;
  }
  .page-index .hero-content p {
    font-size: 16px;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index .section-title {
    font-size: 28px;
  }
  .page-index .section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-index .intro-section .intro-content {
    gap: 20px;
  }
  .page-index .access-link-card {
    padding: 20px;
  }
  .page-index .access-link-card .card-icon {
    width: 60px;
    height: 60px;
  }
  .page-index .access-link-card h3 {
    font-size: 18px;
  }
  .page-index .game-card .game-image {
    height: 200px;
  }
  .page-index .promotion-card .promotion-image {
    height: 180px;
  }
  .page-index .info-block {
    padding: 25px;
  }
  .page-index .info-block .block-icon {
    width: 80px;
    height: 80px;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 17px;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
  .page-index .faq-answer {
    padding: 15px 20px;
  }
  .page-index .blog-card .blog-image {
    height: 180px;
  }
  .page-index .blog-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-content h1 {
    font-size: 28px;
  }
  .page-index .hero-content p {
    font-size: 15px;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-index .section-title {
    font-size: 24px;
  }
  .page-index .section-description {
    font-size: 14px;
  }
  .page-index .btn-primary-large {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index .faq-question h3 {
    font-size: 16px;
  }
  .page-index .faq-answer p {
    font-size: 14px;
  }
}