/* style/index.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #1a1a2e; /* Slightly lighter than secondary for contrast */
  --border-color: #e0e0e0;
}

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

.page-index .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 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: var(--background-dark);
  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 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-index .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
  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(--secondary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-index .cta-button:hover {
  background: #FFC107; /* Slightly darker gold */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index .cta-button-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 30px;
  font-size: 1em;
  font-weight: bold;
  margin-top: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

/* General Section Styling */
.page-index section {
  padding: 80px 0;
  text-align: center;
}

.page-index section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-index section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-index h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

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

.page-index p {
  font-size: 1.1em;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.7;
}

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

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

/* Intro Section */
.page-index .intro-section {
  background-color: var(--background-light);
}

.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: #ffffff;
  padding: 30px;
  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 .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-index .feature-item .feature-icon {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}

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

/* Quick Access Section */
.page-index .quick-access-section {
  background-color: #ffffff;
}

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

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

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

.page-index .quick-link-card .link-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-index .quick-link-card p {
  color: var(--text-light);
  font-size: 0.95em;
  line-height: 1.5;
}

/* Games Overview Section */
.page-index .games-overview-section {
  background-color: var(--background-light);
}

.page-index .game-category {
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-index .game-category:last-child {
  margin-bottom: 0;
}

.page-index .game-category .game-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  object-fit: cover;
}

.page-index .game-category h3 {
  color: var(--secondary-color);
  font-size: 2em;
  margin-bottom: 15px;
}

/* Promotions Section */
.page-index .promotions-section {
  background-color: #ffffff;
}

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

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

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

.page-index .promotion-card .promotion-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-index .promotion-card p {
  color: var(--text-light);
  font-size: 1em;
  margin-bottom: 20px;
}

.page-index .promotion-call-to-action {
  margin-top: 40px;
  font-size: 1.1em;
}

.page-index .promotion-call-to-action a {
  color: var(--primary-color);
  font-weight: bold;
}

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

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

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

.page-index .info-block .info-icon {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.page-index .info-block h3 {
  color: var(--secondary-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-index .contact-call-to-action {
  margin-top: 40px;
  font-size: 1.1em;
}

.page-index .contact-call-to-action a {
  color: var(--secondary-color);
  font-weight: bold;
}

/* FAQ Section */
.page-index .faq-section {
  background-color: #ffffff;
}

.page-index .faq-container {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

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

.page-index .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
  text-align: left;
}

.page-index .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-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: var(--background-light);
  border-top: 1px solid var(--border-color);
}

.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;
  text-align: left;
  font-size: 1em;
  color: var(--text-dark);
}

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

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

.page-index .blog-section p {
  color: var(--text-light);
}

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

.page-index .blog-post-card {
  background: var(--secondary-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .blog-post-card .blog-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index .blog-post-card h3 {
  padding: 20px 25px 0;
  font-size: 1.4em;
  color: var(--primary-color);
}

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

.page-index .blog-post-card h3 a:hover {
  text-decoration: underline;
}

.page-index .blog-post-card p {
  padding: 0 25px;
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-index .blog-post-card .post-date {
  display: block;
  padding: 10px 25px 20px;
  font-size: 0.85em;
  color: #cccccc;
}

.page-index .blog-call-to-action {
  margin-top: 40px;
  font-size: 1.1em;
}

.page-index .blog-call-to-action a {
  color: var(--primary-color);
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-content h1 {
    font-size: 2.8em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index h2 {
    font-size: 2em;
  }
  .page-index .feature-item, .page-index .quick-link-card, .page-index .promotion-card, .page-index .info-block, .page-index .blog-post-card {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-content h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-index .hero-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-index section {
    padding: 60px 0;
  }
  .page-index h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index h3 {
    font-size: 1.5em;
  }
  .page-index .intro-features, .page-index .quick-links-grid, .page-index .promotions-grid, .page-index .security-support-grid, .page-index .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .feature-item, .page-index .quick-link-card, .page-index .promotion-card, .page-index .info-block, .page-index .blog-post-card {
    margin-left: auto;
    margin-right: auto;
  }
  .page-index .game-category {
    padding: 30px;
  }
  .page-index .game-category h3 {
    font-size: 1.7em;
  }
  .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-answer {
    padding: 0 20px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@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 {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-index h2 {
    font-size: 1.6em;
  }
  .page-index .game-category h3 {
    font-size: 1.4em;
  }
  .page-index .quick-link-card h3 {
    font-size: 1.2em;
  }
  .page-index .promotion-card h3 {
    font-size: 1.3em;
  }
  .page-index .info-block h3 {
    font-size: 1.4em;
  }
  .page-index .blog-post-card h3 {
    font-size: 1.2em;
  }
}