/* style/index.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Deep Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #1a1a1a;
  --bg-light: #f5f5f5;
  --border-color: #e0e0e0;
}

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

.page-index h1, .page-index h2, .page-index h3 {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-index h2 {
  font-size: 2.2em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

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

.page-index p {
  margin-bottom: 15px;
  color: var(--text-dark);
}

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

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

.page-index .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 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: 60px 20px;
  background-color: 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%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  margin-top: -80px; /* Overlap with image slightly */
}

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

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

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-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);
  border: 2px solid var(--primary-color);
}

.page-index .cta-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: var(--text-light);
}

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

.page-index .intro-section h2 {
  color: var(--secondary-color);
}

.page-index .intro-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

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

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

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

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

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

.page-index .quick-links-section p {
  color: var(--text-light);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-index .quick-link-card {
  background: var(--secondary-color);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  color: var(--text-light);
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index .quick-link-card:hover {
  transform: translateY(-8px);
  background-color: var(--primary-color);
  color: var(--bg-dark);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index .quick-link-card h3 {
  color: inherit;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-index .quick-link-card p {
  color: inherit;
  font-size: 0.95em;
  margin-bottom: 0;
}

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

.page-index .games-section h2 {
  color: var(--secondary-color);
}

.page-index .games-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.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: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

.page-index .game-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
}

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

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

.page-index .promotions-section p {
  color: var(--text-light);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.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: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

.page-index .promo-button:hover {
  background: var(--text-light);
  color: var(--secondary-color);
}

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

.page-index .security-cs-section h2 {
  color: var(--secondary-color);
}

.page-index .security-cs-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-index .security-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

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

.page-index .security-item p {
  color: var(--text-dark);
  font-size: 1em;
}

.page-index .contact-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index .contact-button:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

.page-index .faq-section p {
  color: var(--text-light);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.faq-question:hover {
  background: #a50000; /* Slightly darker red */
}

.faq-question h3 {
  margin: 0;
  font-size: 1.3em;
  color: var(--text-light);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #2a2a2a; /* Darker background for answer */
  color: var(--text-light);
}

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

.faq-answer p {
  color: var(--text-light);
  margin-bottom: 0;
}

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

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

.page-index .blog-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

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

.page-index .blog-card h3 {
  font-size: 1.4em;
  padding: 20px 15px 0;
  margin-bottom: 10px;
}

.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 {
  color: var(--text-dark);
  padding: 0 15px;
  font-size: 0.95em;
}

.page-index .blog-date {
  display: block;
  font-size: 0.85em;
  color: #777;
  padding: 0 15px 20px;
}

.page-index .view-all-button {
  display: block;
  width: fit-content;
  margin: 50px auto 0;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-index .view-all-button:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-content h1 {
    font-size: 3em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index .cta-button {
    font-size: 1.3em;
    padding: 12px 35px;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page-index .hero-content h1 {
    font-size: 2.2em;
  }
  .page-index .hero-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-index .cta-button {
    font-size: 1.1em;
    padding: 10px 25px;
  }
  .page-index h2 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-index h3 {
    font-size: 1.3em;
  }
  .page-index .intro-section, .page-index .quick-links-section, 
  .page-index .games-section, .page-index .promotions-section, 
  .page-index .security-cs-section, .page-index .faq-section, 
  .page-index .blog-section {
    padding: 40px 0;
  }
  .page-index .quick-links-grid, .page-index .games-grid, 
  .page-index .promo-grid, .page-index .security-cs-content, 
  .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .feature-item, .page-index .game-card, 
  .page-index .promo-card, .page-index .security-item, 
  .page-index .blog-card {
    margin-left: 15px;
    margin-right: 15px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-index .contact-button, .page-index .view-all-button {
    font-size: 1em;
    padding: 12px 30px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-content h1 {
    font-size: 1.8em;
  }
  .page-index .hero-content p {
    font-size: 0.9em;
  }
  .page-index .cta-button {
    font-size: 1em;
    padding: 8px 20px;
  }
  .page-index h2 {
    font-size: 1.5em;
  }
  .page-index .feature-icon, .page-index .security-icon {
    width: 80px;
    height: 80px;
  }
  .page-index .quick-link-card h3 {
    font-size: 1.2em;
  }
  .page-index .game-card h3, .page-index .promo-card h3, 
  .page-index .security-item h3, .page-index .blog-card h3 {
    font-size: 1.2em;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 18px;
  }
}