:root {
  --primary-color: #1A2A3A; /* Deep Navy Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-light: #f4f7f6;
  --bg-dark: #2c3e50; /* Slightly lighter than primary for contrast */
  --border-color: #e0e0e0;
  --hover-color: #e6c200; /* Darker gold for hover */
  --shadow-color: rgba(0, 0, 0, 0.1);
}

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

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

.page-index .section-title {
  color: var(--primary-color);
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.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(--primary-color); /* Fallback */
  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;
}

.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 var(--shadow-color);
}

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

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

.page-index .hero-content p {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 30px;
  color: var(--text-light);
}

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

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

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

.page-index .intro-section p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 17px;
}

.page-index .intro-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index .feature-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .feature-item h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 15px;
}

.page-index .feature-item p {
  font-size: 16px;
  color: var(--text-dark);
}

.page-index .quick-access-section {
  background-color: var(--primary-color);
  padding: 60px 0;
  color: var(--text-light);
}

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

.page-index .quick-access-section p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 17px;
  color: var(--text-light);
}

.page-index .access-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.page-index .access-button {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-index .access-button:hover {
  background: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-index .games-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-index .games-section p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 17px;
}

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

.page-index .game-card {
  background-color: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-color);
  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 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-index .game-card p {
  font-size: 15px;
  color: var(--text-dark);
  padding: 0 20px;
  text-align: left;
  flex-grow: 1;
}

.page-index .read-more-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  margin: 20px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

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

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

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

.page-index .promotions-section p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 17px;
  color: var(--text-light);
}

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

.page-index .promotions-section p a:hover {
  color: var(--hover-color);
}

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

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

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

.page-index .promo-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.page-index .promo-item h3 {
  font-size: 22px;
  margin: 20px 20px 10px;
  color: var(--secondary-color);
}

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

.page-index .promo-item h3 a:hover {
  color: var(--hover-color);
}

.page-index .promo-item p {
  font-size: 15px;
  color: var(--text-light);
  padding: 0 20px;
  text-align: center;
  flex-grow: 1;
}

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

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

.page-index .security-support-section {
  background-color: var(--bg-light);
  padding: 60px 0;
}

.page-index .security-support-section p {
  text-align: center;
  margin-bottom: 30px;
  font-size: 17px;
}

.page-index .security-support-section p a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index .security-support-section p a:hover {
  color: var(--secondary-color);
}

.page-index .security-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-index .faq-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.page-index .faq-list {
  max-width: 800px;
  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 20px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index .faq-question:hover {
  background: var(--bg-light);
}

.page-index .faq-question h3 {
  color: var(--primary-color);
  font-size: 18px;
  margin: 0;
}

.page-index .faq-toggle {
  font-size: 24px;
  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 20px;
  background: var(--bg-light);
  color: var(--text-dark);
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; 
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.page-index .faq-item.active .faq-answer p {
  margin: 0;
  font-size: 16px;
}

.page-index .blog-section {
  background-color: var(--bg-dark);
  padding: 60px 0;
  color: var(--text-light);
}

.page-index .blog-section .section-title {
  color: var(--secondary-color);
}

.page-index .blog-section p {
  text-align: center;
  margin-bottom: 40px;
  font-size: 17px;
  color: var(--text-light);
}

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

.page-index .article-card {
  background-color: var(--primary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

.page-index .article-card p {
  font-size: 15px;
  color: var(--text-light);
  padding: 0 20px;
  text-align: left;
  flex-grow: 1;
}

@media (max-width: 992px) {
  .page-index .hero-content h1 {
    font-size: 40px;
  }
  .page-index .hero-content p {
    font-size: 18px;
  }
  .page-index .section-title {
    font-size: 30px;
  }
  .page-index .intro-features,
  .page-index .security-features {
    flex-direction: column;
    align-items: center;
  }
  .page-index .feature-item {
    max-width: 90%;
  }
  .page-index .game-categories,
  .page-index .promo-list,
  .page-index .blog-articles {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .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: 26px;
    margin-bottom: 30px;
  }
  .page-index .feature-item h3,
  .page-index .game-card h3,
  .page-index .promo-item h3,
  .page-index .article-card h3 {
    font-size: 20px;
  }
  .page-index .access-button {
    padding: 10px 20px;
    font-size: 14px;
  }
  .page-index .game-card img,
  .page-index .promo-item img,
  .page-index .article-card img {
    height: 160px;
  }
  .page-index .faq-question {
    padding: 15px;
  }
  .page-index .faq-question h3 {
    font-size: 16px;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
  .page-index .faq-answer {
    padding: 0 15px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-content h1 {
    font-size: 28px;
  }
  .page-index .hero-content p {
    font-size: 15px;
  }
  .page-index .cta-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .page-index .section-title {
    font-size: 24px;
  }
  .page-index .access-links {
    flex-direction: column;
    align-items: center;
  }
  .page-index .access-button {
    width: 80%;
    max-width: 280px;
  }
}