/* style/index.css */

/* Variables */
.page-index {
  --primary-color: #0A192F;
  --accent-color: #FFD700;
  --text-light: #F0F2F5;
  --text-dark: #1A202C;
  --bg-dark: #0A192F;
  --bg-light: #FFFFFF;
  --btn-hover-dark: #071220;
  --btn-hover-light: #E6C200;
}

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

.page-index__section-title {
  font-size: 2.8em;
  color: var(--accent-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-index__section-description {
  font-size: 1.1em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.6;
}

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

.page-index__btn--primary {
  background-color: var(--accent-color);
  color: var(--bg-dark);
  border: 2px solid var(--accent-color);
}

.page-index__btn--primary:hover {
  background-color: var(--btn-hover-light);
  border-color: var(--btn-hover-light);
  transform: translateY(-2px);
}

.page-index__btn--secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.page-index__btn--secondary:hover {
  background-color: var(--accent-color);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.page-index__btn--large {
  padding: 16px 32px;
  font-size: 1.1em;
}

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

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

.page-index__mt-40 {
  margin-top: 40px;
}

.page-index__hidden-image {
  display: none; /* Used for SEO and social sharing, not directly displayed */
}

/* Hero Section */
.page-index__hero-section {
  position: relative;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
  background-color: var(--bg-dark);
}

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

.page-index__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.8), rgba(255, 215, 0, 0.3));
  z-index: 2;
}

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

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

.page-index__hero-subtitle {
  font-size: 1.4em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  color: var(--text-light);
}

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

/* About Section */
.page-index__about-section {
  background-color: var(--bg-dark);
  padding: 80px 0;
  color: var(--text-light);
}

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

.page-index__about-text {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.8;
}

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

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

/* Advantages Section */
.page-index__advantages-section {
  background-color: var(--bg-dark);
  padding: 80px 0;
  color: var(--text-light);
}

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

.page-index__advantage-item {
  background-color: #1a2a44; /* Darker variant of primary for card background */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-index__advantage-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px var(--accent-color)); /* Glow effect */
}

.page-index__advantage-item h3 {
  font-size: 1.6em;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index__advantage-item p {
  font-size: 1em;
  line-height: 1.7;
  color: var(--text-light);
}

/* Games Section */
.page-index__games-section {
  background-color: var(--bg-dark);
  padding: 80px 0;
  color: var(--text-light);
}

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

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

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

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

.page-index__game-card h3 {
  font-size: 1.5em;
  color: var(--accent-color);
  margin: 20px 20px 10px;
  font-weight: 700;
}

.page-index__game-card p {
  font-size: 0.95em;
  color: var(--text-light);
  margin: 0 20px 20px;
  line-height: 1.6;
  flex-grow: 1;
}

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

/* Promotions Section */
.page-index__promotions-section {
  background-color: var(--bg-dark);
  padding: 80px 0;
  color: var(--text-light);
}

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

.page-index__promotion-card {
  background-color: #1a2a44;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.page-index__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index__promotion-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-index__promotion-card h3 {
  font-size: 1.6em;
  color: var(--accent-color);
  margin-bottom: 15px;
  font-weight: 700;
  padding: 0 20px;
}

.page-index__promotion-card p {
  font-size: 1em;
  color: var(--text-light);
  margin: 0 20px 20px;
  line-height: 1.7;
}

/* Security Section */
.page-index__security-section {
  background-color: var(--bg-dark);
  padding: 80px 0;
  color: var(--text-light);
}

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

.page-index__security-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-index__security-text {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.8;
}

.page-index__security-text p {
  margin-bottom: 20px;
}

/* Testimonials Section */
.page-index__testimonials-section {
  background-color: #1a2a44;
  padding: 80px 0;
  color: var(--text-light);
}

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

.page-index__testimonial-card {
  background-color: var(--bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-style: italic;
  position: relative;
}

.page-index__testimonial-card p {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-index__testimonial-card cite {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  color: var(--accent-color);
  text-align: right;
}

/* Detail Pages Section */
.page-index__detail-pages-section {
  background-color: var(--bg-dark);
  padding: 80px 0;
  color: var(--text-light);
}

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

.page-index__detail-card {
  background-color: #1a2a44;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-index__detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index__detail-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-index__detail-card h3 a {
  color: var(--accent-color);
  text-decoration: none;
}

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

.page-index__detail-card p {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-index__detail-card .page-index__btn {
  align-self: flex-start;
}

/* CTA Section */
.page-index__cta-section {
  background-color: var(--accent-color);
  padding: 80px 0;
  text-align: center;
  color: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.page-index__cta-title {
  font-size: 3em;
  color: var(--bg-dark);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-index__cta-description {
  font-size: 1.3em;
  color: var(--bg-dark);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.page-index__cta-section .page-index__btn--primary {
  background-color: var(--bg-dark);
  color: var(--accent-color);
  border-color: var(--bg-dark);
}

.page-index__cta-section .page-index__btn--primary:hover {
  background-color: #1a2a44;
  border-color: #1a2a44;
  color: var(--accent-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-index__hero-title {
    font-size: 3em;
  }
  .page-index__hero-subtitle {
    font-size: 1.2em;
  }
  .page-index__section-title {
    font-size: 2.2em;
  }
  .page-index__about-content, .page-index__security-content {
    flex-direction: column;
  }
  .page-index__about-image, .page-index__security-image {
    max-width: 80%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-index__hero-section {
    height: 600px;
  }
  .page-index__hero-title {
    font-size: 2.5em;
  }
  .page-index__hero-subtitle {
    font-size: 1em;
  }
  .page-index__hero-actions .page-index__btn {
    margin: 10px 5px;
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-index__section-title {
    font-size: 1.8em;
  }
  .page-index__section-description {
    font-size: 0.95em;
  }
  .page-index__cta-title {
    font-size: 2.2em;
  }
  .page-index__cta-description {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-index__hero-section {
    height: 500px;
  }
  .page-index__hero-title {
    font-size: 2em;
  }
  .page-index__hero-subtitle {
    font-size: 0.9em;
  }
  .page-index__hero-actions .page-index__btn {
    width: 95%;
  }
  .page-index__section-title {
    font-size: 1.5em;
  }
  .page-index__advantages-grid, .page-index__games-grid, .page-index__promotions-grid, .page-index__testimonials-grid, .page-index__detail-pages-grid {
    grid-template-columns: 1fr;
  }
  .page-index__about-image, .page-index__security-image {
    max-width: 100%;
  }
  .page-index__cta-title {
    font-size: 1.8em;
  }
}