/* style/index.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Dodger Blue */
  --dark-text-color: #333333;
  --light-text-color: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

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

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

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

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

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

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

.page-index p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

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

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

/* 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: linear-gradient(135deg, var(--primary-color) 0%, #FFCC00 50%, var(--secondary-color) 100%); /* Adjusted gradient for better blend */
  min-height: 600px; /* Ensure sufficient height */
  overflow: hidden;
}

.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;
  z-index: 2;
}

.page-index .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 900px; /* Limit image width */
}

.page-index .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  width: 100%;
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  padding: 30px;
  border-radius: 10px;
  margin-top: -80px; /* Overlap with image slightly */
}

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

.page-index .hero-content p {
  color: var(--light-text-color);
  font-size: 1.2em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.page-index .access-card {
  background-color: #333333;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--light-text-color);
  transition: transform 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-index .access-card img {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  margin-bottom: 15px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

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

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

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

.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-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

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

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

.page-index .game-card h3 {
  color: var(--secondary-color);
  margin: 20px 15px 10px;
}

.page-index .game-card p {
  padding: 0 15px 20px;
  font-size: 1em;
  color: var(--dark-text-color);
}

.page-index .game-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--dark-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

.page-index .promotions-section p {
  color: #cccccc;
}

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

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

.page-index .promo-card:hover {
  transform: translateY(-8px);
  background-color: #444444;
}

.page-index .promo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #444;
}

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

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

.page-index .promo-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--light-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

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

.page-index .info-item:hover {
  transform: translateY(-8px);
}

.page-index .info-item img {
  width: 120px; /* Increased size */
  height: 120px; /* Increased size */
  margin-bottom: 15px;
  object-fit: contain;
}

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

.page-index .info-item p {
  font-size: 1em;
}

.page-index .contact-cta {
  text-align: center;
  margin-top: 50px;
}

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

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

.page-index .faq-list {
  margin-top: 40px;
}

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

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

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

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

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

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  background: #2a2a2a;
  color: #cccccc;
  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-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

.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-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

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

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

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

.page-index .blog-card .read-more {
  display: inline-block;
  padding: 8px 15px;
  margin: 15px;
  background: var(--primary-color);
  color: var(--dark-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-index .view-all-button {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index h1 {
    font-size: 2.4em;
  }
  .page-index h2 {
    font-size: 1.8em;
  }
  .page-index .hero-image {
    max-width: 700px;
  }
  .page-index .hero-content {
    margin-top: -60px;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
    min-height: 500px;
  }
  .page-index .hero-image {
    margin-bottom: 20px;
  }
  .page-index .hero-image img {
    border-radius: 8px;
  }
  .page-index .hero-content {
    margin-top: -40px;
    padding: 20px;
  }
  .page-index h1 {
    font-size: 2em;
  }
  .page-index p {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
  }
  .page-index h2 {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .page-index h3 {
    font-size: 1.3em;
  }
  .page-index .access-links-grid, .page-index .games-grid, .page-index .promotions-grid, .page-index .info-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .access-card img, .page-index .info-item img {
    width: 100px;
    height: 100px;
  }
  .page-index .game-card img {
    height: 200px;
  }
  .page-index .promo-card img {
    height: 180px;
  }
  .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 .hero-section {
    padding: 30px 10px;
    min-height: 400px;
  }
  .page-index .hero-content {
    margin-top: -30px;
    padding: 15px;
  }
  .page-index h1 {
    font-size: 1.8em;
  }
  .page-index p {
    font-size: 0.95em;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-index h2 {
    font-size: 1.4em;
  }
  .page-index .access-card img, .page-index .info-item img {
    width: 80px;
    height: 80px;
  }
}