/* ============================================================================
   MJ & Pero's Brokeback Blackjack Bday Bash — styles
   Vibe: near-black casino felt, gold foil, hot-pink neon, playing cards.
   ========================================================================== */

:root {
  --bg:        #08070b;
  --bg-2:      #0d0b12;
  --felt:      #0b3d2c;
  --gold:      #e8c87a;
  --gold-hi:   #f8e7b0;
  --gold-deep: #b8860b;
  --gold-grad: linear-gradient(178deg, #fbeaad 0%, #e8c87a 42%, #c99a2e 78%, #a97b12 100%);
  --pink:      #ff2e63;
  --pink-hi:   #ff6b93;
  --cream:     #f6f0e2;
  --muted:     #9c9484;
  --line:      rgba(232, 200, 122, 0.16);
  --line-2:    rgba(232, 200, 122, 0.30);
  --card:      rgba(255, 255, 255, 0.035);
  --card-2:    rgba(255, 255, 255, 0.06);

  --display: "Anton", "Arial Narrow", sans-serif;
  --stat:    "Bebas Neue", sans-serif;
  --script:  "Yellowtail", cursive;
  --body:    "Inter", system-ui, sans-serif;

  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  --glow-gold: 0 0 24px rgba(232, 200, 122, 0.45);
  --glow-pink: 0 0 26px rgba(255, 46, 99, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--cream);
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(255, 46, 99, 0.10), transparent 60%),
    radial-gradient(900px 600px at 90% 20%, rgba(232, 200, 122, 0.08), transparent 55%),
    radial-gradient(1000px 800px at 10% 90%, rgba(11, 61, 44, 0.55), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* ---------------------------------------------------------------- buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 800; font-size: 1rem;
  letter-spacing: .01em;
  color: #201500;
  background: var(--gold-grad);
  border: none; border-radius: 999px;
  padding: .95rem 1.8rem; cursor: pointer;
  box-shadow: var(--glow-gold), 0 10px 24px -8px rgba(0,0,0,.6);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 0 34px rgba(232,200,122,.6), 0 14px 30px -10px rgba(0,0,0,.7); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.full { width: 100%; }

.link-btn {
  background: none; border: none; color: var(--gold); cursor: pointer;
  font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--gold-hi); }

/* ============================================================ ENTRANCE */
.entrance {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  background:
    radial-gradient(900px 600px at 50% 40%, rgba(232,200,122,.10), transparent 60%),
    #050409;
  transition: opacity .5s ease;
}
.entrance.gone { opacity: 0; pointer-events: none; }

.marquee-frame {
  position: relative;
  padding: clamp(2rem, 6vw, 4.5rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
  text-align: center;
}
.marquee-lights {
  position: absolute; background-repeat: repeat;
  --dot: radial-gradient(circle, #ffe9a8 0 32%, rgba(255,233,168,.15) 45%, transparent 55%);
}
.marquee-lights.top, .marquee-lights.bottom { left: 0; right: 0; height: 14px;
  background-image: var(--dot); background-size: 26px 14px; }
.marquee-lights.left, .marquee-lights.right { top: 0; bottom: 0; width: 14px;
  background-image: var(--dot); background-size: 14px 26px; }
.marquee-lights.top { top: 0; } .marquee-lights.bottom { bottom: 0; }
.marquee-lights.left { left: 0; } .marquee-lights.right { right: 0; }
.marquee-frame::before {
  content: ""; position: absolute; inset: 7px; border-radius: 10px;
  box-shadow: inset 0 0 60px rgba(232,200,122,.12);
  border: 1px solid rgba(232,200,122,.14);
}
.marquee-lights { animation: blink 1.4s steps(2, start) infinite; }
.marquee-lights.bottom, .marquee-lights.right { animation-delay: .7s; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.entrance-logo { width: min(360px, 76vw); height: auto; margin-bottom: .2rem;
  filter: drop-shadow(0 8px 34px rgba(232, 200, 122, .28)); }
.entrance-kicker {
  font-family: var(--script); color: var(--pink-hi);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  text-shadow: var(--glow-pink);
}
.entrance-cta { color: var(--cream); font-weight: 600; font-size: 1.02rem; opacity: .92; }
.entrance-cta b { color: var(--gold); }
.pulse-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--pink); box-shadow: var(--glow-pink); margin-right: .4rem;
  animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } }

/* playing card */
.card-flip { background: none; border: none; cursor: pointer; padding: 0;
  perspective: 1000px; animation: floaty 4s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }

.playing-card {
  position: relative; width: clamp(180px, 44vw, 232px); aspect-ratio: 5 / 7;
  background: linear-gradient(160deg, #fffdf7, #f3ead3);
  border-radius: 16px; color: #14110c;
  box-shadow: 0 0 0 2px var(--gold), 0 0 40px rgba(232,200,122,.5), var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card-flip:hover .playing-card { transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 0 2px var(--gold-hi), 0 0 60px rgba(232,200,122,.75), var(--shadow); }
.playing-card::after { content: ""; position: absolute; inset: 8px; border-radius: 10px;
  border: 1px solid rgba(20,17,12,.18); }
.pip { position: absolute; font-family: var(--display); font-size: 1.5rem; line-height: .8;
  text-align: center; letter-spacing: 0; }
.pip small { font-size: 1.1rem; }
.pip.tl { top: 12px; left: 12px; }
.pip.br { bottom: 12px; right: 12px; transform: rotate(180deg); }
.queen-face { position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(4.5rem, 14vw, 6.4rem); color: #14110c; }
.queen-suit { position: absolute; left: 50%; bottom: 26%; transform: translateX(-50%);
  font-size: clamp(1.6rem, 5vw, 2.2rem); opacity: .85; }

/* ============================================================ MEME */
.meme-overlay {
  position: fixed; inset: 0; z-index: 70; display: none;
  place-items: center; padding: 5vw;
  background: radial-gradient(circle at 50% 45%, rgba(255,120,30,.18), transparent 60%), #050306;
  opacity: 0; transition: opacity .4s ease;
}
.meme-overlay.show { display: grid; opacity: 1; }
.meme-inner { display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
  animation: memePop .5s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes memePop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.meme-img { max-width: min(880px, 92vw); max-height: 62vh; width: auto; height: auto;
  filter: drop-shadow(0 20px 60px rgba(255,140,40,.35)); }
.btn-enter {
  font-family: var(--display); letter-spacing: .04em;
  font-size: clamp(1.3rem, 4vw, 1.9rem); color: #201500;
  background: var(--gold-grad); border: none; border-radius: 999px;
  padding: .8rem 2.6rem; cursor: pointer; text-transform: uppercase;
  box-shadow: var(--glow-gold), 0 14px 30px -10px #000;
  transition: transform .15s ease, filter .2s ease;
  animation: nudge 1.6s ease-in-out infinite;
}
.btn-enter:hover { transform: scale(1.05); filter: brightness(1.08); }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ============================================================ TOPBAR */
.topbar { position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(8,7,11,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; }
.brand-logo { height: 38px; width: auto; filter: drop-shadow(0 2px 8px rgba(232, 200, 122, .3)); }
.brand-suits { color: var(--gold); letter-spacing: .1em; font-size: 1rem; }
.brand-name { font-family: var(--display); letter-spacing: .04em; font-size: 1.05rem;
  color: var(--cream); text-transform: uppercase; }
.whoami { display: flex; align-items: center; gap: .5rem; cursor: pointer;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 999px;
  padding: .4rem .5rem .4rem .9rem; color: var(--cream); font: inherit; }
.whoami:hover { border-color: var(--gold); }
.chip-label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.chip-name { font-weight: 700; color: var(--gold); background: rgba(232,200,122,.1);
  border-radius: 999px; padding: .2rem .7rem; font-size: .86rem; }

/* ============================================================ HERO */
.hero { position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: clamp(.8rem, 2vw, 1.3rem);
  padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.2rem, 5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1000px; margin: 0 auto; }
.hero-content { position: relative; z-index: 2; }
.hero-poster { width: min(900px, 94vw); height: auto; border-radius: 18px;
  border: 1px solid var(--line-2);
  box-shadow: 0 0 44px rgba(232, 200, 122, .22), 0 30px 60px -30px #000; }
.hero-tagline { font-family: var(--script); color: var(--pink-hi);
  font-size: clamp(1.5rem, 4.5vw, 2.5rem); text-shadow: var(--glow-pink);
  margin-top: .4rem; }
.hero-kicker { font-family: var(--script); color: var(--pink-hi);
  font-size: clamp(1.6rem, 4vw, 2.4rem); text-shadow: var(--glow-pink); margin-bottom: -.3rem; }
.hero-title { display: flex; flex-direction: column; line-height: .92; margin: .2rem 0 1rem; }
.hero-title .script { font-family: var(--script); color: var(--pink-hi);
  font-size: clamp(2rem, 6vw, 3.4rem); text-shadow: var(--glow-pink);
  transform: rotate(-4deg); align-self: flex-start; margin-left: .3rem; margin-bottom: .1rem; }
.hero-title .mega { font-family: var(--display); text-transform: uppercase;
  font-size: clamp(3.4rem, 12vw, 7rem); letter-spacing: .01em; color: var(--cream);
  text-shadow: 0 2px 0 rgba(0,0,0,.4); }
.hero-title .mega.gold {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 22px rgba(232,200,122,.4));
}
.hero-sub { font-size: clamp(1rem, 2.4vw, 1.25rem); color: var(--cream); font-weight: 500; }
.hero-sub b { color: var(--gold); }
.hero-occasion { color: var(--muted); margin-top: .5rem; font-style: italic; }

.hero-btn { margin-top: 1.6rem; }

.countdown { display: flex; align-items: center; gap: clamp(.3rem, 1.5vw, .8rem);
  margin-top: 1.7rem; }
.cd-unit { display: flex; flex-direction: column; align-items: center;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 12px;
  padding: .6rem clamp(.5rem, 2vw, 1rem); min-width: clamp(58px, 15vw, 74px); }
.cd-num { font-family: var(--stat); font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: 1;
  color: var(--gold); letter-spacing: .04em; }
.cd-lab { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }
.cd-sep { font-family: var(--stat); font-size: clamp(1.4rem, 5vw, 2.2rem); color: var(--gold-deep); }
.countdown.its-time { animation: itsTime 1s ease infinite; }
@keyframes itsTime { 0%,100% { filter: none; } 50% { filter: drop-shadow(0 0 12px var(--pink)); } }


/* ============================================================ STATS */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 6vw, 4rem);
  max-width: 900px; margin: 1rem auto 2rem; padding: 1.4rem 1rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { text-align: center; }
.stat-num { display: block; font-family: var(--stat); font-size: clamp(2.4rem, 7vw, 3.6rem);
  color: var(--gold); line-height: 1; }
.stat-lab { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* section headings */
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(1.4rem, 3vw, 2rem); padding: 0 1rem; }
.section-head h2 { font-family: var(--display); text-transform: uppercase;
  font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: .02em; }
.section-head p { color: var(--muted); margin-top: .5rem; }

/* ============================================================ LEADERBOARD */
.leaderboard { max-width: 820px; margin: clamp(2rem, 5vw, 3.5rem) auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.leaderboard-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.lb-item { display: grid; grid-template-columns: 28px 56px 1fr auto; align-items: center; gap: .9rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; }
.lb-item.lead { border-color: var(--gold); box-shadow: 0 0 24px rgba(232,200,122,.18);
  background: linear-gradient(90deg, rgba(232,200,122,.1), var(--card)); }
.lb-rank { font-family: var(--stat); font-size: 1.5rem; text-align: center; color: var(--gold); }
.lb-thumb { width: 56px; height: 42px; border-radius: 8px; background-size: cover; background-position: center;
  border: 1px solid var(--line-2); }
.lb-body { min-width: 0; }
.lb-title { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-bar { display: block; height: 8px; margin-top: .5rem; border-radius: 999px;
  background: rgba(255,255,255,.06); overflow: hidden; }
.lb-fill { display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--gold)); transition: width .5s ease; }
.lb-count { font-family: var(--stat); font-size: 1.8rem; color: var(--cream); min-width: 2ch; text-align: right; }
.lb-empty { text-align: center; color: var(--muted); padding: 1.4rem; border: 1px dashed var(--line-2); border-radius: 14px; }

/* ============================================================ VOTE BOARD */
.vote-board { max-width: 1180px; margin: clamp(2rem, 5vw, 4rem) auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.categories { display: flex; flex-direction: column; gap: 1.1rem; }

.category { border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.cat-head { width: 100%; display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 1rem; padding: 1.1rem clamp(1rem, 3vw, 1.6rem);
  background: none; border: none; color: var(--cream); cursor: pointer; text-align: left;
  transition: background .2s ease; }
.cat-head:hover { background: rgba(232,200,122,.05); }
.cat-title { display: flex; flex-direction: column; min-width: 0; }
.cat-label { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; letter-spacing: .02em; }
.cat-tag { color: var(--muted); font-size: .85rem; }
.cat-meta { font-family: var(--stat); font-size: 1.4rem; color: var(--gold); white-space: nowrap; }
.cat-meta small { font-size: .7rem; color: var(--muted); letter-spacing: .1em; }
.cat-chevron { color: var(--gold-deep); transition: transform .25s ease; }
.category.collapsed .cat-chevron { transform: rotate(-90deg); }

.cat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
  gap: .9rem; padding: 0 clamp(1rem, 3vw, 1.6rem) 1.4rem;
  max-height: 4000px; overflow: hidden; transition: max-height .35s ease, opacity .25s ease, padding .25s ease; }
.category.collapsed .cat-cards { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }

/* option card (photo-forward) */
.opt { position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease; }
.opt:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 18px 34px -20px #000; }
.opt.voted { border-color: var(--gold); box-shadow: 0 0 24px rgba(232,200,122,.18); }

.opt-photo { position: relative; height: 138px; background-size: cover; background-position: center;
  background-color: #14110c; }
.opt-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,7,11,0) 45%, rgba(8,7,11,.72)); }
.opt.voted .opt-photo { filter: saturate(1.05); }

.opt-flag { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: .68rem; font-weight: 800;
  background: var(--pink); color: #fff; padding: .22rem .6rem; border-radius: 999px;
  box-shadow: var(--glow-pink); text-transform: uppercase; letter-spacing: .05em; }
.opt-remove { position: absolute; top: 8px; right: 8px; z-index: 2; font-size: .66rem; font-weight: 700;
  background: rgba(8,7,11,.6); border: 1px solid var(--line-2); color: var(--cream); border-radius: 999px;
  padding: .22rem .6rem; cursor: pointer; opacity: 0; transition: opacity .2s ease, background .2s ease;
  text-transform: uppercase; letter-spacing: .04em; }
.opt:hover .opt-remove, .opt:focus-within .opt-remove { opacity: .9; }
.opt-remove:hover { background: var(--pink); border-color: var(--pink); opacity: 1; }

.opt-body { display: flex; align-items: flex-end; justify-content: space-between; gap: .7rem;
  padding: .8rem 1rem 1rem; flex: 1; }
.opt-main { min-width: 0; }
.opt-title { font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
.opt-desc { color: var(--muted); font-size: .84rem; margin-top: .3rem; line-height: 1.4; }
.opt-by { color: var(--gold-deep); font-size: .72rem; margin-top: .45rem; }
.opt-by b { color: var(--gold); }

.vote-btn { flex-shrink: 0; align-self: flex-end; display: flex; flex-direction: column; align-items: center; gap: .02rem;
  width: 76px; padding: .5rem .3rem; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 12px;
  color: var(--cream); font: inherit; transition: all .18s ease; }
.vote-btn:hover { border-color: var(--gold); background: rgba(232,200,122,.08); transform: translateY(-1px); }
.vote-btn .vote-count { font-family: var(--stat); font-size: 1.65rem; line-height: .9; color: var(--cream); }
.vote-btn .vote-word { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.vote-btn.on { background: var(--gold-grad); border-color: var(--gold-hi); box-shadow: var(--glow-gold); color: #201500; }
.vote-btn.on .vote-count { color: #201500; }
.vote-btn.on .vote-word { color: #3a2a00; font-weight: 700; }
.opt.just-voted .vote-btn.on { animation: pop .4s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }

/* ============================================================ FAB */
.add-fab { position: fixed; right: clamp(1rem, 4vw, 2rem); bottom: clamp(1rem, 4vw, 2rem);
  z-index: 40; font-family: var(--body); font-weight: 800; font-size: 1rem;
  color: #201500; background: var(--gold-grad); border: none; border-radius: 999px;
  padding: .95rem 1.5rem; cursor: pointer;
  box-shadow: var(--glow-gold), 0 12px 28px -8px #000; transition: transform .15s ease, filter .2s ease; }
.add-fab:hover { transform: translateY(-3px) scale(1.03); filter: brightness(1.06); }

/* ============================================================ MODALS */
.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  padding: 1.2rem; background: rgba(4,3,7,.82);
  opacity: 0; transition: opacity .2s ease; }
.modal-backdrop[hidden] { display: none; }
.modal-backdrop.open { opacity: 1; }
.modal { width: min(440px, 100%); background: linear-gradient(180deg, #16121b, #100d15);
  border: 1px solid var(--line-2); border-radius: 20px; padding: 1.8rem;
  box-shadow: var(--shadow); position: relative; transform: translateY(12px) scale(.98);
  transition: transform .22s cubic-bezier(.2,1.2,.4,1); }
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal h3 { font-family: var(--display); text-transform: uppercase; font-size: 1.6rem; letter-spacing: .02em; }
.modal-sub { color: var(--muted); margin: .4rem 0 1.2rem; font-size: .92rem; line-height: 1.4; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none;
  color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.modal-close:hover { color: var(--cream); }
.field-label { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold); margin: .9rem 0 .35rem; font-weight: 700; }
.input { width: 100%; background: rgba(255,255,255,.05); border: 1px solid var(--line-2);
  border-radius: 12px; padding: .85rem 1rem; color: var(--cream); font: inherit; font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,200,122,.15); }
select.input { appearance: none; cursor: pointer; }
.input::placeholder { color: #6b6559; }
.modal .btn-primary { margin-top: 1.3rem; }

/* ============================================================ TOAST */
.toast { position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 20px);
  z-index: 90; background: #16121b; border: 1px solid var(--gold); color: var(--cream);
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  box-shadow: var(--glow-gold), var(--shadow); opacity: 0; transition: opacity .25s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================ FOOTER */
.footer { text-align: center; padding: 3rem 1.5rem 4.5rem; color: var(--muted);
  border-top: 1px solid var(--line); margin-top: 3rem; }
.footer-logo { width: min(240px, 64vw); height: auto; display: block; margin: 0 auto 1.2rem;
  filter: drop-shadow(0 8px 26px rgba(232, 200, 122, .22)); }
.footer-suits { color: var(--gold); letter-spacing: .5em; font-size: 1.2rem; margin-bottom: .8rem; }
.footer p { margin: .3rem 0; font-size: .9rem; }
.footer-credit { color: #6f685b; font-size: .76rem; }
.footer-live { color: var(--gold-deep); font-size: .8rem; margin-top: .6rem; }

/* ============================================================ RESPONSIVE */
@media (max-width: 560px) {
  .cat-head { grid-template-columns: 1fr auto auto; gap: .7rem; padding: 1rem; }
  .cat-tag { display: none; }
  .stats { gap: 1.4rem; }
  .lb-item { grid-template-columns: 24px 46px 1fr auto; gap: .7rem; padding: .6rem .7rem; }
  .lb-thumb { width: 46px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important;
      transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
