/* style/games.css */
.page-games {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #121212;
}

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

.page-games__hero-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-games__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 44, 80, 0.8), rgba(255, 215, 0, 0.4));
  z-index: 2;
}

.page-games__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

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

.page-games__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-games__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-games__btn--primary {
  background-color: #FFD700;
  color: #1A2C50;
  font-size: 1.1em;
}

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

.page-games__intro-section,
.page-games__category-grid-section,
.page-games__why-choose-section,
.page-games__additional-info-section {
  padding: 80px 0;
  background-color: #1A2C50;
  color: #E0E0E0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-games__intro-section {
  background-color: #121212;
}

.page-games__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.page-games__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #D0D0D0;
  text-align: justify;
}

.page-games__sub-section-title {
  font-size: 2em;
  color: #FFD700;
  margin-top: 50px;
  margin-bottom: 25px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

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

.page-games__game-card {
  background-color: #2A3B60;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-games__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #FFD700;
}

.page-games__game-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-games__game-card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #C0C0C0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-games__btn--secondary {
  background-color: #FFD700;
  color: #1A2C50;
  font-size: 0.95em;
  align-self: flex-start;
}

.page-games__btn--secondary:hover {
  background-color: #e6c200;
}

.page-games__why-choose-section {
  background-color: #121212;
  padding: 100px 0;
}

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

.page-games__why-choose-text {
  flex: 1;
  min-width: 300px;
}

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

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

.page-games__feature-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-games__feature-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 35px;
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #D0D0D0;
}

.page-games__highlight {
  color: #FFD700;
}

.page-games__cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-games__cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 44, 80, 0.9), rgba(255, 215, 0, 0.5));
  z-index: 2;
}

.page-games__cta-content {
  position: relative;
  z-index: 3;
}

.page-games__section-title--light,
.page-games__section-description--light {
  color: #FFFFFF;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-games__btn--cta {
  background-color: #FFD700;
  color: #1A2C50;
  font-size: 1.2em;
  padding: 15px 35px;
  margin: 0 15px;
}

.page-games__btn--cta:hover {
  background-color: #e6c200;
}

.page-games__btn--cta-outline {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  font-size: 1.2em;
  padding: 13px 33px;
  margin: 0 15px;
}

.page-games__btn--cta-outline:hover {
  background-color: #FFD700;
  color: #1A2C50;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-games__hero-title {
    font-size: 2.8em;
  }
  .page-games__hero-subtitle {
    font-size: 1.3em;
  }
  .page-games__section-title {
    font-size: 2.2em;
  }
  .page-games__game-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-games__why-choose-content {
    flex-direction: column;
  }
  .page-games__why-choose-image-wrapper {
    order: -1; /* Image first on mobile */
  }
}

@media (max-width: 768px) {
  .page-games__hero-section {
    height: 500px;
  }
  .page-games__hero-title {
    font-size: 2.2em;
  }
  .page-games__hero-subtitle {
    font-size: 1.1em;
  }
  .page-games__intro-section,
  .page-games__category-grid-section,
  .page-games__why-choose-section,
  .page-games__cta-section,
  .page-games__additional-info-section {
    padding: 60px 0;
  }
  .page-games__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-games__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-games__text-content {
    font-size: 1em;
  }
  .page-games__sub-section-title {
    font-size: 1.6em;
    margin-top: 40px;
  }
  .page-games__btn--cta,
  .page-games__btn--cta-outline {
    font-size: 1em;
    padding: 12px 25px;
    margin: 10px;
  }
}

@media (max-width: 480px) {
  .page-games__hero-section {
    height: 400px;
  }
  .page-games__hero-title {
    font-size: 1.8em;
  }
  .page-games__hero-subtitle {
    font-size: 0.9em;
  }
  .page-games__btn--primary {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-games__section-title {
    font-size: 1.5em;
  }
  .page-games__game-card-title {
    font-size: 1.5em;
  }
  .page-games__feature-list li {
    font-size: 0.95em;
  }
  .page-games__btn--cta,
  .page-games__btn--cta-outline {
    display: block;
    width: calc(100% - 40px);
    margin: 10px auto;
  }
}