:root {
  --primary-color: #0A2463; /* Deep Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f7f6;
  --background-dark: #071a44;
  --border-color: #e0e0e0;
  --card-background: #ffffff;
}

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

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

.page-index h1, .page-index h2, .page-index h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index h1 {
  font-size: 2.8em;
  text-align: center;
  color: var(--text-light);
}

.page-index h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-index h3 {
  font-size: 1.6em;
  margin-top: 25px;
}

.page-index p {
  margin-bottom: 15px;
  line-height: 1.8;
}

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

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

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--secondary-color);
}

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

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

.page-index .btn-small:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

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

.page-index .btn-promo:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  border-color: var(--secondary-color);
  transform: translateY(-1px);
}

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

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

/* 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: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.page-index .hero-content h1 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 3.2em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-index .intro-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

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

.page-index .intro-item:hover {
  transform: translateY(-5px);
}

.page-index .intro-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index .intro-item .intro-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Quick Access Section */
.page-index .quick-access-section {
  background-color: var(--primary-color);
  padding: 60px 0;
  color: var(--text-light);
  text-align: center;
}

.page-index .quick-access-section h2 {
  color: var(--secondary-color);
}

.page-index .quick-access-section p {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-index .quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.page-index .quick-link-item {
  display: block;
  background: var(--secondary-color);
  color: var(--primary-color);
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index .quick-link-item:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Games Section */
.page-index .games-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-index .game-card {
  background: var(--card-background);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index .game-card:hover {
  transform: translateY(-5px);
}

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

.page-index .game-card h3 {
  color: var(--primary-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

/* Promotions Section */
.page-index .promotions-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-index .promotions-section h2 {
  color: var(--secondary-color);
}

.page-index .promotions-section p {
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.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: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-index .promo-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index .promo-card h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-index .promo-card p {
  color: var(--text-light);
  font-size: 0.95em;
  margin-bottom: 20px;
}

/* Security & Support Section */
.page-index .security-support-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

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

.page-index .support-item {
  background: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-index .support-item:hover {
  transform: translateY(-5px);
}

.page-index .support-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* FAQ Section */
.page-index .faq-section {
  padding: 60px 0;
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-index .faq-section h2 {
  color: var(--secondary-color);
}

.page-index .faq-section p {
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

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

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

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

.page-index .faq-question:hover {
  background: #0d3080; /* Slightly darker primary */
}

.page-index .faq-question h3 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.2em;
}

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

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

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

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

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

/* Blog Section */
.page-index .blog-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.page-index .blog-section h2 {
  color: var(--primary-color);
}

.page-index .blog-section p {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

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

.page-index .blog-card {
  background: var(--card-background);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index .blog-card:hover {
  transform: translateY(-5px);
}

.page-index .blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-index .blog-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  flex-grow: 1;
}

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

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

.page-index .blog-card p {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-align: left;
}

.page-index .blog-date {
  font-size: 0.85em;
  color: #777;
  text-align: right;
  display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index h1 {
    font-size: 2.5em;
  }

  .page-index h2 {
    font-size: 1.8em;
  }

  .page-index h3 {
    font-size: 1.4em;
  }

  .page-index .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }

  .page-index .hero-content h1 {
    font-size: 2em;
  }

  .page-index .hero-content p {
    font-size: 1em;
  }

  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-index .container {
    padding: 15px;
  }

  .page-index .intro-grid, .page-index .quick-links-grid, .page-index .games-grid, .page-index .promo-grid, .page-index .support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
  }

  .page-index .faq-question {
    padding: 15px 20px;
  }

  .page-index .faq-question h3 {
    font-size: 1.1em;
  }

  .page-index .faq-toggle {
    font-size: 20px;
  }

  .page-index .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index h1 {
    font-size: 1.8em;
  }

  .page-index h2 {
    font-size: 1.6em;
  }

  .page-index h3 {
    font-size: 1.2em;
  }

  .page-index .hero-image img {
    border-radius: 6px;
  }

  .page-index .cta-button {
    width: 100%;
    padding: 15px 0;
  }

  .page-index .quick-link-item {
    font-size: 1em;
    padding: 15px;
  }

  .page-index .blog-card img {
    height: 150px;
  }
}