/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light text for dark background */
  background-color: #0A192F; /* Primary dark background */
  line-height: 1.6;
}

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

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

.page-index__mt-4 {
  margin-top: 40px;
}

.page-index__brand-name {
  color: #FFD700; /* Gold accent */
  font-weight: bold;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #0A192F 0%, #1a3a5e 100%);
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index__hero-content {
  max-width: 900px;
  z-index: 10;
  margin-bottom: 40px;
}

.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: 30px;
  color: #e0e0e0;
}

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

.page-index__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0.2;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.page-index__hero-image {
  max-width: 70%;
  height: auto;
  object-fit: contain;
  transform: translateX(10%);
}

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

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A192F; /* Dark blue */
}

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

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

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-2px);
}

.page-index__btn--text {
  background: none;
  border: none;
  color: #FFD700;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-index__btn--text:hover {
  color: #e6c200;
}

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

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

/* Sections */
.page-index__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-index__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 50px;
  color: #e0e0e0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__about-section,
.page-index__features-section,
.page-index__games-section,
.page-index__promo-section,
.page-index__cta-section,
.page-index__detail-pages-section,
.page-index__responsible-gaming-section {
  padding: 80px 0;
}

.page-index__about-section {
  background-color: #0F2540;
}

.page-index__grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index__about-text {
  flex: 1;
  font-size: 1.1em;
}

.page-index__about-text p {
  margin-bottom: 20px;
  color: #c0c0c0;
}

.page-index__about-image {
  flex: 1;
  text-align: center;
}

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

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

.page-index__feature-item {
  background-color: #1a3a5e;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-index__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-index__feature-description {
  color: #c0c0c0;
}

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

.page-index__game-card,
.page-index__promo-card,
.page-index__detail-card {
  background-color: #1a3a5e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.page-index__game-image,
.page-index__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #0A192F;
}

.page-index__game-title,
.page-index__promo-title,
.page-index__detail-card-title {
  font-size: 1.4em;
  margin: 20px 15px 10px;
  color: #FFD700;
}

.page-index__game-title a,
.page-index__detail-card-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-index__game-title a:hover,
.page-index__detail-card-title a:hover {
  text-decoration: underline;
}

.page-index__game-description,
.page-index__promo-description,
.page-index__detail-card-description {
  font-size: 0.95em;
  color: #c0c0c0;
  padding: 0 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index__game-card .page-index__btn,
.page-index__promo-card .page-index__btn,
.page-index__detail-card .page-index__btn {
  margin: 0 15px 20px;
  align-self: center;
}

.page-index__promo-section {
  background-color: #0F2540;
}

.page-index__cta-section {
  background-color: #0A192F;
  text-align: center;
}

.page-index__cta-description {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #e0e0e0;
}

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

.page-index__responsible-gaming-section {
  background-color: #1a3a5e;
  text-align: center;
}

.page-index__responsible-gaming-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #c0c0c0;
}

/* Floating Promo */
.page-index__floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #FFD700;
  color: #0A192F;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  transform: translateX(120%);
  transition: transform 0.5s ease-out;
}

.page-index__floating-promo.show {
  transform: translateX(0);
}

.page-index__floating-promo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #0A192F;
  font-weight: bold;
}

.page-index__floating-promo img {
  width: 30px;
  height: 30px;
  margin-right: 5px;
}

.page-index__floating-promo-text {
  font-size: 1em;
}

.page-index__close-floating-promo {
  background: none;
  border: none;
  color: #0A192F;
  font-size: 1.2em;
  cursor: pointer;
  margin-left: 10px;
  padding: 0 5px;
}

.page-index__close-floating-promo:hover {
  color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.1em;
  }
  .page-index__hero-image-wrapper {
    display: none; /* Hide large image on smaller screens */
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__grid {
    flex-direction: column;
  }
  .page-index__hero-actions, .page-index__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn--large {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-subtitle {
    font-size: 1em;
  }
  .page-index__features-grid,
  .page-index__games-grid,
  .page-index__promo-grid,
  .page-index__detail-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-index__floating-promo {
    bottom: 10px;
    right: 10px;
    padding: 8px 12px;
  }
  .page-index__floating-promo-text {
    font-size: 0.9em;
  }
  .page-index__close-floating-promo {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section,
  .page-index__about-section,
  .page-index__features-section,
  .page-index__games-section,
  .page-index__promo-section,
  .page-index__cta-section,
  .page-index__detail-pages-section,
  .page-index__responsible-gaming-section {
    padding: 40px 0;
  }
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-index__floating-promo {
    bottom: 5px;
    right: 5px;
    width: calc(100% - 20px);
    justify-content: space-between;
  }
  .page-index__floating-promo img {
    width: 25px;
    height: 25px;
  }
}