.page-game-lobby {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f7fa;
}

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

.page-game-lobby__hero {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Darker blue for better contrast */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 450px;
}

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

.page-game-lobby__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-game-lobby__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-lobby__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-game-lobby__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-game-lobby__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1.1em;
}

.page-game-lobby__btn--primary {
  background-color: #ffc107; /* Auxiliary color for CTA */
  color: #212529; /* Dark text for contrast */
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.page-game-lobby__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
}

.page-game-lobby__btn--secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #ffc107;
}

.page-game-lobby__btn--secondary:hover {
  background-color: #ffc107;
  color: #212529;
  transform: translateY(-2px);
}

.page-game-lobby__hero-image-wrapper {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  max-width: 600px;
  width: 90%;
}

.page-game-lobby__hero-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-game-lobby__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-game-lobby__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-game-lobby__intro-games {
  padding: 80px 0;
  background-color: #fff;
}

.page-game-lobby__game-categories {
  padding: 80px 0;
  background-color: #f4f7fa;
}

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

.page-game-lobby__category-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-lobby__category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-game-lobby__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.page-game-lobby__category-title {
  font-size: 1.8em;
  color: #007bff;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-game-lobby__category-text {
  color: #666;
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  padding: 0 20px;
}

.page-game-lobby__category-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0 20px;
}

.page-game-lobby__btn--outline {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-game-lobby__btn--outline:hover {
  background-color: #007bff;
  color: #fff;
}

.page-game-lobby__btn--accent {
  background-color: #ffc107;
  color: #212529;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-game-lobby__btn--accent:hover {
  background-color: #e0a800;
}

.page-game-lobby__why-choose {
  padding: 80px 0;
  background-color: #fff;
}

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

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

.page-game-lobby__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-game-lobby__feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.1));
}

.page-game-lobby__feature-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

.page-game-lobby__feature-text {
  color: #666;
  font-size: 0.95em;
}

.page-game-lobby__get-started {
  padding: 80px 0;
  background-color: #e6f0ff; /* Lighter blue variant */
}

.page-game-lobby__steps-list {
  list-style: none;
  padding: 0;
  margin: 50px auto;
  max-width: 800px;
  text-align: left;
}

.page-game-lobby__steps-list li {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  font-size: 1.1em;
  color: #444;
}

.page-game-lobby__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #007bff;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
  font-size: 1em;
}

.page-game-lobby__steps-list li a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.page-game-lobby__steps-list li a:hover {
  text-decoration: underline;
}

.page-game-lobby__cta-bottom {
  text-align: center;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-game-lobby__floating-promo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ffc107; /* Auxiliary color */
  color: #212529;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
  animation: page-game-lobby__float-up 0.8s ease-out forwards;
  transform: translateY(100%);
}

@keyframes page-game-lobby__float-up {
  to { transform: translateY(0); }
}

.page-game-lobby__promo-title {
  font-size: 1.3em;
  font-weight: bold;
  margin: 0;
  color: #212529;
}

.page-game-lobby__promo-text {
  font-size: 0.95em;
  margin: 0;
  color: #333;
}

.page-game-lobby__btn--promo {
  background-color: #007bff;
  color: #fff;
  padding: 8px 18px;
  font-size: 0.9em;
  border-radius: 6px;
  white-space: nowrap;
}

.page-game-lobby__btn--promo:hover {
  background-color: #0056b3;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-lobby__hero-title {
    font-size: 2.8em;
  }
  .page-game-lobby__section-title {
    font-size: 2.2em;
  }
  .page-game-lobby__category-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-game-lobby__floating-promo {
    right: 15px;
    bottom: 15px;
    padding: 12px 20px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }
  .page-game-lobby__promo-title {
    font-size: 1.2em;
  }
  .page-game-lobby__promo-text {
    font-size: 0.9em;
  }
  .page-game-lobby__btn--promo {
    padding: 7px 15px;
    font-size: 0.85em;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .page-game-lobby__hero {
    padding: 60px 0;
  }
  .page-game-lobby__hero-title {
    font-size: 2.2em;
  }
  .page-game-lobby__hero-description {
    font-size: 1em;
  }
  .page-game-lobby__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-lobby__btn {
    width: 80%;
    max-width: 300px;
  }
  .page-game-lobby__section-title {
    font-size: 1.8em;
  }
  .page-game-lobby__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-game-lobby__category-grid {
    grid-template-columns: 1fr;
  }
  .page-game-lobby__features-grid {
    grid-template-columns: 1fr;
  }
  .page-game-lobby__steps-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  .page-game-lobby__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-game-lobby__cta-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .page-game-lobby__floating-promo {
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: calc(100% - 40px);
    bottom: 10px;
    right: auto;
  }
  @keyframes page-game-lobby__float-up {
    to { transform: translateX(-50%) translateY(0); }
  }
}

@media (max-width: 480px) {
  .page-game-lobby__hero-title {
    font-size: 1.8em;
  }
  .page-game-lobby__section-title {
    font-size: 1.5em;
  }
  .page-game-lobby__btn {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-game-lobby__hero-content, .page-game-lobby__container {
    padding: 0 10px;
  }
  .page-game-lobby__floating-promo {
    padding: 10px 15px;
  }
  .page-game-lobby__promo-title {
    font-size: 1em;
  }
  .page-game-lobby__promo-text {
    font-size: 0.85em;
  }
  .page-game-lobby__btn--promo {
    font-size: 0.8em;
    padding: 6px 12px;
  }
}