/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8;
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #0A2463 0%, #0A2463 60%, #E3B505 100%);
  color: #ffffff;
  padding: 80px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

.page-index__hero-content {
  max-width: 600px;
  padding: 0 20px;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #ffffff;
}

.page-index__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-index__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-index__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-index__button--primary {
  background-color: #E3B505;
  color: #0A2463;
  border: 2px solid #E3B505;
}

.page-index__button--primary:hover {
  background-color: #d1a604;
  transform: translateY(-2px);
}

.page-index__button--secondary {
  background-color: transparent;
  color: #E3B505;
  border: 2px solid #E3B505;
}

.page-index__button--secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
  transform: translateY(-2px);
}

.page-index__hero-image-wrapper {
  max-width: 500px;
  text-align: center;
}

.page-index__hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-index__about-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-index__feature-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.page-index__feature-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__feature-description {
  font-size: 1em;
  color: #666666;
}

/* Games Section */
.page-index__games-section {
  padding: 80px 0;
  background-color: #f0f4f8;
}

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

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

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

.page-index__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-index__game-title {
  font-size: 1.6em;
  color: #0A2463;
  margin: 20px 0 10px;
  font-weight: bold;
}

.page-index__game-title a {
  color: #0A2463;
  text-decoration: none;
}

.page-index__game-title a:hover {
  color: #E3B505;
}

.page-index__game-description {
  font-size: 0.95em;
  color: #666666;
  padding: 0 20px 20px;
}

.page-index__game-button {
  display: inline-block;
  background-color: #E3B505;
  color: #0A2463;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-index__game-button:hover {
  background-color: #d1a604;
}

/* Promotions Section */
.page-index__promotions-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

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

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

.page-index__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-index__promo-title {
  font-size: 1.8em;
  color: #0A2463;
  margin: 20px 0 10px;
  font-weight: bold;
  padding: 0 15px;
}

.page-index__promo-description {
  font-size: 1em;
  color: #666666;
  padding: 0 20px 20px;
}

.page-index__button--promo {
  background-color: #0A2463;
  color: #E3B505;
  border: 2px solid #0A2463;
  margin-bottom: 20px;
}

.page-index__button--promo:hover {
  background-color: #1a3c7a;
  border-color: #1a3c7a;
}

.page-index__view-all-promos {
  text-align: center;
  margin-top: 40px;
}

.page-index__button--outline {
  background-color: transparent;
  color: #0A2463;
  border: 2px solid #0A2463;
}

.page-index__button--outline:hover {
  background-color: #0A2463;
  color: #E3B505;
}

/* App Section */
.page-index__app-section {
  padding: 80px 0;
  background-color: #0A2463;
  color: #ffffff;
}

.page-index__app-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-index__app-text {
  max-width: 500px;
}

.page-index__app-text .page-index__section-title {
  color: #E3B505;
  text-align: left;
}

.page-index__app-text .page-index__section-subtitle {
  color: #f0f0f0;
  text-align: left;
  margin-bottom: 30px;
}

.page-index__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-index__app-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23E3B505" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-index__app-image-wrapper {
  max-width: 400px;
}

.page-index__app-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Safety Section */
.page-index__safety-section {
  padding: 80px 0;
  background-color: #f0f4f8;
}

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

.page-index__safety-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.page-index__safety-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index__safety-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 15px;
}

.page-index__safety-link {
  color: #E3B505;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index__safety-link:hover {
  color: #0A2463;
}

.page-index__safety-image {
  display: block;
  margin: 40px auto 0;
  max-width: 300px;
  height: auto;
}

/* Testimonials Section */
.page-index__testimonials-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-index__testimonial-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-style: italic;
}

.page-index__testimonial-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #0A2463;
  text-align: right;
  font-style: normal;
}

/* Call to Action Section */
.page-index__cta-section {
  padding: 80px 0;
  background-color: #0A2463;
  color: #ffffff;
  text-align: center;
}

.page-index__cta-section .page-index__section-title {
  color: #E3B505;
}

.page-index__cta-section .page-index__section-subtitle {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-index__button--large {
  padding: 18px 35px;
  font-size: 1.2em;
  margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-section {
    flex-direction: column;
    text-align: center;
  }

  .page-index__hero-image-wrapper {
    margin-top: 40px;
  }

  .page-index__app-content {
    flex-direction: column-reverse;
    text-align: center;
  }

  .page-index__app-text .page-index__section-title,
  .page-index__app-text .page-index__section-subtitle {
    text-align: center;
  }

  .page-index__app-features li {
    background-position: center left;
    text-align: left;
    padding-left: 30px;
  }
}

@media (max-width: 768px) {
  .page-index__section-title {
    font-size: 2em;
  }

  .page-index__hero-title {
    font-size: 2.5em;
  }

  .page-index__hero-description {
    font-size: 1.1em;
  }

  .page-index__button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index__button--large {
    padding: 15px 30px;
    font-size: 1.1em;
    margin: 10px 0;
    display: block;
  }

  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__features-grid,
  .page-index__game-categories,
  .page-index__promo-grid,
  .page-index__safety-points,
  .page-index__testimonial-grid {
    grid-template-columns: 1fr;
  }

  .page-index__app-features li {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section,
  .page-index__about-section,
  .page-index__games-section,
  .page-index__promotions-section,
  .page-index__app-section,
  .page-index__safety-section,
  .page-index__testimonials-section,
  .page-index__cta-section {
    padding: 50px 0;
  }

  .page-index__hero-title {
    font-size: 2em;
  }

  .page-index__section-title {
    font-size: 1.8em;
  }

  .page-index__feature-title,
  .page-index__game-title,
  .page-index__promo-title,
  .page-index__safety-title {
    font-size: 1.5em;
  }
}

/* Blog Section Styles - Auto Generated */
.latest-blog-section {
  padding: 40px 20px;
  margin: 20px 0;
}

.latest-blog-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.latest-blog-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  font-weight: bold;
}

.latest-blog-section p {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blog-card .blog-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.blog-card .blog-content {
  padding: 20px;
}

.blog-card .blog-content h3 {
  margin: 0 0 12px 0;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
}

.blog-card .blog-content .blog-title-link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card .blog-content .blog-title-link:hover {
  color: #007bff;
}

.blog-card .blog-content .blog-excerpt {
  color: #666;
  line-height: 1.7;
  margin: 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
}

.blog-card .blog-content .blog-date {
  display: block;
  color: #999;
  font-size: 0.9rem;
  margin: 15px 0 12px 0;
}

.blog-card .blog-content .read-more-link {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
}

.blog-card .blog-content .read-more-link:hover {
  background: #0056b3;
}

.view-all-posts {
  text-align: center;
  margin-top: 30px;
}

.view-all-posts .cta-button {
  display: inline-block;
  padding: 12px 24px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.view-all-posts .cta-button.secondary {
  background: #6c757d;
}

.view-all-posts .cta-button.secondary:hover {
  background: #5a6268;
}

.view-all-posts .cta-button:hover {
  background: #0056b3;
}

@media (max-width: 768px) {
  .blog-list {
    grid-template-columns: 1fr;
  }
  
  .latest-blog-section h2 {
    font-size: 1.5rem;
  }
  
  .blog-card .blog-img {
    height: 250px;
  }
  
  .blog-card .blog-content {
    padding: 15px;
  }
}
