/* style/index.css */

/* General Styles */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

.page-index-section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
}

.page-index-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #FFCC00;
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-index-section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-index-btn-primary {
  background-color: #FFCC00;
  color: #003366;
}

.page-index-btn-primary:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

.page-index-btn-secondary {
  background-color: #003366;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-index-btn-secondary:hover {
  background-color: #002244;
  color: #FFCC00;
  transform: translateY(-2px);
}

.page-index-btn-outline {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
}

.page-index-btn-outline:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-index-btn-lg {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-index-bg-dark {
  background-color: #003366;
  color: #f0f0f0;
}

.page-index-bg-light {
  background-color: #f8f8f8;
}

.page-index-text-light {
  color: #f0f0f0;
}

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

.page-index-text-link {
  color: #FFCC00;
  text-decoration: none;
  font-weight: bold;
}

.page-index-text-link:hover {
  text-decoration: underline;
}

.page-index-mt-3 {
  margin-top: 1.5rem;
}

.page-index-mt-4 {
  margin-top: 2rem;
}

.page-index-img-fluid {
  max-width: 100%;
  height: auto;
}

/* Hero Section */
.page-index-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #003366, #004488);
  padding: 80px 0;
  color: #f0f0f0;
  text-align: center;
}

.page-index-hero-content {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: left;
  max-width: 600px;
}

.page-index-hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00;
  line-height: 1.1;
}

.page-index-hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-index-hero-actions .page-index-btn {
  margin-right: 15px;
  margin-bottom: 10px;
}

.page-index-hero-image {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  text-align: center;
}

.page-index-hero-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-height: 450px;
  object-fit: contain;
}

/* About Us Section */
.page-index-about-us {
  padding: 80px 0;
  background-color: #fff;
}

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

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

.page-index-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index-feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.2));
}

.page-index-feature-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-feature-text {
  color: #666;
}

/* Game Categories Section */
.page-index-game-categories {
  padding: 80px 0;
}

.page-index-game-categories .page-index-section-title::after {
  background-color: #FFCC00;
}

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

.page-index-category-item {
  background-color: #004488;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index-category-title {
  font-size: 1.4em;
  color: #FFCC00;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-category-text {
  color: #e0e0e0;
  padding: 0 15px 20px;
  font-size: 0.95em;
}

.page-index-category-item .page-index-btn {
  margin-top: 15px;
}

/* Promotions Section */
.page-index-promotions {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index-promo-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-promo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index-promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index-promo-title {
  font-size: 1.4em;
  color: #003366;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index-promo-text {
  color: #666;
  padding: 0 15px 20px;
  font-size: 0.95em;
}

.page-index-promo-item .page-index-btn {
  margin-top: 15px;
  margin-bottom: 20px;
}

/* App Download Section */
.page-index-app-download {
  padding: 80px 0;
  text-align: center;
}

.page-index-app-download .page-index-section-title::after {
  background-color: #FFCC00;
}

.page-index-download-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-index-download-item {
  background-color: #004488;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 280px;
  text-align: center;
}

.page-index-download-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.page-index-download-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 10px;
}

.page-index-download-text {
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-index-app-screenshot {
  margin-top: 60px;
  padding: 0 15px;
}

.page-index-app-screenshot img {
  max-width: 600px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Security Commitment Section */
.page-index-security-commitment {
  padding: 80px 0;
  background-color: #fff;
}

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

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

.page-index-security-item .page-index-feature-icon {
  filter: none; /* Reset filter for specific icons */
}

.page-index-security-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-security-text {
  color: #666;
}

/* Testimonials Section */
.page-index-user-testimonials {
  padding: 80px 0;
}

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

.page-index-testimonial-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  position: relative;
}

.page-index-testimonial-item::before {
  content: '“';
  font-size: 4em;
  color: #FFCC00;
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.6;
  line-height: 1;
}

.page-index-testimonial-text {
  font-style: italic;
  color: #444;
  margin-bottom: 20px;
  padding-top: 30px;
}

.page-index-testimonial-author {
  font-weight: bold;
  color: #003366;
  text-align: right;
}

/* Contact CTA Section */
.page-index-contact-cta {
  background: linear-gradient(90deg, #003366, #004488);
  padding: 80px 0;
  color: #f0f0f0;
}

.page-index-contact-cta .page-index-section-title {
  color: #FFCC00;
}

.page-index-contact-cta .page-index-section-title::after {
  background-color: #FFCC00;
}

.page-index-contact-cta .page-index-section-description {
  color: #e0e0e0;
}

/* Detail Pages Section */
.page-index-detail-pages {
  padding: 80px 0;
  background-color: #f0f5f9;
}

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

.page-index-detail-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index-detail-title {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-detail-title a {
  color: #003366;
  text-decoration: none;
}

.page-index-detail-title a:hover {
  color: #FFCC00;
  text-decoration: underline;
}

.page-index-detail-description {
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index-btn-sm {
  padding: 8px 18px;
  font-size: 0.9em;
  margin-top: auto;
}

/* FAQ Section */
.page-index-faq {
  padding: 80px 0;
}

.page-index-faq .page-index-section-description {
  margin-bottom: 60px;
}

.page-index-faq-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-faq-question {
  font-size: 1.2em;
  color: #003366;
  padding: 18px 25px;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #f0f5f9;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-index-faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFCC00;
  transition: transform 0.3s ease;
}

.page-index-faq-item.active .page-index-faq-question::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-index-faq-answer {
  padding: 15px 25px;
  color: #555;
  display: none;
  background-color: #fff;
  border-top: 1px solid #eee;
}

.page-index-faq-item.active .page-index-faq-answer {
  display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero {
    flex-direction: column-reverse;
    padding: 60px 0;
  }
  .page-index-hero-content {
    text-align: center;
    max-width: none;
    margin-bottom: 40px;
  }
  .page-index-hero-title {
    font-size: 2.8em;
  }
  .page-index-hero-actions .page-index-btn {
    margin-right: 10px;
    margin-left: 10px;
  }
  .page-index-hero-image img {
    max-height: 350px;
  }

  .page-index-section-title {
    font-size: 2em;
  }
  .page-index-section-description {
    font-size: 1em;
  }

  .page-index-app-screenshot img {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-index-hero {
    padding: 40px 0;
  }
  .page-index-hero-title {
    font-size: 2.2em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .page-index-hero-actions .page-index-btn {
    margin: 5px 0;
    width: 80%;
  }

  .page-index-features-grid, .page-index-categories-grid, .page-index-promo-grid, .page-index-security-grid, .page-index-testimonials-grid, .page-index-detail-list {
    grid-template-columns: 1fr;
  }

  .page-index-download-grid {
    flex-direction: column;
    align-items: center;
  }
  .page-index-download-item {
    width: 90%;
  }

  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
}