:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f4f7f6;
  --bg-dark: #0A2463;
  --border-color: #e0e0e0;
}

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

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

.page-index section {
  padding: 60px 0;
  margin-bottom: 20px;
}

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

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

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

.page-index h3 {
  font-size: 1.6em;
  color: var(--primary-color);
}

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

.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: 80px 20px;
  background: linear-gradient(135deg, var(--bg-dark), #1A3A7A);
  overflow: hidden;
}

.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;
  z-index: 2;
}

.page-index .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  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: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-index .hero-content p {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--text-light);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

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

.page-index .cta-button:hover {
  background: #E6C200;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-index .cta-button-secondary {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* Introduction Section */
.page-index .introduction-section {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.page-index .introduction-section p {
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1em;
}

/* Quick Links Section */
.page-index .quick-links-section {
  background-color: #e6eef0;
  padding: 80px 0;
}

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

.page-index .quick-link-item {
  background: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-index .quick-link-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

.page-index .quick-link-item h3 {
  margin-top: 15px;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.4em;
}

.page-index .quick-link-item p {
  font-size: 1em;
  color: #666;
  margin-bottom: 0;
}

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

.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: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-index .game-card h3 {
  padding: 20px 25px 10px;
  margin-bottom: 0;
  text-align: left;
  font-size: 1.5em;
}

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

.page-index .game-card h3 a:hover {
  text-decoration: underline;
}

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

.page-index .game-card .btn-game {
  display: block;
  width: calc(100% - 50px);
  margin: 0 25px 25px;
  padding: 12px 0;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index .game-card .btn-game:hover {
  background: #E6C200;
}

/* Promotions Section */
.page-index .promotions-section {
  background-color: #e6eef0;
  padding: 80px 0;
}

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

.page-index .promo-card {
  background: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-index .promo-card p {
  color: #666;
  font-size: 0.95em;
  flex-grow: 1;
  margin-bottom: 25px;
}

.page-index .promo-card .btn-promo {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-index .promo-card .btn-promo:hover {
  background: #071A49;
}

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

.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);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-index .info-block p {
  color: #666;
  font-size: 0.95em;
}

/* FAQ Section */
.page-index .faq-section {
  background-color: #e6eef0;
  padding: 80px 0;
}

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

.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 {
  margin: 0;
  font-size: 1.15em;
  text-align: left;
  color: var(--primary-color);
}

.page-index .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-index .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-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: #f9f9f9;
  color: #555;
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.page-index .faq-answer p {
  margin-bottom: 0;
  font-size: 1em;
}

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

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

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

.page-index .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

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

.page-index .blog-card h3 {
  padding: 20px 25px 10px;
  margin-bottom: 0;
  text-align: left;
  font-size: 1.4em;
}

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

.page-index .blog-card h3 a:hover {
  text-decoration: underline;
}

.page-index .blog-card p {
  padding: 0 25px 15px;
  color: #555;
  flex-grow: 1;
  font-size: 0.95em;
}

.page-index .blog-card .read-more-link {
  display: inline-block;
  margin: 0 25px 25px;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index .blog-card .read-more-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* 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.3em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index .cta-button {
    padding: 15px 35px;
    font-size: 1.1em;
  }
  .page-index .quick-links-grid, .page-index .games-grid, .page-index .promotions-grid, .page-index .security-support-grid, .page-index .blog-posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index section {
    padding: 40px 0;
  }
  .page-index h1 {
    font-size: 2em;
  }
  .page-index h2 {
    font-size: 1.6em;
  }
  .page-index h3 {
    font-size: 1.2em;
  }
  .page-index .hero-section {
    padding: 60px 15px;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index .cta-button-secondary {
    padding: 10px 25px;
    font-size: 0.95em;
  }
  .page-index .quick-links-grid, .page-index .games-grid, .page-index .promotions-grid, .page-index .security-support-grid, .page-index .blog-posts-grid {
    grid-template-columns: 1fr;
  }
  .page-index .game-card img, .page-index .blog-card img {
    height: 180px;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index .faq-toggle {
    font-size: 1.5em;
  }
  .page-index .faq-answer {
    padding: 0 20px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index h1 {
    font-size: 1.8em;
  }
  .page-index h2 {
    font-size: 1.4em;
  }
  .page-index h3 {
    font-size: 1.1em;
  }
  .page-index .hero-image {
    margin-bottom: 20px;
  }
  .page-index .hero-content p {
    font-size: 0.9em;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index .quick-link-item h3 {
    font-size: 1.2em;
  }
  .page-index .game-card h3 {
    font-size: 1.3em;
  }
  .page-index .promo-card h3 {
    font-size: 1.3em;
  }
  .page-index .info-block h3 {
    font-size: 1.3em;
  }
  .page-index .blog-card h3 {
    font-size: 1.2em;
  }
}