/* Meta Glasses Poker - Main Styles */

:root {
  --bg-dark: #050a1a;
  --gold: #facc15;
  --gold-dark: #ca8a04;
  --gold-light: #fde047;
  --green: #22c55e;
  --green-glow: #4ade80;
  --red: #ef4444;
  --purple: #a855f7;
  --purple-dark: #7c3aed;
  --cyan: #22d3ee;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.85);
  --header-h: 72px;
  --font-display: 'Orbitron', 'Rajdhani', sans-serif;
  --font-body: 'Rajdhani', 'Inter', sans-serif;
  --font-ui: 'Inter', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Page Layout */
.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow: visible;
}

/* Background Scene */
.scene {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: var(--header-h);
  padding-bottom: 0;
  box-sizing: border-box;
  background: var(--bg-dark);
  overflow: hidden;
}

.scene__bg {
  pointer-events: none;
  display: block;
  aspect-ratio: 1024 / 682;
  width: min(100%, calc((100dvh - var(--header-h)) * 1024 / 682));
  height: auto;
  max-height: calc(100dvh - var(--header-h));
  object-fit: contain;
  object-position: center bottom;
}

.scene__bg--gifts,
.scene__bg--gifts-mobile {
  display: none;
}

.is-gifts-scene .scene__bg:not(.scene__bg--gifts):not(.scene__bg--gifts-mobile),
body:has(#gifts:target) .scene__bg:not(.scene__bg--gifts):not(.scene__bg--gifts-mobile) {
  display: none;
}

.is-gifts-scene .scene__bg {
  aspect-ratio: 1024 / 576;
  height: calc(100dvh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  object-fit: contain;
  object-position: center center;
  width: min(100%, calc((100dvh - var(--header-h)) * 1024 / 576));
}

.is-gifts-scene .scene__bg--gifts,
body:has(#gifts:target) .scene__bg--gifts {
  aspect-ratio: 1024 / 576;
  display: block;
  height: calc(100dvh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  object-fit: contain;
  object-position: center center;
  width: min(100%, calc((100dvh - var(--header-h)) * 1024 / 576));
}

.scene__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 26, 0.35) 0%,
    rgba(5, 10, 26, 0.05) 30%,
    rgba(5, 10, 26, 0.1) 70%,
    rgba(5, 10, 26, 0.4) 100%
  );
  pointer-events: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(5, 10, 26, 0.92) 0%, rgba(5, 10, 26, 0.6) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(250, 204, 21, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1.5rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo__spade {
  font-size: 1.5rem;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  line-height: 1;
}

.logo__chips {
  display: flex;
  gap: 2px;
}

.logo__chip {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.6);
}

.logo__chip--red {
  background: var(--red);
}

.logo__chip--blue {
  background: #3b82f6;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__title {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo__subtitle {
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

/* Navigation */
.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--gold);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* Header Buttons */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn {
  border: 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--outline {
  border: 1.5px solid var(--gold);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.4);
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #0a0a0a;
  border: none;
}

.btn--gold:hover {
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.6);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.auth-modal[hidden] {
  display: none;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 25%, rgba(34, 211, 238, 0.18), transparent 34%),
    rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(10px);
}

.auth-card {
  position: relative;
  width: min(100%, 440px);
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(250, 204, 21, 0.55);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(6, 16, 40, 0.96), rgba(31, 12, 55, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.22), transparent 36%);
  box-shadow:
    0 0 32px rgba(34, 211, 238, 0.28),
    0 0 54px rgba(250, 204, 21, 0.2),
    inset 0 0 34px rgba(250, 204, 21, 0.06);
}

.auth-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 17px;
  pointer-events: none;
}

.auth-card__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--white);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.auth-card__eyebrow,
.auth-card h2,
.auth-card__intro,
.auth-tabs,
.auth-form,
.auth-message {
  position: relative;
  z-index: 1;
}

.auth-card__eyebrow {
  color: var(--cyan);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.auth-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.auth-card__intro {
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-tabs__button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.76);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.72rem 1rem;
  text-transform: uppercase;
}

.auth-tabs__button--active {
  border-color: rgba(250, 204, 21, 0.9);
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.28), rgba(202, 138, 4, 0.2));
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.22);
}

.auth-form {
  display: none;
  gap: 0.6rem;
}

.auth-form--active {
  display: grid;
}

.auth-form label {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(34, 211, 238, 0.34);
  border-radius: 12px;
  background: rgba(3, 7, 18, 0.72);
  color: var(--white);
  font: 700 1rem var(--font-ui);
  outline: none;
  padding: 0 0.9rem;
}

.auth-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.18);
}

.auth-submit {
  min-height: 50px;
  margin-top: 0.65rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #3dcc6e 0%, #22c55e 45%, #15803d 100%);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.55);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.auth-message {
  min-height: 1.25rem;
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.85rem;
}

.auth-message.is-error {
  color: #fecaca;
}

.account-pill {
  max-width: 180px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.45);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.18);
  color: var(--cyan);
  font: 800 0.78rem var(--font-ui);
  letter-spacing: 0.06em;
  padding: 0.55rem 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hamburger - hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Main Content Area */
.main {
  position: relative;
  z-index: 10;
  width: 100%;
  flex: 1;
  pointer-events: none;
}

.main > * {
  pointer-events: auto;
}

/* Mobile-only elements hidden on desktop */
.mobile-only {
  display: none;
}

/* Hero / CTA */
.hero {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: calc(var(--header-h) + 2vh);
  pointer-events: none;
}

/* PLAY NOW button wrapper — always on top, always clickable */
.cta-wrap {
  position: fixed;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: auto;
  isolation: isolate;
}

.is-gifts-scene .cta-wrap {
  display: none;
}


.cta-play {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(160px, 22vw, 280px);
  min-width: unset;
  padding: clamp(0.55rem, 1.2vw, 1rem) clamp(1rem, 2.5vw, 2.5rem);
  border-radius: 50px;
  background: linear-gradient(180deg, #3dcc6e 0%, #22c55e 45%, #15803d 100%);
  border: clamp(2px, 0.25vw, 3px) solid #4ade80;
  box-shadow:
    0 0 16px rgba(74, 222, 128, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-play__main {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  line-height: 1.1;
}

.cta-play__sub {
  font-family: var(--font-ui);
  font-size: clamp(0.48rem, 1.1vw, 0.65rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 2px;
}

.cta-play:hover {
  transform: scale(1.04);
  box-shadow:
    0 0 22px rgba(74, 222, 128, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-play:active {
  transform: scale(0.97);
}



/* Widgets (desktop hidden, styled for mobile) */
.widget__inner {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 2px solid;
}

.widget__inner--purple {
  background: rgba(88, 28, 135, 0.75);
  border-color: var(--purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.widget__inner--gold {
  background: rgba(120, 80, 10, 0.75);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
}

.widget__inner--cyan {
  background: rgba(8, 47, 73, 0.78);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.28);
}

.widget__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.widget__icon {
  font-size: 1.25rem;
}

.widget__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.widget__text {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.meta-display-qr,
.how-connect-qr {
  background: #fff;
  border-radius: 10px;
  margin: 0.75rem auto;
  padding: 0.35rem;
  width: min(220px, 100%);
}

.meta-display-link {
  color: var(--cyan);
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 800;
  margin: 0.35rem 0 0.65rem;
  overflow-wrap: anywhere;
}

.how-to-connect-page {
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.18), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(250, 204, 21, 0.12), transparent 24%),
    #050a1a;
  min-height: 100dvh;
  overflow: auto;
}

.how-connect-main {
  display: grid;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 2rem) 1.25rem 2rem;
  place-items: center;
}

.how-connect-card {
  background: rgba(5, 10, 26, 0.9);
  border: 2px solid var(--cyan);
  border-radius: 24px;
  box-shadow: 0 0 34px rgba(34, 211, 238, 0.25);
  max-width: 720px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  width: min(100%, 720px);
}

.how-connect-eyebrow {
  color: var(--cyan);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 0.5rem;
}

.how-connect-card h1 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.how-connect-intro,
.how-connect-steps,
.how-connect-gestures {
  color: var(--text-muted);
  font-family: var(--font-ui);
}

.how-connect-qr {
  width: min(320px, 100%);
}

.how-connect-url {
  color: var(--cyan);
  display: inline-block;
  font-family: var(--font-ui);
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 900;
  margin: 0.4rem 0 1rem;
  overflow-wrap: anywhere;
}

.how-connect-steps {
  display: inline-grid;
  gap: 0.45rem;
  line-height: 1.5;
  margin: 0 auto 1.25rem;
  max-width: 520px;
  padding-left: 1.2rem;
  text-align: left;
}

.how-connect-gestures {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  margin: 0 auto 1.25rem;
  max-width: 560px;
  padding: 1rem;
  text-align: left;
}

.how-connect-gestures h2 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.how-connect-gestures p {
  line-height: 1.45;
  margin-bottom: 0.35rem;
}

.how-connect-play {
  background: linear-gradient(180deg, #3dcc6e 0%, #22c55e 45%, #15803d 100%);
  border: 2px solid #4ade80;
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.35rem;
  text-transform: uppercase;
}

/* Vegas Sign */
.vegas-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(5, 10, 26, 0.8);
  border: 2px solid var(--cyan);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.4);
  text-align: center;
}

.vegas-sign__top {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.vegas-sign__fab {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin: 0.15rem 0;
}

.vegas-sign__main {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--white);
}

.vegas-sign__sub {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
}

/* Hero content (mobile) */
.hero__title {
  text-align: center;
}

.hero__title-line {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-poker {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--red);
  text-shadow: 0 0 16px rgba(239, 68, 68, 0.6);
}

.hero__tagline {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: center;
  color: var(--white);
  margin-top: 0.5rem;
}

.hero__features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--text-muted);
}

.hero__feature-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.hero__feature-icon svg {
  width: 100%;
  height: 100%;
}




/* Footer — flows with content on mobile */
.footer {
  position: relative;
  z-index: 50;
  text-align: center;
  padding: 0.75rem 1rem 1rem;
  background: rgba(5, 10, 26, 0.92);
  border-top: 1px solid rgba(250, 204, 21, 0.1);
}

.footer__text {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* Desktop: fixed footer overlay */
@media (min-width: 769px) {
  .page {
    height: 100vh;
    height: 100dvh;
    min-height: unset;
    display: block;
    overflow: hidden;
  }

  .main {
    height: 100%;
    flex: unset;
  }

  .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.4rem 1rem 0.5rem;
    background: transparent;
    border-top: none;
    pointer-events: none;
  }

  .footer__text {
    color: rgba(255, 255, 255, 0.55);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  }
}

@media (min-width: 1200px) {
  .cta-wrap {
    top: 53.5%;
  }

  .cta-play {
    width: clamp(200px, 18vw, 300px);
  }
}

@media (min-width: 1600px) {
  .cta-wrap {
    top: 53%;
  }

  .cta-play {
    width: clamp(220px, 16vw, 320px);
  }
}

/* Short viewport */
@media (max-height: 600px) and (min-width: 769px) {
  .cta-wrap {
    top: 55%;
  }

  .cta-play {
    width: clamp(140px, 20vw, 200px);
    padding: 0.5rem 1.25rem;
  }

  .cta-play__main {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
  }

  :root {
    --header-h: 56px;
  }
}

/* Play/Admin page shell */
.play-page {
  background: #050914;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.play-page .play-header {
  align-items: center;
  background: rgba(5, 9, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
  color: #f8fbff;
  display: flex;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  gap: 16px;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 36px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.play-page .play-header a {
  color: inherit;
  text-decoration: none;
}

.play-page .play-brand {
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.play-page .play-back {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #dff8ff;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 14px;
}

.play-page .jl-poker-embed {
  min-height: calc(100vh - 57px);
  min-height: calc(100dvh - 57px);
}

.play-page .admin-shell {
  display: none;
}

.play-page.is-admin-session .admin-shell {
  align-content: start;
  background: #07111f;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fbff;
  display: grid;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  gap: 18px;
  min-width: 0;
  padding: 18px clamp(16px, 3vw, 28px);
}

.play-page .admin-shell__eyebrow {
  color: #8fd9ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.play-page .admin-shell__title {
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
  overflow-wrap: anywhere;
}

.play-page .admin-nav {
  display: grid;
  gap: 10px;
}

.play-page .admin-nav__item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 14px;
  text-decoration: none;
}

.play-page .admin-status-card {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 18px;
  color: #d1fae5;
  font-size: 14px;
  line-height: 1.5;
  padding: 14px;
}

.play-page .admin-only {
  display: none;
}

.play-page.is-admin-session .admin-only {
  display: initial;
}

@media (min-width: 1024px) {
  .play-page.is-admin-session {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .play-page.is-admin-session .play-header {
    grid-column: 1 / -1;
  }

  .play-page.is-admin-session .admin-shell {
    grid-column: 1;
  }

  .play-page.is-admin-session .jl-poker-embed {
    grid-column: 2;
    left: auto;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

.how-to-connect-page .footer {
  position: static;
}
