/* ===========================================================================
 * UNIBOT — landing.css
 * The front door (served at /). Two game cards + a Discord profile/login widget.
 * Self-contained (does NOT load the big casino style.css); the Hot Stuff fire
 * palette is mirrored here so the landing matches the rest of the site.
 * =========================================================================== */
:root{
  --fire-red:#e8240f; --fire-orange:#ff7a1e; --gold:#ffc451; --gold-hot:#ffd24a;
  --ink:#fff7e8;
}
*{ box-sizing:border-box; }
html,body{ margin:0; height:100%; }
body.landing{
  font-family:'Teko', Verdana, sans-serif;
  background:#0c0301;
  color:var(--ink);
  min-height:100%;
  display:flex; flex-direction:column;
  overflow-x:hidden;
}
.lp-bg{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(255,122,30,.22), transparent 60%),
    radial-gradient(ellipse 90% 40% at 50% 110%, rgba(232,36,15,.28), transparent 70%),
    #0c0301;
}
.lp-top, .lp-main, .lp-footer{ position:relative; z-index:1; }

/* ---- top bar ------------------------------------------------------------- */
.lp-top{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 26px; gap:12px;
}
.lp-brand{
  font-family:'Limelight', serif;
  font-size:30px; letter-spacing:.12em;
  display:flex; align-items:baseline; gap:10px;
  background:linear-gradient(180deg, #fff6cf, #ffb000 55%, #e8240f);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.lp-brand-sub{
  font-family:'Teko'; font-size:15px; letter-spacing:.3em;
  color:var(--fire-orange); -webkit-text-fill-color:var(--fire-orange);
}
.lp-acct-slot{ display:flex; align-items:center; gap:12px; min-height:42px; }
.lp-guild{
  font-family:'Teko', Verdana, sans-serif; font-size:17px; letter-spacing:.04em;
  color:#fff7e8; background:#2b0d06;
  border:1px solid rgba(255,210,74,.45); border-radius:8px;
  padding:7px 10px; cursor:pointer; max-width:200px;
}
.lp-guild:hover{ border-color:var(--gold-hot); }

/* ---- hero / cards -------------------------------------------------------- */
.lp-main{
  flex:1 1 auto;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding:30px 20px 50px; gap:34px; text-align:center;
}
.lp-title{
  font-family:'Limelight', serif;
  font-size:clamp(34px, 6vw, 64px);
  letter-spacing:.08em; margin:0;
  color:var(--gold);
  text-shadow:0 0 22px rgba(255,176,0,.35);
}
/* Auto-fit grid: looks right with 2 cards (guest hub), 3 (member: +ACCOUNT)
 * or 4 (staff: +ADMIN). Tracks cap at 300px and the row centers itself. */
.lp-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(230px, 300px));
  gap:28px; justify-content:center;
  width:100%; max-width:1360px; margin:0 auto;
}
.lp-card{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:40px 26px;
  border-radius:20px;
  text-decoration:none; color:var(--ink);
  background:linear-gradient(180deg, rgba(43,13,6,.92), rgba(20,5,3,.96));
  border:2px solid rgba(255,210,74,.45);
  box-shadow:0 18px 50px rgba(0,0,0,.6), 0 0 30px rgba(232,36,15,.12);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lp-card:hover{
  transform:translateY(-6px) scale(1.02);
  box-shadow:0 26px 60px rgba(0,0,0,.7), 0 0 40px rgba(255,122,30,.3);
}
.lp-card:focus-visible{ outline:2px solid var(--gold-hot); outline-offset:3px; }
/* .lp-card's display:flex would override the UA [hidden] rule — pin it down
 * so the role-gated ADMIN card genuinely stays hidden for regular members. */
.lp-card[hidden]{ display:none; }
.lp-card-slots:hover{ border-color:#ff4538; }
.lp-card-rc:hover{ border-color:#66ff88; }
.lp-card-account:hover{ border-color:var(--gold-hot); }
.lp-card-admin:hover{ border-color:#6fb7ff; }
.lp-card-emoji{ font-size:64px; line-height:1; filter:drop-shadow(0 4px 10px rgba(0,0,0,.6)); }
.lp-card-name{ font-family:'Limelight', serif; font-size:34px; letter-spacing:.08em; color:var(--gold); }
.lp-card-sub{ font-size:18px; letter-spacing:.06em; color:rgba(255,247,232,.7); }

.lp-footer{ text-align:center; padding:16px; font-size:13px; letter-spacing:.18em; color:rgba(255,247,232,.4); }

/* ---- signed-out gate ----------------------------------------------------- */
#lp-gate{ display:flex; flex-direction:column; align-items:center; gap:18px; }
.lp-gate-sub{
  margin:0; font-size:22px; letter-spacing:.05em; color:rgba(255,247,232,.75);
}

/* ---- account / login widget --------------------------------------------- */
.lp-signin{
  display:inline-block; text-decoration:none;
  font-family:'Teko'; font-size:22px; letter-spacing:.1em; text-transform:uppercase;
  color:#fff; background:linear-gradient(180deg, #5865f2, #4752c4);   /* Discord blurple */
  border:0; border-radius:12px; padding:14px 30px; cursor:pointer;
  box-shadow:0 4px 16px rgba(88,101,242,.5);
  transition:filter .15s ease, transform .15s ease;
}
.lp-signin:hover{ filter:brightness(1.12); transform:translateY(-2px); }
.lp-signin:focus-visible{ outline:2px solid #fff; outline-offset:3px; }
.lp-acct{ position:relative; }
.lp-acct-btn{ padding:0; border:0; background:none; cursor:pointer; line-height:0; border-radius:50%; }
.lp-avatar{
  width:42px; height:42px; border-radius:50%; display:block; object-fit:cover;
  background:#42312a; border:2px solid rgba(255,210,74,.6); box-shadow:0 0 10px rgba(0,0,0,.5);
}
.lp-acct-btn:hover .lp-avatar{ border-color:var(--gold-hot); }
.lp-acct-pop{
  position:absolute; right:0; top:calc(100% + 10px); min-width:190px;
  background:linear-gradient(180deg, #2b0d06, #140503);
  border:1px solid rgba(255,210,74,.4); border-radius:12px; padding:14px;
  box-shadow:0 16px 40px rgba(0,0,0,.7); z-index:5;
  display:flex; flex-direction:column; gap:12px;
}
.lp-acct-pop[hidden]{ display:none; }
.lp-acct-name{
  font-size:20px; letter-spacing:.04em; color:#fff7e8; text-align:center;
  max-width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.lp-acct-logout{
  font-family:'Teko'; font-size:17px; letter-spacing:.1em; text-transform:uppercase; color:#fff;
  background:linear-gradient(180deg, #e8240f, #a51808); border:0; border-radius:9px; padding:9px 14px; cursor:pointer;
}
.lp-acct-logout:hover{ filter:brightness(1.12); }
.lp-acct-logout:disabled{ opacity:.6; cursor:default; }

@media (max-width:560px){
  .lp-brand{ font-size:24px; }
  .lp-cards{ gap:18px; grid-template-columns:min(320px, 86vw); }
  .lp-card{ padding:30px 22px; }
}
