/* style/index.css */
.page-index {
  font-family: 'Arial', 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 0%, #0056b3 100%); /* Blue gradient */
  color: #fff;
  padding: 100px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure sufficient height */
}

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

@media (min-width: 768px) {
  .page-index__hero-section .page-index__container {
    flex-direction: row;
    text-align: left;
  }
}

.page-index__hero-content {
  flex: 1;
}

.page-index__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-index__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-index__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

@media (min-width: 768px) {
  .page-index__hero-actions {
    justify-content: flex-start;
  }
}

.page-index__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-index__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0056b3; /* Darker blue for contrast */
  border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #003a75;
  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: #0056b3;
  transform: translateY(-2px);
}

.page-index__btn--dark {
  background-color: #0056b3;
  color: #FFD700;
  border: 2px solid #0056b3;
}

.page-index__btn--dark:hover {
  background-color: #003a75;
  border-color: #003a75;
  color: #ffe033;
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

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

.page-index__btn--app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #333;
  color: #fff;
  border: 2px solid #333;
  padding: 12px 25px;
}

.page-index__btn--app:hover {
  background-color: #000;
  border-color: #000;
  color: #FFD700;
}

.page-index__app-icon {
  width: 24px;
  height: 24px;
}

/* Section Titles and Descriptions */
.page-index__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  color: #0056b3;
}

.page-index__section-title--light {
  color: #fff;
}

.page-index__section-title--dark {
  color: #0056b3;
}

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

.page-index__section-description--light {
  color: #e0e0e0;
}

.page-index__section-description--dark {
  color: #333;
}

.page-index__highlight {
  color: #FFD700;
}

.page-index__highlight--dark {
  color: #007BFF;
}

/* Features Section */
.page-index__features-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

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

.page-index__feature-item:hover {
  transform: translateY(-5px);
}

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

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

.page-index__feature-text {
  color: #666;
}

/* Games Overview Section */
.page-index__games-overview {
  padding: 80px 0;
  background-color: #fff;
}

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

.page-index__game-card {
  background-color: #f0f8ff; /* Lighter blue variant */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px 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(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-index__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
}

.page-index__game-card h3 {
  font-size: 1.6em;
  color: #007BFF;
  margin: 20px 0 10px;
}

.page-index__game-card p {
  padding: 0 20px 20px;
  color: #666;
}

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

/* Promotions Callout */
.page-index__promotions-callout {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(90deg, #FFD700 0%, #e6c200 100%); /* Gold gradient */
  color: #333;
}

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

.page-index__download-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 768px) {
  .page-index__download-flex {
    flex-direction: row;
    text-align: left;
  }
}

.page-index__download-content {
  flex: 1;
}

.page-index__app-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .page-index__app-links {
    justify-content: flex-start;
  }
}

.page-index__download-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.page-index__about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

@media (min-width: 768px) {
  .page-index__about-content {
    flex-direction: row;
    text-align: left;
  }
}

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

.page-index__about-text {
  flex: 1;
  font-size: 1.1em;
  color: #444;
}

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

.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 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-index__detail-item:hover {
  transform: translateY(-5px);
}

.page-index__detail-title {
  font-size: 1.4em;
  color: #007BFF;
  margin-bottom: 15px;
}

.page-index__detail-title a {
  color: inherit;
  text-decoration: none;
}

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

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

/* CTA Section */
.page-index__cta-section {
  background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%); /* Blue gradient */
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-index__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Floating Ad Menu */
.page-index__floating-ad-menu {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-index__floating-ad-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #FFD700; /* Gold */
  color: #0056b3; /* Darker blue for contrast */
  padding: 10px 15px;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-index__floating-ad-item:hover {
  transform: translateX(-5px);
  background-color: #e6c200;
}

.page-index__floating-ad-icon {
  width: 24px;
  height: 24px;
}

.page-index__floating-ad-text {
  white-space: nowrap;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section .page-index__container {
    flex-direction: column;
    text-align: center;
  }
  .page-index__hero-actions {
    justify-content: center;
  }
  .page-index__hero-image-wrapper {
    order: -1; /* Image above text on mobile */
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__section-description {
    font-size: 0.95em;
  }
  .page-index__download-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-index__download-image-wrapper {
    order: -1;
  }
  .page-index__app-links {
    justify-content: center;
  }
  .page-index__about-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-index__btn {
    width: 100%;
    padding: 12px 20px;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__floating-ad-menu {
    bottom: 10px;
    right: 10px;
  }
  .page-index__floating-ad-item {
    padding: 8px 12px;
  }
  .page-index__floating-ad-text {
    font-size: 0.9em;
  }
}