/* style/games-lobby.css */
.page-games-lobby {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #E0E0E0; /* Light gray for text on dark background */
  background-color: #1A202C; /* Dark background */
}

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

.page-games-lobby__hero-section {
  background: linear-gradient(135deg, #FFD700, #1A202C);
  padding: 100px 0;
  text-align: center;
  color: #1A202C; /* Dark text on gradient background */
}

.page-games-lobby__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #1A202C; /* Ensure high contrast */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.page-games-lobby__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333; /* Slightly darker for better contrast */
}

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

.page-games-lobby__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  cursor: pointer;
  text-align: center;
  min-width: 180px;
}

.page-games-lobby__btn--primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-games-lobby__btn--primary:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
}

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

.page-games-lobby__btn--secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-3px);
}

.page-games-lobby__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-games-lobby__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #E0E0E0;
  text-align: justify;
}

.page-games-lobby__about-section, .page-games-lobby__game-categories-section, .page-games-lobby__link-section, .page-games-lobby__support-section, .page-games-lobby__conclusion-section {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-games-lobby__cta-section {
  padding: 80px 0;
  background-color: #2a3440; /* Slightly lighter dark for contrast */
}

.page-games-lobby__cta-section--alt {
  background-color: #1A202C;
}

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

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

.page-games-lobby__feature-item:hover {
  transform: translateY(-10px);
}

.page-games-lobby__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}

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

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

.page-games-lobby__game-card {
  background-color: #2a3440;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-games-lobby__game-card:hover {
  transform: translateY(-10px);
}

.page-games-lobby__game-image {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-games-lobby__game-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-games-lobby__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin: 5px;
  min-width: 120px;
}

.page-games-lobby__btn--play {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-games-lobby__btn--play:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
}

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

.page-games-lobby__process-item {
  background-color: #2a3440;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-games-lobby__process-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-games-lobby__process-item p {
  margin-bottom: 15px;
  color: #E0E0E0;
}

.page-games-lobby__process-item strong {
  color: #FFD700;
}

.page-games-lobby__btn--full-width {
  width: 100%;
  margin-top: 20px;
}

.page-games-lobby__download-app {
  text-align: center;
  margin-top: 60px;
  background-color: #2a3440;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.page-games-lobby__download-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-games-lobby__qr-code {
  width: 180px;
  height: 180px;
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.page-games-lobby__btn--download {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
  font-size: 1.2em;
  padding: 18px 35px;
}

.page-games-lobby__btn--download:hover {
  background-color: #E6C200;
  transform: translateY(-3px);
}

.page-games-lobby__btn--large {
  padding: 18px 35px;
  font-size: 1.2em;
  margin-top: 30px;
  min-width: 250px;
}

.page-games-lobby__btn--xl {
  padding: 20px 40px;
  font-size: 1.4em;
  margin-top: 40px;
  min-width: 300px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-games-lobby__hero-title {
    font-size: 2.8em;
  }
  .page-games-lobby__section-title {
    font-size: 2em;
  }
  .page-games-lobby__game-list, .page-games-lobby__process-grid, .page-games-lobby__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-games-lobby__btn--large, .page-games-lobby__btn--xl {
    font-size: 1.1em;
    padding: 15px 30px;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .page-games-lobby__hero-section {
    padding: 80px 0;
  }
  .page-games-lobby__hero-title {
    font-size: 2.2em;
  }
  .page-games-lobby__hero-description {
    font-size: 1.1em;
  }
  .page-games-lobby__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-games-lobby__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-games-lobby__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-games-lobby__feature-title, .page-games-lobby__game-title, .page-games-lobby__process-title, .page-games-lobby__download-title {
    font-size: 1.4em;
  }
  .page-games-lobby__game-list, .page-games-lobby__process-grid, .page-games-lobby__features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-games-lobby__hero-section {
    padding: 60px 0;
  }
  .page-games-lobby__hero-title {
    font-size: 1.8em;
  }
  .page-games-lobby__hero-description {
    font-size: 1em;
  }
  .page-games-lobby__btn {
    width: 90%;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-games-lobby__section-title {
    font-size: 1.6em;
  }
  .page-games-lobby__qr-code {
    width: 150px;
    height: 150px;
  }
  .page-games-lobby__btn--download, .page-games-lobby__btn--large, .page-games-lobby__btn--xl {
    font-size: 1em;
    padding: 15px 25px;
    min-width: unset;
  }
}