.page-index {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #FFFFFF;
  --text-dark: #1A202C;
  --bg-dark: #1A202C;
  --bg-light: #F8F8F8;
  --accent-color: #FFD700;
}

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

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

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

.page-index h1 {
  font-size: 3.2em;
  color: var(--secondary-color);
}

.page-index h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 40px;
}

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

.page-index p {
  color: var(--text-light);
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
}

/* 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: var(--bg-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;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

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

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

.page-index .cta-button:hover {
  background: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Intro Section */
.page-index .intro-section {
  background: linear-gradient(to bottom, var(--bg-dark), #2c3e50);
  color: var(--text-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: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-index .intro-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

.page-index .intro-item h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 1.6em;
}

.page-index .intro-item p {
  color: var(--text-light);
  font-size: 1em;
  line-height: 1.5;
}

.page-index .intro-icon {
  width: 100%; 
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 5px;
  object-fit: cover;
}

/* Quick Links Section */
.page-index .quick-links-section {
  background: #2c3e50;
  color: var(--text-light);
}

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

.page-index .quick-link-item {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

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

.page-index .quick-link-item h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-size: 1.5em;
}

.page-index .quick-link-item p {
  color: var(--text-light);
  font-size: 0.95em;
  margin-bottom: 0;
}

/* Games Section */
.page-index .games-section {
  background: linear-gradient(to top, var(--bg-dark), #2c3e50);
  color: var(--text-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: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

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

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

.page-index .game-card h3 {
  padding: 15px 20px 0;
  text-align: left;
  color: var(--secondary-color);
  font-size: 1.5em;
}

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

.page-index .game-card h3 a:hover {
  color: #FFC107;
}

.page-index .game-card p {
  padding: 0 20px 15px;
  text-align: left;
  color: var(--text-light);
  font-size: 0.95em;
}

.page-index .game-button {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px 20px;
  padding: 12px 0;
  background: var(--secondary-color);
  color: var(--bg-dark);
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index .game-button:hover {
  background-color: #FFC107;
}

/* Promotions Section */
.page-index .promotions-section {
  background: #2c3e50;
  color: var(--text-light);
}

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

.page-index .promo-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index .promo-card:hover {
  transform: translateY(-8px);
}

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

.page-index .promo-card h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  padding: 20px 15px 10px;
  margin-bottom: 0;
}

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

.page-index .promo-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-index .promo-button:hover {
  background-color: #FFC107;
}

/* Security & Support Section */
.page-index .security-support-section {
  background: linear-gradient(to bottom, var(--bg-dark), #2c3e50);
  color: var(--text-light);
}

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

.page-index .ss-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index .ss-item h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  text-align: left;
  margin-bottom: 15px;
}

.page-index .ss-item p {
  color: var(--text-light);
  font-size: 1em;
  line-height: 1.5;
  text-align: left;
}

.page-index .contact-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-index .contact-button:hover {
  background-color: #FFC107;
}

/* FAQ Section */
.page-index .faq-section {
  background: #2c3e50;
  color: var(--text-light);
}

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

.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: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index .faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

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

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

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

.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: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
}

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

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

/* Blog Section */
.page-index .blog-section {
  background: linear-gradient(to top, var(--bg-dark), #2c3e50);
  color: var(--text-light);
}

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

.page-index .blog-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

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

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

.page-index .blog-card h3 {
  padding: 15px 20px 0;
  text-align: left;
  font-size: 1.5em;
}

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

.page-index .blog-card h3 a:hover {
  color: #FFC107;
}

.page-index .blog-card p {
  padding: 0 20px 15px;
  text-align: left;
  color: var(--text-light);
  font-size: 0.95em;
}

.page-index .read-more {
  display: inline-block;
  padding: 8px 15px;
  background: var(--secondary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background-color 0.3s ease;
}

.page-index .read-more:hover {
  background-color: #FFC107;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-content h1 {
    font-size: 3em;
  }
  .page-index .hero-content p {
    font-size: 1.2em;
  }
  .page-index h2 {
    font-size: 2.2em;
  }
  .page-index h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-index section {
    padding: 40px 0;
  }
  .page-index .hero-section {
    padding: 60px 15px;
  }
  .page-index .hero-content h1 {
    font-size: 2.5em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index .cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }
  .page-index h2 {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-index h3 {
    font-size: 1.4em;
  }
  .page-index p {
    font-size: 1em;
  }
  .page-index .intro-grid, .page-index .links-grid, .page-index .games-grid, .page-index .promo-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .game-card img.game-image, .page-index .promo-card img.promo-image, .page-index .blog-card img.blog-image {
    height: 180px;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index .faq-answer {
    padding: 0 20px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-content h1 {
    font-size: 2em;
  }
  .page-index .hero-content p {
    font-size: 0.95em;
  }
  .page-index .cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-index h2 {
    font-size: 1.8em;
  }
  .page-index h3 {
    font-size: 1.3em;
  }
  .page-index .intro-item, .page-index .quick-link-item, .page-index .game-card, .page-index .promo-card, .page-index .ss-item, .page-index .blog-card {
    padding: 20px;
  }
  .page-index .intro-icon {
    max-width: 200px;
  }
  .page-index .game-button, .page-index .promo-button, .page-index .contact-button, .page-index .read-more {
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }
}