/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Deep dark gray for text on light background */
    background-color: #f9f9f9;
}

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

.page-index__highlight {
    color: #007bff;
    font-weight: bold;
}

/* Hero Section */
.page-index__hero-section {
    background: linear-gradient(135deg, #007bff, #4da3ff); /* Brighter blue gradient */
    padding: 100px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index__hero-section .page-index__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.page-index__hero-content {
    max-width: 800px;
    z-index: 1;
}

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

.page-index__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
}

.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: #ffc107; /* Auxiliary color for primary action */
    color: #333333;
    border: none;
}

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

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

.page-index__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-index__hero-image-wrapper {
    margin-top: 40px;
    z-index: 1;
    max-width: 100%;
}

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

/* General Section Styling */
.page-index__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
}

.page-index__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

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

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

.page-index__feature-item {
    text-align: center;
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-index__feature-item:hover {
    transform: translateY(-5px);
}

.page-index__feature-icon {
    width: 200px; /* Enforce minimum size */
    height: auto;
    margin-bottom: 20px;
}

.page-index__feature-title {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 15px;
}

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

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

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

.page-index__game-card {
    display: block;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-decoration: none;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index__game-card-title {
    font-size: 1.5em;
    color: #007bff;
    padding: 15px 20px 5px;
}

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

.page-index__view-all-games {
    text-align: center;
    margin-top: 50px;
}

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

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

.page-index__promo-card {
    background-color: #fff8e1; /* Light yellow background for promos */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-index__promo-card:hover {
    transform: translateY(-5px);
}

.page-index__promo-card-image {
    width: 200px; /* Enforce minimum size */
    height: auto;
    margin-bottom: 20px;
}

.page-index__promo-card-title {
    font-size: 1.6em;
    color: #ffc107;
    margin-bottom: 15px;
}

.page-index__promo-card-text {
    color: #666666;
    font-size: 1em;
    margin-bottom: 25px;
}

.page-index__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
}

.page-index__button--small:hover {
    background-color: #0056b3;
}

.page-index__promo-callout {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #555555;
}

.page-index__promo-callout a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-index__promo-callout a:hover {
    text-decoration: underline;
}

/* Why Choose Us Section */
.page-index__why-choose-us-section {
    padding: 60px 0;
    background-color: #f0f9ff;
}

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

.page-index__advantage-item {
    text-align: center;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-index__advantage-item:hover {
    transform: translateY(-5px);
}

.page-index__advantage-icon {
    width: 200px; /* Enforce minimum size */
    height: auto;
    margin-bottom: 20px;
}

.page-index__advantage-title {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-index__advantage-text {
    color: #666666;
    font-size: 1em;
    margin-bottom: 20px;
}

/* CTA Section */
.page-index__cta-section {
    background: linear-gradient(135deg, #0056b3, #007bff); /* Darker blue gradient */
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.page-index__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-index__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* News Section */
.page-index__news-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-index__news-card {
    display: block;
    background-color: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    text-decoration: none;
    color: #333333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-index__news-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-index__news-card-title {
    font-size: 1.4em;
    color: #007bff;
    padding: 15px 20px 5px;
}

.page-index__news-card-text {
    font-size: 0.9em;
    color: #666666;
    padding: 0 20px 10px;
}

.page-index__news-date {
    display: block;
    font-size: 0.8em;
    color: #999999;
    padding: 0 20px 15px;
}

.page-index__view-all-news {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.page-index__faq-section {
    padding: 60px 0;
    background-color: #f0f9ff;
}

.page-index__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-index__faq-question {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-index__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.page-index__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-index__faq-answer {
    font-size: 1em;
    color: #555555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    padding-top: 0;
}

.page-index__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    padding-top: 15px;
}

.page-index__faq-answer a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.page-index__faq-answer a:hover {
    text-decoration: underline;
}

.page-index__view-all-faq {
    text-align: center;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index__hero-title {
        font-size: 2.8em;
    }
    .page-index__hero-description {
        font-size: 1.1em;
    }
    .page-index__section-title {
        font-size: 2em;
    }
    .page-index__cta-title {
        font-size: 2.5em;
    }
    .page-index__hero-section .page-index__container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-index__hero-section {
        padding: 80px 0;
    }
    .page-index__hero-title {
        font-size: 2.2em;
    }
    .page-index__hero-description {
        font-size: 1em;
    }
    .page-index__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index__button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-index__section-title {
        font-size: 1.8em;
    }
    .page-index__cta-title {
        font-size: 2em;
    }
    .page-index__cta-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-index__feature-item, .page-index__game-card, .page-index__promo-card, .page-index__advantage-item, .page-index__news-card {
        padding: 20px;
    }
    .page-index__feature-icon, .page-index__promo-card-image, .page-index__advantage-icon {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .page-index__hero-section {
        padding: 60px 0;
    }
    .page-index__hero-title {
        font-size: 1.8em;
    }
    .page-index__section-title {
        font-size: 1.5em;
    }
    .page-index__cta-title {
        font-size: 1.8em;
    }
    .page-index__button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

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