/* style/games.css */
.page-games {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Light gray for general text on dark background */
  background-color: #0A192F; /* Main dark blue background */
  line-height: 1.6;
}

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

.page-games__section {
  padding: 80px 0;
  text-align: center;
}

.page-games__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-games__section-intro {
  font-size: 1.1em;
  margin-bottom: 50px;
  color: #B0B0B0;
}

.page-games__highlight {
  color: #FFD700;
}

.page-games__hero-section {
  background: linear-gradient(135deg, #0A192F 0%, #2C3E50 100%); /* Dark blue to slightly lighter dark blue */
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-games__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('[GALLERY:bg:ocean_waves,abstract_pattern,dark_blue]') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.page-games__hero-title {
  font-size: 3.8em;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

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

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

.page-games__btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-games__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #0A192F;
}

.page-games__btn--primary:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-games__btn--secondary:hover {
  background-color: #FFD700;
  color: #0A192F;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-games__btn--large {
  padding: 18px 45px;
  font-size: 1.3em;
}

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

.page-games__content-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  text-align: left;
  margin-top: 50px;
}

.page-games__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-games__text-content {
  flex: 1;
  font-size: 1.1em;
  color: #B0B0B0;
}

.page-games__text-content p {
  margin-bottom: 20px;
}

.page-games__text-link {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-games__text-link:hover {
  text-decoration: underline;
}

.page-games__image-content {
  flex: 1;
  min-width: 400px;
}

.page-games__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-games__feature-item {
  background-color: #1A2B3C; /* Slightly lighter dark blue */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-games__feature-item:hover {
  transform: translateY(-10px);
  background-color: #2A3B4C;
}

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

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

.page-games__feature-description {
  font-size: 1em;
  color: #B0B0B0;
}

.page-games__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-games__guide-list li {
  background-color: #1A2B3C;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-games__guide-list li::before {
  content: counter(list-item);
  counter-increment: list-item;
  background-color: #FFD700;
  color: #0A192F;
  font-weight: bold;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1em;
}

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

.page-games__strategy-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  text-align: left;
}

.page-games__strategy-list li {
  background-color: #1A2B3C;
  padding: 18px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 5px solid #FFD700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  font-size: 1.05em;
  color: #B0B0B0;
}

.page-games__strategy-list li strong {
  color: #FFD700;
}

.page-games__section-outro {
  margin-top: 40px;
  font-size: 1.1em;
  color: #B0B0B0;
}

.page-games__why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-games__why-list li {
  background-color: #1A2B3C;
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: 8px;
  border-left: 4px solid #FFD700;
  font-size: 1.05em;
  color: #B0B0B0;
}

.page-games__why-list li::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  margin-right: 10px;
}

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

.page-games__promo-item {
  background-color: #1A2B3C;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-games__promo-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-games__detail-item {
  background-color: #1A2B3C;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-games__detail-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-games__detail-title a:hover {
  text-decoration: underline;
}

.page-games__detail-description {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-games__btn--detail {
  background-color: #FFD700;
  color: #0A192F;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.page-games__btn--detail:hover {
  background-color: #E6C200;
  transform: translateY(-2px);
}

.page-games__cta-section {
  background: linear-gradient(90deg, #FFD700 0%, #E6C200 100%); /* Gold gradient */
  padding: 100px 0;
  text-align: center;
  color: #0A192F;
}

.page-games__cta-title {
  font-size: 3em;
  color: #0A192F;
  margin-bottom: 25px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.page-games__cta-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-games__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-games__content-wrapper--reverse {
    flex-direction: column;
  }

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

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

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

  .page-games__image-content {
    min-width: unset;
  }
}

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

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

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

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

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

  .page-games__section {
    padding: 60px 0;
  }

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

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

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

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

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

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

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

  .page-games__btn {
    width: 90%;
  }
}