.page-index-game-lobby {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

.page-index-game-lobby__dark-section {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  padding: 60px 0;
}

.page-index-game-lobby__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.2;
}

.page-index-game-lobby__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-game-lobby__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #F2FFF6; /* Text Main */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-game-lobby__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 15px #57E38D; /* Glow */
}

.page-index-game-lobby__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-index-game-lobby__card-title a {
  color: #F2FFF6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-index-game-lobby__card-title a:hover {
  color: #2AD16F;
}

.page-index-game-lobby__card-text {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-index-game-lobby__btn-primary,
.page-index-game-lobby__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-index-game-lobby__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-game-lobby__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px #57E38D; /* Glow */
}

.page-index-game-lobby__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Main color for text */
  border: 2px solid #2E7A4E; /* Border */
}

.page-index-game-lobby__btn-secondary:hover {
  background: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
  border-color: #57E38D; /* Glow */
}

.page-index-game-lobby__btn-link {
  display: inline-block;
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: color 0.3s ease;
}

.page-index-game-lobby__btn-link:hover {
  color: #2AD16F;
  text-decoration: underline;
}

/* Hero Section */
.page-index-game-lobby__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for section */
  position: relative;
  overflow: hidden;
}

.page-index-game-lobby__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
}

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

.page-index-game-lobby__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-index-game-lobby__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 900;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-index-game-lobby__hero-description {
  font-size: 1.2em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-game-lobby__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Games Overview Section */
.page-index-game-lobby__games-overview {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-index-game-lobby__game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-index-game-lobby__game-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-game-lobby__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Advantages Section */
.page-index-game-lobby__advantages-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-index-game-lobby__advantage-item {
  text-align: center;
}

.page-index-game-lobby__advantage-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #2AD16F; /* Main color */
  margin-bottom: 10px;
}

.page-index-game-lobby__advantage-text {
  color: #A7D9B8; /* Text Secondary */
}

/* Guide Section */
.page-index-game-lobby__guide-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-index-game-lobby__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-index-game-lobby__step-item {
  text-align: center;
}

.page-index-game-lobby__step-title {
  font-size: 1.3em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-index-game-lobby__step-text {
  color: #A7D9B8; /* Text Secondary */
}

/* App Section */
.page-index-game-lobby__app-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-index-game-lobby__app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-index-game-lobby__app-image {
  max-width: 300px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 2px solid #2E7A4E;
}

.page-index-game-lobby__app-info {
  text-align: center;
}

.page-index-game-lobby__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
  display: inline-block;
}

.page-index-game-lobby__app-features li {
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-index-game-lobby__icon {
  font-size: 1.2em;
  color: #2AD16F; /* Main color */
}

.page-index-game-lobby__icon--check::before {
  content: '✔'; /* Unicode checkmark */
  display: inline-block;
}

.page-index-game-lobby__btn-download {
  min-width: 250px;
}

/* FAQ Section */
.page-index-game-lobby__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-index-game-lobby__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-index-game-lobby__faq-item {
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
}

.page-index-game-lobby__faq-item[open] {
  background-color: #0A4B2C; /* Deep Green */
}

.page-index-game-lobby__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  list-style: none;
  outline: none;
  cursor: pointer;
}

.page-index-game-lobby__faq-question::-webkit-details-marker {
  display: none;
}

.page-index-game-lobby__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #2AD16F; /* Main color */
  transition: transform 0.3s ease;
}

.page-index-game-lobby__faq-item[open] .page-index-game-lobby__faq-toggle {
  transform: rotate(45deg);
}

.page-index-game-lobby__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Conclusion Section */
.page-index-game-lobby__conclusion-section {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-index-game-lobby__conclusion-section .page-index-game-lobby__cta-buttons {
  margin-top: 40px;
}

/* Global Image Styles */
.page-index-game-lobby img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-game-lobby__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-index-game-lobby__section-title {
    font-size: 2em;
  }

  .page-index-game-lobby__game-cards,
  .page-index-game-lobby__advantage-grid,
  .page-index-game-lobby__guide-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-index-game-lobby__app-content {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-index-game-lobby {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-game-lobby__container {
    padding: 0 15px;
  }

  .page-index-game-lobby__hero-section,
  .page-index-game-lobby__dark-section {
    padding: 40px 0;
  }

  .page-index-game-lobby__hero-content {
    margin-top: 20px;
    padding: 0 15px;
  }

  .page-index-game-lobby__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-index-game-lobby__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-index-game-lobby__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-index-game-lobby__btn-primary,
  .page-index-game-lobby__btn-secondary,
  .page-index-game-lobby a[class*="button"],
  .page-index-game-lobby a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-index-game-lobby__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-index-game-lobby__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-index-game-lobby__card {
    padding: 20px;
  }

  .page-index-game-lobby__card-title {
    font-size: 1.3em;
  }

  .page-index-game-lobby__card-text {
    font-size: 0.9em;
  }

  .page-index-game-lobby__card-image {
    height: 180px;
  }

  .page-index-game-lobby__app-content {
    gap: 30px;
  }

  .page-index-game-lobby__app-image {
    max-width: 250px;
  }

  .page-index-game-lobby__app-features {
    text-align: center;
  }

  .page-index-game-lobby__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-index-game-lobby__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Mobile specific image/video/container rules */
  .page-index-game-lobby img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-game-lobby__hero-image-wrapper,
  .page-index-game-lobby__game-card,
  .page-index-game-lobby__advantage-item,
  .page-index-game-lobby__guide-step-item,
  .page-index-game-lobby__app-section,
  .page-index-game-lobby__app-content,
  .page-index-game-lobby__app-info,
  .page-index-game-lobby__faq-item,
  .page-index-game-lobby__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-index-game-lobby__video-section {
    padding-top: 10px !important;
  }
}