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

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

.page-index__section {
  padding: 80px 0;
  text-align: center;
}

.page-index__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

.page-index__section-title {
  font-size: 2.8em;
  color: #003366;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.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 {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.05em;
}

.page-index__btn--primary {
  background-color: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
}

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

.page-index__btn--secondary {
  background-color: transparent;
  color: #003366;
  border: 2px solid #003366;
}

.page-index__btn--secondary:hover {
  background-color: #003366;
  color: #ffffff;
}

.page-index__btn--small {
  padding: 8px 18px;
  font-size: 0.95em;
}

.page-index__btn--cta {
  background-color: #FFCC00;
  color: #003366;
  border: 2px solid #FFCC00;
  font-size: 1.2em;
  padding: 15px 30px;
  margin: 10px;
}

.page-index__btn--cta:hover {
  background-color: #e6b800;
  border-color: #e6b800;
}

.page-index__btn--cta-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 1.2em;
  padding: 15px 30px;
  margin: 10px;
}

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

.page-index__center-btn {
    text-align: center;
    margin-top: 30px;
}

/* Hero Section */
.page-index__hero-section {
  background: linear-gradient(135deg, #003366, #001a33);
  color: #ffffff;
  padding: 100px 0;
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.page-index__hero-content {
  flex: 1;
  text-align: left;
  padding-right: 40px;
}

.page-index__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFCC00; /* Accent for title */
}

.page-index__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  max-width: 600px;
  opacity: 0.9;
}

.page-index__hero-buttons .page-index__btn {
  margin-right: 20px;
}

.page-index__hero-image-wrapper {
  flex: 1;
  text-align: right;
}

.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__about-section {
  background-color: #ffffff;
}

.page-index__about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 50px;
}

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

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

.page-index__text-content p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #444444;
}

/* Why Choose Section */
.page-index__why-choose-section {
    background-color: #f8f8f8;
}

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

.page-index__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px 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;
  color: #003366;
  margin-bottom: 15px;
}

.page-index__feature-item p {
  color: #555555;
  font-size: 0.95em;
}

/* Games Section */
.page-index__games-section {
    background-color: #ffffff;
}

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

.page-index__game-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  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;
}

.page-index__game-card-title {
  font-size: 1.5em;
  color: #003366;
  padding: 15px 20px 5px;
}

.page-index__game-card p {
  color: #555555;
  font-size: 0.95em;
  padding: 0 20px 15px;
}

.page-index__game-card .page-index__btn {
  margin: 0 20px 20px;
  display: block;
  text-align: center;
}

/* Promotions Section */
.page-index__promotions-section {
    background-color: #f8f8f8;
}

.page-index__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 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: left;
  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.5em;
  color: #003366;
  padding: 15px 20px 5px;
}

.page-index__promo-card p {
  color: #555555;
  font-size: 0.95em;
  padding: 0 20px 15px;
}

.page-index__promo-card .page-index__btn {
  margin: 0 20px 20px;
  display: block;
  text-align: center;
}

/* Guides Section */
.page-index__guides-section {
    background-color: #ffffff;
}

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

.page-index__guide-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

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

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

.page-index__guide-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
}

.page-index__guide-item p {
  color: #555555;
  font-size: 0.95em;
}

.page-index__guide-item .page-index__btn {
  margin-top: 20px;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
    background-color: #f8f8f8;
}

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

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

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

.page-index__detail-page-title {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-index__detail-page-title a {
  color: #003366;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index__detail-page-title a:hover {
  color: #FFCC00;
}

.page-index__detail-page-description {
  color: #555555;
  font-size: 0.95em;
  margin-bottom: 20px;
}

.page-index__detail-page-item .page-index__btn {
  display: inline-block;
}

/* CTA Section */
.page-index__cta-section {
  background: linear-gradient(45deg, #003366, #004d99);
  color: #ffffff;
  padding: 100px 0;
  margin-top: 60px;
}

.page-index__cta-title {
  color: #FFCC00;
  font-size: 3.2em;
  margin-bottom: 20px;
}

.page-index__cta-title::after {
  background-color: #FFCC00;
}

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

.page-index__cta-content .page-index__btn {
  margin: 0 15px;
}

/* Floating Ad */
.page-index__floating-ad {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #FFCC00;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
  animation: page-index-bounce 2s infinite;
}

.page-index__floating-ad:hover {
  transform: scale(1.05);
  animation: none;
}

.page-index__floating-ad-link {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  text-decoration: none;
  color: #003366;
  font-weight: bold;
  font-size: 1.1em;
}

.page-index__floating-ad-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

@keyframes page-index-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-section {
    padding: 80px 0;
  }

  .page-index__hero-content {
    padding-right: 0;
    text-align: center;
  }

  .page-index__hero-image-wrapper {
    display: none; /* Hide image on smaller screens */
  }

  .page-index__hero-title {
    font-size: 3em;
  }

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

  .page-index__hero-buttons .page-index__btn {
    margin-right: 10px;
    margin-bottom: 10px;
  }

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

  .page-index__about-image {
    max-width: 80%;
    margin-bottom: 30px;
  }

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

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

  .page-index__floating-ad {
    bottom: 15px;
    right: 15px;
  }

  .page-index__floating-ad-link {
    padding: 8px 15px;
    font-size: 1em;
  }

  .page-index__floating-ad-image {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    padding: 60px 0;
  }

  .page-index__hero-title {
    font-size: 2.5em;
  }

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

  .page-index__section {
    padding: 60px 0;
  }

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

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

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

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

  .page-index__btn--cta-secondary {
    font-size: 1.0em;
    padding: 12px 25px;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    padding: 40px 0;
  }

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

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

  .page-index__hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-index__hero-buttons .page-index__btn {
    margin: 0 0 15px 0;
    width: 80%;
  }

  .page-index__section {
    padding: 40px 0;
  }

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

  .page-index__about-image {
    max-width: 100%;
  }

  .page-index__features-grid, .page-index__game-categories, .page-index__promo-grid, .page-index__guide-grid, .page-index__detail-page-list {
    grid-template-columns: 1fr;
  }

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

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

  .page-index__cta-content .page-index__btn {
    margin: 10px 0;
    width: 90%;
  }

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