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

.page-index__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  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: #ffc107;
  border-radius: 2px;
}

.page-index__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #495057;
}

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

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

.page-index__btn--primary {
  background-color: #007bff;
  color: #ffffff;
}

.page-index__btn--primary:hover {
  background-color: #0056b3;
}

.page-index__btn--secondary {
  background-color: #ffc107;
  color: #333;
  border: 1px solid #ffc107;
}

.page-index__btn--secondary:hover {
  background-color: #e0a800;
  color: #333;
}

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

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

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

.page-index__link:hover {
  text-decoration: underline;
}

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

.page-index__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:abstract_geometric,blue_gradient,tech_pattern]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

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

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

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

.page-index__hero-buttons .page-index__btn {
  margin: 0 10px;
}

.page-index__hero-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: auto;
  opacity: 0.8;
  z-index: 0;
  transform: translateX(20%) translateY(20%);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

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

.page-index__about-section .page-index__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index__about-section .page-index__text-content {
  flex: 2;
  font-size: 1.15em;
  line-height: 1.8;
}

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

.page-index__image--right {
  flex: 1;
  min-width: 300px;
}

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

.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: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-index__game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

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

.page-index__game-description {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

/* Promotion Section */
.page-index__promo-section {
  padding: 80px 0;
  background-color: #fffaf0;
}

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

.page-index__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px 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 15px 30px rgba(0, 0, 0, 0.15);
}

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

.page-index__promo-card .page-index__promo-title {
  font-size: 1.4em;
  color: #007bff;
  margin: 20px 15px 10px;
}

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

.page-index__promo-card .page-index__btn {
  margin-bottom: 20px;
}

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

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

.page-index__app-info {
  flex: 1;
  min-width: 300px;
}

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

.page-index__app-info 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="%23007bff" 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: 15px;
  font-size: 1.1em;
  color: #333;
}

.page-index__app-image {
  flex: 1;
  max-width: 450px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

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

.page-index__advantage-card {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-index__advantage-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: #007bff;
}

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

.page-index__advantage-description {
  font-size: 1em;
  color: #666;
}

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

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

.page-index__testimonial-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
}

.page-index__testimonial-card::before {
  content: '“';
  font-size: 4em;
  color: #ffc107;
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.5;
  line-height: 1;
}

.page-index__testimonial-quote {
  font-style: italic;
  color: #495057;
  margin-bottom: 15px;
  padding-top: 20px;
}

.page-index__testimonial-author {
  font-weight: bold;
  color: #007bff;
  text-align: right;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

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

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

.page-index__detail-title {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-index__detail-title a {
  color: #007bff;
  text-decoration: none;
}

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

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

.page-index__detail-item .page-index__btn {
  margin-top: auto;
}

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

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

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

.page-index__cta-section .page-index__text-content {
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-index__cta-section .page-index__link {
  color: #ffffff;
  text-decoration: underline;
}

.page-index__cta-section .page-index__link:hover {
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-subtitle {
    font-size: 1.2em;
  }
  .page-index__hero-image {
    width: 400px;
    transform: translateX(10%) translateY(10%);
  }
  .page-index__about-section .page-index__container {
    flex-direction: column;
    text-align: center;
  }
  .page-index__image--right {
    min-width: unset;
    order: -1;
    margin-bottom: 30px;
  }
  .page-index__app-download-content {
    flex-direction: column;
  }
  .page-index__app-image {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-subtitle {
    font-size: 1em;
  }
  .page-index__hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .page-index__hero-buttons .page-index__btn {
    margin: 0;
  }
  .page-index__hero-image {
    display: none;
  }
  .page-index__game-categories, .page-index__promo-cards, .page-index__advantage-cards, .page-index__detail-list, .page-index__testimonial-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-subtitle {
    font-size: 0.9em;
  }
  .page-index__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__text-content {
    font-size: 1em;
  }
}