/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #0A246A;
  text-align: center;
  margin-bottom: 20px;
  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: #F39C12;
  border-radius: 2px;
}

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

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

.page-index__section-text {
  margin-top: 20px;
  font-size: 1.1em;
  line-height: 1.8;
  color: #444;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #0A246A 0%, #0A246A 60%, #F39C12 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.page-index__hero-section .page-index__container {
  position: relative;
  z-index: 2;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-index__btn--primary {
  background-color: #F39C12;
  color: #0A246A;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.page-index__btn--primary:hover {
  background-color: #e08c0f;
  transform: translateY(-3px);
}

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

.page-index__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 30px;
}

.page-index__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-index__hero-image {
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 50%;
  max-width: 700px;
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}

/* General Section Styling */
.page-index__about-section, .page-index__games-section, .page-index__promotions-section, .page-index__app-section, .page-index__why-choose-section, .page-index__responsible-gaming-section, .page-index__detail-pages-section, .page-index__cta-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-index__about-section, .page-index__why-choose-section, .page-index__responsible-gaming-section {
  background-color: #fff;
}

/* Content Grid for sections with text and image */
.page-index__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-index__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-index__content-grid--reverse .page-index__text-content {
  grid-area: text;
}

.page-index__content-grid--reverse .page-index__image--left {
  grid-area: image;
}

.page-index__text-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #444;
}

.page-index__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-index__game-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__game-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-index__game-card-title {
  font-size: 1.5em;
  color: #0A246A;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-index__game-card-description {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Promotions Section */
.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: #0A246A;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__promo-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__promo-card-title {
  font-size: 1.6em;
  color: #F39C12;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-index__promo-card-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
  padding: 0 20px;
}

/* APP Section */
.page-index__app-section {
  background-color: #f0f2f5;
}

.page-index__app-feature-title {
  font-size: 1.6em;
  color: #0A246A;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-index__feature-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23F39C12" 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: #333;
}

.page-index__app-download-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

/* Why Choose Section */
.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: #fdfdfd;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(243, 156, 18, 0.3));
}

.page-index__feature-title {
  font-size: 1.6em;
  color: #0A246A;
  margin-bottom: 10px;
}

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

/* Responsible Gaming Section */
.page-index__responsible-gaming-section {
  background-color: #e6eaf0;
}

.page-index__responsible-gaming-subtitle {
  font-size: 1.6em;
  color: #0A246A;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
  background-color: #fff;
}

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

.page-index__detail-card {
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-index__detail-card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-index__detail-card-title a {
  color: #0A246A;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-index__detail-card-title a:hover {
  color: #F39C12;
}

.page-index__detail-card-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
}

/* CTA Section */
.page-index__cta-section {
  background-color: #0A246A;
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

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

.page-index__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }

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

  .page-index__hero-image {
    width: 60%;
    right: -20%;
  }

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

  .page-index__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-index__content-grid--reverse {
    grid-template-areas: unset;
  }

  .page-index__content-grid .page-index__image {
    order: -1; /* Image appears above text on mobile */
  }

  .page-index__games-section, .page-index__promotions-section, .page-index__app-section, .page-index__why-choose-section, .page-index__responsible-gaming-section, .page-index__detail-pages-section, .page-index__cta-section {
    padding: 40px 0;
  }

  .page-index__app-download-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-index__btn--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 60px 0;
    min-height: 50vh;
  }

  .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__hero-image {
    width: 70%;
    right: -30%;
  }

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

  .page-index__section-subtitle {
    font-size: 1em;
  }

  .page-index__game-card-title, .page-index__promo-card-title, .page-index__app-feature-title, .page-index__feature-title, .page-index__responsible-gaming-subtitle, .page-index__detail-card-title {
    font-size: 1.4em;
  }

  .page-index__btn {
    width: 80%;
    margin: 0 auto;
  }

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

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

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }

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

  .page-index__hero-image {
    width: 80%;
    right: -40%;
  }

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

  .page-index__btn {
    width: 90%;
  }

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