.site-content--home {
  padding-bottom: 48px;
}

.home-hero {
  padding: 8px 0 16px;
}

.home-hero--splash {
  position: relative;
  margin: 0 -16px 32px;
  padding: 32px 20px 36px;
  border-radius: 20px;
  overflow: hidden;
  background: rgb(18 23 49);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

@media (min-width: 768px) {
  .home-hero--splash {
    margin: 0 0 40px;
    padding: 48px 40px 44px;
  }
}

.site-page-shell:has(#site-chat-column) .home-hero--splash {
  margin-left: 0;
  margin-right: 0;
}

.home-hero__glow {
  display: none;
}

.home-hero__content {
  position: relative;
  z-index: 1;
}

.home-hero__eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
}

.home-hero__title {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary, #f1f5f9);
  margin-top: 10px;
  line-height: 1.1;
}

.home-hero__sub {
  margin-top: 16px;
  max-width: 38rem;
  color: #94a3b8;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.home-legal__text a {
  color: #93c5fd;
  text-decoration: underline;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.home-hero__cta--primary {
  background: #2563eb;
  color: #fff;
}

.home-hero__cta--primary:hover {
  background: #3b82f6;
  transform: translateY(-1px);
}

.home-hero__cta--secondary {
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #e2e8f0;
  background: rgba(15, 18, 32, 0.5);
}

.home-hero__cta--secondary:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

.home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: #64748b;
}

.home-hero__stats strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}

.home-features {
  display: grid;
  gap: 12px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .home-features {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.home-feature {
  padding: 20px;
  border-radius: 14px;
  background: rgb(18 23 49);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.home-feature__title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #f1f5f9;
}

.home-feature__text {
  margin: 8px 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
}

.home-games-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.home-games-section__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: none;
}

.home-games-section__link:hover {
  color: #bfdbfe;
}

.home-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(52, 60, 100, 0.35);
  scroll-margin-top: calc(var(--navbar-height) + 16px);
}

.home-legal__title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: #cbd5e1;
}

.home-legal__text {
  margin: 0;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

.games-section__title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 16px;
}

.games-lobby__head {
  margin-bottom: 22px;
}

.games-lobby__title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f1f5f9;
  line-height: 1.15;
}

.games-lobby__sub {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: #64748b;
  max-width: 36rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 14px;
}

@media (min-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
  }
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 172px;
  padding: 52px 16px 16px;
  border-radius: 14px;
  background: rgb(18 23 49);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.game-card__art {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 52px;
  height: 52px;
  opacity: 0.92;
  pointer-events: none;
}

.game-card__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-card__glow {
  display: none;
}

.game-card--more {
  justify-content: center;
  align-items: flex-start;
  border-style: dashed;
  border-color: rgba(100, 116, 139, 0.4);
  background: transparent;
}

.game-card--more .game-card__glow {
  display: none;
}

.game-card:hover:not(.game-card--soon) {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.game-card--soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.game-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 6px;
  background: #2563eb;
  color: #fff;
  z-index: 1;
}

.game-card__badge--soon {
  background: #334155;
  color: #94a3b8;
}

.game-card__name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  color: #f1f5f9;
  padding-right: 56px;
}

.game-card__meta {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #94a3b8;
  padding-right: 8px;
}

.brand-wordmark {
  font-size: 1.375rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
}
