/* style/index.css */

/* General Page Styling */
.page-index {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Light gray for general text on dark background */
  background-color: #0d0d0d;
}

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

.page-index-section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.page-index-section-subtitle {
  font-size: 1.2em;
  color: #ccc; /* Lighter gray for subtitles */
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.page-index-btn-primary {
  background-color: #FFD700; /* Gold button */
  color: #1a1a1a; /* Dark text on gold */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-index-btn-primary:hover {
  background-color: #e6c200;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.page-index-btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-index-btn-secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-index-btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 5px;
}

.page-index-btn-large {
  padding: 18px 40px;
  font-size: 1.1em;
  border-radius: 10px;
}

/* Hero Section */
.page-index-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  padding: 100px 0;
  display: flex;
  align-items: center;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.page-index-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 L 0 10" fill="none" stroke="%232a2a2a" stroke-width="0.2"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
  opacity: 0.1;
  z-index: 0;
}

.page-index-hero .page-index-container {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.page-index-hero-content {
  flex: 1;
}

.page-index-hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.page-index-hero-description {
  font-size: 1.4em;
  color: #e0e0e0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-index-hero-actions {
  display: flex;
  gap: 20px;
}

.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.5);
}

/* Features Section */
.page-index-features {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-index-feature-item {
  background-color: #1c1c1c;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 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 10px 30px rgba(0, 0, 0, 0.5);
}

.page-index-feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

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

.page-index-feature-text {
  font-size: 1em;
  color: #b0b0b0;
  line-height: 1.6;
}

/* Game Categories Section */
.page-index-game-categories {
  padding: 80px 0;
  background-color: #0d0d0d;
}

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

.page-index-category-item {
  background-color: #1c1c1c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-index-category-item h3 {
  font-size: 1.8em;
  color: #FFD700;
  padding: 20px 20px 10px;
}

.page-index-category-description {
  font-size: 0.95em;
  color: #b0b0b0;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-index-category-item .page-index-btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

/* Promotions Section */
.page-index-promotions {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-index-promotion-item {
  background-color: #1c1c1c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

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

.page-index-promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-index-promotion-title {
  font-size: 1.8em;
  color: #FFD700;
  padding: 20px 20px 10px;
}

.page-index-promotion-description {
  font-size: 0.95em;
  color: #b0b0b0;
  padding: 0 20px 20px;
  line-height: 1.6;
}

.page-index-promotion-item .page-index-btn {
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-index-full-promotion-cta {
  text-align: center;
  margin-top: 60px;
}

/* Mobile App Section */
.page-index-mobile-app {
  padding: 80px 0;
  background-color: #0d0d0d;
}

.page-index-mobile-app .page-index-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-index-mobile-app-content {
  flex: 1;
  min-width: 300px;
}

.page-index-app-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-index-app-features li {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.page-index-app-icon {
  width: 30px;
  height: 30px;
  margin-right: 15px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.page-index-mobile-app-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 300px;
}

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

.page-index-app-download-cta {
  margin-top: 40px;
}

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

.page-index-about-text {
  font-size: 1.1em;
  color: #b0b0b0;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.page-index-about-cta {
  text-align: center;
  margin-top: 40px;
}

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

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

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

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

.page-index-detail-title {
  font-size: 1.5em;
  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: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-index-detail-item .page-index-btn {
  width: auto;
  display: inline-block;
}

/* Bottom CTA Section */
.page-index-cta-bottom {
  padding: 80px 0;
  background: linear-gradient(90deg, #8B0000 0%, #a00000 100%);
  text-align: center;
  box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-index-cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-index-hero .page-index-container {
    flex-direction: column;
    text-align: center;
  }

  .page-index-hero-content, .page-index-hero-image-wrapper {
    flex: none;
    width: 100%;
  }

  .page-index-hero-actions {
    justify-content: center;
  }

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

  .page-index-hero-description {
    font-size: 1.2em;
  }

  .page-index-mobile-app .page-index-container {
    flex-direction: column;
    text-align: center;
  }

  .page-index-mobile-app-content, .page-index-mobile-app-image-wrapper {
    flex: none;
    width: 100%;
  }

  .page-index-app-features {
    text-align: left;
    max-width: 400px;
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .page-index-section-title {
    font-size: 2.2em;
  }

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

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

  .page-index-hero-description {
    font-size: 1.1em;
  }

  .page-index-hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-index-btn-secondary {
    margin-left: 0;
  }

  .page-index-feature-grid, .page-index-category-grid, .page-index-promotion-grid, .page-index-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .page-index-cta-description {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-index-section-title {
    font-size: 1.8em;
  }

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

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

  .page-index-btn {
    padding: 12px 25px;
    font-size: 0.9em;
  }

  .page-index-btn-large {
    padding: 15px 30px;
    font-size: 1em;
  }

  .page-index-feature-item, .page-index-category-item, .page-index-promotion-item, .page-index-detail-item {
    padding: 20px;
  }

  .page-index-feature-title, .page-index-category-title, .page-index-promotion-title, .page-index-detail-title {
    font-size: 1.4em;
  }

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