/* style/index.css */

/* General Page Styling */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0; /* Light gray for general text on dark background */
  background-color: #0A2342; /* Main brand color for background */
  line-height: 1.6;
}

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

.page-index__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Auxiliary brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__section-subtitle {
  font-size: 1.2em;
  color: #cccccc;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-index__btn--primary {
  background-color: #FFD700; /* Gold for primary actions */
  color: #0A2342; /* Dark blue text on gold */
  border: 2px solid #FFD700;
}

.page-index__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text for secondary actions */
  border: 2px solid #FFD700;
}

.page-index__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A2342;
  transform: translateY(-2px);
}

.page-index__btn--large {
  padding: 15px 35px;
  font-size: 1.3em;
  border-radius: 10px;
}

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

/* Hero Section */
.page-index__hero {
  background: linear-gradient(135deg, #0A2342 0%, #1a3a5e 100%);
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-index__hero-image-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%; /* Adjust as needed */
  max-width: 700px;
  z-index: 0;
  opacity: 0.2;
}

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

.page-index__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 1;
}

.page-index__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.page-index__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* About Section */
.page-index__about {
  padding: 80px 0;
  background-color: #0D2B4D; /* Slightly lighter dark blue */
}

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

.page-index__feature-item {
  background-color: #1a3a5e; /* Darker blue for feature cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

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

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

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

/* Promotion Banner */
.page-index__promotion-banner {
  background: linear-gradient(90deg, #FFD700 0%, #e6c200 100%);
  padding: 60px 0;
  text-align: center;
  color: #0A2342;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.page-index__banner-title {
  font-size: 2.8em;
  color: #0A2342;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.3;
}

.page-index__banner-description {
  font-size: 1.3em;
  color: #333;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__promotion-banner .page-index__btn--large {
  background-color: #0A2342;
  color: #FFD700;
  border-color: #0A2342;
}

.page-index__promotion-banner .page-index__btn--large:hover {
  background-color: #1a3a5e;
  border-color: #1a3a5e;
  color: #FFD700;
}

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

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

.page-index__game-card {
  background-color: #1a3a5e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-index__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-index__game-card h3 {
  font-size: 1.5em;
  color: #FFD700;
  padding: 20px 20px 10px;
  margin: 0;
}

.page-index__game-description {
  font-size: 0.95em;
  color: #cccccc;
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-index__game-card .page-index__btn--small {
  margin: 0 20px 20px;
  align-self: flex-start;
}

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

.page-index__app-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.page-index__app-content {
  flex: 1;
  min-width: 300px;
}

.page-index__app-content .page-index__section-title {
  text-align: left;
  margin-bottom: 25px;
}

.page-index__app-description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-index__app-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

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

/* Security Section */
.page-index__security {
  padding: 80px 0;
  background-color: #0A2342;
}

.page-index__security-intro {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
}

.page-index__security-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 50px;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-index__security-list li {
  background-color: #1a3a5e;
  padding: 25px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index__security-icon {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 3px #FFD700);
}

.page-index__security-list li strong {
  color: #FFD700;
  font-size: 1.1em;
}

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

.page-index__contact-cta p {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

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

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

.page-index__detail-card {
  background-color: #1a3a5e;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

.page-index__detail-description {
  font-size: 0.95em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Final CTA Section */
.page-index__cta-final {
  background: linear-gradient(45deg, #0A2342, #1a3a5e);
  padding: 100px 0;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-index__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 25px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index__cta-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index__cta-final .page-index__hero-actions {
  gap: 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-index__hero-title {
    font-size: 2.8em;
  }
  .page-index__hero-description {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2em;
  }
  .page-index__banner-title {
    font-size: 2.2em;
  }
  .page-index__app-flex {
    flex-direction: column;
  }
  .page-index__app-content .page-index__section-title {
    text-align: center;
  }
  .page-index__app-buttons {
    justify-content: center;
  }
  .page-index__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-index__hero {
    padding: 60px 0;
  }
  .page-index__hero-image-wrapper {
    width: 70%;
    opacity: 0.15;
  }
  .page-index__hero-title {
    font-size: 2.2em;
  }
  .page-index__hero-description {
    font-size: 1em;
  }
  .page-index__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-index__btn--large {
    width: 80%;
    margin: 0 auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-index__section-subtitle {
    font-size: 1.1em;
    margin-bottom: 40px;
  }
  .page-index__features-grid, .page-index__games-grid, .page-index__detail-grid {
    grid-template-columns: 1fr;
  }
  .page-index__promotion-banner {
    padding: 40px 0;
  }
  .page-index__banner-title {
    font-size: 1.8em;
  }
  .page-index__banner-description {
    font-size: 1.1em;
  }
  .page-index__app-description {
    text-align: center;
  }
  .page-index__security-list {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .page-index__cta-title {
    font-size: 2em;
  }
  .page-index__cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-title {
    font-size: 1.8em;
  }
  .page-index__hero-description {
    font-size: 0.9em;
  }
  .page-index__btn {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-index__btn--large {
    font-size: 1.1em;
    padding: 12px 25px;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__banner-title {
    font-size: 1.5em;
  }
  .page-index__game-card h3 {
    font-size: 1.3em;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
}