/* style/index.css */

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

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

.page-index__section-title {
  font-size: 2.8em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  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 {
  text-align: center;
  font-size: 1.1em;
  color: #555;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__text-center {
  text-align: center;
}

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

.page-index__btn--primary {
  background-color: #FFCC00;
  color: #003366;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-index__btn--primary:hover {
  background-color: #e6b800;
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
  transform: translateY(-2px);
}

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

.page-index__btn--secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-2px);
}

.page-index__btn--small {
  padding: 8px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-index__btn--large {
  padding: 18px 40px;
  font-size: 1.25em;
}

/* Hero Section */
.page-index__hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-color: #003366;
}

.page-index__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7);
}

.page-index__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 51, 102, 0.8), rgba(255, 204, 0, 0.2));
  z-index: 2;
}

.page-index__hero .page-index__container {
  position: relative;
  z-index: 3;
}

.page-index__hero-title {
  font-size: 4.5em;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-index__hero-subtitle {
  font-size: 1.6em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.page-index__hero-actions .page-index__btn {
  margin: 0 15px;
}

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

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

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

.page-index__about-text p {
  margin-bottom: 15px;
}

.page-index__about-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Features/Game Diversity Section */
.page-index__features {
  padding: 80px 0;
  background-color: #003366;
  color: #fff;
}

.page-index__features .page-index__section-title {
  color: #FFCC00;
}

.page-index__features .page-index__section-description {
  color: #ddd;
}

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

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

.page-index__feature-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-index__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.5));
}

.page-index__feature-title {
  font-size: 1.8em;
  color: #FFCC00;
  margin-bottom: 15px;
}

.page-index__feature-text {
  font-size: 1em;
  color: #ccc;
}

/* Promotions Section */
.page-index__promotions {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-index__promo-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-direction: row-reverse; /* Image on right */
}

.page-index__promo-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-index__promo-text p {
  margin-bottom: 15px;
}

/* Why Choose Section */
.page-index__why-choose {
  padding: 80px 0;
  background-color: #002b54;
  color: #fff;
}

.page-index__why-choose .page-index__section-title {
  color: #FFCC00;
}

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

.page-index__why-choose-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index__why-choose-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: brightness(1.2) drop-shadow(0 0 5px rgba(255, 204, 0, 0.3));
}

.page-index__why-choose-title {
  font-size: 1.6em;
  color: #FFCC00;
  margin-bottom: 10px;
}

.page-index__why-choose-item p {
  color: #ccc;
}

/* App Download Section */
.page-index__app-download {
  padding: 80px 0;
  background-color: #fff;
}

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

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

.page-index__app-text p {
  margin-bottom: 15px;
}

.page-index__app-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-index__download-tip {
  font-size: 0.9em;
  color: #777;
  margin-top: 20px;
}

/* Registration Section */
.page-index__registration {
  padding: 80px 0;
  background-color: #003366;
  color: #fff;
}

.page-index__registration .page-index__section-title {
  color: #FFCC00;
}

.page-index__registration .page-index__section-description {
  color: #ddd;
}

.page-index__registration-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
  margin-bottom: 40px;
}

.page-index__step-item {
  flex: 1;
  max-width: 300px;
  text-align: center;
  position: relative;
  padding-top: 70px;
}

.page-index__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: #FFCC00;
  color: #003366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-index__step-item h3 {
  font-size: 1.8em;
  color: #fff;
  margin-bottom: 10px;
}

.page-index__step-item p {
  color: #ccc;
  font-size: 1em;
}

.page-index__registration-image {
  display: block;
  max-width: 700px;
  width: 100%;
  height: auto;
  margin: 60px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Related Pages Section */
.page-index__related-pages {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-index__page-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__page-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

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

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

.page-index__page-item p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* CTA Section */
.page-index__cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #003366, #001a33);
  color: #fff;
  text-align: center;
}

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

.page-index__cta-subtitle {
  font-size: 1.4em;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #eee;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 3.5em;
  }
  .page-index__hero-subtitle {
    font-size: 1.3em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__about-content, .page-index__promo-content, .page-index__app-content {
    flex-direction: column;
    text-align: center;
  }
  .page-index__about-image, .page-index__promo-image, .page-index__app-image {
    order: -1; /* Image first on mobile */
    margin-bottom: 30px;
  }
  .page-index__feature-grid, .page-index__why-choose-grid, .page-index__registration-steps, .page-index__page-list {
    grid-template-columns: 1fr;
  }
  .page-index__registration-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-index__step-item {
    max-width: 100%;
    padding-top: 0;
  }
  .page-index__step-number {
    position: static;
    transform: none;
    margin: 0 auto 20px auto;
  }
  .page-index__cta-title {
    font-size: 2.8em;
  }
  .page-index__cta-subtitle {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    height: 500px;
  }
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-subtitle {
    font-size: 1.1em;
  }
  .page-index__hero-actions .page-index__btn {
    margin: 10px 0;
    display: block;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__btn--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-index__registration-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-index__hero {
    height: 400px;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-subtitle {
    font-size: 1em;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__btn {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-index__cta-title {
    font-size: 2.2em;
  }
  .page-index__cta-subtitle {
    font-size: 1em;
  }
  .page-index__about, .page-index__features, .page-index__promotions, .page-index__why-choose, .page-index__app-download, .page-index__registration, .page-index__related-pages, .page-index__cta {
    padding: 60px 0;
  }
}