:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A202C; /* Dark Charcoal */
  --accent-color: #E53E3E; /* Red for emphasis */
  --text-light: #ffffff;
  --text-dark: #1A202C;
  --background-light: #f9f9f9;
  --background-dark: #2D3748; /* Slightly lighter dark for contrast */
}

.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(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
}

.page-index-h1 {
  font-size: 3em;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-h2 {
  font-size: 2.5em;
  position: relative;
  padding-bottom: 15px;
}

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

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

.page-index p {
  margin-bottom: 15px;
  text-align: justify;
}

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

.page-index a:hover {
  color: var(--accent-color);
}

.page-index .highlight {
  color: var(--accent-color);
  font-weight: bold;
}

/* 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(--secondary-color);
  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;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px 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%;
}

.page-index .hero-content p {
  font-size: 1.2em;
  margin-bottom: 25px;
  color: #E0E0E0;
}

.page-index .hero-content .highlight {
  color: var(--primary-color);
}

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

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

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

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

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

.page-index .quick-access-section p {
  color: #E0E0E0;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-index-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #2D3748; /* Slightly lighter dark for contrast */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--text-light);
}

.page-index-quick-link:hover {
  transform: translateY(-8px);
  background-color: #3A475A;
  color: var(--primary-color);
}

.page-index-quick-link-img {
  width: 150px; /* Adjust size to be >= 200px if needed */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
}

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

.page-index-quick-link p {
  font-size: 0.95em;
  color: #CCC;
}

/* Games Section */
.page-index .games-section {
  padding: 60px 20px;
  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-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-index-game-card p {
  padding: 0 15px 20px;
  flex-grow: 1;
  text-align: center;
}

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

.page-index-game-button:hover {
  background-color: #FFC107;
  transform: translateY(-2px);
}

.page-index-more-games-text {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

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

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

.page-index .promotions-section p {
  color: #E0E0E0;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-index-promo-card {
  background-color: #2D3748;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index-promo-card:hover {
  transform: translateY(-8px);
  background-color: #3A475A;
}

.page-index-promo-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

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

.page-index-promo-card p {
  padding: 0 15px 20px;
  color: #CCC;
  flex-grow: 1;
}

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

.page-index-promo-button:hover {
  background-color: #C53030;
  transform: translateY(-2px);
}

.page-index-promo-note {
  margin-top: 40px;
  font-size: 1.1em;
  color: #E0E0E0;
}

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

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

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

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

.page-index-security-item-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
}

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

.page-index-security-item p {
  font-size: 0.95em;
  color: #555;
}

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

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

.page-index .faq-section p {
  color: #E0E0E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-index-faq-list {
  margin-top: 30px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2D3748;
  color: var(--text-light);
  border: 1px solid #3A475A;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.faq-question:hover {
  background: #3A475A;
  border-color: var(--primary-color);
}

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

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #3A475A;
  color: #E0E0E0;
  border-radius: 0 0 8px 8px;
}

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

.faq-item.active .faq-answer p {
  margin: 0;
  text-align: left;
}

/* Blog Section */
.page-index .blog-section {
  padding: 60px 20px;
  background-color: var(--background-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-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px 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(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.page-index-blog-card h3 {
  font-size: 1.4em;
  color: var(--secondary-color);
  margin: 20px 15px 10px;
  flex-grow: 1;
}

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

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

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

.page-index-blog-date {
  display: block;
  font-size: 0.85em;
  color: #888;
  padding: 10px 15px 20px;
  text-align: right;
}

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

.page-index-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-index-button:hover {
  background-color: #3A475A;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-h1 {
    font-size: 2.5em;
  }
  .page-index-h2 {
    font-size: 2em;
  }
  .page-index-cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-index-quick-link-img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .page-index-h1 {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-index-h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index-cta-button {
    padding: 10px 25px;
    font-size: 1em;
    margin-top: 20px;
  }
  .page-index-quick-link-img {
    width: 100px;
    height: 100px;
  }
  .page-index-quick-link h3 {
    font-size: 1.2em;
  }
  .page-index-game-card-img, .page-index-promo-card-img, .page-index-blog-card-img {
    height: 180px;
  }
  .page-index-security-item-img {
    width: 150px;
    height: 150px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index-h1 {
    font-size: 1.8em;
  }
  .page-index-h2 {
    font-size: 1.5em;
  }
  .page-index-container {
    padding: 15px;
  }
  .page-index-cta-button {
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
  }
  .page-index .hero-image {
    margin-bottom: 20px;
  }
  .page-index .hero-section, .page-index .intro-section, .page-index .quick-access-section, .page-index .games-section, .page-index .promotions-section, .page-index .security-support-section, .page-index .faq-section, .page-index .blog-section {
    padding: 40px 15px;
  }
  .page-index-quick-link-img {
    width: 80px;
    height: 80px;
  }
  .page-index-game-card-img, .page-index-promo-card-img, .page-index-blog-card-img {
    height: 150px;
  }
  .page-index-security-item-img {
    width: 120px;
    height: 120px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
}