/* style/index.css */

:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-dark: #000050;
  --border-color: #e0e0e0;
}

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

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

.page-index .section-title {
  font-size: 36px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
}

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

.page-index .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

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

.page-index .text-center {
  text-align: center;
}

/* 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-color: 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 20px rgba(0, 0, 0, 0.3);
}

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

.page-index .hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

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

.page-index .feature-item {
  background-color: #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 .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index .feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index .feature-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

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

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

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

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

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

.page-index .link-card {
  background-color: #1a1a50; /* Darker blue for cards */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  display: block;
  color: var(--text-light);
}

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

.page-index .link-card .card-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-index .link-card .card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index .link-card .card-text {
  font-size: 16px;
  color: var(--text-light);
}

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

.page-index .game-categories {
  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.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

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

.page-index .game-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index .game-title {
  font-size: 24px;
  color: var(--secondary-color);
  margin: 20px 20px 10px;
  font-weight: bold;
}

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

.page-index .game-title .game-link:hover {
  color: var(--primary-color);
}

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

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

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

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

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

.page-index .promo-card {
  background-color: #1a1a50;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

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

.page-index .promo-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

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

.page-index .promo-text {
  font-size: 16px;
  color: var(--text-light);
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-index .promo-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  margin: 0 20px 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

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

/* Security & Support Section */
.page-index .security-support-section {
  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;
  margin-top: 40px;
}

.page-index .security-support-grid .item {
  background-color: #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 .security-support-grid .item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index .item-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

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

.page-index .faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  background-color: #1a1a50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-index .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-light);
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px;
  background: #1a1a50;
  border-radius: 0 0 5px 5px;
}

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

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

.page-index .blog-cards-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.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-index .blog-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
  line-height: 1.3;
}

.page-index .blog-summary {
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-index .blog-date {
  font-size: 14px;
  color: #777;
  text-align: right;
  display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index .section-title {
    font-size: 32px;
  }
  .page-index .hero-title {
    font-size: 40px;
  }
  .page-index .hero-description {
    font-size: 18px;
  }
  .page-index .game-categories,
  .page-index .promo-cards-grid,
  .page-index .blog-cards-grid,
  .page-index .features-grid,
  .page-index .link-cards-grid,
  .page-index .security-support-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-index .section-title {
    font-size: 28px;
  }
  .page-index .section-description {
    font-size: 16px;
  }
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-title {
    font-size: 32px;
  }
  .page-index .hero-description {
    font-size: 16px;
  }
  .page-index .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }
  .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;
  }
  .page-index .feature-title,
  .page-index .game-title,
  .page-index .promo-title,
  .page-index .item-title,
  .page-index .blog-title {
    font-size: 20px;
  }
  .page-index .feature-icon,
  .page-index .link-card .card-icon,
  .page-index .item-icon {
    width: 90px;
    height: 90px;
  }
  .page-index .faq-question {
    padding: 12px 15px;
  }
  .page-index .faq-question h3 {
    font-size: 16px;
  }
  .page-index .faq-toggle {
    font-size: 20px;
  }
  .page-index .faq-answer p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-index .hero-title {
    font-size: 28px;
  }
  .page-index .hero-description {
    font-size: 15px;
  }
  .page-index .cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }
  .page-index .game-categories,
  .page-index .promo-cards-grid,
  .page-index .blog-cards-grid,
  .page-index .features-grid,
  .page-index .link-cards-grid,
  .page-index .security-support-grid {
    grid-template-columns: 1fr;
  }
  .page-index .feature-item,
  .page-index .link-card,
  .page-index .game-card,
  .page-index .promo-card,
  .page-index .security-support-grid .item,
  .page-index .blog-card {
    margin-left: 10px;
    margin-right: 10px;
  }
}