/* OverUnder Games - Mobile-first, ultra-professional UI */
/* This file is safe to replace style.css entirely. No external assets required. */

:root{
  --bg: #0b1220;          /* deep navy */
  --panel: #0f1a2e;       /* header/panels */
  --text: #f3f4f6;        /* near-white */
  --muted: rgba(243,244,246,.72);
  --border: rgba(255,255,255,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
  --radius-sm: 12px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1000px 600px at 50% -10%, rgba(59,130,246,.28), transparent 55%),
              radial-gradient(900px 600px at 10% 20%, rgba(16,185,129,.14), transparent 60%),
              radial-gradient(900px 600px at 90% 30%, rgba(245,158,11,.10), transparent 60%),
              var(--bg);
  color: var(--text);
}

/* ===== Brand Banner ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(15,26,46,.96), rgba(15,26,46,.86));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 12px;
}

.brand-mark{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  font-weight: 900;
  letter-spacing: .02em;
}

.mark-up{ opacity: .95; margin-right: 2px; }
.mark-down{ opacity: .70; }

.brand-text{ line-height: 1.05; }
.brand-title{
  font-weight: 900;
  letter-spacing: .14em;
  font-size: .98rem;
}
.brand-subtitle{
  margin-top: 4px;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .04em;
}
.brand-spacer{ width: 40px; height: 40px; }

/* ===== App Layout ===== */
#app{
  max-width: 720px;
  margin: 18px auto 28px;
  padding: 0 16px;
}

#game, #end{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
}

#question{
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: .01em;
}

#buttons{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

button{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  font-weight: 850;
  letter-spacing: .04em;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform .05s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  -webkit-tap-highlight-color: transparent;
}

button:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

button:active{
  transform: translateY(1px);
}

button:disabled{
  opacity: .55;
  cursor: not-allowed;
}

#progress{
  font-size: 1.2rem;
  letter-spacing: .18em;
  padding-top: 6px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(243,244,246,.92);
}

/* ===== End screen ===== */
.hidden{ display: none; }

#results{
  font-size: 1.35rem;
  letter-spacing: .18em;
  margin-bottom: 12px;
}

#score, #streak, #accuracy{
  margin: 6px 0;
  color: rgba(243,244,246,.92);
  font-weight: 650;
}

.countdown{
  margin: 10px 0 14px;
  color: rgba(243,244,246,.78);
  font-size: .92rem;
}

#share{
  width: 100%;
}

/* ===== Small screens ===== */
@media (max-width: 380px){
  .header-inner{ grid-template-columns: 36px 1fr 36px; }
  .brand-mark{ width: 36px; height: 36px; border-radius: 11px; }
  #question{ font-size: 1.0rem; }
  button{ font-size: .92rem; padding: 13px 10px; }
}

/* ===== Larger screens ===== */
@media (min-width: 760px){
  #app{ margin-top: 26px; }
  #game, #end{ padding: 22px 20px; }
  #question{ font-size: 1.15rem; }
}


/* ===== Face of the Franchise (Quote + Photo) ===== */

.franchise-wrap{
  margin: 22px auto 0;
  padding-top: 14px;
  max-width: 720px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
}

.franchise-quote{
  max-width: 560px;
  margin: 0 auto 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}

.quote-text{
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  color: rgba(243,244,246,.92);
}

.quote-sig{
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(243,244,246,.85);
}

#franchise-img{
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
