:root {
  --lh-bg: #120d09;
  --lh-bg-soft: #1a140f;
  --lh-bg-deep: #0c0907;

  --lh-surface-top: rgba(63, 43, 28, 0.96);
  --lh-surface-bottom: rgba(28, 18, 11, 0.97);
  --lh-surface-dark-top: rgba(50, 34, 22, 0.98);
  --lh-surface-dark-bottom: rgba(24, 15, 10, 0.99);

  --lh-line: rgba(181, 132, 61, 0.24);
  --lh-line-strong: rgba(216, 168, 90, 0.16);

  --lh-text: #f7efdf;
  --lh-text-soft: #ccb99d;
  --lh-text-warm: #f3d39f;
  --lh-text-strong: #f4ddb0;

  --lh-gold: #d8a85a;
  --lh-gold-bright: #f0c77a;
  --lh-ember: #ff8b2b;
  --lh-verdant-bright: #8ee0b1;
  --lh-teal-bright: #6ee6de;

  --lh-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --lh-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.18);

  --lh-radius-sm: 14px;
  --lh-radius-md: 18px;
  --lh-radius-lg: 24px;
  --lh-radius-xl: 28px;
  --lh-radius-pill: 999px;

  --lh-max: 1120px;
  --lh-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  color: var(--lh-text);
  font-family: var(--lh-font);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.lh-page-bg {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 139, 43, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(47, 183, 179, 0.12), transparent 24%),
    radial-gradient(circle at 50% 18%, rgba(216, 168, 90, 0.12), transparent 28%),
    radial-gradient(circle at bottom center, rgba(93, 166, 122, 0.08), transparent 26%),
    linear-gradient(180deg, #100b08 0%, #17100b 36%, #0d0907 100%);
}

.lh-page-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.24) 100%);
  mix-blend-mode: screen;
  opacity: 0.35;
}

.lh-container {
  width: min(100% - 24px, var(--lh-max));
  margin-inline: auto;
}

.lh-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(14, 10, 8, 0.72);
  border-bottom: 1px solid rgba(216, 168, 90, 0.14);
  box-shadow: var(--lh-shadow-md);
}

.lh-topbar__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #f3dfb8;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lh-brand__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(255, 139, 43, 0.22));
}

.lh-brand__wordmark {
  font-size: 0.94rem;
  line-height: 1;
}

.lh-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--lh-text-soft);
  font-size: 0.92rem;
}

.lh-nav a {
  position: relative;
  white-space: nowrap;
}

.lh-nav a:hover,
.lh-nav a.is-active {
  color: var(--lh-gold-bright);
}

.lh-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lh-ember), var(--lh-gold-bright), var(--lh-teal-bright));
  box-shadow: 0 0 16px rgba(255, 139, 43, 0.22);
}

.lh-main {
  position: relative;
  z-index: 1;
}

.lh-hero-section {
  padding: 10px 0 42px;
}

.lh-home-hero {
  display: grid;
  gap: 22px;
}

.lh-hero-logo-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--lh-radius-xl);
  border: 1px solid rgba(216, 168, 90, 0.14);
  background: linear-gradient(180deg, var(--lh-surface-top), var(--lh-surface-bottom));
  box-shadow: var(--lh-shadow-lg);

  width: min(100%, 620px);
  margin: 0 auto;
}

.lh-hero-logo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%);
}

.lh-hero-logo-frame::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -90px;
  background: radial-gradient(circle, rgba(255, 139, 43, 0.18), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.lh-hero-logo {
  position: relative;
  z-index: 1;
  aspect-ratio: 2 / 1;
  width: calc(100% - 28px);
  margin: 14px auto;
  border-radius: 20px;
  border: 1px solid rgba(216, 168, 90, 0.14);
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 139, 43, 0.14), transparent 18%),
    radial-gradient(circle at 86% 20%, rgba(47, 183, 179, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    linear-gradient(180deg, #21160f 0%, #110c08 100%);
  box-shadow: inset 0 -70px 100px rgba(0,0,0,0.22);
  overflow: hidden;
}

.lh-hero-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 7, 0.06), rgba(10, 8, 7, 0.14)),
    url("./laughhavenlogo.png") center center / 103% auto no-repeat;
}

.lh-hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
}

.lh-hero-title {
  margin: 0;
  max-width: 1200px;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.lh-text-gradient--hero {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(1.2rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  background: linear-gradient(135deg, #fff2cf 0%, #f2bf69 28%, #8ee0b1 68%, #75e7ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 18px rgba(255, 139, 43, 0.2),
    0 0 36px rgba(47, 183, 179, 0.12);
}

.lh-hero-subtitle {
  margin: 0;
  max-width: 760px;
  color: var(--lh-text);
  font-size: clamp(1rem, 3vw, 1.32rem);
  font-weight: 600;
  line-height: 1.28;
}

.lh-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.lh-btn {
  appearance: none;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--lh-radius-sm);
  box-shadow: var(--lh-shadow-lg);
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.lh-btn:hover {
  transform: translateY(-1px);
}

.lh-btn--primary {
  background: linear-gradient(135deg, var(--lh-ember), var(--lh-gold-bright));
  color: #1a1008;
  border-color: rgba(255,255,255,0.12);
}

.lh-btn--secondary {
  background: linear-gradient(180deg, rgba(66, 44, 25, 0.84), rgba(33, 21, 13, 0.96));
  color: var(--lh-text);
  border-color: rgba(216, 168, 90, 0.16);
}

.lh-feature-stack {
  display: grid;
  gap: 14px;
  margin-top: 10px;
  justify-items: center;
}

.lh-feature-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 520px);
  border-radius: var(--lh-radius-lg);
  border: 1px solid rgba(216, 168, 90, 0.14);
  background: linear-gradient(180deg, var(--lh-surface-dark-top), var(--lh-surface-dark-bottom));
  box-shadow: var(--lh-shadow-lg);
}

.lh-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%);
}

.lh-feature-card__inner {
  position: relative;
  z-index: 1;
  padding: 18px 18px 17px;
  text-align: center;
}

.lh-feature-card--ember {
  background:
    radial-gradient(circle at top left, rgba(255, 139, 43, 0.12), transparent 42%),
    linear-gradient(180deg, var(--lh-surface-dark-top), var(--lh-surface-dark-bottom));
}

.lh-feature-card--gold {
  background:
    radial-gradient(circle at top center, rgba(240, 199, 122, 0.10), transparent 40%),
    linear-gradient(180deg, var(--lh-surface-dark-top), var(--lh-surface-dark-bottom));
}

.lh-feature-card--teal {
  background:
    radial-gradient(circle at top right, rgba(110, 230, 222, 0.10), transparent 42%),
    linear-gradient(180deg, var(--lh-surface-dark-top), var(--lh-surface-dark-bottom));
}

.lh-feature-card--verdant {
  background:
    radial-gradient(circle at bottom right, rgba(142, 224, 177, 0.08), transparent 42%),
    linear-gradient(180deg, var(--lh-surface-dark-top), var(--lh-surface-dark-bottom));
}

.lh-feature-card__title {
  margin: 0 0 6px;
  color: var(--lh-gold-bright);
  font-size: 1.04rem;
  line-height: 1.2;
}

.lh-feature-card__text {
  margin: 0;
  color: var(--lh-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.lh-hero-bottom-copy {
  margin: 2px auto 0;
  max-width: 780px;
  text-align: center;
  color: var(--lh-text-soft);
  font-size: clamp(0.96rem, 2.6vw, 1.04rem);
  line-height: 1.72;
}

.lh-footer {
  position: relative;
  z-index: 1;
  padding: 28px 0 40px;
}

.lh-footer__inner {
  border-top: 1px solid rgba(216, 168, 90, 0.14);
  padding-top: 22px;
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  color: var(--lh-text-soft);
}

.lh-footer__brand {
  display: grid;
  gap: 4px;
}

.lh-footer__title {
  color: var(--lh-text-strong);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lh-footer__tag {
  color: var(--lh-text-warm);
  font-size: 0.95rem;
}

.lh-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.lh-footer__nav a:hover {
  color: var(--lh-gold-bright);
}

@media (min-width: 640px) {
  .lh-container {
    width: min(100% - 32px, var(--lh-max));
  }

  .lh-brand__wordmark {
    font-size: 1rem;
  }

    .lh-hero-logo {
    width: calc(100% - 32px);
    margin: 16px auto;
    }
  .lh-text-gradient--hero {
    font-size: clamp(1.5rem, 4vw, 3.2rem);
  }
}

@media (min-width: 920px) {
  .lh-topbar__inner {
    min-height: 82px;
    gap: 24px;
  }

  .lh-brand__icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .lh-nav {
    gap: 22px;
    font-size: 0.95rem;
  }

  .lh-hero-section {
    padding-top: 10px;
    padding-bottom: 60px;
  }

  .lh-home-hero {
    gap: 26px;
  }

  .lh-feature-card {
    width: min(100%, 520px);
  }
}

.lh-btn--light {
  background: linear-gradient(180deg, #ffffff, #f5f0e6);
  color: #5a3b20;
  border: 1px solid rgba(216,168,90,0.35);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.lh-btn--light:hover {
  background: linear-gradient(180deg, #ffffff, #efe6d7);
  color: #3c2613;
}

/* ---------- auth page ---------- */
/* ---------- auth page ---------- */

.hidden {
  display: none !important;
}

.lh-auth-page {
  position: relative;
  z-index: 1;
  padding: 18px 0 42px;
}

.lh-auth-header {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 18px;
}

.lh-auth-shell {
  display: grid;
  gap: 18px;
}

.lh-auth-panel,
.lh-auth-side {
  position: relative;
  overflow: hidden;
  border-radius: var(--lh-radius-xl);
  border: 1px solid rgba(216, 168, 90, 0.14);
  background: linear-gradient(180deg, var(--lh-surface-top), var(--lh-surface-bottom));
  box-shadow: var(--lh-shadow-lg);
}

.lh-auth-panel::after,
.lh-auth-side::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%);
}

.lh-auth-panel {
  padding: 18px;
}

.lh-auth-side {
  padding: 18px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(240, 199, 122, 0.10), transparent 40%),
    linear-gradient(180deg, var(--lh-surface-dark-top), var(--lh-surface-dark-bottom));
}

.lh-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.auth-tab {
  appearance: none;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: var(--lh-radius-sm);
  border: 1px solid rgba(216, 168, 90, 0.18);
  background: linear-gradient(180deg, rgba(66, 44, 25, 0.84), rgba(33, 21, 13, 0.96));
  color: var(--lh-text-warm);
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--lh-shadow-md);
  transition: transform 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.auth-tab:hover {
  transform: translateY(-1px);
}

.auth-tab--active {
  background: linear-gradient(135deg, var(--lh-ember), var(--lh-gold-bright));
  color: #1a1008;
  border-color: rgba(255,255,255,0.12);
}

.lh-auth-form {
  display: grid;
  gap: 14px;
}

.lh-form-title {
  margin: 0 0 4px;
  color: var(--lh-text-strong);
  font-size: 1.3rem;
  line-height: 1.2;
}

.lh-field {
  display: grid;
  gap: 8px;
}

.lh-field span {
  color: var(--lh-text-warm);
  font-size: 0.96rem;
  font-weight: 700;
}

.lh-input {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(216, 168, 90, 0.18);
  background: linear-gradient(180deg, rgba(25, 17, 12, 0.92), rgba(14, 10, 8, 0.96));
  color: var(--lh-text);
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.lh-input::placeholder {
  color: rgba(204, 185, 157, 0.65);
}

.lh-input:focus {
  border-color: rgba(110, 230, 222, 0.45);
  box-shadow:
    0 0 0 1px rgba(110, 230, 222, 0.28),
    0 0 24px rgba(47, 183, 179, 0.12);
}

.lh-btn--full {
  width: 100%;
}

.lh-btn--light {
  background: linear-gradient(180deg, #ffffff, #f5f0e6);
  color: #5a3b20;
  border: 1px solid rgba(216,168,90,0.35);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.lh-btn--light:hover {
  background: linear-gradient(180deg, #ffffff, #efe6d7);
  color: #3c2613;
}

.lh-notice {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: var(--lh-radius-md);
  border: 1px solid rgba(216, 168, 90, 0.16);
  background: linear-gradient(180deg, rgba(63, 43, 28, 0.92), rgba(28, 18, 11, 0.94));
  color: var(--lh-text);
  box-shadow: var(--lh-shadow-lg);
}

.lh-auth-side__image {
  width: min(100%, 420px);
  aspect-ratio: 2 / 1;
  margin: 0 auto 18px;
  border-radius: 20px;
  border: 1px solid rgba(216, 168, 90, 0.14);
  background:
    linear-gradient(180deg, rgba(10, 8, 7, 0.06), rgba(10, 8, 7, 0.14)),
    url("./laughhavenlogo.png") center center / 72% auto no-repeat,
    radial-gradient(circle at 20% 15%, rgba(255, 139, 43, 0.14), transparent 18%),
    radial-gradient(circle at 86% 20%, rgba(47, 183, 179, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    linear-gradient(180deg, #21160f 0%, #110c08 100%);
  box-shadow: inset 0 -70px 100px rgba(0,0,0,0.22);
}

.lh-auth-side__title {
  margin: 0 0 8px;
  color: var(--lh-gold-bright);
  font-size: 1.2rem;
  line-height: 1.2;
}

.lh-auth-side__text {
  margin: 0 auto 16px;
  max-width: 36rem;
  color: var(--lh-text-soft);
  line-height: 1.68;
}

.lh-auth-points {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.lh-auth-point {
  padding: 12px 14px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(216, 168, 90, 0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color: var(--lh-text-soft);
}

.lh-auth-point strong {
  display: block;
  margin-bottom: 4px;
  color: var(--lh-gold-bright);
  font-size: 0.98rem;
}

@media (min-width: 920px) {
  .lh-auth-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    align-items: start;
  }
}

/* ---------- game banners ---------- */

.lh-game-list{
display:grid;
gap:22px;
margin-top:20px;
}

.lh-game-banner{
display:grid;
grid-template-columns:260px 1fr;
gap:22px;

border-radius:var(--lh-radius-xl);
border:1px solid rgba(216,168,90,0.14);

background:linear-gradient(
180deg,
var(--lh-surface-top),
var(--lh-surface-bottom)
);

box-shadow:var(--lh-shadow-lg);

overflow:hidden;
}

.lh-game-banner__media{
background:#000;
}

.lh-game-banner__media img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

.lh-game-banner__body{
display:flex;
flex-direction:column;
padding:18px;
gap:10px;
}

.lh-game-banner__header h2{
margin:4px 0 0 0;
font-size:1.4rem;
color:var(--lh-text-strong);
}

.lh-game-banner__desc{
color:var(--lh-text-soft);
max-width:600px;
}

.lh-game-banner__footer{
margin-top:auto;

display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
flex-wrap:wrap;
}

.lh-game-banner__actions{
display:flex;
gap:10px;
flex-wrap:wrap;
}

@media (max-width:760px){

.lh-game-banner{
grid-template-columns:1fr;
}

.lh-game-banner__media{
height:180px;
}

}

/* ---------- game detail page ---------- */
/* ---------- game detail page ---------- */

.lh-game-detail-layout {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.lh-game-detail-media-card,
.lh-game-detail-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--lh-radius-xl);
  border: 1px solid rgba(216, 168, 90, 0.14);
  background: linear-gradient(180deg, var(--lh-surface-top), var(--lh-surface-bottom));
  box-shadow: var(--lh-shadow-lg);
}

.lh-game-detail-media-card::after,
.lh-game-detail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%);
}

.lh-game-detail-media {
  position: relative;
  z-index: 1;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  margin: 14px;
  border: 1px solid rgba(216, 168, 90, 0.14);
  box-shadow: inset 0 -80px 120px rgba(0,0,0,0.24);
}

.lh-game-detail-card__inner {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.lh-game-desc {
  margin: 0 0 16px;
  max-width: 680px;
  color: var(--lh-text-soft);
  font-size: 1.04rem;
  line-height: 1.72;
}

.lh-game-detail-points {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.lh-game-detail-point {
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(216, 168, 90, 0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color: var(--lh-text-soft);
  line-height: 1.6;
}

.lh-game-detail-point strong {
  display: block;
  margin-bottom: 4px;
  color: var(--lh-gold-bright);
  font-size: 0.98rem;
}

.lh-game-detail-point--ember {
  background:
    radial-gradient(circle at top left, rgba(255, 139, 43, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(58, 40, 26, 0.96), rgba(32, 21, 14, 0.98));
}

.lh-game-detail-point--gold {
  background:
    radial-gradient(circle at top center, rgba(240, 199, 122, 0.10), transparent 40%),
    linear-gradient(180deg, rgba(58, 40, 26, 0.96), rgba(32, 21, 14, 0.98));
}

.lh-game-detail-point--teal {
  background:
    radial-gradient(circle at top right, rgba(110, 230, 222, 0.10), transparent 42%),
    linear-gradient(180deg, rgba(58, 40, 26, 0.96), rgba(32, 21, 14, 0.98));
}

.lh-game-detail-point--verdant {
  background:
    radial-gradient(circle at bottom right, rgba(142, 224, 177, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(58, 40, 26, 0.96), rgba(32, 21, 14, 0.98));
}

.lh-game-detail-bar {
  display: grid;
  gap: 14px;
}

@media (min-width: 920px) {
  .lh-game-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }

  .lh-game-detail-media {
    min-height: 100%;
    aspect-ratio: 4 / 5;
  }
}

/* ---------- legal / contact pages ---------- */

.lh-hero-section .lh-feature-card {
  max-width: 640px;
  margin: 0 auto;
}
/* ------------- header / nav ------------------ */

.lh-topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;

  backdrop-filter:blur(18px);

  /* background:linear-gradient(
    180deg,
    rgba(40,28,18,0.70),
    rgba(18,12,8,0.85)
  ); */
  background:linear-gradient(
    180deg,
    rgba(18,12,8,0.70),
    rgba(18,12,8,0.85)
  );

  border-bottom:1px solid rgba(216,168,90,0.16);

  box-shadow:
    0 14px 30px rgba(0,0,0,0.45);
}


/* header container */

.lh-topbar__inner{
  min-height:74px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:18px;
}


/* brand */

.lh-brand{
  display:flex;
  align-items:center;
  gap:12px;

  color:#f3dfb8;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.lh-brand__icon{
  width:44px;
  height:44px;
  object-fit:contain;

  filter:drop-shadow(0 0 10px rgba(255,139,43,.28));
}

.lh-brand__wordmark{
  font-size:.92rem;
}


/* navigation */

.lh-nav{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;

  color:var(--lh-text-soft);
  font-size:.92rem;
}

.lh-nav a{
  position:relative;
  padding:8px 6px;
  white-space:nowrap;
}

.lh-nav a:hover,
.lh-nav a.is-active{
  color:var(--lh-gold-bright);
}

.lh-nav a.is-active::after{
  content:"";
  position:absolute;

  left:0;
  right:0;
  bottom:-6px;

  height:2px;
  border-radius:999px;

  background:linear-gradient(
    90deg,
    var(--lh-ember),
    var(--lh-gold-bright),
    var(--lh-teal-bright)
  );

  box-shadow:0 0 12px rgba(255,139,43,.25);
}


/* user profile name */

.lh-nav-profile{
  display:inline-flex;
  align-items:center;

  padding:10px 14px;

  border-radius:999px;

  background:rgba(216,168,90,.12);
  border:1px solid rgba(216,168,90,.22);

  color:var(--lh-text-strong);
  font-weight:700;

  white-space:nowrap;
}


/* logout button */

.lh-btn--ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-height:42px;
  padding:10px 14px;

  border-radius:14px;

  background:linear-gradient(
    180deg,
    rgba(66,44,25,0.82),
    rgba(33,21,13,0.92)
  );

  border:1px solid rgba(216,168,90,.18);

  color:var(--lh-text);

  font-weight:700;

  cursor:pointer;

  transition:
    transform .18s ease,
    border-color .18s ease,
    opacity .18s ease;
}

.lh-btn--ghost:hover{
  transform:translateY(-1px);
  border-color:rgba(240,199,122,.35);
}


/* notices */

.lh-notice--error{
  border-color:rgba(255,139,43,.28);

  background:linear-gradient(
    180deg,
    rgba(92,44,20,.92),
    rgba(52,25,12,.94)
  );

  color:#ffe0c2;
}


/* page offset so header doesn't cover content */

body.lh-page-bg{
  padding-top:84px;
}

.lh-footer {
  position: relative;
  z-index: 1;
  padding: 24px 0 30px;
}

.lh-footer__inner {
  border-top: 1px solid rgba(216, 168, 90, 0.14);
  padding-top: 18px;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  color: var(--lh-text-soft);
}

.lh-footer__brand {
  display: grid;
  gap: 2px;
  justify-items: center;
}

.lh-footer__title {
  color: var(--lh-text-strong);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.lh-footer__tag {
  color: var(--lh-text-warm);
  font-size: 0.88rem;
}

.lh-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  font-size: 0.92rem;
}

.lh-footer__nav a:hover {
  color: var(--lh-gold-bright);
}

.lh-footer__legal {
  margin-top: 14px;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--lh-text-soft);
  opacity: 0.9;
}

/* ---------- game banners ---------- */

.lh-game-list{
  display:grid;
  gap:22px;
  margin-top:20px;
}

.lh-game-banner{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:22px;
  border-radius:var(--lh-radius-xl);
  border:1px solid rgba(216,168,90,0.14);
  background:linear-gradient(
    180deg,
    var(--lh-surface-top),
    var(--lh-surface-bottom)
  );
  box-shadow:var(--lh-shadow-lg);
  overflow:hidden;
}

.lh-game-banner__media{
  min-height:260px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  background:
    radial-gradient(circle at top left, rgba(255,139,43,0.10), transparent 35%),
    radial-gradient(circle at bottom right, rgba(216,168,90,0.08), transparent 40%),
    linear-gradient(180deg, #3a2416 0%, #21140d 100%);
}

.lh-game-banner__media img{
  width:100%;
  height:100%;
  max-height:320px;
  object-fit:contain;
  object-position:center;
  display:block;
}

.lh-game-banner__body{
  display:flex;
  flex-direction:column;
  padding:18px;
  gap:10px;
}

.lh-game-banner__header h2{
  margin:4px 0 0 0;
  font-size:1.4rem;
  color:var(--lh-text-strong);
}

.lh-game-banner__desc{
  color:var(--lh-text-soft);
  max-width:600px;
}

.lh-game-banner__footer{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.lh-game-banner__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

@media (max-width:760px){
  .lh-game-banner{
    grid-template-columns:1fr;
  }

  .lh-game-banner__media{
    min-height:220px;
    padding:12px;
  }

  .lh-game-banner__media img{
    max-height:220px;
  }
}

/* ---------- game detail image fix ---------- */

.lh-game-detail-media-card{
  display:flex;
}

.lh-game-detail-media{
  width:100%;
  min-height:320px;
  margin:14px;
  border-radius:22px;
  border:1px solid rgba(216,168,90,0.14);

  background-size:contain !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  background-color:#24160f;

  box-shadow:inset 0 -50px 90px rgba(0,0,0,0.18);
}

@media (min-width:920px){
  .lh-game-detail-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:stretch;
  }

  .lh-game-detail-media-card{
    min-height:100%;
  }

  .lh-game-detail-media{
    min-height:520px;
    height:100%;
    aspect-ratio:auto;
  }
}

@media (max-width:919px){
  .lh-game-detail-media{
    min-height:260px;
  }
}