/* style/index.css */
:root {
  --primary-color: #E44D26;
  --secondary-color: #336699;
  --text-dark: #2c3e50;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #34495e;
  --border-color: #e0e0e0;
}

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

.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;
  line-height: 1.2;
}

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

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-index .text-center {
  text-align: center;
}

/* 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); /* Fallback background */
  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 rgba(0, 0, 0, 0.3);
}

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

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

.page-index .hero-description {
  font-size: 22px;
  margin-bottom: 30px;
  color: var(--text-light);
  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);
}

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

.page-index .intro-item {
  text-align: center;
  padding: 30px;
  background: #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 .intro-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

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

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

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

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

.page-index .access-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: var(--text-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .access-card .card-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain;
}

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

.page-index .access-card .card-text {
  font-size: 15px;
  color: var(--text-dark);
}

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

.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 .game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

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

.page-index .game-card .game-button {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border-radius: 0 0 10px 10px;
}

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

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

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

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

.page-index .promo-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 .promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-index .promo-card .promo-button {
  display: block;
  text-align: center;
  padding: 10px 20px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border-radius: 0 0 10px 10px;
}

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

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

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

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

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

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

.page-index .security-cs-item p {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.page-index .security-cs-item .contact-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-index .security-cs-item .contact-button:hover {
  background: var(--secondary-color);
}

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

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

.page-index .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: var(--text-dark);
}

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

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

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

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 15px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px;
  border-radius: 0 0 5px 5px;
}

.page-index .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

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

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

.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(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

.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-card .blog-summary {
  font-size: 15px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

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

.page-index .view-all-button {
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index .hero-title {
    font-size: 40px;
  }
  .page-index .hero-description {
    font-size: 18px;
  }
  .page-index .section-title {
    font-size: 30px;
  }
  .page-index .section-description {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .page-index .intro-grid,
  .page-index .quick-access-grid,
  .page-index .games-grid,
  .page-index .promotions-grid,
  .page-index .security-cs-grid,
  .page-index .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@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: 32px;
  }
  .page-index .hero-description {
    font-size: 16px;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .page-index .section-title {
    font-size: 26px;
  }
  .page-index .section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-index .intro-grid,
  .page-index .quick-access-grid,
  .page-index .games-grid,
  .page-index .promotions-grid,
  .page-index .security-cs-grid,
  .page-index .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index .intro-item,
  .page-index .access-card,
  .page-index .game-card,
  .page-index .promo-card,
  .page-index .security-cs-item,
  .page-index .blog-card {
    margin-bottom: 20px;
  }
  .page-index .faq-question {
    padding: 12px;
  }
  .page-index .faq-question h3 {
    font-size: 16px;
  }
  .page-index .faq-toggle {
    font-size: 18px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-title {
    font-size: 28px;
  }
  .page-index .hero-description {
    font-size: 14px;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-index .section-title {
    font-size: 22px;
  }
  .page-index .section-description {
    font-size: 14px;
  }
  .page-index .intro-item h3,
  .page-index .access-card .card-title,
  .page-index .game-card .game-title,
  .page-index .promo-card .promo-title,
  .page-index .security-cs-item h3,
  .page-index .blog-card .blog-title {
    font-size: 20px;
  }
}