/* style/index.css */
:root {
  --primary-color: #336699;
  --secondary-color: #FFCC00;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f5f5f5;
  --bg-dark: #224466;
  --border-color: #e0e0e0;
}

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

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

.page-index .section-title {
  font-size: 3em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

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

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

.page-index .cta-button:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* 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: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2a527c 100%); /* Darker gradient for hero */
  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: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.page-index .hero-content h1 {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index .hero-content p {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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(300px, 1fr));
  gap: 30px;
}

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

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

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

.page-index .intro-card h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-index .intro-card p {
  font-size: 1em;
  color: #555;
}

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

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

.page-index .quick-access-section .section-description {
  color: #ccc;
}

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

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

.page-index .quick-link-card:hover {
  transform: translateY(-8px);
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-index .quick-link-card .card-image {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  object-fit: contain;
}

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

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

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

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

.page-index .game-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .game-card .card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index .game-card h3 {
  font-size: 1.8em;
  color: var(--primary-color);
  margin: 20px 20px 10px;
}

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

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

.page-index .game-card p {
  font-size: 1em;
  color: #555;
  padding: 0 20px 15px;
}

.page-index .btn-game {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background 0.3s ease;
}

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

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

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

.page-index .promo-card {
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

.page-index .promo-card p {
  font-size: 1em;
  color: #555;
  padding: 0 20px 15px;
}

.page-index .btn-promo {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background 0.3s ease;
}

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

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

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

.page-index .ss-item {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

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

.page-index .ss-item p {
  font-size: 1em;
  color: #555;
}

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

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

.page-index .faq-section .section-description {
  color: #ccc;
}

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

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

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  color: var(--text-light);
  border: 1px solid #4477aa;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-radius 0.3s ease;
}

.page-index .faq-item.active .faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

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

.page-index .faq-question h3 {
  font-size: 1.2em;
  margin: 0;
  color: inherit;
}

.page-index .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: var(--text-light);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 0 25px;
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-index .faq-answer p {
  margin: 0;
  font-size: 1em;
}

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

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

.page-index .blog-card {
  background: var(--bg-light);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index .blog-card h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin: 20px 20px 10px;
}

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

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

.page-index .blog-card p {
  font-size: 1em;
  color: #555;
  padding: 0 20px 15px;
}

.page-index .read-more {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9em;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: background 0.3s ease;
}

.page-index .read-more:hover {
  background: var(--secondary-color);
  color: var(--text-dark);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-content h1 {
    font-size: 3em;
  }
  .page-index .hero-content p {
    font-size: 1.3em;
  }
  .page-index .section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 60px 15px;
  }
  .page-index .hero-image img {
    border-radius: 8px;
  }
  .page-index .hero-content h1 {
    font-size: 2.5em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index .section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }
  .page-index .section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-index .intro-grid, .page-index .quick-links-grid, .page-index .game-categories, .page-index .promo-grid, .page-index .ss-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index .intro-card, .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-card .card-icon, .page-index .quick-link-card .card-image, .page-index .ss-item .ss-icon {
    width: 80px;
    height: 80px;
  }
  .page-index .game-card .card-image, .page-index .promo-card .card-image, .page-index .blog-card .card-image {
    height: 180px;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index .faq-toggle {
    font-size: 1.5em;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-content h1 {
    font-size: 2em;
  }
  .page-index .hero-content p {
    font-size: 0.9em;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index .section-title {
    font-size: 1.8em;
  }
  .page-index .section-description {
    font-size: 0.9em;
  }
}