/* style/index.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

.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: 0 20px;
}

.page-index .section-title {
  font-size: 36px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-index .section-description {
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index .primary-button {
  background: var(--primary-color);
  color: var(--text-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-index .secondary-button {
  background: var(--secondary-color);
  color: var(--text-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* 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: 8px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-index .hero-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index .hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index .hero-actions {
  margin-top: 20px;
}

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

.page-index .intro-text {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

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

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

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

.page-index .feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

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

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

.page-index .quick-access-section .section-description {
  color: var(--text-light);
}

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

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

.page-index .access-button:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-index .game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index .game-card .game-title {
  font-size: 22px;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
}

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

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

.page-index .game-description {
  font-size: 16px;
  color: var(--text-dark);
  padding: 0 20px 15px;
}

.page-index .read-more-link {
  display: block;
  padding: 15px 20px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index .read-more-link:hover {
  background-color: darken(var(--primary-color), 10%);
}

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

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

.page-index .promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.page-index .promo-card .promo-title {
  font-size: 22px;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
}

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

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

.page-index .promo-text {
  font-size: 16px;
  color: var(--text-dark);
  padding: 0 20px 15px;
}

.page-index .promo-button {
  display: block;
  padding: 15px 20px;
  background-color: var(--primary-color);
  color: var(--text-dark);
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index .promo-button:hover {
  background-color: darken(var(--primary-color), 10%);
}

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

.page-index .security-support-section .section-title {
  color: var(--primary-color);
}

.page-index .security-support-section .section-description {
  color: var(--text-light);
}

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

.page-index .ss-item {
  text-align: center;
  padding: 30px;
  background-color: #333333;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .ss-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

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

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

.page-index .contact-link:hover {
  background-color: darken(var(--primary-color), 10%);
}

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

.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;
}

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index .faq-question:hover {
  background: #f5f5f5;
}

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

.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.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

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

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

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

.page-index .faq-answer a:hover {
  color: var(--primary-color);
}

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

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

.page-index .blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index .blog-card .blog-title {
  font-size: 22px;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
}

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

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

.page-index .blog-excerpt {
  font-size: 16px;
  color: var(--text-dark);
  padding: 0 20px 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-title {
    font-size: 42px;
  }
  .page-index .hero-description {
    font-size: 18px;
  }
  .page-index .section-title {
    font-size: 30px;
  }
  .page-index .section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image img {
    border-radius: 4px;
  }
  .page-index .hero-title {
    font-size: 36px;
  }
  .page-index .hero-description {
    font-size: 16px;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin: 8px;
  }
  .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: 50px 0;
  }
  .page-index .section-title {
    font-size: 28px;
  }
  .page-index .feature-icon, .page-index .ss-icon {
    width: 80px;
    height: 80px;
  }
  .page-index .feature-item h3, .page-index .ss-item h3, .page-index .game-card .game-title, .page-index .promo-card .promo-title, .page-index .blog-card .blog-title {
    font-size: 20px;
  }
  .page-index .quick-access-links {
    flex-direction: column;
    align-items: center;
  }
  .page-index .access-button {
    width: 80%;
    max-width: 300px;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 16px;
  }
  .page-index .faq-answer {
    padding: 0 20px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-title {
    font-size: 32px;
  }
  .page-index .hero-description {
    font-size: 15px;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-index .section-title {
    font-size: 24px;
  }
  .page-index .section-description {
    font-size: 14px;
  }
  .page-index .feature-item, .page-index .game-card, .page-index .promo-card, .page-index .ss-item, .page-index .blog-card {
    padding: 20px;
  }
  .page-index .feature-item h3, .page-index .ss-item h3, .page-index .game-card .game-title, .page-index .promo-card .promo-title, .page-index .blog-card .blog-title {
    font-size: 18px;
  }
  .page-index .game-image, .page-index .promo-image, .page-index .blog-image {
    height: 150px;
  }
  .page-index .faq-question h3 {
    font-size: 15px;
  }
}