/* ============================================================
   bingebang.click — shared stylesheet
   Palette mirrors bingebang.club: deep space purple + pink/violet gradients
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0a0612;
  --bg2:         #110c1e;
  --bg3:         #18102a;
  --surface:     #1e1530;
  --surface2:    #261c3a;
  --border:      rgba(180,130,255,.12);
  --border2:     rgba(180,130,255,.22);

  --pink:        #e040a0;
  --violet:      #7c3aed;
  --violet-mid:  #9d5aff;
  --violet-light:#b87fff;
  --pink-light:  #f472c8;

  --grad-main:   linear-gradient(135deg, #7c3aed 0%, #e040a0 100%);
  --grad-subtle: linear-gradient(135deg, rgba(124,58,237,.15) 0%, rgba(224,64,160,.10) 100%);
  --grad-glow:   radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124,58,237,.35) 0%, transparent 70%);

  --text:        #f0ebff;
  --text-muted:  #9585b8;
  --text-faint:  #5c4d7a;

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;

  --shadow:      0 4px 24px rgba(0,0,0,.45);
  --shadow-glow: 0 0 32px rgba(124,58,237,.25);

  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }

/* ── Typography ── */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: .5rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .4rem; }
p  { max-width: 68ch; }
a  { color: var(--violet-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pink-light); }
strong { font-weight: 600; color: var(--text); }
code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: .88em;
  background: var(--surface);
  color: var(--violet-light);
  padding: .15em .45em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .35rem; }
li::marker { color: var(--violet-mid); }

/* ── Site glow backdrop ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--grad-glow);
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,6,18,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo span {
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.nav-links li { margin: 0; }
.nav-links a {
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-cta {
  background: var(--grad-main);
  color: #fff !important;
  padding: 7px 16px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { opacity: .9; background: var(--grad-main) !important; }
@media (max-width: 640px) {
  .nav-links .hide-mobile { display: none; }
  .nav-logo span { display: none; }
}

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  padding: 72px 24px 60px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--violet-light);
  background: rgba(124,58,237,.14);
  border: 1px solid rgba(124,58,237,.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 .grad {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: none;
  text-decoration: none;
}
.btn:hover { opacity: .88; transform: translateY(-1px); color: inherit; }
.btn-primary { background: var(--grad-main); color: #fff; box-shadow: var(--shadow-glow); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border2);
}
.btn-secondary:hover { border-color: var(--violet-mid); color: var(--text); }

/* ── MAIN CONTENT WRAPPER ── */
main {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ── ARTICLE LAYOUT ── */
.article-header {
  padding: 56px 24px 32px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tag {
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  color: var(--violet-light);
  background: rgba(124,58,237,.1);
}
.article-date {
  font-size: .78rem;
  color: var(--text-faint);
}
.article-header h1 { margin-bottom: 16px; }
.article-header .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* ── PROSE SECTIONS ── */
.prose section { margin-bottom: 44px; }
.prose h2 {
  font-size: 1.35rem;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
  margin-top: 8px;
}
.prose h3 {
  font-size: 1.05rem;
  color: var(--violet-light);
  margin: 20px 0 8px;
}
.prose p { margin-bottom: 14px; color: #ccc0e8; }
.prose ul, .prose ol { margin-bottom: 14px; }
.prose ul li, .prose ol li { color: #ccc0e8; }
.prose strong { color: var(--text); }

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.card-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  line-height: 1;
}
.card h3 { margin-bottom: 8px; font-size: 1rem; }
.card p  { font-size: .9rem; margin-bottom: 0; }

/* ── STATUS BADGE ── */
.status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  font-size: .92rem;
}
.status-row .domain { font-weight: 600; flex: 1; }
.badge {
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.badge-green { background: rgba(34,197,94,.15); color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.badge-red   { background: rgba(239,68,68,.12);  color: #f87171; border: 1px solid rgba(239,68,68,.2); }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green { background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: pulse-green 2s infinite; }
.dot-red   { background: #f87171; }
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* ── TABLE ── */
.table-wrap { overflow-x: auto; margin-bottom: 24px; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
thead tr { background: var(--surface2); }
th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: .8rem;
  color: var(--text-muted);
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  color: #ccc0e8;
  vertical-align: top;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(180,130,255,.04); }
td:first-child { font-weight: 600; color: var(--text); }
.check-yes { color: #4ade80; }
.check-no  { color: #f87171; }

/* ── STEPS ── */
.steps { list-style: none; padding: 0; counter-reset: steps; }
.steps li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.steps li::before {
  content: counter(steps);
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── CALLOUT ── */
.callout {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin: 20px 0;
  font-size: .92rem;
}
.callout-info    { background: rgba(124,58,237,.12); border-left: 3px solid var(--violet); }
.callout-warning { background: rgba(234,179,8,.08);  border-left: 3px solid #eab308; }
.callout-success { background: rgba(34,197,94,.08);  border-left: 3px solid #22c55e; }
.callout-icon    { font-size: 1.2rem; line-height: 1; flex-shrink: 0; margin-top: 1px; }
.callout p       { margin: 0; }

/* ── METHODS (fix cards) ── */
.method-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 14px;
}
.method-card h3 {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.method-num {
  width: 24px; height: 24px;
  background: var(--grad-main);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* ── MOVIE GRID ── */
.movie-list { list-style: none; padding: 0; }
.movie-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.movie-list li:last-child { border-bottom: none; }
.movie-list li::marker { content: none; }
.movie-bullet {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-main);
  flex-shrink: 0;
  margin-top: 8px;
}
.movie-title { font-weight: 600; color: var(--text); }
.movie-desc  { font-size: .88rem; color: var(--text-muted); margin-top: 2px; }

/* ── COMPARISON WINNER ── */
.winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  background: var(--grad-main);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ── CTA BLOCK ── */
.cta-block {
  background: var(--grad-subtle);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  margin: 48px 0 0;
}
.cta-block h2 { margin-bottom: 10px; font-size: 1.4rem; }
.cta-block p  { color: var(--text-muted); margin: 0 auto 24px; }
.cta-block .btn-group { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-faint);
  padding: 14px 24px 0;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--violet-light); }
.breadcrumb-sep { opacity: .4; }

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 28px; width: auto; opacity: .7; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.footer-links li { margin: 0; }
.footer-links a { font-size: .84rem; color: var(--text-faint); padding: 4px 10px; border-radius: var(--radius-sm); }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { font-size: .78rem; color: var(--text-faint); }

/* ── HOME GRID ── */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin: 40px 0;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.home-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s, transform .2s;
  text-decoration: none;
  display: block;
  color: var(--text);
}
.home-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  color: var(--text);
}
.home-card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.home-card h3  { margin-bottom: 6px; font-size: 1.05rem; }
.home-card p   { font-size: .88rem; color: var(--text-muted); margin: 0; }
.home-card-arrow {
  display: block;
  margin-top: 16px;
  font-size: .82rem;
  color: var(--violet-light);
  font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero { padding: 48px 20px 40px; }
  .article-header { padding: 36px 20px 24px; }
  main { padding: 0 20px 60px; }
  .cta-block { padding: 28px 20px; }
  h1 { font-size: 1.65rem; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
