/* style/index-game-lobby.css */
:root {
  --primary-color: #FFD700; /* Vàng */
  --secondary-color: #000080; /* Xanh đậm */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f4f7f6;
  --background-dark: #1a1a2e;
  --accent-color: #FF4500; /* Màu cam để nhấn mạnh */
}

.page-index-game-lobby {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background-light);
}

.page-index-game-lobby .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO Section */
.page-index-game-lobby .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a2e 100%); /* Dark background for contrast */
  color: var(--text-light);
}

.page-index-game-lobby .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-index-game-lobby .hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-index-game-lobby .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-index-game-lobby .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-index-game-lobby .hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}

.page-index-game-lobby .hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-index-game-lobby .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid var(--primary-color);
}

.page-index-game-lobby .cta-button:hover {
  background: #FFC107; /* Slightly darker gold on hover */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  color: var(--secondary-color);
}

/* General Section Styling */
.page-index-game-lobby section {
  padding: 80px 0;
  text-align: center;
}

.page-index-game-lobby section:nth-of-type(even) {
  background-color: var(--background-light);
}

.page-index-game-lobby section:nth-of-type(odd) {
  background-color: #ffffff;
}

.page-index-game-lobby h2 {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-index-game-lobby h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-index-game-lobby p {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 20px auto;
  color: var(--text-dark);
}

/* Intro Section */
.page-index-game-lobby .intro-section p {
  text-align: left;
  margin-bottom: 25px;
}

.page-index-game-lobby .learn-more-button {
  display: inline-block;
  padding: 12px 30px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-index-game-lobby .learn-more-button:hover {
  background: #000066; /* Slightly darker blue */
  transform: translateY(-2px);
  color: var(--primary-color);
}

/* Quick Access Section */
.page-index-game-lobby .quick-access-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-index-game-lobby .quick-access-section h2 {
  color: var(--primary-color);
}

.page-index-game-lobby .quick-access-section p {
  color: var(--text-light);
}

.page-index-game-lobby .link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-index-game-lobby .quick-link-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 25px;
  text-decoration: none;
  color: var(--text-light);
  transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-game-lobby .quick-link-card:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-index-game-lobby .quick-link-card img {
  width: 150px; /* Increased size */
  height: 150px; /* Increased size */
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 10px;
}

.page-index-game-lobby .quick-link-card h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-index-game-lobby .quick-link-card p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
}

/* Featured Games Section */
.page-index-game-lobby .featured-games-section {
  background-color: var(--background-light);
}

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

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

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

.page-index-game-lobby .game-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.page-index-game-lobby .game-card h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin: 20px 15px 10px 15px;
}

.page-index-game-lobby .game-card p {
  font-size: 0.95em;
  color: var(--text-dark);
  padding: 0 20px;
  flex-grow: 1;
}

.page-index-game-lobby .play-now-button {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  margin: 20px auto;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--primary-color);
}

.page-index-game-lobby .play-now-button:hover {
  background: #FFC107;
  transform: translateY(-2px);
  color: var(--secondary-color);
}

/* Promotions Section */
.page-index-game-lobby .promotions-section {
  background-color: #ffffff;
}

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

.page-index-game-lobby .promo-item {
  background-color: var(--background-dark);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;
}

.page-index-game-lobby .promo-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-index-game-lobby .promo-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}

.page-index-game-lobby .promo-item h3 {
  font-size: 1.4em;
  color: var(--primary-color);
  margin: 0 15px 10px 15px;
}