/* style/games.css */

/* Base styles for the games page */
.page-games {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F0F0F0; /* Light text on dark backgrounds */
  background-color: #0E1A30; /* A slightly lighter dark blue for overall background */
}

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

.page-games__section-title {
  color: #FFD700; /* Gold for main titles */
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  padding-bottom: 10px;
}

.page-games__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-games__section-subtitle {
  color: #C0C0C0;
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 60px;
}

.page-games__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
}

.page-games__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #1A2B4C; /* Dark blue text */
  border: 2px solid #FFD700;
}

.page-games__btn--primary:hover {
  background-color: #E0B400; /* Darker gold */
  border-color: #E0B400;
  transform: translateY(-2px);
}

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

.page-games__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A2B4C;
  transform: translateY(-2px);
}

.page-games__btn--details {
  background-color: #1A2B4C;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 20px;
}

.page-games__btn--details:hover {
  background-color: #FFD700;
  color: #1A2B4C;
  border-color: #FFD700;
}

/* Hero Section */
.page-games__hero-section {
  background: linear-gradient(135deg, #1A2B4C, #0E1A30);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #F0F0F0;
}

.page-games__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  z-index: 0;
}

.page-games__hero-section .page-games__container {
  position: relative;
  z-index: 1;
}

.page-games__hero-title {
  font-size: 4em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-games__hero-description {
  font-size: 1.4em;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.5;
  color: #E0E0E0;
}

.page-games__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Introduction Section */
.page-games__introduction-section {
  background-color: #1A2B4C;
  padding: 80px 0;
}

.page-games__introduction-section .page-games__section-title {
  color: #FFD700;
}

.page-games__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-games__content-wrapper p {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: justify;
  color: #E0E0E0;
  max-width: 900px;
}

.page-games__content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Game Categories Section */
.page-games__game-categories-section {
  background-color: #0E1A30;
  padding: 80px 0;
}

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

.page-games__category-card {
  background-color: #1A2B4C;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-games__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.page-games__category-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 4px solid #FFD700;
}

.page-games__card-title {
  color: #FFD700;
  font-size: 1.8em;
  margin: 25px 0 15px;
  padding: 0 20px;
}

.page-games__card-description {
  color: #C0C0C0;
  font-size: 1em;
  padding: 0 25px;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Why Choose okvip Section */
.page-games__why-choose-okvip {
  background-color: #1A2B4C;
  padding: 80px 0;
}

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

.page-games__benefit-item {
  background-color: #0E1A30;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

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

.page-games__benefit-title {
  color: #FFD700;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-games__benefit-description {
  color: #C0C0C0;
  font-size: 0.95em;
}

/* Promotions Section */
.page-games__promotions-section {
  background-color: #0E1A30;
  padding: 80px 0;
}

.page-games__promotion-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
}

.page-games__promotion-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 3px solid #FFD700;
}

.page-games__promotion-text {
  text-align: center;
  max-width: 800px;
}

.page-games__promotion-text p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #E0E0E0;
  margin-bottom: 30px;
}

/* Responsible Gaming Section */
.page-games__responsible-gaming-section {
  background-color: #1A2B4C;
  padding: 80px 0;
  text-align: center;
}

.page-games__responsible-gaming-section p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #E0E0E0;
  max-width: 900px;
  margin: 30px auto 40px;
}

/* Final CTA Section */
.page-games__final-cta-section {
  background-color: #0E1A30;
  padding: 80px 0 100px;
  text-align: center;
}

.page-games__final-cta-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 60px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .page-games__content-wrapper {
    flex-direction: row;
    text-align: left;
  }

  .page-games__content-wrapper p {
    text-align: left;
  }

  .page-games__content-image {
    order: 2;
  }

  .page-games__promotion-content {
    flex-direction: row;
    text-align: left;
  }

  .page-games__promotion-image {
    max-width: 45%;
  }

  .page-games__promotion-text {
    text-align: left;
    max-width: 50%;
  }
}

@media (max-width: 1024px) {
  .page-games__hero-title {
    font-size: 3em;
  }

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

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

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

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

  .page-games__hero-cta-group, .page-games__final-cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-games__btn {
    width: 80%;
    margin: 0 auto;
  }

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

  .page-games__section-subtitle {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-games__category-grid, .page-games__benefits-grid {
    grid-template-columns: 1fr;
  }

  .page-games__content-wrapper, .page-games__promotion-content {
    flex-direction: column;
  }

  .page-games__content-image, .page-games__promotion-image {
    max-width: 90%;
  }

  .page-games__promotion-text {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .page-games__hero-title {
    font-size: 2em;
  }

  .page-games__hero-description {
    font-size: 0.95em;
  }

  .page-games__btn {
    padding: 12px 20px;
    font-size: 0.9em;
  }

  .page-games__section-title {
    font-size: 1.6em;
  }

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