/* style/index.css */
:root {
  --primary-color: #1A202C;
  --secondary-color: #FFD700;
  --text-light: #F8F8F8;
  --text-dark: #1A202C;
  --bg-light: #FFFFFF;
  --bg-dark: #2D3748;
  --accent-red: #E53E3E;
  --border-color: #E2E8F0;
}

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

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

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

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

.page-index h2 {
  font-size: 2.5em;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 40px;
}

.page-index h3 {
  font-size: 1.8em;
}

.page-index p {
  margin-bottom: 15px;
}

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

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

.page-index .cta-button.small {
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 5px;
}

.page-index .secondary-cta {
  background: var(--primary-color);
  color: var(--text-light);
  margin-left: 20px;
}

.page-index .secondary-cta:hover {
  background: #3B465C;
}

/* 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: var(--primary-color); /* Fallback for browsers not supporting gradient */
  background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
}

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

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

.page-index .hero-content h1 {
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-index .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-index .hero-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-index .intro-features {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-index .feature-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background: #F0F4F8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-index .feature-item:hover {
  transform: translateY(-5px);
}

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

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

.page-index .intro-conclusion {
  margin-top: 50px;
  font-size: 1.1em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-index .section-quick-access p {
  color: var(--text-light);
  margin-bottom: 40px;
}

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

.page-index .access-card {
  background: var(--primary-color);
  padding: 30px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.page-index .access-card:hover {
  transform: translateY(-5px);
  background-color: #3B465C;
}

.page-index .access-card h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-index .access-card p {
  color: #B0BEC5;
  font-size: 0.95em;
}

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

.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: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-index .game-card:hover {
  transform: translateY(-5px);
}

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

.page-index .game-card h3 {
  color: var(--primary-color);
  padding: 20px 20px 0;
  margin-bottom: 10px;
}

.page-index .game-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-index .game-card .cta-button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* Promotions Section */
.page-index .section-promotions {
  padding: 80px 0;
  background: #F0F4F8;
  text-align: center;
}

.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(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-index .promo-card:hover {
  transform: translateY(-5px);
}

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

.page-index .promo-card h3 {
  color: var(--primary-color);
  padding: 20px 20px 0;
  margin-bottom: 10px;
}

.page-index .promo-card p {
  padding: 0 20px 20px;
  font-size: 0.95em;
  flex-grow: 1;
}

.page-index .promo-card .cta-button {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-index .promo-conclusion {
  margin-top: 50px;
  font-size: 1.1em;
}

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

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

.page-index .section-security-support p {
  color: var(--text-light);
  margin-bottom: 40px;
}

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

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

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

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

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

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

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

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

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

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

.page-index .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.page-index .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  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;
  padding: 0 25px;
  background: #FDFDFD;
  border-top: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
}

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

.page-index .faq-answer p {
  margin: 0;
  color: var(--text-dark);
}

/* Blog Section */
.page-index .section-blog {
  padding: 80px 0;
  background: #F0F4F8;
  text-align: center;
}

.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: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-index .blog-card:hover {
  transform: translateY(-5px);
}

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

.page-index .blog-card .blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-index .blog-card .blog-title {
  text-decoration: none;
  color: var(--primary-color);
}

.page-index .blog-card .blog-title h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5em;
  transition: color 0.3s ease;
}

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

.page-index .blog-card .blog-summary {
  font-size: 0.95em;
  color: #616161;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index .view-all-posts {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index h1 {
    font-size: 2.8em;
  }
  .page-index h2 {
    font-size: 2.2em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image img {
    border-radius: 8px;
  }
  .page-index .hero-content h1 {
    font-size: 2.2em;
  }
  .page-index .hero-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-index .hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index .cta-button {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-index .secondary-cta {
    margin-left: 0;
  }
  .page-index h2 {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-index .section-intro, .page-index .section-quick-access, .page-index .section-games, .page-index .section-promotions, .page-index .section-security-support, .page-index .section-faq, .page-index .section-blog {
    padding: 50px 0;
  }
  .page-index .intro-features, .page-index .quick-access-grid, .page-index .games-grid, .page-index .promo-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .feature-item, .page-index .access-card, .page-index .game-card, .page-index .promo-card, .page-index .ss-item, .page-index .blog-card {
    max-width: 100%;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
  .page-index .faq-answer {
    padding: 0 20px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-index h1 {
    font-size: 1.8em;
  }
  .page-index h2 {
    font-size: 1.5em;
  }
  .page-index .hero-content p {
    font-size: 0.9em;
  }
  .page-index .cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-index .feature-item, .page-index .access-card, .page-index .game-card, .page-index .promo-card, .page-index .ss-item, .page-index .blog-card {
    padding: 20px;
  }
  .page-index .feature-item h3, .page-index .access-card h3, .page-index .game-card h3, .page-index .promo-card h3, .page-index .ss-item h3, .page-index .blog-card h3 {
    font-size: 1.3em;
  }
}