/* style/game-lobby.css */

/* Base Styles for Game Lobby Page */
.page-game-lobby {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  line-height: 1.6;
  background-color: #000000; /* Ensure consistency with body background */
}

.page-game-lobby__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-game-lobby__section {
  padding: 60px 0;
  margin-bottom: 0;
}

.page-game-lobby__title {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700; /* Gold color for titles */
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-game-lobby__paragraph {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: #f0f0f0;
}

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

.page-game-lobby__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Black text on gold for contrast */
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-game-lobby__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
  box-shadow: none;
}

.page-game-lobby__btn--secondary:hover {
  background-color: #FFD700;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.page-game-lobby__btn--center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 250px;
}

/* HERO Section */
.page-game-lobby__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Fixed navigation bar spacing */
  margin-top: 0;
  background-color: #000000;
}

.page-game-lobby__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-game-lobby__hero-image {
  width: 100%;
  margin: 0;
}

.page-game-lobby__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* LOGO Carousel Section */
.page-game-lobby__logo-carousel-section {
  width: 100%;
  padding: 30px 20px;
  background: #0d0d0d; /* Slightly lighter dark background for contrast */
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-game-lobby__logo-carousel-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.page-game-lobby__logo-carousel {
  display: flex;
  gap: 15px;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 0;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}

.page-game-lobby__logo-carousel::-webkit-scrollbar {
  display: none;
}

.page-game-lobby__logo-item {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  background: #222222;
  border: 1px solid #333333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  pointer-events: auto;
}

.page-game-lobby__logo-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 3px 8px rgba(255, 215, 0, 0.2);
}

.page-game-lobby__logo-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  pointer-events: auto;
}

.page-game-lobby__logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0.8) grayscale(100%); /* Make logos more subtle on dark background */
  transition: filter 0.3s ease;
}

.page-game-lobby__logo-item:hover img {
  filter: brightness(1) grayscale(0%); /* Restore color on hover */
}

/* Game Display Section */
.page-game-lobby__games-section {
  width: 100%;
  padding: 60px 0;
  background: #000000;
}

.page-game-lobby__games-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.page-game-lobby__featured-game-area {
  width: 100%;
}

.page-game-lobby__featured-game-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #ffd700;
  text-align: left;
  text-transform: uppercase;
}

.page-game-lobby__featured-game {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid #333333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-lobby__featured-game:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.page-game-lobby__featured-game-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-game-lobby__featured-game-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.page-game-lobby__featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-game-lobby__games-grid-area {
  width: 100%;
}

.page-game-lobby__games-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: flex-start;
}

.page-game-lobby__games-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #999999;
  transition: color 0.3s ease;
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
}

.page-game-lobby__games-tab:hover {
  color: #FFD700;
}

.page-game-lobby__games-tab.active {
  color: #FFD700;
}

.page-game-lobby__games-tab.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-game-lobby__games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  display: none;
}

.page-game-lobby__games-grid.active {
  display: grid;
}

.page-game-lobby__game-card {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  border: 1px solid #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-lobby__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.page-game-lobby__game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-game-lobby__game-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.page-game-lobby__game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-game-lobby__game-card-title {
  font-size: 14px;
  font-weight: 500;
  margin: 10px 0 10px 0;
  padding: 0 5px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  line-height: 1.4;
  text-transform: uppercase;
}

/* Introduction Section */
.page-game-lobby__introduction-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

.page-game-lobby__introduction-section .page-game-lobby__title {
  color: #FFD700;
}

/* Quick Access Section */
.page-game-lobby__quick-access-section {
  background-color: #000000;
  padding: 80px 0;
}

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

.page-game-lobby__link-card {
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-lobby__link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-game-lobby__link-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  text-decoration: none;
  color: #ffffff;
  height: 100%;
}

.page-game-lobby__link-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: grayscale(100%) brightness(0.8) drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
  transition: filter 0.3s ease;
}

.page-game-lobby__link-card:hover .page-game-lobby__link-icon {
  filter: grayscale(0%) brightness(1) drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.page-game-lobby__link-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
  text-align: center;
  text-transform: uppercase;
}

.page-game-lobby__link-description {
  font-size: 15px;
  text-align: center;
  color: #cccccc;
  flex-grow: 1;
}

/* Game Introduction Section */
.page-game-lobby__games-introduction-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

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

.page-game-lobby__game-type-card {
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.page-game-lobby__game-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-game-lobby__game-type-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-game-lobby__game-type-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  margin: 0 20px 15px 20px;
  text-align: center;
  text-transform: uppercase;
}

.page-game-lobby__game-type-description {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px;
  text-align: justify;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-game-lobby__game-type-card .page-game-lobby__btn {
  margin: 20px auto 0 auto;
}

/* Promotions Section */
.page-game-lobby__promotions-section {
  background-color: #000000;
  padding: 80px 0;
}

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

.page-game-lobby__promo-card {
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-lobby__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-game-lobby__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-game-lobby__promo-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin: 0 20px 10px 20px;
  text-align: center;
  text-transform: uppercase;
}

.page-game-lobby__promo-description {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px;
  text-align: justify;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-game-lobby__promo-card .page-game-lobby__btn {
  margin: 0 20px 20px 20px;
}

/* Security & Support Section */
.page-game-lobby__security-support-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

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

.page-game-lobby__feature-item {
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-game-lobby__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0.8) drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
  transition: filter 0.3s ease;
}

.page-game-lobby__feature-item:hover .page-game-lobby__feature-icon {
  filter: brightness(1) drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.page-game-lobby__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.page-game-lobby__feature-description {
  font-size: 15px;
  color: #cccccc;
}

/* FAQ Section */
.page-game-lobby__faq-section {
  background-color: #000000;
  padding: 80px 0;
}

.page-game-lobby__faq-list {
  margin-top: 40px;
}

.page-game-lobby__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #333333;
  background: #1a1a1a;
}

.page-game-lobby__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #222222;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-game-lobby__faq-question:hover {
  background: #2a2a2a;
}

.page-game-lobby__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-game-lobby__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-game-lobby__faq-item.active .page-game-lobby__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.page-game-lobby__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #1a1a1a;
  color: #cccccc;
  font-size: 15px;
}

.page-game-lobby__faq-item.active .page-game-lobby__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid #333333;
}

/* Blog Section */
.page-game-lobby__blog-section {
  background-color: #0d0d0d;
  padding: 80px 0;
}

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

.page-game-lobby__blog-card {
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-game-lobby__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-game-lobby__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-game-lobby__blog-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-game-lobby__blog-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-game-lobby__blog-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-lobby__blog-title a:hover {
  color: #e6c200;
}

.page-game-lobby__blog-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-game-lobby__blog-date {
  font-size: 13px;
  color: #999999;
  text-align: right;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-lobby__title {
    font-size: 30px;
  }
  .page-game-lobby__paragraph {
    font-size: 16px;
  }
  .page-game-lobby__games-layout {
    grid-template-columns: 1fr;
  }
  .page-game-lobby__games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-game-lobby__featured-game-image {
    height: 400px;
  }
  .page-game-lobby__game-card-image {
    height: 180px;
  }
  .page-game-lobby__game-card-title {
    font-size: 13px;
  }
  .page-game-lobby__games-tab {
    font-size: 16px;
  }
  .page-game-lobby__link-icon, .page-game-lobby__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-game-lobby__link-title, .page-game-lobby__feature-title, .page-game-lobby__promo-title, .page-game-lobby__blog-title {
    font-size: 20px;
  }
  .page-game-lobby__link-description, .page-game-lobby__feature-description, .page-game-lobby__promo-description, .page-game-lobby__blog-excerpt {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  /* General responsive adjustments */
  .page-game-lobby img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-game-lobby__section, .page-game-lobby__container, .page-game-lobby__link-card, .page-game-lobby__game-type-card, .page-game-lobby__promo-card, .page-game-lobby__feature-item, .page-game-lobby__blog-card, .page-game-lobby__game-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* HERO Section */
  .page-game-lobby__hero-section {
    padding-top: 10px;
  }

  /* LOGO Carousel */
  .page-game-lobby__logo-carousel-section {
    padding: 20px 0;
  }
  .page-game-lobby__logo-carousel {
    gap: 12px;
  }
  .page-game-lobby__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-game-lobby__logo-item a {
    padding: 8px;
  }

  /* Game Display */
  .page-game-lobby__games-section {
    padding: 40px 0;
  }
  .page-game-lobby__title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-game-lobby__paragraph {
    font-size: 15px;
  }
  .page-game-lobby__games-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-game-lobby__featured-game-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .page-game-lobby__featured-game-image {
    height: 300px;
  }
  .page-game-lobby__games-tabs {
    gap: 15px;
    justify-content: center;
  }
  .page-game-lobby__games-tab {
    font-size: 15px;
  }
  .page-game-lobby__games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-game-lobby__game-card-image {
    height: 150px;
  }
  .page-game-lobby__game-card-title {
    font-size: 12px;
    margin: 8px 0 8px 0;
  }

  /* Other Sections */
  .page-game-lobby__section {
    padding: 40px 0;
  }
  .page-game-lobby__link-card-content, .page-game-lobby__feature-item {
    padding: 25px 15px;
  }
  .page-game-lobby__link-icon, .page-game-lobby__feature-icon {
    width: 90px;
    height: 90px;
  }
  .page-game-lobby__link-title, .page-game-lobby__feature-title, .page-game-lobby__promo-title, .page-game-lobby__blog-title {
    font-size: 18px;
  }
  .page-game-lobby__link-description, .page-game-lobby__feature-description, .page-game-lobby__promo-description, .page-game-lobby__blog-excerpt {
    font-size: 13px;
  }
  .page-game-lobby__game-type-image {
    height: 180px;
  }
  .page-game-lobby__game-type-title {
    font-size: 20px;
  }
  .page-game-lobby__game-type-description {
    font-size: 14px;
  }
  .page-game-lobby__faq-question {
    padding: 15px 20px;
  }
  .page-game-lobby__faq-question h3 {
    font-size: 16px;
  }
  .page-game-lobby__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-game-lobby__faq-answer {
    padding: 0 20px;
    font-size: 14px;
  }
  .page-game-lobby__faq-item.active .page-game-lobby__faq-answer {
    padding: 15px 20px !important;
  }
  .page-game-lobby__blog-image {
    height: 160px;
  }
  .page-game-lobby__blog-date {
    font-size: 12px;
  }
  .page-game-lobby__btn--center {
    max-width: 200px;
    padding: 10px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-game-lobby__title {
    font-size: 24px;
  }
  .page-game-lobby__games-grid {
    grid-template-columns: 1fr;
  }
  .page-game-lobby__link-title, .page-game-lobby__feature-title, .page-game-lobby__promo-title, .page-game-lobby__blog-title {
    font-size: 16px;
  }
  .page-game-lobby__link-icon, .page-game-lobby__feature-icon {
    width: 70px;
    height: 70px;
  }
  .page-game-lobby__games-tabs {
    flex-direction: column;
    gap: 10px;
  }
  .page-game-lobby__games-tab {
    font-size: 14px;
  }
  .page-game-lobby__btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  .page-game-lobby__game-type-title {
    font-size: 18px;
  }
  .page-game-lobby__promo-card .page-game-lobby__btn {
    margin: 0 15px 15px 15px;
  }
  .page-game-lobby__game-type-card .page-game-lobby__btn {
    margin: 15px auto 0 auto;
  }
  .page-game-lobby__faq-question h3 {
    font-size: 15px;
  }
}