/* style/index.css */
:root {
  --primary-color: #1A202C; /* Deep Dark Blue/Charcoal */
  --secondary-color: #FFD700; /* Gold */
  --accent-color: #E53E3E; /* Red for highlights */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f8f8f8;
  --background-dark: #2d3748; /* Slightly lighter than primary for contrast */
  --border-color: #e0e0e0;
}

.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 .section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

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

.page-index .section-description {
  font-size: 18px;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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-color: var(--background-dark);
  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;
}

.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%;
  padding: 20px;
  background: rgba(26, 32, 44, 0.7);
  border-radius: 10px;
  margin-top: -80px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-index .hero-title {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index .hero-description {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--accent-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--accent-color);
}

.page-index .cta-button:hover {
  background: #c53030; /* Darker red */
  border-color: #c53030;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.page-index .intro-item .intro-icon {
  width: 120px; /* Increased size for content image, not icon */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-index .intro-item h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index .intro-item p {
  font-size: 16px;
  color: var(--text-dark);
}

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

.page-index .section-quick-access .section-title,
.page-index .section-quick-access .section-description {
  color: var(--text-light);
}

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

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

.page-index .access-button {
  display: block;
  padding: 18px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-index .access-button:hover {
  background: #e6c200; /* Darker gold */
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

.page-index .game-card h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin: 20px 15px 10px;
  font-weight: bold;
}

.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(--accent-color);
}

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

.page-index .game-card .btn-small {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.page-index .game-card .btn-small:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

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

.page-index .section-promotions .section-title,
.page-index .section-promotions .section-description {
  color: var(--text-light);
}

.page-index .section-promotions .section-title::after {
  background-color: var(--secondary-color);
}

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

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

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

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

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

.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(--accent-color);
}

.page-index .promo-card p {
  font-size: 16px;
  color: var(--text-dark);
  padding: 0 20px 20px;
}

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

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

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

.page-index .info-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index .info-block .info-icon {
  width: 100px; /* Increased size for content image, not icon */
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-index .info-block h3 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index .info-block p {
  font-size: 16px;
  color: var(--text-dark);
}

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

.page-index .section-faq .section-title,
.page-index .section-faq .section-description {
  color: var(--text-light);
}

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

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

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

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

.page-index .faq-question:hover {
  background: #2d3748; /* Slightly lighter primary */
}

.page-index .faq-question h3 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: var(--text-light);
}

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

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

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: #ffffff;
  color: var(--text-dark);
  padding: 0 25px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 25px;
  border-top: 1px solid var(--border-color);
}

.page-index .faq-answer p {
  margin: 0;
  font-size: 16px;
}

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

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

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

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

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

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

.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(--accent-color);
}

.page-index .blog-card .blog-excerpt {
  font-size: 16px;
  color: var(--text-dark);
  padding: 0 20px;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-index .blog-card .blog-date {
  display: block;
  font-size: 14px;
  color: #777;
  padding: 0 20px 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index .hero-title {
    font-size: 40px;
  }
  .page-index .hero-description {
    font-size: 18px;
  }
  .page-index .section-title {
    font-size: 30px;
  }
  .page-index .section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 60px 15px;
  }
  .page-index .hero-image img {
    border-radius: 8px;
  }
  .page-index .hero-content {
    margin-top: -60px;
    padding: 15px;
  }
  .page-index .hero-title {
    font-size: 32px;
  }
  .page-index .hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-index .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .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: 60px 0;
  }
  .page-index .section-title {
    font-size: 28px;
  }
  .page-index .section-description {
    margin-bottom: 40px;
  }
  .page-index .intro-item h3, .page-index .game-card h3, .page-index .promo-card h3, .page-index .info-block h3 {
    font-size: 20px;
  }
  .page-index .access-button {
    font-size: 16px;
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 18px;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
  .page-index .faq-question {
    padding: 18px 20px;
  }
  .page-index .faq-answer {
    padding: 20px;
  }
  .page-index .blog-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-section {
    padding: 40px 10px;
  }
  .page-index .hero-content {
    margin-top: -40px;
  }
  .page-index .hero-title {
    font-size: 28px;
  }
  .page-index .hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-index .cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-index .section-title {
    font-size: 24px;
  }
  .page-index .section-description {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .page-index .intro-grid, .page-index .quick-access-grid, .page-index .games-grid, .page-index .promotions-list, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-index .intro-item .intro-icon, .page-index .info-block .info-icon {
    width: 80px;
  }
  .page-index .faq-question h3 {
    font-size: 16px;
  }
  .page-index .faq-question {
    padding: 15px 18px;
  }
  .page-index .faq-answer {
    padding: 15px 18px;
  }
  .page-index .blog-card .blog-image {
    height: 180px;
  }
}