/* style/index.css */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #FFFFFF; /* Default text color for dark backgrounds */
  background-color: #1A2B3C;
  line-height: 1.6;
}

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

.page-index-section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-index-btn-primary {
  background-color: #FFD700;
  color: #1A2B3C;
  border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
  background-color: #e5c100;
  border-color: #e5c100;
  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: #1A2B3C;
  transform: translateY(-2px);
}

.page-index-btn-tertiary {
  background-color: #3A4E62; /* A darker shade of the primary background */
  color: #FFD700;
  border: 2px solid #3A4E62;
}

.page-index-btn-tertiary:hover {
  background-color: #5f6b77;
  border-color: #5f6b77;
  transform: translateY(-2px);
}

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

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

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #1A2B3C 0%, #3A4E62 100%);
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-index-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('[GALLERY:bg:abstract,pattern,dark_gold]');
  background-size: cover;
  opacity: 0.1;
  z-index: 0;
}

.page-index-hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-bottom: 50px;
}

.page-index-hero-title {
  font-size: 4em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.page-index-hero-description {
  font-size: 1.3em;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index-hero-image-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  width: 90%;
  margin-top: 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  overflow: hidden;
}

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

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

/* Features Section */
.page-index-features {
  padding: 80px 0;
  background-color: #1A2B3C;
}

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

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

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

.page-index-feature-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-index-feature-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.85);
}

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

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

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

.page-index-game-item {
  background-color: #1A2B3C;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-index-game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.page-index-game-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-game-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

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

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

.page-index-promo-item {
  background-color: #2A3B4C;
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-index-promo-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

.page-index-promo-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-index-promo-description {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

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

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

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

.page-index-app-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.9);
}

.page-index-app-benefits li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
}

.page-index-app-benefits li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-index-app-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-index-app-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
}

.page-index-app-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

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

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

.page-index-detail-item {
  background-color: #2A3B4C;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

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

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

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

.page-index-detail-description {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

/* Final CTA Section */
.page-index-cta-final {
  padding: 80px 0;
  background: linear-gradient(135deg, #FFD700 0%, #e5c100 100%);
  text-align: center;
  color: #1A2B3C;
}

.page-index-cta-final .page-index-section-title {
  color: #1A2B3C;
  text-shadow: none;
}

.page-index-cta-final .page-index-text-block {
  color: #1A2B3C;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-index-cta-final .page-index-btn-primary {
  background-color: #1A2B3C;
  color: #FFD700;
  border-color: #1A2B3C;
}

.page-index-cta-final .page-index-btn-primary:hover {
  background-color: #0d1a26;
  border-color: #0d1a26;
  color: #FFD700;
}

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

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

.page-index-floating-ad a {
  display: block;
  line-height: 0;
}

.page-index-floating-ad-image {
  max-width: 180px;
  height: auto;
  border-radius: 8px;
}

.page-index-close-ad {
  background-color: #1A2B3C;
  color: #FFD700;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 1.1em;
  line-height: 25px;
  text-align: center;
  cursor: pointer;
  position: absolute;
  top: -10px;
  right: -10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease;
}

.page-index-close-ad:hover {
  background-color: #FFD700;
  color: #1A2B3C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index-hero-title {
    font-size: 3.5em;
  }

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

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

@media (max-width: 768px) {
  .page-index-hero {
    padding: 80px 0 50px;
  }

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

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

  .page-index-hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-btn-large {
    width: 80%;
    margin: 0 auto;
  }

  .page-index-app-content {
    flex-direction: column;
    text-align: center;
  }

  .page-index-app-text {
    max-width: 100%;
    text-align: center;
  }

  .page-index-app-benefits {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 350px;
  }

  .page-index-app-actions {
    justify-content: center;
  }

  .page-index-app-image-wrapper {
    max-width: 300px;
  }

  .page-index-floating-ad {
    bottom: 10px;
    right: 10px;
    padding: 8px;
  }

  .page-index-floating-ad-image {
    max-width: 150px;
  }

  .page-index-close-ad {
    width: 20px;
    height: 20px;
    font-size: 0.9em;
    line-height: 20px;
    top: -5px;
    right: -5px;
  }
}

@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-btn {
    padding: 12px 20px;
    font-size: 0.9em;
  }

  .page-index-hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .page-index-app-actions {
    flex-direction: column;
  }

  .page-index-btn-large {
    width: 90%;
  }
}