/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #e5d1bb; /* Light text for dark background */
  line-height: 1.6;
  background-color: #1A2E44; /* Main background color */
}

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

.page-index__highlight {
  color: #E44D26; /* Accent color for highlights */
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-index__btn--primary {
  background-color: #E44D26; /* Accent color for primary buttons */
  color: #1A2E44; /* Dark text for accent background */
  border: 2px solid #E44D26;
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #E44D26; /* Accent color for secondary buttons text */
  border: 2px solid #E44D26;
}

.page-index__btn--secondary:hover {
  background-color: #E44D26;
  color: #1A2E44;
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #e5d1bb; /* Light text for dark background */
  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: 3px;
  background-color: #E44D26;
}

.page-index__section-description {
  font-size: 1.1em;
  color: #e5d1bb;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__text-content {
  color: #e5d1bb;
  margin-bottom: 20px;
  font-size: 1em;
}

/* Hero Section */
.page-index__hero {
  background: linear-gradient(135deg, #1A2E44, #3a5c80);
  padding: 80px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: 60vh;
  color: #e5d1bb;
  text-align: center;
}

.page-index__hero-content {
  max-width: 600px;
  flex: 1 1 50%;
  min-width: 300px;
}

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

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e5d1bb;
}

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

.page-index__hero-image-wrapper {
  flex: 1 1 40%;
  max-width: 500px;
  min-width: 280px;
}

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

/* About Section */
.page-index__about-77winred {
  padding: 80px 0;
  background-color: #1A2E44;
}

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

/* Features Section */
.page-index__features {
  padding: 80px 0;
  background-color: #0f1e2e;
}

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

.page-index__feature-item {
  background-color: #1A2E44;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #E44D26);
}

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

.page-index__feature-item p {
  color: #e5d1bb;
  font-size: 0.95em;
}

/* Games Showcase Section */
.page-index__games-showcase {
  padding: 80px 0;
  background-color: #1A2E44;
}

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

.page-index__game-item {
  background-color: #0f1e2e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-index__game-item h3 {
  font-size: 1.4em;
  color: #E44D26;
  margin: 20px 0 10px;
}

.page-index__game-item p {
  color: #e5d1bb;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index__game-item .page-index__btn {
  margin-bottom: 20px;
  align-self: center;
}

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

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

.page-index__promo-item {
  background-color: #1A2E44;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-index__promo-item h3 {
  font-size: 1.4em;
  color: #E44D26;
  margin: 20px 0 10px;
}

.page-index__promo-item p {
  color: #e5d1bb;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index__promo-item .page-index__btn {
  margin-bottom: 20px;
  align-self: center;
}

/* App Download Section */
.page-index__app-download {
  padding: 80px 0;
  background-color: #1A2E44;
}

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

.page-index__app-text {
  flex: 1 1 50%;
  min-width: 300px;
  text-align: left;
}

.page-index__app-text .page-index__section-title, .page-index__app-text .page-index__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-index__app-text .page-index__section-title::after {
  left: 0;
  transform: translateX(0);
}

.page-index__app-stores {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.page-index__app-badge {
  width: 150px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.page-index__app-badge:hover {
  transform: translateY(-5px);
}

.page-index__app-image-wrapper {
  flex: 1 1 40%;
  max-width: 400px;
  min-width: 280px;
}

.page-index__app-mockup {
  width: 100%;
  height: auto;
}

/* Responsibility Section */
.page-index__responsibility {
  padding: 80px 0;
  background-color: #0f1e2e;
}

/* CTA Section */
.page-index__cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #E44D26, #a0361b);
  text-align: center;
  color: #1A2E44;
}

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

.page-index__cta-section .page-index__section-title::after {
  background-color: #1A2E44;
}

.page-index__cta-section .page-index__section-description {
  color: #1A2E44;
  margin-bottom: 50px;
}

.page-index__cta-section .page-index__btn--primary {
  background-color: #1A2E44;
  color: #e5d1bb;
  border-color: #1A2E44;
}

.page-index__cta-section .page-index__btn--primary:hover {
  background-color: #0f1e2e;
  border-color: #0f1e2e;
}

/* Detail Pages List */
.page-index__detail-pages {
  padding: 80px 0;
  background-color: #1A2E44;
}

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

.page-index__detail-item {
  background-color: #0f1e2e;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

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

.page-index__detail-title a {
  color: #E44D26;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.page-index__detail-description {
  color: #e5d1bb;
  font-size: 0.95em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-index__detail-item .page-index__btn {
  align-self: flex-start;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__app-text {
    text-align: center;
  }
  .page-index__app-text .page-index__section-title, .page-index__app-text .page-index__section-description {
    text-align: center;
  }
  .page-index__app-text .page-index__section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .page-index__app-stores {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    padding: 60px 15px;
    flex-direction: column;
  }
  .page-index__hero-content, .page-index__hero-image-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__app-badge {
    width: 120px;
  }
}