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

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

.page-index-section-padding {
  padding: 80px 0;
}

.page-index-bg-dark {
  background-color: #0056b3; /* Darker shade of primary for contrast */
  color: #f8f9fa;
}

.page-index-bg-light {
  background-color: #f8f9fa;
}

.page-index-text-light {
  color: #f8f9fa;
}

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

.page-index-section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #007bff;
}

.page-index-bg-dark .page-index-section-title {
  color: #ffc107;
}

.page-index-section-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-highlight {
  color: #ffc107;
}

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

.page-index-btn-primary {
  background-color: #007bff;
  color: #ffffff;
  border-color: #007bff;
}

.page-index-btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-index-btn-secondary {
  background-color: #ffc107;
  color: #333;
  border-color: #ffc107;
}

.page-index-btn-secondary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.page-index-btn-outline {
  background-color: transparent;
  color: #007bff;
  border-color: #007bff;
}

.page-index-btn-outline:hover {
  background-color: #007bff;
  color: #ffffff;
}

.page-index-bg-dark .page-index-btn-outline {
  color: #ffc107;
  border-color: #ffc107;
}

.page-index-bg-dark .page-index-btn-outline:hover {
  background-color: #ffc107;
  color: #000;
}

.page-index-btn-lg {
  padding: 15px 35px;
  font-size: 1.2em;
}

.page-index-btn-xl {
  padding: 18px 40px;
  font-size: 1.3em;
}

/* Hero Section */
.page-index-hero-section {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #ffffff;
  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,pattern,subtle]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-index-hero-section > .page-index-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

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

.page-index-hero-description {
  font-size: 1.4em;
  max-width: 800px;
  margin-bottom: 40px;
  color: #e0e0e0;
}

.page-index-hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-index-hero-image-wrapper {
  margin-top: 50px;
  position: relative;
  z-index: 1;
  max-width: 90%;
}

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

/* About Section */
.page-index-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

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

.page-index-feature-item:hover {
  transform: translateY(-10px);
}

.page-index-feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-index-feature-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #007bff;
}

.page-index-feature-text {
  font-size: 1.1em;
  color: #555;
}

/* Games Section */
.page-index-game-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-game-card {
  background-color: #007bff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.page-index-game-card:hover {
  transform: translateY(-10px);
}

.page-index-game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #ffc107;
}

.page-index-game-card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin: 20px 15px 10px;
  color: #ffc107;
}

.page-index-game-card-text {
  font-size: 1.1em;
  color: #e0e0e0;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-index-game-card .page-index-btn-outline {
  margin: 0 15px 20px;
  align-self: center;
}

/* Promo Section */
.page-index-promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-index-promo-card:hover {
  transform: translateY(-10px);
}

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

.page-index-promo-card-title {
  font-size: 1.7em;
  font-weight: bold;
  margin: 20px 15px 10px;
  color: #007bff;
}

.page-index-promo-card-text {
  font-size: 1.1em;
  color: #555;
  padding: 0 15px 20px;
}

.page-index-promo-card .page-index-btn-primary {
  margin-bottom: 20px;
}

.page-index-cta-banner {
  background-color: #ffc107;
  color: #333;
  padding: 30px 40px;
  border-radius: 10px;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-index-cta-text {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
}

.page-index-cta-banner .page-index-highlight {
  color: #007bff;
}

/* Guide Section */
.page-index-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-step-item {
  background-color: #007bff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  color: #ffffff;
}

.page-index-step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffc107;
  color: #000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #0056b3;
}

.page-index-step-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #ffc107;
}

.page-index-step-text {
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-index-center-button {
  text-align: center;
  margin-top: 50px;
}

/* App Download Section */
.page-index-app-download-section {
  background-color: #f0f8ff;
  padding: 80px 0;
}

.page-index-app-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-index-app-text {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-index-app-text .page-index-section-title {
  text-align: left;
  font-size: 2.5em;
}

.page-index-app-text .page-index-section-description {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.page-index-app-image-wrapper {
  flex: 1;
  min-width: 250px;
  max-width: 400px;
}

.page-index-app-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Details List Section */
.page-index-detail-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-detail-card {
  background-color: #ffffff;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.page-index-detail-card:hover {
  transform: translateY(-8px);
  border-color: #ffc107;
}

.page-index-detail-card-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-index-detail-card-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-detail-card-title a:hover {
  color: #0056b3;
}

.page-index-detail-card-description {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 25px;
}

/* Final CTA Section */
.page-index-cta-final .page-index-section-title {
  font-size: 3em;
}

.page-index-cta-final .page-index-section-description {
  font-size: 1.3em;
  margin-bottom: 50px;
}

/* Floating Ad Menu */
.page-index-floating-ad-menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffc107;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 15px 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  transform: translateX(120%);
  transition: transform 0.5s ease-out;
}

.page-index-floating-ad-menu.show {
  transform: translateX(0);
}

.page-index-floating-ad-menu-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}

.page-index-floating-ad-menu .page-index-btn {
  width: 100%;
  padding: 10px 15px;
  font-size: 0.95em;
}

.page-index-floating-ad-menu .page-index-btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.page-index-floating-ad-menu .page-index-btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-index-floating-ad-close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #333;
  cursor: pointer;
  line-height: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero-section {
    padding: 80px 0;
  }
  .page-index-hero-title {
    font-size: 3em;
  }
  .page-index-hero-description {
    font-size: 1.2em;
  }
  .page-index-app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index-app-text {
    text-align: center;
  }
  .page-index-app-text .page-index-section-title {
    text-align: center;
  }
  .page-index-app-text .page-index-section-description {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-index-section-padding {
    padding: 60px 0;
  }
  .page-index-hero-title {
    font-size: 2.5em;
  }
  .page-index-hero-description {
    font-size: 1.1em;
  }
  .page-index-hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-index-section-title {
    font-size: 2.2em;
  }
  .page-index-section-description {
    font-size: 1em;
  }
  .page-index-feature-title, .page-index-game-card-title, .page-index-promo-card-title, .page-index-step-title, .page-index-detail-card-title {
    font-size: 1.5em;
  }
  .page-index-floating-ad-menu {
    bottom: 15px;
    right: 15px;
    padding: 10px 15px;
    width: calc(100% - 30px);
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .page-index-hero-title {
    font-size: 2em;
  }
  .page-index-hero-description {
    font-size: 1em;
  }
  .page-index-section-title {
    font-size: 1.8em;
  }
  .page-index-floating-ad-menu {
    width: calc(100% - 20px);
    right: 10px;
    bottom: 10px;
  }
}