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

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

.page-index-section-title {
  font-size: 2.5em;
  color: #003366;
  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: #FFCC00;
  border-radius: 2px;
}

.page-index-section-description {
  text-align: center;
  font-size: 1.1em;
  color: #555;
  margin-bottom: 60px;
}

.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;
}

.page-index-btn-primary {
  background-color: #FFCC00;
  color: #003366;
  font-size: 1.1em;
}

.page-index-btn-primary:hover {
  background-color: #e6b800;
  color: #002244;
}

.page-index-btn-secondary {
  background-color: #003366;
  color: #FFCC00;
  border: 2px solid #FFCC00;
  font-size: 1.1em;
  margin-left: 15px;
}

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

.page-index-btn-tertiary {
  background-color: transparent;
  color: #003366;
  border: 2px solid #003366;
  font-size: 1em;
  padding: 10px 20px;
}

.page-index-btn-tertiary:hover {
  background-color: #003366;
  color: #fff;
}

.page-index-btn-small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #003366;
  color: #FFCC00;
}

.page-index-btn-small:hover {
  background-color: #002244;
  color: #FFCC00;
}

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

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

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #003366 0%, #004d99 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

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

.page-index-hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFCC00;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page-index-hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.page-index-hero-actions {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.page-index-hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  max-width: 40%;
  opacity: 0.7;
  z-index: 0;
}

.page-index-hero-image {
  width: 100%;
  height: auto;
  display: block;
}

/* About Us Section */
.page-index-about-us {
  padding: 80px 0;
  background-color: #fff;
}

.page-index-about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-index-about-text {
  flex: 1;
}

.page-index-about-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444;
}

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

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

/* Games Section */
.page-index-games {
  padding: 80px 0;
  background-color: #f4f7f6;
}

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

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

.page-index-game-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-game-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-index-game-item h3 {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-game-item p {
  font-size: 1em;
  color: #666;
}

/* Promotions Section */
.page-index-promotions {
  padding: 80px 0;
  background-color: #003366;
  color: #fff;
}

.page-index-promotions .page-index-section-title {
  color: #FFCC00;
}

.page-index-promotions .page-index-section-description {
  color: #e0e0e0;
}

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

.page-index-promo-item {
  background-color: #004488;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-index-promo-item img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-index-promo-item h3 {
  font-size: 1.4em;
  color: #FFCC00;
  margin-bottom: 10px;
}

.page-index-promo-item p {
  font-size: 0.95em;
  color: #ccc;
  margin-bottom: 20px;
}

/* How-To Section */
.page-index-how-to {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index-step-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-index-step-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.page-index-step-item h3 {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index-step-item p {
  font-size: 1em;
  color: #555;
  margin-bottom: 25px;
}

/* Security Section */
.page-index-security {
  padding: 80px 0;
  background-color: #e6f0ff;
}

.page-index-security-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

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

.page-index-security-text {
  flex: 1;
}

.page-index-security-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444;
}

/* Detail Pages Section */
.page-index-detail-pages {
  padding: 80px 0;
  background-color: #f4f7f6;
}

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

.page-index-detail-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-detail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-detail-item h3.page-index-detail-title {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-index-detail-item h3.page-index-detail-title a {
  color: #003366;
  text-decoration: none;
}

.page-index-detail-item h3.page-index-detail-title a:hover {
  color: #FFCC00;
  text-decoration: underline;
}

.page-index-detail-item p.page-index-detail-description {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
}

/* Call to Action Section */
.page-index-cta {
  background: linear-gradient(90deg, #003366, #004488);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-index-cta-title {
  font-size: 3em;
  color: #FFCC00;
  margin-bottom: 20px;
}

.page-index-cta-description {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.5;
}

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

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

  .page-index-about-content, .page-index-security-content {
    flex-direction: column;
  }

  .page-index-about-image, .page-index-security-image {
    order: -1;
    margin-bottom: 30px;
  }

  .page-index-hero-image-wrapper {
    position: static;
    max-width: 80%;
    margin-top: 40px;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .page-index-section-title {
    font-size: 2em;
  }

  .page-index-hero {
    padding: 60px 0;
    min-height: auto;
  }

  .page-index-hero-title {
    font-size: 2.2em;
  }

  .page-index-hero-description {
    font-size: 1em;
  }

  .page-index-hero-actions .page-index-btn {
    margin: 10px 0;
    display: block;
  }

  .page-index-promo-item img {
    height: 150px;
  }

  .page-index-cta-title {
    font-size: 2.2em;
  }

  .page-index-cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index-container {
    padding: 0 15px;
  }

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

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

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

  .page-index-btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .page-index-btn-large {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index-game-item, .page-index-promo-item, .page-index-step-item, .page-index-detail-item {
    padding: 20px;
  }

  .page-index-promo-item img {
    height: 120px;
  }

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