/* style/index.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Royal Blue */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #1a2a3a;
  --card-background: #ffffff;
  --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;
}

.page-index .section-title {
  font-size: 36px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.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 35px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-index .primary-button {
  background: var(--primary-color);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.page-index .primary-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.page-index .secondary-button {
  background: var(--secondary-color);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
}

.page-index .secondary-button:hover {
  background: #1a7bdc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.4);
}

.page-index .small-button {
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 5px;
}

/* 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);
  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: 1;
}

.page-index .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-index .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-index .hero-title {
  font-size: 48px;
  font-weight: 900;
  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;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-index .hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

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

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

.page-index .intro-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-dark);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index .feature-item {
  background: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index .feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-index .feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index .feature-item p {
  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 .access-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-index .access-card {
  background: #2a3d4f;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index .access-card:hover {
  transform: translateY(-10px);
  background: #3a4e62;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-index .access-card-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index .access-card-description {
  font-size: 15px;
  color: #cccccc;
}

.page-index .note {
  text-align: center;
  margin-top: 50px;
  font-size: 16px;
  color: #cccccc;
}

.page-index .note a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-index .note a:hover {
  color: #e6c200;
}

/* Games Section */
.page-index .games-section {
  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: var(--card-background);
  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;
  display: flex;
  flex-direction: column;
}

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

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

.page-index .game-card h3 {
  font-size: 22px;
  color: var(--secondary-color);
  padding: 20px 20px 10px;
  font-weight: bold;
}

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

.page-index .game-card .cta-button {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* 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-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index .promo-card {
  background: #2a3d4f;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.page-index .promo-card .cta-button {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* 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;
}

.page-index .info-block {
  background: var(--card-background);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index .info-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-index .info-block .cta-button {
  align-self: center;
}

/* 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: 0 auto;
}

.page-index .faq-item {
  margin-bottom: 15px;
}

.page-index .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a3d4f;
  border: 1px solid #3c546b;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-index .faq-question:hover {
  background: #3c546b;
  border-color: var(--primary-color);
}

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

.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.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #1f3040;
  border-radius: 0 0 8px 8px;
  color: #cccccc;
}

.page-index .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 20px 25px;
  border: 1px solid #3c546b;
  border-top: none;
}

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

.page-index .faq-answer .cta-button {
  margin-top: 20px;
}

/* Blog Section */
.page-index .blog-section {
  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: var(--card-background);
  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;
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

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

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

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

/* 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;
  }
  .page-index .feature-item h3, .page-index .game-card h3, .page-index .promo-card h3, .page-index .info-block h3, .page-index .blog-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-index .hero-section {
    padding: 40px 15px;
  }
  .page-index .hero-title {
    font-size: 32px;
  }
  .page-index .hero-description {
    font-size: 16px;
  }
  .page-index .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index .cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-index .section-title {
    font-size: 26px;
  }
  .page-index .section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .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: 50px 0;
  }
  .page-index .intro-features, .page-index .access-links-grid, .page-index .games-grid, .page-index .promo-grid, .page-index .security-support-grid, .page-index .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-index .faq-question {
    padding: 15px 20px;
  }
  .page-index .faq-question h3 {
    font-size: 16px;
  }
  .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-title {
    font-size: 28px;
  }
  .page-index .hero-description {
    font-size: 14px;
  }
  .page-index .cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-index .section-title {
    font-size: 22px;
  }
  .page-index .section-description {
    font-size: 14px;
  }
  .page-index .feature-item, .page-index .access-card, .page-index .game-card, .page-index .promo-card, .page-index .info-block, .page-index .blog-card {
    padding: 20px;
  }
  .page-index .game-image, .page-index .promo-image, .page-index .blog-image {
    height: 150px;
  }
  .page-index .feature-item h3, .page-index .game-card h3, .page-index .promo-card h3, .page-index .info-block h3, .page-index .blog-card h3 {
    font-size: 18px;
  }
  .page-index .feature-item p, .page-index .game-card p, .page-index .promo-card p, .page-index .info-block p, .page-index .blog-summary {
    font-size: 14px;
  }
}