/* style/index.css */
:root {
  --primary-color: #0A192F; /* Tech Blue */
  --secondary-color: #FFD700; /* Luxury Gold */
  --text-light: #F0F2F5; /* Light grey for dark backgrounds */
  --text-dark: #333333; /* Dark grey for light backgrounds */
  --bg-dark-section: #1A2E47; /* Slightly lighter dark for sections */
  --bg-light-section: #F9F9F9; /* Light grey for alternating sections */
  --border-color: #2A3B50;
  --button-hover-gold: #E5C100;
}

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

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

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

.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 .highlight-text {
  color: var(--secondary-color);
  font-weight: bold;
}

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

.page-index .cta-button:hover {
  background: var(--button-hover-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px 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(--primary-color); /* Fallback background */
}

.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 10px 30px rgba(0, 0, 0, 0.4);
}

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

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

.page-index .hero-description {
  font-size: 22px;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

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

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

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

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

.page-index .intro-item-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

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

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

.page-index .quick-link-card {
  background: var(--primary-color);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index .quick-link-card:hover {
  transform: translateY(-10px);
  background-color: #1F3F62; /* Slightly lighter primary for hover */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index .quick-link-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index .quick-link-text {
  font-size: 16px;
  color: var(--text-light);
}

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

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

.page-index .game-card {
  background: #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-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-index .game-card-content {
  padding: 25px;
}

.page-index .game-card-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index .game-card-text {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-index .game-card-button {
  display: inline-block;
  padding: 10px 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;
}

.page-index .game-card-button:hover {
  background: var(--button-hover-gold);
  transform: translateY(-2px);
}

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

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

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

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

.page-index .promo-card {
  background: var(--bg-dark-section);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  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.3);
}

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

.page-index .promo-card-content {
  padding: 25px;
}

.page-index .promo-card-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index .promo-card-text {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-index .promo-card-button {
  display: inline-block;
  padding: 10px 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;
}

.page-index .promo-card-button:hover {
  background: var(--button-hover-gold);
  transform: translateY(-2px);
}

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

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

.page-index .ss-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  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.15);
}

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

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

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

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

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

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

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

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-question:hover {
  background: #1F3F62;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-index .faq-question-title {
  font-size: 20px;
  color: var(--secondary-color);
  margin: 0;
  font-weight: bold;
}

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

.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 20px;
  background: var(--primary-color);
  border-radius: 0 0 8px 8px;
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
  background: #1A2E47; /* Slightly lighter dark for answer background */
  border: 1px solid var(--border-color);
  border-top: none;
}

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

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

.faq-item.active .faq-answer a:hover {
  color: var(--button-hover-gold);
}

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

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

.page-index .blog-card {
  background: #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-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-index .blog-card-content {
  padding: 25px;
}

.page-index .blog-card-title {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: bold;
}

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

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

.page-index .blog-card-text {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-index .blog-date {
  font-size: 14px;
  color: #888;
}

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

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

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-title {
    font-size: 36px;
  }
  .page-index .hero-description {
    font-size: 18px;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index .section-title {
    font-size: 28px;
  }
  .page-index .section-description {
    margin-bottom: 30px;
  }
  .page-index .intro-grid, .page-index .quick-links-grid, .page-index .games-grid, .page-index .promotions-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .intro-item, .page-index .quick-link-card, .page-index .game-card, .page-index .promo-card, .page-index .ss-item, .page-index .blog-card {
    padding: 20px;
  }
  .page-index .intro-icon, .page-index .quick-link-icon, .page-index .ss-icon {
    width: 80px;
    height: 80px;
  }
  .page-index .intro-item-title, .page-index .quick-link-title, .page-index .game-card-title, .page-index .promo-card-title, .page-index .ss-item-title, .page-index .blog-card-title {
    font-size: 20px;
  }
  .page-index .game-card-img, .page-index .promo-card-img, .page-index .blog-card-img {
    height: 180px;
  }
  .faq-question {
    padding: 15px;
  }
  .page-index .faq-question-title {
    font-size: 18px;
  }
  .faq-toggle {
    font-size: 24px;
  }
  .faq-item.active .faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-title {
    font-size: 30px;
  }
  .page-index .hero-description {
    font-size: 16px;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 14px;
  }
  .page-index .section-title {
    font-size: 24px;
  }
  .page-index .intro-item-title, .page-index .quick-link-title, .page-index .game-card-title, .page-index .promo-card-title, .page-index .ss-item-title, .page-index .blog-card-title {
    font-size: 18px;
  }
  .page-index .game-card-img, .page-index .promo-card-img, .page-index .blog-card-img {
    height: 150px;
  }
  .faq-question {
    padding: 12px;
  }
  .page-index .faq-question-title {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-item.active .faq-answer {
    padding: 12px;
  }
}