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

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

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  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:fish_shooting_pattern,abstract_water,game_elements]') no-repeat center center/cover;
  opacity: 0.15;
  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;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-index__hero-cta-group .page-index__btn {
  margin: 10px;
  padding: 15px 30px;
  font-size: 1.1em;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* General Buttons */
.page-index__btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.page-index__btn--primary {
  background-color: #ffc107; /* Bright yellow */
  color: #333; /* Dark text for contrast */
  border: 2px solid #ffc107;
}

.page-index__btn--primary:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #000;
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #fff; /* White text for contrast */
  border: 2px solid #fff;
}

.page-index__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.page-index__btn--tertiary {
  background-color: #007bff; /* Primary blue */
  color: #fff; /* White text for contrast */
  padding: 12px 25px;
  border-radius: 5px;
  border: 2px solid #007bff;
}

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

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

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

.page-index__btn--link {
  background: none;
  border: none;
  color: #007bff;
  text-decoration: underline;
  padding: 0;
  font-weight: 500;
}

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

/* Section Titles */
.page-index__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: 700;
}

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

/* Info Section */
.page-index__info-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

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

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

.page-index__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0, 123, 255, 0.3));
}

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

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

/* Featured Platforms Section */
.page-index__featured-platforms {
  padding: 60px 0;
  background-color: #e9ecef;
}

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

.page-index__platform-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__platform-logo {
  max-width: 120px;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-index__platform-name {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-index__platform-desc {
  font-size: 1em;
  color: #666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-index__platform-actions .page-index__btn {
  margin: 5px;
}

/* Latest Promotions Section */
.page-index__latest-promotions {
  padding: 60px 0;
  background-color: #f8f9fa;
}

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

.page-index__promotion-card {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__promotion-img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

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

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

/* Strategy Guide Section */
.page-index__strategy-guide {
  padding: 60px 0;
  background-color: #e9ecef;
}

.page-index__strategy-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.page-index__strategy-text {
  flex: 2;
  min-width: 300px;
}

.page-index__strategy-text h3 {
  font-size: 1.8em;
  color: #007bff;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-index__strategy-text p {
  margin-bottom: 15px;
  color: #444;
}

.page-index__strategy-image {
  flex: 1;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-index__img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.page-index__testimonials {
  padding: 60px 0;
  background-color: #f8f9fa;
}

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

.page-index__testimonial-card {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-style: italic;
}

.page-index__testimonial-text {
  margin-bottom: 15px;
  color: #555;
}

.page-index__testimonial-author {
  font-weight: 600;
  color: #007bff;
  font-style: normal;
}

/* About Us Summary Section */
.page-index__about-us-summary {
  padding: 60px 0;
  background-color: #e9ecef;
  text-align: center;
}

/* Call to Action Banner */
.page-index__cta-banner {
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  margin-top: 60px;
}

.page-index__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-index__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* View All Wrapper */
.page-index__view-all-wrapper {
  text-align: center;
  margin-top: 20px;
}

/* Floating Ad */
.page-index__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 280px;
  background-color: #ffc107; /* Auxiliary color */
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  overflow: hidden;
  animation: page-index__fadeInUp 0.5s ease-out;
}

.page-index__floating-ad a {
  display: block;
  text-decoration: none;
  color: #333;
  position: relative;
}

.page-index__floating-ad-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.page-index__floating-ad-text {
  padding: 10px 15px;
  font-weight: 600;
  font-size: 1.1em;
  text-align: center;
  color: #000; /* Ensure high contrast */
}

.page-index__floating-ad-close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 1.5em;
  color: #333;
  cursor: pointer;
  line-height: 1;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.page-index__floating-ad-close:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

@keyframes page-index__fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-index__hero-title {
    font-size: 2.5em;
  }

  .page-index__hero-subtitle {
    font-size: 1em;
  }

  .page-index__hero-cta-group .page-index__btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-index__section-title {
    font-size: 2em;
  }

  .page-index__section-description {
    font-size: 0.95em;
  }

  .page-index__grid,
  .page-index__platform-grid,
  .page-index__promotion-grid,
  .page-index__testimonial-grid {
    grid-template-columns: 1fr;
  }

  .page-index__strategy-content {
    flex-direction: column;
  }

  .page-index__cta-title {
    font-size: 2em;
  }

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

  .page-index__floating-ad {
    width: 90%;
    left: 5%;
    right: 5%;
    bottom: 15px;
  }

  .page-index__floating-ad-img {
    height: 80px;
  }

  .page-index__floating-ad-text {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }

  .page-index__hero-cta-group {
    display: flex;
    flex-direction: column;
  }

  .page-index__hero-cta-group .page-index__btn {
    width: 80%;
    margin: 5px auto;
  }

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

  .page-index__feature-title {
    font-size: 1.3em;
  }

  .page-index__platform-name,
  .page-index__promotion-title {
    font-size: 1.4em;
  }

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