.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 h1, .page-index h2, .page-index h3 {
  color: #FF0000; /* Primary color */
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.page-index h1 {
  font-size: 3em;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index h2 {
  font-size: 2.5em;
  margin-top: 40px;
  margin-bottom: 30px;
}

.page-index h3 {
  font-size: 1.8em;
  color: #000000; /* Secondary color for clarity */
  text-align: left;
}

.page-index p {
  margin-bottom: 15px;
  color: #444; /* Darker text for readability */
}

.page-index a {
  color: #FF0000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index a:hover {
  color: #CC0000;
  text-decoration: underline;
}

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FF0000; /* Primary color */
  color: #ffffff;
  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);
}

.page-index .cta-button:hover {
  background: #CC0000; /* Darker red on hover */
  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: #000000; /* Dark background for contrast */
}

.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 10px 25px rgba(0, 0, 0, 0.5);
}

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

.page-index .hero-content p {
  color: #e0e0e0;
  font-size: 1.2em;
  margin-bottom: 20px;
}

/* Sections Padding */
.page-index .intro-section, 
.page-index .quick-access-section, 
.page-index .games-section, 
.page-index .promotions-section, 
.page-index .security-support-section, 
.page-index .faq-section, 
.page-index .blog-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #eee;
}

.page-index .intro-section p {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 15px auto;
}

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

.page-index .quick-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  padding: 25px;
  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 .quick-link-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-index .quick-link-item img {
  width: 150px; /* Min size 200x200px, but scaled down for display */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.page-index .quick-link-item h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #FF0000; /* Primary color */
  text-align: center;
}

.page-index .quick-link-item p {
  font-size: 0.95em;
  color: #555;
}

/* Game Cards Grid */
.page-index .game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index .game-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .game-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

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

.page-index .game-card h3 {
  font-size: 1.6em;
  margin: 20px 20px 10px 20px;
  text-align: center;
}

.page-index .game-card h3 a {
  color: #000000; /* Secondary color for contrast */
  text-decoration: none;
}

.page-index .game-card h3 a:hover {
  color: #FF0000;
  text-decoration: underline;
}

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

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

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

.page-index .promotion-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.page-index .promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

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

.page-index .promotion-card h3 {
  font-size: 1.5em;
  color: #FF0000;
  margin: 0 15px 10px 15px;
}

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

.page-index .btn-promotion {
  display: inline-block;
  padding: 10px 25px;
  background: #000000; /* Secondary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: all 0.3s ease;
}

.page-index .btn-promotion:hover {
  background: #FF0000; /* Primary color on hover */
  transform: translateY(-2px);
}

/* Security & Support Section */
.page-index .security-support-section {
  background-color: #ffffff;
}

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

.page-index .info-block {
  text-align: center;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-index .info-block img {
  width: 120px; /* Min size 200x200px, but scaled down for display */
  height: 120px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1));
}

.page-index .info-block h3 {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

.page-index .info-block p {
  font-size: 0.95em;
  color: #555;
}

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

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

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

.page-index .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

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

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

.page-index .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #000000;
  text-align: left;
}

.page-index .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FF0000;
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  color: #555;
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 20px;
  border-top: 1px solid #eee;
}

.page-index .faq-answer p {
  margin: 0;
}

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

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

.page-index .blog-post-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .blog-post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-index .blog-post-card h3 {
  font-size: 1.4em;
  margin: 20px 20px 10px 20px;
  text-align: left;
}

.page-index .blog-post-card h3 a {
  color: #000000; /* Secondary color for contrast */
  text-decoration: none;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-index h1 {
    font-size: 2.5em;
  }
  .page-index h2 {
    font-size: 2em;
  }
  .page-index h3 {
    font-size: 1.5em;
  }
  .page-index .hero-content p {
    font-size: 1.1em;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-image img {
    border-radius: 4px;
  }
  .page-index h1 {
    font-size: 2em;
  }
  .page-index h2 {
    font-size: 1.8em;
  }
  .page-index h3 {
    font-size: 1.3em;
  }
  .page-index .intro-section, 
  .page-index .quick-access-section, 
  .page-index .games-section, 
  .page-index .promotions-section, 
  .page-index .security-support-section, 
  .page-index .faq-section, 
  .page-index .blog-section {
    padding: 40px 0;
  }
  .page-index .quick-links-grid, 
  .page-index .game-cards-grid, 
  .page-index .promotions-grid, 
  .page-index .security-support-grid, 
  .page-index .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .quick-link-item img, 
  .page-index .info-block img {
    width: 100px;
    height: 100px;
  }
  .page-index .faq-question {
    padding: 12px 15px;
  }
  .page-index .faq-question h3 {
    font-size: 1.1em;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
  .page-index .faq-answer {
    padding: 0 15px;
  }
  .page-index .faq-item.active .faq-answer {
    padding: 12px 15px;
  }
}

@media (max-width: 480px) {
  .page-index h1 {
    font-size: 1.6em;
  }
  .page-index h2 {
    font-size: 1.5em;
  }
  .page-index .hero-content p {
    font-size: 1em;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 14px;
  }
  .page-index .quick-link-item img, 
  .page-index .info-block img {
    width: 80px;
    height: 80px;
  }
  .page-index .game-card img {
    height: 180px;
  }
  .page-index .promotion-card img {
    height: 150px;
  }
}