/* ══════════════════════════════════════════════════════════
   OP Visions — Complete Production CSS
   Dark Gamer / SaaS Theme
═══════════════════════════════════════════════════════════ */

/* ── Custom Thick Glowing Scrollbar (2x Thickness) ───────────────────── */
::-webkit-scrollbar {
  width: 20px;
  height: 20px;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2300f2fe" stroke="%23000000" stroke-width="1.5"><path d="M3 3l7 18 3-7 7-3L3 3z"/></svg>'), auto !important;
}
::-webkit-scrollbar-track {
  background: #080b11;
  border-left: 1.5px solid rgba(0, 242, 254, 0.15);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2300f2fe" stroke="%23000000" stroke-width="1.5"><path d="M3 3l7 18 3-7 7-3L3 3z"/></svg>'), auto !important;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00f2fe, #7b61ff);
  border-radius: 10px;
  border: 4px solid #080b11;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.75);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2300f2fe" stroke="%23000000" stroke-width="1.5"><path d="M3 3l7 18 3-7 7-3L3 3z"/></svg>'), pointer !important;
}
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #38ef7d, #00f2fe);
  box-shadow: 0 0 24px rgba(0, 242, 254, 1);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2300f2fe" stroke="%23000000" stroke-width="1.5"><path d="M3 3l7 18 3-7 7-3L3 3z"/></svg>'), pointer !important;
}

/* Firefox scrollbar support */
* {
  scrollbar-width: auto;
  scrollbar-color: #00f2fe #080b11;
}

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

:root {
  --bg:          #0b0e14;
  --surface:     #161b22;
  --surface2:    #1c2333;
  --surface3:    #222d3f;
  --border:      rgba(255,255,255,0.07);
  --cyan:        #00f2fe;
  --cyan-dim:    rgba(0,242,254,0.15);
  --purple:      #a855f7;
  --purple-dim:  rgba(168,85,247,0.15);
  --pink:        #ec4899;
  --orange:      #f97316;
  --green:       #22c55e;
  --gold:        #f59e0b;
  --red:         #ef4444;
  --text:        #e2e8f0;
  --text-bright: #f8fafc;
  --text-muted:  #64748b;
  --text-faint:  #334155;
  --font:        'Inter', system-ui, sans-serif;
  --font-display:'Chakra Petch', 'Inter', system-ui, sans-serif;
  --mono:        'JetBrains Mono', monospace;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 8px 32px rgba(0,0,0,0.5);
  --shadow-cyan: 0 0 30px rgba(0,242,254,0.2);
  --transition:  0.25s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridScroll 24s linear infinite;
}

@keyframes gridScroll {
  from { background-position: 0 0; }
  to   { background-position: 48px 48px; }
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font); }

/* All Headings & Key Titles use Gamer / Cyberpunk Chakra Petch Font */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-header h2,
.upload-title,
.report-card-title,
.quest-hud-title,
.modal-header h2,
.nav-link,
.btn-pro {
  font-family: var(--font-display);
}

/* Neuromarketing Price Size Reduction (Reduces friction & cost perception) */
.opv-amount {
  font-size: 2.1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
}
.opv-card--featured .opv-amount {
  font-size: 2.3rem !important;
}

/* ============================================================
   OP VISIONS — Pricing & Design Component Styles (Grid Fix)
   ============================================================ */
.opv-pricing, .opv-design {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 20px 22px;
  position: relative;
  z-index: 1;
}

.opv-head { text-align: center; max-width: 620px; margin: 0 auto 16px; }

.opv-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,242,254,.07);
  border: 1px solid rgba(0,242,254,.22);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 8px;
}
.opv-eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: opv-pulse 2.4s ease-in-out infinite;
}
@keyframes opv-pulse { 0%,100%{opacity:1} 50%{opacity:.28} }

.opv-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 6px;
}
.opv-title em {
  font-style: normal;
  background: linear-gradient(100deg,var(--cyan),var(--purple) 62%,var(--gold));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.opv-sub { font-size: 0.78rem; line-height: 1.45; color: var(--text-muted); margin: 0; }

.opv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.opv-pricing .opv-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
}

.opv-billing-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px;
  margin: 18px auto 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.opv-toggle-btn {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: #94a3b8;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 7px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.opv-toggle-btn:hover {
  color: #ffffff;
}
.opv-toggle-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(0, 242, 254, 0.08));
  color: #00f2fe;
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}
.opv-save-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 7px;
  border-radius: 999px;
}

@media (max-width: 960px) {
  .opv-pricing .opv-grid { grid-template-columns: 1fr; max-width: 460px; }
  .opv-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   OP VISIONS — Pricing Table Component (User Clean Specs)
   ============================================================ */
.opv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 28px 24px 26px;
  min-height: 520px;
  box-sizing: border-box;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), border-color .3s, box-shadow .3s;
}
.opv-card::before {
  content: '';
  position: absolute; inset: 0 0 auto; height: 1px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, transparent, var(--accent, #64748b), transparent);
  opacity: .7;
}
.opv-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 20px 48px -20px rgba(0,0,0,.9);
}

.opv-card--starter {  --accent: #94a3b8; }
.opv-card--elite {    --accent: var(--cyan); }
.opv-card--annual {   --accent: var(--purple); }
.opv-card--lifetime { --accent: var(--gold); }

/* Featured treatment */
.opv-card--featured {
  border-color: rgba(0,242,254,.42);
  background: linear-gradient(180deg, rgba(0,242,254,.09), rgba(255,255,255,.035) 42%);
  box-shadow: 0 0 0 1px rgba(0,242,254,.12), 0 24px 60px -24px rgba(0,242,254,.5);
  transform: translateY(-8px);
  z-index: 2;
  overflow: hidden;
}
.opv-card--featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 0 1px rgba(0,242,254,.2), 0 28px 70px -24px rgba(0,242,254,.65);
}
.opv-scan {
  position: absolute; left: 0; right: 0; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(0,242,254,.11) 46%, rgba(0,242,254,.5) 50%, rgba(0,242,254,.11) 54%, transparent);
  pointer-events: none;
  animation: opv-scan 5.5s linear infinite;
}
@keyframes opv-scan {
  0% { transform: translateY(-90px); opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { transform: translateY(550px); opacity: 0; }
}

.opv-badge {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 8.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  margin-bottom: 14px;
  white-space: nowrap;
}
.opv-card--featured .opv-badge {
  box-shadow: 0 0 14px -4px rgba(0,242,254,.7);
}

.opv-tier {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; letter-spacing: .005em;
  margin: 0 0 6px;
}
.opv-for {
  font-size: .8rem; line-height: 1.45; color: #94a3b8;
  margin: 0 0 16px; min-height: 2.8em;
}

.opv-price {
  display: flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  margin-bottom: 4px !important;
}
.opv-strike {
  display: block;
  font-family: var(--font-mono); font-size: .78rem;
  color: #64748b; text-decoration: line-through;
  margin-bottom: 2px;
}
.opv-amount {
  font-family: var(--font-display);
  font-size: 2.3rem; font-weight: 700; line-height: 1;
  letter-spacing: -.02em;
}
.opv-card--featured .opv-amount {
  color: #fff;
  text-shadow: 0 0 20px rgba(0,242,254,.5);
}
.opv-cycle {
  font-family: var(--font-body);
  font-size: .82rem; font-weight: 500; color: #94a3b8;
  margin-left: 2px;
}
.opv-note {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .02em;
  color: var(--accent);
  margin: 0 0 18px; min-height: 1.2em;
}

.opv-cta {
  display: block; width: 100%;
  font-family: var(--font-display);
  font-size: .88rem; font-weight: 700; letter-spacing: .01em;
  text-align: center; text-decoration: none;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  cursor: pointer;
  transition: background .22s, color .22s, box-shadow .22s, transform .12s;
  box-sizing: border-box;
}
.opv-cta:hover {
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  box-shadow: 0 0 18px -6px var(--accent);
}
.opv-cta--solid {
  background: linear-gradient(100deg, var(--cyan), #3ba9ff);
  color: #ffffff !important;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  border-color: transparent;
  box-shadow: 0 8px 22px -10px rgba(0, 242, 254, 0.9);
}
.opv-cta--solid:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -8px rgba(0, 242, 254, 1);
}

.opv-divider {
  display: flex; align-items: center; gap: 8px;
  margin: 20px 0 14px;
  font-family: var(--font-mono);
  font-size: 8.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #64748b;
}
.opv-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.09), transparent);
}

.opv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.opv-list li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: .8rem; line-height: 1.4; color: #cbd5e1;
}
.opv-check {
  flex: none; width: 14px; height: 14px; margin-top: 2px;
  color: var(--accent);
}

/* ============================================================
   OP VISIONS — Design Packages Component (Exact Match CSS)
   ============================================================ */
.opv-design {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px 30px;
  position: relative;
  z-index: 1;
}

.opv-design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .opv-design-grid {
    grid-template-columns: 1fr !important;
    max-width: 480px !important;
  }
}

.opv-pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 28px 24px 26px;
  min-height: 560px;
  box-sizing: border-box;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), border-color .3s, box-shadow .3s;
}
.opv-pkg::before {
  content: '';
  position: absolute; inset: 0 0 auto; height: 1px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg,transparent,var(--accent, #10b981),transparent);
  opacity: .75;
}
.opv-pkg:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.9);
}

.opv-pkg--starter   { --accent: #10b981; }
.opv-pkg--discovery { --accent: #00f2fe; }
.opv-pkg--elite     { --accent: #f59e0b; }

.opv-pkg--featured {
  border-color: rgba(0,242,254,.42);
  background: linear-gradient(180deg, rgba(0,242,254,.09), rgba(255,255,255,.035) 42%);
  box-shadow: 0 0 0 1px rgba(0,242,254,.12), 0 26px 65px -28px rgba(0,242,254,.5);
  transform: translateY(-10px);
  z-index: 2;
}

.opv-name {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
  letter-spacing: .01em; margin: 0 0 8px;
}
.opv-name .chip {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent); flex: none;
}

.opv-voice {
  font-size: .82rem; line-height: 1.5; color: #94a3b8;
  font-style: italic; margin: 0 0 18px;
  padding-left: 12px;
  border-left: 2px solid color-mix(in srgb, var(--accent) 38%, transparent);
  min-height: 3.6em;
}

.opv-turnaround { margin-top: auto; padding: 14px 0 16px; border-top: 1px solid rgba(255,255,255,.09); }
.opv-turn-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.opv-turn-label {
  font-family: var(--mono); font-size: 8.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #64748b;
}
.opv-turn-value {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--accent); letter-spacing: .01em;
}
.opv-turn-value small {
  font-family: var(--font); font-size: .72rem; font-weight: 500;
  color: #64748b; margin-left: 4px; letter-spacing: 0;
}
.opv-turn-track { height: 5px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.opv-turn-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 45%, transparent), var(--accent));
  box-shadow: 0 0 10px -2px var(--accent);
}

.opv-price {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
  flex-wrap: wrap !important;
}
.opv-from {
  font-family: var(--mono); font-size: 8.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #64748b;
  display: block; margin-bottom: 3px;
}
.opv-limited {
  font-family: var(--mono); font-size: 8.5px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #10b981;
  background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.34);
  border-radius: 999px; padding: 2px 8px;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Trust footer bar under design packages */
.opv-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 22px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: #94a3b8;
}
.opv-foot span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.opv-foot svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
.opv-foot .sep {
  color: rgba(255,255,255,0.28);
  font-size: 0.95rem;
}

/* ============================================================
   OP VISIONS — Trend Radar Component Styles (Exact Match)
   ============================================================ */
.opv-radar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 24px 38px;
  position: relative;
  z-index: 1;
}

.opv-radar-grid {
  display: grid !important;
  grid-template-columns: 1.85fr 1fr !important;
  gap: 18px !important;
  align-items: start !important;
}

.opv-live-dot {
  display: block; width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
  animation: opv-pulse 2.4s ease-in-out infinite;
}

.opv-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.09); border-radius: 15px;
  padding: 20px 18px;
}

.opv-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  padding-bottom: 12px; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.opv-panel-title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: .01em; margin: 0;
}
.opv-panel-note {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #64748b;
}

.opv-scale {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0 16px;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #64748b;
}
.opv-scale-bar {
  display: block; flex: 1; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #3b82f6 0%, #00f2fe 28%, #10b981 50%, #f59e0b 76%, #fb7185 100%);
}

.opv-factors { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.factor, .opv-factor {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "rank name  value"
    "rank track track"
    "rank desc  desc";
  column-gap: 12px; row-gap: 6px;
  padding: 12px 14px;
  background: rgba(255,255,255,.022);
  border: 1px solid rgba(255,255,255,.09);
  border-left: 2.5px solid #00f2fe;
  border-radius: 10px;
  transition: border-color .25s, background .25s, transform .25s;
}
.factor:hover, .opv-factor:hover {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.045);
  transform: translateX(3px);
}

.opv-rank {
  grid-area: rank; align-self: start;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .06em; color: #64748b;
  padding-top: 3px; min-width: 18px;
}

.opv-fname {
  grid-area: name; display: flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 600;
  letter-spacing: .005em;
}
.opv-fname .ico { font-size: .88rem; line-height: 1; }

.share, .opv-value {
  grid-area: value; align-self: center;
  font-family: "JetBrains Mono", var(--mono), monospace;
  font-variant-numeric: tabular-nums;
  color: #00f2fe; font-weight: 700;
  font-size: 0.98rem;
}

.bar, .opv-track {
  grid-area: track; display: block; width: 100%;
  height: 6px; border-radius: 3px;
  background: rgba(148,163,184,.12); overflow: hidden;
}
.bar > span, .opv-fill {
  display: block; height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #3b82f6, #00f2fe);
  background-size: 100% 100%;
  box-shadow: 0 0 12px rgba(0,242,254,.35);
  transform-origin: left center;
  transform: scaleX(0);
  animation: opv-grow .95s cubic-bezier(.2,.8,.3,1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes opv-grow { to { transform: scaleX(1); } }

.opv-desc {
  grid-area: desc; margin: 0;
  font-size: .78rem; line-height: 1.4; color: #94a3b8;
}

/* Discord side panel */
.opv-side {
  border-color: rgba(88,101,242,.3);
  background: linear-gradient(180deg, rgba(88,101,242,.10), rgba(255,255,255,.03) 46%);
  box-shadow: 0 0 0 1px rgba(88,101,242,.1), 0 26px 60px -34px rgba(88,101,242,.6);
  display: flex; flex-direction: column; gap: 14px;
  text-align: left !important;
}

.opv-server { display: flex; align-items: center; gap: 12px; text-align: left !important; }
.opv-server-mark {
  width: 44px; height: 44px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: #0b1020;
  background: linear-gradient(140deg,#f59e0b,#fcd34d);
  box-shadow: 0 0 20px -6px #f59e0b;
  overflow: hidden;
}
.opv-server-name {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 0 0 3px; text-align: left !important;
}
.opv-server-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: #10b981; font-weight: 500; text-align: left !important;
}
.opv-server-meta .total { color: #64748b; }
.opv-server-meta .opv-live-dot { background: #10b981; box-shadow: 0 0 8px #10b981; }

.opv-side-copy { font-size: .82rem; line-height: 1.5; color: #94a3b8; margin: 0; text-align: left !important; }

.opv-bot {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px; padding: 12px 14px;
  text-align: left !important;
}
.opv-bot-title {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--cyan);
  margin: 0 0 10px; text-align: left !important;
}
.opv-bot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; text-align: left !important; }
.opv-bot-list li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: .8rem; line-height: 1.4; color: #cbd5e1; text-align: left !important;
}
.opv-bot-list svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--cyan); }
.opv-cmd {
  font-family: var(--mono); font-size: .74rem; font-weight: 700;
  color: var(--cyan); background: rgba(0,242,254,.1);
  border: 1px solid rgba(0,242,254,.24);
  border-radius: 5px; padding: 1px 5px; white-space: nowrap;
}
.opv-bot-list strong { color: #10b981; font-weight: 600; }

.opv-flow { border-top: 1px solid rgba(255,255,255,.09); padding-top: 12px; text-align: left !important; }
.opv-flow-label {
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #64748b;
  margin: 0 0 10px; text-align: left !important;
}
.opv-flow-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left !important; }
.opv-flow-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; text-align: left !important;
}
.opv-step {
  width: 20px; height: 20px; border-radius: 6px; flex: none;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 9.5px; font-weight: 700;
  color: var(--cyan);
  background: rgba(0,242,254,.1);
  border: 1px solid rgba(0,242,254,.26);
}
.opv-flow-text { font-size: .78rem; line-height: 1.45; color: #94a3b8; text-align: left !important; }
.opv-flow-text b { display: block; color: #f1f5f9; font-weight: 600; margin-bottom: 2px; font-size: .82rem; text-align: left !important; }

.opv-actions {
  margin-top: 12px;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}
.opv-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: var(--font-display) !important;
  font-size: .86rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  padding: 10px 14px !important;
  border-radius: 9px !important;
  cursor: pointer !important;
  border: 1px solid transparent !important;
  transition: all .2s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.opv-btn svg { width: 15px; height: 15px; flex: none; }
.opv-btn:active { transform: translateY(1px); }

.opv-btn--discord {
  background: linear-gradient(100deg,#5865f2,#7c8cff) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px -8px rgba(88,101,242,.9) !important;
}
.opv-btn--discord:hover {
  filter: brightness(1.1) !important;
  box-shadow: 0 12px 30px -6px rgba(88,101,242,1) !important;
}

/* ============================================================
   NEUROMARKETING HERO 3-COLUMN LAYOUT & SPANNING ARROW
   ============================================================ */
.hero--3col {
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  align-items: center;
  gap: 0 1.8rem;
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  padding-top: 6.8rem;
  padding-bottom: 1.35rem;
}

.hba-arrow-banner {
  position: absolute;
  top: 2.3rem;
  left: 30px;
  right: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 50;
}
.hba-arrow-line {
  flex: 1;
  height: 4px;
  background: linear-gradient(90deg, #ef4444 0%, #00f2fe 50%, #10b981 100%);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.7);
}
.hba-arrow-pulse {
  position: absolute;
  top: 0; left: -60%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  animation: hba-sweep 2.8s linear infinite;
}
@keyframes hba-sweep { to { left: 160%; } }

.hba-arrow-head {
  font-size: 1.4rem;
  color: #10b981;
  text-shadow: 0 0 20px #10b981, 0 0 35px #10b981;
  display: flex;
  align-items: center;
  line-height: 1;
  margin-left: 8px;
  z-index: 52;
  animation: hba-blink 2.2s ease-in-out infinite;
}
.hba-arrow-head .fa-chevron-right:first-child { opacity: 0.6; margin-right: -6px; }
@keyframes hba-blink { 0%,100%{opacity:1; transform: translateX(0);} 50%{opacity:0.75; transform: translateX(3px);} }

/* ============================================================
   CASE STUDY TIMELINE & VERTICAL SPANNING ARROW
   ============================================================ */
.cs-proof {
  position: relative;
  max-width: 1180px;
  width: 100%;
  margin: 2.5rem auto;
  padding: 0 85px 0 1rem;
  text-align: left;
}
.cs-timeline {
  position: relative;
  display: grid;
  gap: 24px;
}
.cs-vertical-arrow {
  position: absolute;
  right: -65px;
  top: 0px;
  bottom: -5px;
  width: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 50;
}
.cs-v-arrow-line {
  flex: 1;
  width: 5px;
  background: linear-gradient(180deg, #ef4444 0%, #00f2fe 50%, #10b981 100%);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 22px rgba(0, 242, 254, 0.8);
}
.cs-v-arrow-pulse {
  position: absolute;
  left: 0; top: -60%;
  width: 100%; height: 60%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  animation: cs-v-sweep 2.8s linear infinite;
}
@keyframes cs-v-sweep { to { top: 160%; } }

.cs-v-arrow-head {
  font-size: 1.85rem;
  color: #10b981;
  text-shadow: 0 0 24px #10b981, 0 0 40px #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 8px;
  z-index: 52;
  filter: drop-shadow(0 0 16px #10b981);
  animation: cs-v-blink 2.2s ease-in-out infinite;
}
@keyframes cs-v-blink { 0%,100%{opacity:1; transform: translateY(0);} 50%{opacity:0.75; transform: translateY(4px);} }

@media (max-width: 1100px) {
  .hero--3col { grid-template-columns: 190px 1fr 190px; gap: 0 1rem; max-width: 980px; }
  .cs-vertical-arrow { right: -25px; }
}
@media (max-width: 960px) {
  .hero--3col { grid-template-columns: 170px 1fr 170px; gap: 0 0.75rem; }
}
@media (max-width: 700px) {
  .hero--3col { grid-template-columns: 1fr; padding-top: 1rem; }
  .hba-arrow-banner { display: none; }
  .cs-vertical-arrow { display: none; }
}

.opv-btn--bot {
  background: rgba(0,242,254,.1) !important;
  color: var(--cyan) !important;
  border-color: rgba(0,242,254,.4) !important;
}
.opv-btn--bot:hover {
  background: rgba(0,242,254,.2) !important;
  box-shadow: 0 0 24px -6px var(--cyan) !important;
}

/* ============================================================
   NEUROMARKETING HERO 3-COLUMN LAYOUT & PROOF CARDS
   ============================================================ */
.hero {
  position: relative;
  padding: 60px 24px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-neuromarketing-container {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 28px;
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
}

.hero-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-boost-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0,242,254,0.12), rgba(168,85,247,0.12));
  border: 1px solid rgba(0,242,254,0.4);
  color: #fff;
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 800;
  margin: 1.25rem 0;
  box-shadow: 0 0 25px rgba(0,242,254,0.25);
  letter-spacing: 0.04em;
}
.hero-boost-pill .boost-highlight {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}

.hero-proof-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-proof--before {
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 10px 30px -15px rgba(239, 68, 68, 0.3);
}
.hero-proof--after {
  border: 1.5px solid rgba(0, 242, 254, 0.5);
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 35px -10px rgba(0, 242, 254, 0.4);
}

.hero-proof-badge {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.badge--before {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.badge--after {
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 12px rgba(0,242,254,0.3);
}

.hero-proof-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-proof-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-proof--before .hero-proof-img {
  filter: brightness(0.7) contrast(0.9) opacity(0.85);
}

.hero-proof-score {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 6px;
}
.score--bad {
  background: rgba(0,0,0,0.8);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.5);
}
.score--good {
  background: rgba(0,0,0,0.85);
  color: #10b981;
  border: 1px solid #10b981;
  box-shadow: 0 0 10px rgba(16,185,129,0.5);
}

.hero-proof-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-proof-ctr {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}
.ctr--low { color: #94a3b8; }
.ctr--high {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 242, 254, 0.6);
}
.hero-proof-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-legal-disclaimer {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 24px;
  opacity: 0.7;
}

@media (max-width: 1180px) {
  .hero-neuromarketing-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-proof-card {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
  .hero-proof--before { order: 2; }
  .hero-inner { order: 1; }
  .hero-proof--after { order: 3; }
}
.hidden { display: none !important; }
section[id] { scroll-margin-top: 80px; }

/* ── Scrollbar (2x Width) ───────────────────────────── */
::-webkit-scrollbar {
  width: 20px; height: 20px;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2300f2fe" stroke="%23000000" stroke-width="1.5"><path d="M3 3l7 18 3-7 7-3L3 3z"/></svg>'), auto !important;
}
::-webkit-scrollbar-track {
  background: rgba(8, 11, 17, 0.95);
  border-left: 1.5px solid rgba(0, 242, 254, 0.15);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2300f2fe" stroke="%23000000" stroke-width="1.5"><path d="M3 3l7 18 3-7 7-3L3 3z"/></svg>'), auto !important;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00f2fe, #7b61ff);
  border-radius: 10px;
  border: 4px solid #080b11;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.75);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2300f2fe" stroke="%23000000" stroke-width="1.5"><path d="M3 3l7 18 3-7 7-3L3 3z"/></svg>'), pointer !important;
}
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #38ef7d, #00f2fe);
  box-shadow: 0 0 24px rgba(0, 242, 254, 1);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2300f2fe" stroke="%23000000" stroke-width="1.5"><path d="M3 3l7 18 3-7 7-3L3 3z"/></svg>'), pointer !important;
}

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(16, 22, 34, 0.95), rgba(11, 14, 20, 0.88));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1.5px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), inset 0 -1px 0 rgba(0, 242, 254, 0.15), 0 4px 20px rgba(0, 242, 254, 0.08);
}

.nav-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  z-index: 2;
}

.logo-icon { font-size: 1.4rem; filter: drop-shadow(0 0 8px var(--cyan)); }
.logo-text  { font-size: 1.15rem; font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.logo-badge {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em;
  background: var(--cyan); color: var(--bg);
  padding: 2px 6px; border-radius: 4px;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 800;
  color: #f1f5f9;
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover {
  color: var(--cyan);
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.5);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.3);
  transform: translateY(-1px);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
  z-index: 2;
}

/* ── Nav Badges & Buttons (Universal Desktop & Mobile) ── */
.nav-credits-badge {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0, 242, 254, 0.08);
  border: 1.5px solid rgba(0, 242, 254, 0.4);
  height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #00f2fe;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.15);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-credits-badge:hover {
  background: rgba(0, 242, 254, 0.16);
  border-color: #00f2fe;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
  transform: translateY(-1px);
}

.nav-profile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-profile-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

#nav-profile {
  background: rgba(168, 85, 247, 0.12);
  border: 1.5px solid rgba(168, 85, 247, 0.45);
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.15);
}
#nav-profile:hover {
  background: rgba(168, 85, 247, 0.22);
  border-color: #a855f7;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
  transform: translateY(-1px);
}

.btn-pro {
  height: 36px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  color: #000000;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.6);
}
.btn-pro.is-pro-active {
  background: linear-gradient(135deg, rgba(245,158,11,0.22), rgba(251,191,36,0.14)) !important;
  border: 1.5px solid #fbbf24 !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 14px rgba(251,191,36,0.3) !important;
}
.pro-text-mobile { display: none; }
.pro-text-desktop { display: inline; }

.live-activity-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  max-width: 280px;
  overflow: hidden;
  white-space: nowrap;
}

.live-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: livePulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.level-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  cursor: pointer;
  transition: var(--transition);
}
.level-pill:hover { border-color: var(--gold); box-shadow: 0 0 16px rgba(245,158,11,0.2); }

.xp-track {
  width: 52px; height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #00f2fe);
  border-radius: 3px;
  box-shadow: 0 0 8px var(--cyan);
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

.btn-pro {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-pro:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(168,85,247,0.5);
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  margin-top: 68px;
  position: relative;
  overflow: visible;
  padding: 4.8rem 1.5rem 1.5rem;
  text-align: center;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,242,254,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 1.1rem 1.6rem 1.2rem;
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.75), rgba(11, 14, 20, 0.85));
  border: 1.5px solid rgba(0, 242, 254, 0.25);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 242, 254, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: livePulse 1.5s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}
.hero-subtitle strong { color: var(--cyan); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 1rem;
}
/* Three-up hero stats. The class above is flex, which sizes each column to its
   own text — with labels of very different lengths the columns end up uneven.
   Grid gives them equal width so the numbers sit on a symmetric rhythm. */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: flex-start;
  justify-items: center;
  gap: 1.5rem;
  width: 100%;
}
.hero-stats-grid .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
}
.hero-stats-grid .stat-n {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--cyan);
  font-family: var(--mono);
  line-height: 1.25;
  margin-bottom: 4px;
}
.hero-stats-grid .stat-l {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
  margin: 0 auto;
  text-align: center;
  max-width: 22ch;
}

/* ══════════════════════════════════════════════════════
   APP LAYOUT
══════════════════════════════════════════════════════ */
.app-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.25rem 1.5rem 1.5rem;
  display: block;
}

/* ══════════════════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════════════════ */
.sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}
.sidebar-header i { color: var(--cyan); }

.badge-live {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(239,68,68,0.15);
  color: var(--red);
  border: 1px solid rgba(239,68,68,0.3);
  padding: 2px 7px;
  border-radius: 10px;
  animation: fadeBadge 2s ease-in-out infinite;
}
@keyframes fadeBadge {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.trend-item { display: flex; flex-direction: column; gap: 0.3rem; }
.trend-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trend-pct { font-family: var(--mono); font-weight: 700; color: var(--text); }
.trend-bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.trend-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
}
.trend-fill.cyan   { background: linear-gradient(90deg, var(--cyan), #0ea5e9); box-shadow: 0 0 8px var(--cyan); }
.trend-fill.purple { background: linear-gradient(90deg, var(--purple), #7c3aed); box-shadow: 0 0 8px var(--purple); }
.trend-fill.orange { background: linear-gradient(90deg, var(--orange), #fbbf24); box-shadow: 0 0 8px var(--orange); }
.trend-fill.green  { background: linear-gradient(90deg, var(--green), #a3e635); box-shadow: 0 0 8px var(--green); }
.trend-fill.pink   { background: linear-gradient(90deg, var(--pink), #f43f5e); box-shadow: 0 0 8px var(--pink); }

.trend-insight {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  line-height: 1.5;
}
.trend-insight i { color: var(--gold); flex-shrink: 0; margin-top: 1px; }

.credits-box {
  background: linear-gradient(135deg, var(--surface2), var(--surface3));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.credits-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.credits-top i { color: var(--gold); }
.credits-count {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--cyan);
  text-shadow: var(--shadow-cyan);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.credits-hint {
  font-size: 0.72rem;
  color: var(--text-faint);
}

/* ══════════════════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════════════════ */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Upload Zone ────────────────────────────────────── */
.upload-zone {
  background: var(--surface);
  border: 2px dashed rgba(0,242,254,0.3);
  border-radius: var(--radius-lg);
  padding: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(0,242,254,0.12), 0 0 70px rgba(0,242,254,0.06);
  animation: dropzone-breathe 3s ease-in-out infinite;
}
@keyframes dropzone-breathe {
  0%, 100% { 
    box-shadow: 0 0 30px rgba(0,242,254,0.12), 0 0 60px rgba(0,242,254,0.05); 
    border-color: rgba(0,242,254,0.35); 
  }
  50% { 
    box-shadow: 0 0 50px rgba(0,242,254,0.28), 0 0 100px rgba(0,242,254,0.12); 
    border-color: rgba(0,242,254,0.8); 
  }
}

/* Travelling Laser Path Stream Animation */
.upload-zone::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(90deg, transparent 0%, #00f2fe 50%, #a855f7 75%, transparent 100%);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: pathLaser 2.8s linear infinite;
  pointer-events: none;
  z-index: 2;
  opacity: 0.85;
}
@keyframes pathLaser {
  0%   { background-position: 0% 0%; }
  25%  { background-position: 100% 0%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}
.upload-zone:hover::before {
  opacity: 1;
  filter: drop-shadow(0 0 10px #00f2fe);
}


.upload-inner {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-radius: calc(var(--radius-lg) - 4px);
  padding: 3.25rem 2rem 3rem;
  transition: var(--transition);
}
.upload-zone:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-cyan);
}
.upload-zone.drag-over {
  border-color: transparent;
  transform: scale(1.06);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.4);
}
.upload-zone.drag-over::before {
  opacity: 1;
}
.upload-zone.drag-over .upload-inner {
  background: rgba(9, 9, 11, 0.95);
}

.upload-icon {
  font-size: 2.8rem;
  color: var(--cyan);
  margin-bottom: 0.65rem;
  filter: drop-shadow(0 0 16px var(--cyan));
  animation: floatIcon 3s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.upload-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
}
.upload-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.btn-upload {
  background: linear-gradient(135deg, var(--cyan), #0ea5e9);
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.btn-upload:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,242,254,0.4);
}

/* ── Loading Panel ──────────────────────────────────── */
.loading-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loading-spinner {
  width: 56px; height: 56px;
  border: 3px solid var(--surface3);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scanAnim {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.loading-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.loading-step {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--cyan);
  min-height: 1.2em;
}
.loading-steps-bar {
  width: 80%;
  max-width: 400px;
  height: 4px;
  background: var(--surface3);
  border-radius: 2px;
  overflow: hidden;
}
.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
  width: 0%;
  transition: width 0.5s ease;
  box-shadow: 0 0 8px var(--cyan);
}

/* ── Preview Container ──────────────────────────────── */
.preview-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow);
}
.preview-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}
.heatmap-overlay { opacity: 0; }
.heatmap-overlay.visible { opacity: 1; }

.preview-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 5;
  transition: var(--transition);
}
.preview-badge i { color: var(--cyan); }

/* ── Controls Bar ───────────────────────────────────── */
.controls-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Toggle Switch */
.toggle-switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  user-select: none;
  flex: 1;
  min-width: 220px;
}
.toggle-switch input { display: none; }

.toggle-slider {
  width: 52px;
  height: 28px;
  background: var(--surface3);
  border-radius: 14px;
  position: relative;
  transition: background 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
}
.toggle-slider::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  top: 2.5px; left: 3px;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, #00f2fe, #0ea5e9);
  border-color: #00f2fe;
  box-shadow: 0 0 16px rgba(0,242,254,0.65);
}
.toggle-switch input:checked + .toggle-slider::after {
  transform: translateX(24px);
  background: #0f172a;
}
.toggle-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.toggle-label i { color: var(--orange); }

.btn-secondary {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-dim);
}

.btn-autofix {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-autofix::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}
.btn-autofix:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.4);
}
.btn-autofix.applied {
  background: linear-gradient(135deg, var(--green), #16a34a);
}

/* ── IARC Policy Scanner ────────────────────────────── */
.iarc-policy-card {
  margin-top: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--mono);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.iarc-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem 1rem;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.iarc-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.iarc-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.iarc-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.iarc-warning { color: var(--orange); font-weight: 700; }
.iarc-risk { color: var(--text-faint); font-size: 0.85rem; }
.iarc-rating {
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85rem;
}
.iarc-violations {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.iarc-violation-item {
  background: rgba(0,0,0,0.2);
  padding: 0.8rem;
  border-left: 3px solid var(--orange);
  border-radius: 4px;
}
.violation-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.violation-fix {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 1.2rem;
}
.btn-iarc-autofix {
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 0.8rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--mono);
}
.btn-iarc-autofix:hover {
  background: rgba(0, 242, 254, 0.2);
  box-shadow: 0 0 15px rgba(0,242,254,0.3);
}

/* ── Promise & Clarity Scanner ──────────────────────── */
.promise-policy-card {
  margin-top: 1rem;
  background: rgba(20, 20, 30, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.promise-header {
  background: rgba(245, 158, 11, 0.1);
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}
.promise-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
}
.promise-badge {
  color: var(--green);
  font-size: 0.85rem;
  margin-left: 6px;
}
.promise-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.promise-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}
.promise-list li {
  background: rgba(255,255,255,0.03);
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 2px solid var(--border);
}
.promise-ai-analysis {
  background: rgba(0,0,0,0.3);
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
}
.promise-tip {
  background: rgba(245, 158, 11, 0.05);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}

/* ── Report Grid ────────────────────────────────────── */
.report-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: var(--transition);
}
.report-card:hover {
  border-color: rgba(0,242,254,0.3);
  box-shadow: 0 8px 32px rgba(0,242,254,0.08);
  transform: translateY(-3px);
}

.report-card-title {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.report-card-title i { color: var(--cyan); }

/* Score Ring */
.score-ring-container {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  overflow: visible;
}
.score-ring { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.score-ring-bg {
  fill: none;
  stroke: var(--surface3);
  stroke-width: 10;
}
.score-ring-fill {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 10;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--cyan));
  transition: stroke 0.5s ease;
}
.score-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-num {
  font-size: 5.4rem;
  font-weight: 900;
  font-family: var(--font);
  color: var(--cyan);
  line-height: 1;
}
.score-label {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 75px;
  line-height: 1.1;
  margin-top: 4px;
}

/* Feedback List */
.feedback-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.feedback-list li {
  background: var(--surface2);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  transition: var(--transition);
}
.feedback-list li:hover {
  background: var(--surface3);
  transform: translateX(3px);
}
.feedback-list li.strength { border-left-color: var(--green); }
.feedback-list li.improvement { border-left-color: var(--orange); }
.feedback-list li .fb-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.feedback-list li.strength .fb-tag { color: var(--green); }
.feedback-list li.improvement .fb-tag { color: var(--orange); }

.btn-fix-item {
  background: linear-gradient(135deg, var(--green), #0ea5e9);
  border: none;
  color: var(--bg);
  border-radius: 5px;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}
.btn-fix-item:hover { transform: scale(1.05); }
.btn-fix-item:disabled { opacity: 0.5; cursor: default; }

.btn-new-scan, .btn-new-scan-hero {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(123, 97, 255, 0.15));
  border: 1px solid var(--cyan);
  color: #fff;
  border-radius: 12px;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}
.btn-new-scan:hover, .btn-new-scan-hero:hover {
  background: linear-gradient(135deg, var(--cyan), #7b61ff);
  color: #000;
  border-color: transparent;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.4);
}

/* ══════════════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.section-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.section-header h2 i { color: var(--cyan); }
.section-header .badge-live { margin-left: 0; }
.section-header p {
  color: var(--text-muted);
  font-size: 0.925rem;
}

/* ══════════════════════════════════════════════════════
   FORTNITE LOBBY & THUMBNAIL TESTER (SCREENSHOT MATCH)
══════════════════════════════════════════════════════ */
.discovery-preview-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.tester-header {
  text-align: center;
  margin-bottom: 2rem;
}
.tester-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}
.tester-header h2 .t-cyan {
  color: #00f2fe;
}
.tester-header h2 .t-pink {
  color: #ec4899;
}
.tester-header p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-top: 0.4rem;
}

/* 2-Column Layout */
.tester-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .tester-layout {
    grid-template-columns: 1fr;
  }
}

/* Left Sidebar */
.tester-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tester-box {
  background: rgba(20, 22, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.tester-step-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.tester-step-title .step-num {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Dropzones */
.upload-field-group .field-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.tester-dropzone {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.tester-dropzone:hover {
  background: rgba(0, 242, 254, 0.05);
  border-color: rgba(0, 242, 254, 0.4);
}
.tester-dropzone i {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.6);
}
.tester-dropzone .drop-text {
  display: flex;
  flex-direction: column;
}
.tester-dropzone .drop-text strong {
  font-size: 0.82rem;
  color: #fff;
}
.tester-dropzone .drop-text span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

/* View Options List */
.view-option-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.view-opt-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.view-opt-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}
.view-opt-btn.active {
  background: rgba(0, 242, 254, 0.08);
  border: 1.5px solid #00f2fe;
}
.vopt-icon {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.view-opt-btn.active .vopt-icon {
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.15);
}
.vopt-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vopt-info strong {
  font-size: 0.82rem;
  color: #fff;
}
.vopt-info span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.2;
  margin-top: 2px;
}
.vopt-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f2fe;
  box-shadow: 0 0 8px #00f2fe;
}

/* Right Preview Container */
.tester-preview-container {
  background: rgba(20, 22, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.tprev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.tprev-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tprev-title i {
  color: #00f2fe;
}
.tprev-fullscreen-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.tprev-fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Outer Window Frame */
.tprev-frame {
  background: #0b0c16;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.tprev-view-panel {
  width: 100%;
}

/* Fortnite Inner Window Styling */
.fn-ui-wrap {
  background: #0f1021;
  padding: 0;
  font-family: inherit;
}

.fn-top-nav {
  background: #15172e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fn-nav-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
}
.fn-nav-tab {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}
.fn-nav-tab.active-tab {
  color: #fff;
  border-bottom: 2px solid #00f2fe;
  padding-bottom: 0.3rem;
}
.fn-vbucks {
  font-size: 0.68rem;
  color: #fbbf24;
  font-weight: 800;
  margin-left: 1rem;
}
.fn-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Search + Filter Bar */
.fn-search-bar {
  background: #111225;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.fn-search-input {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 0.35rem 0.8rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 200px;
}
.fn-filter-tabs {
  display: flex;
  gap: 0.3rem;
}
.fn-filter {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
}
.fn-filter.active-filter {
  background: #ffffff;
  color: #000;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

/* Section Label */
.fn-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 0.65rem 1.2rem 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.fn-section-label .fn-sublabel {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

/* Grid Cards */
.fn-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 0 1rem 0.8rem;
}
.fn-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s;
  aspect-ratio: 16/9;
  background: #1a1c32;
}
.fn-card:hover {
  transform: scale(1.03);
  z-index: 2;
}
.fn-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fn-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  padding: 0.4rem 0.4rem 0.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.fn-card-players {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 3px;
}
.fn-card-label {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* User Card Slot Highlight */
.fn-card-user {
  outline: 2.5px solid #00f2fe;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
  z-index: 1;
}
.fn-your-badge {
  font-size: 0.52rem;
  font-weight: 900;
  color: #00f2fe;
  letter-spacing: 0.04em;
}

/* Bottom Nav */
.fn-bottom-nav {
  background: #111225;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.45rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.fn-bot-btn {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.fn-bot-active {
  color: #00f2fe;
  border-color: rgba(0, 242, 254, 0.4);
}

/* Fortnite Lobby View & Main Menu Panel */
.lobby-view-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #060913;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lobby-bg-render {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fortnite Lobby UI Realism System */
.lobby-ui-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 5;
}
.lobby-bg-watermark {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.15);
  pointer-events: none;
  text-transform: uppercase;
}

/* Featured Card (Top Left) */
.lobby-featured-card {
  position: absolute;
  top: 48px;
  left: 18px;
  width: 140px;
  background: rgba(15, 20, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  pointer-events: auto;
}
.lfeat-img {
  width: 100%;
  height: 75px;
  background-size: cover;
  background-position: center;
}
.lfeat-title {
  font-size: 0.58rem;
  font-weight: 900;
  color: #fff;
  padding: 4px 6px;
  text-align: center;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.9);
}

/* Nametag (Upper Center) */
.lobby-player-nametag {
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}
.nametag-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.player-name {
  font-size: 0.82rem;
  font-weight: 900;
  color: #fff;
}
.level-pill {
  font-size: 0.65rem;
  font-weight: 800;
  color: #00f2fe;
  background: rgba(0, 242, 254, 0.15);
  padding: 1px 6px;
  border-radius: 8px;
}
.ready-status {
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
  text-shadow: 0 1px 4px #000;
}

/* Floor Rings & 3D Character */
.lobby-pedestals-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 25px;
  pointer-events: none;
}
.pedestal-ring {
  position: absolute;
  bottom: 20px;
  width: 90px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: radial-gradient(ellipse at center, rgba(0, 242, 254, 0.2) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-ring-center {
  bottom: 15px;
  width: 120px;
  height: 38px;
  border-color: #00f2fe;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}
.p-ring-1 { left: 18%; }
.p-ring-2 { left: 34%; }
.p-ring-3 { right: 34%; }
.p-ring-4 { right: 18%; }

.plus-icon {
  font-size: 0.9rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.5);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lobby-character-render {
  position: absolute;
  bottom: 18px;
  height: 82%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7));
  transition: transform 0.3s ease;
  z-index: 3;
}

/* Bottom Left HUD */
.lobby-bottom-left-hud {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(10, 14, 28, 0.75);
  backdrop-filter: blur(10px);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: auto;
}
.game-mode-label {
  font-size: 0.85rem;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.05em;
}
.mode-select-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.fn-yellow-play-btn {
  background: #fbbf24;
  color: #000;
  font-weight: 900;
  font-size: 1.15rem;
  font-family: var(--font);
  border: none;
  border-radius: 8px;
  padding: 8px 0;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
  transition: transform 0.15s ease;
}
.fn-yellow-play-btn:hover {
  transform: scale(1.03);
  background: #f59e0b;
}

/* Bottom Right HUD */
.lobby-bottom-right-hud {
  position: absolute;
  bottom: 18px;
  right: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: auto;
}
.fn-hud-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lvl-badge {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.iarc-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.fn-hud-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

/* Main Menu Carousel Row */
.main-menu-carousel-bar {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(10, 14, 28, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: auto;
}
.mm-carousel-cards {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 6px;
}
.mm-card {
  position: relative;
  width: 130px;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.mm-user-card {
  border: 2px solid var(--cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}
.mm-thumb-placeholder {
  position: absolute;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  gap: 4px;
}
.mm-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95), transparent);
  padding: 4px 6px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.mm-player-count {
  font-size: 0.55rem;
  font-weight: 800;
  color: #fff;
}
.mm-your-badge {
  font-size: 0.52rem;
  font-weight: 900;
  color: var(--cyan);
}
.mm-tag-red { font-size: 0.48rem; font-weight: 900; background: #ef4444; color: #fff; padding: 1px 4px; border-radius: 4px; }
.mm-tag-purple { font-size: 0.48rem; font-weight: 900; background: #a855f7; color: #fff; padding: 1px 4px; border-radius: 4px; }
.mm-tag-green { font-size: 0.48rem; font-weight: 900; background: #22c55e; color: #fff; padding: 1px 4px; border-radius: 4px; }
.mm-tag-yellow { font-size: 0.48rem; font-weight: 900; background: #f59e0b; color: #000; padding: 1px 4px; border-radius: 4px; }
.mm-tag-cyan { font-size: 0.48rem; font-weight: 900; background: #00f2fe; color: #000; padding: 1px 4px; border-radius: 4px; }
.mm-card-tag {
  font-size: 0.52rem;
  color: #00f2fe;
  font-weight: 700;
}

.tprev-caption {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.75rem;
}

/* ══════════════════════════════════════════════════════
   DAILY ARENA
══════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.section-header h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0;
}

.arena-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem 1.5rem;
}

.arena-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.arena-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
}
.arena-card:hover {
  border-color: var(--cyan);
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,242,254,0.15);
}
.arena-card.voted-choice {
  border-color: var(--cyan);
  box-shadow: 0 0 40px rgba(0,242,254,0.3);
}
.arena-card.voted-loser {
  opacity: 0.45;
  pointer-events: none;
}

.arena-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.arena-card-topbar {
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.45);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.arena-badge-pill {
  padding: 5px 24px;
  border-radius: 16px;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.arena-badge-pill.badge-a {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #000;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.5);
}
.arena-badge-pill.badge-b {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.5);
}
.arena-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.5s ease;
}
.community-card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.arena-pct {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--cyan);
  text-shadow: var(--shadow-cyan);
}
.arena-win-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.arena-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
}
.arena-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.arena-votes {
  font-size: 0.8rem;
  font-family: var(--mono);
  color: var(--text-faint);
}

.arena-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.vs-circle {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 24px rgba(168,85,247,0.5);
}
.vs-timer {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.arena-reward {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, rgba(0,242,254,0.12), rgba(168,85,247,0.12));
  border: 1px solid rgba(0,242,254,0.3);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  animation: popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
}
@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.reward-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
}
.reward-icon { font-size: 1.4rem; animation: spin 2s linear infinite; }

/* ══════════════════════════════════════════════════════
   COMMUNITY
══════════════════════════════════════════════════════ */
.community-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 12px;
}

.community-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 11px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), border-color .25s, box-shadow .25s;
}
.community-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 24px 54px -30px rgba(0,0,0,0.95);
}
.community-card:hover .open {
  opacity: 1 !important;
  transform: none !important;
}
.community-card-thumb-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0d1526;
}

.community-votes {
  display: flex;
  gap: 0.4rem;
}
.vote-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}
.vote-btn:hover { transform: scale(1.1); }
.vote-btn.fire:hover, .vote-btn.fire.voted-active { border-color: #22c55e; color: #22c55e; background: rgba(34, 197, 94, 0.18); box-shadow: 0 0 10px rgba(34,197,94,0.5); }
.vote-btn.ice:hover, .vote-btn.ice.voted-active  { border-color: #ef4444; color: #ef4444; background: rgba(239, 68, 68, 0.18); box-shadow: 0 0 10px rgba(239,68,68,0.5); }
.vote-btn:disabled { opacity: 0.4; cursor: default; transform: none; }

/* ══════════════════════════════════════════════════════
   LEADERBOARD
══════════════════════════════════════════════════════ */
.leaderboard-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
}

.leaderboard-table {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.lb-header, .lb-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px 80px 120px;
  align-items: center;
  padding: 0.85rem 1.25rem;
  gap: 0.5rem;
}
.lb-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  border-bottom: 1px solid var(--border);
}
.lb-row {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  font-size: 0.875rem;
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover { background: var(--surface2); }
.lb-row.gold   { background: rgba(245,158,11,0.05); }
.lb-row.silver { background: rgba(148,163,184,0.05); }
.lb-row.bronze { background: rgba(180,83,9,0.05); }
.lb-row.highlight-you {
  background: rgba(0,242,254,0.05);
  border-color: rgba(0,242,254,0.15);
}
.lb-rank { font-size: 1.1rem; }
.lb-name { font-weight: 600; }
.lb-score { font-family: var(--mono); font-weight: 700; color: var(--cyan); }

.lb-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  text-align: center;
}
.gold-badge    { background: rgba(245,158,11,0.15); color: var(--gold); border: 1px solid rgba(245,158,11,0.3); }
.silver-badge  { background: rgba(148,163,184,0.15); color: #94a3b8; border: 1px solid rgba(148,163,184,0.3); }
.bronze-badge  { background: rgba(180,83,9,0.15); color: #c2410c; border: 1px solid rgba(180,83,9,0.3); }
.default-badge { background: var(--surface2); color: var(--text-muted); border: 1px solid var(--border); }

/* ══════════════════════════════════════════════════════
   MODALS
══════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
  animation: slideUp 0.3s cubic-bezier(0.4,0,0.2,1);
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.resizer-modal { max-width: 960px; }
.pro-modal     { max-width: 480px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.modal-header h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.modal-header h2 i { color: var(--cyan); }
.modal-close {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 8px;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }

.resizer-modes {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.mode-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.mode-btn:hover, .mode-btn.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-dim);
}

.canvas-wrap {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}
.canvas-wrap canvas { width: 100%; height: auto; display: block; }

.btn-download {
  background: linear-gradient(135deg, var(--cyan), #0ea5e9);
  border: none;
  color: var(--bg);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,242,254,0.4);
}

.pro-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.pro-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text);
}
.pro-features li i { color: var(--green); }

.pro-price {
  text-align: center;
  margin-bottom: 1.25rem;
}
.price-old {
  font-size: 1rem;
  color: var(--text-faint);
  text-decoration: line-through;
}
.price-new {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--cyan);
}
.price-new small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ── PRO Pricing Cards (Clean) ──────────────────────── */
.pro-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.pro-pricing-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transition: var(--transition);
}
.pro-pricing-card:hover {
  border-color: rgba(0,242,254,0.3);
  transform: translateY(-2px);
}
.pro-pricing-featured {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.4);
  box-shadow: 0 0 20px rgba(245,158,11,0.1);
}
.pro-pricing-featured:hover {
  border-color: var(--gold);
}
.pro-pricing-badge {
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 0.25rem;
}
.pro-pricing-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
.pro-pricing-old {
  font-size: 0.8rem;
  color: var(--text-faint);
  text-decoration: line-through;
}
.pro-pricing-amount {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--mono);
  color: var(--cyan);
  line-height: 1.1;
}
.pro-pricing-featured .pro-pricing-amount {
  color: var(--gold);
}
.pro-pricing-cents {
  font-size: 1.1rem;
  font-weight: 700;
}
.pro-pricing-period {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}
.pro-pricing-save {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--green);
  margin-top: 0.25rem;
}

.btn-upgrade {
  background: linear-gradient(135deg, var(--purple), #7c3aed);
  border: none;
  color: #fff;
  border-radius: 10px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.btn-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(168,85,247,0.5);
}
.pro-cancel {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ══════════════════════════════════════════════════════
   TOASTS
══════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 320px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  animation: toastIn 0.35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: all;
}
.toast.success { border-left-color: var(--green); }
.toast.warning { border-left-color: var(--orange); }
.toast.fire    { border-left-color: var(--red); }
@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.toast.fade-out {
  animation: toastOut 0.35s ease forwards;
}
@keyframes toastOut {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(110%); opacity: 0; }
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
  background: rgba(0,0,0,0.3);
}
.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.825rem;
  color: var(--text-muted);
}
.footer-logo { font-weight: 800; color: var(--cyan); display: flex; align-items: center; margin-left: 1.5rem; font-size: 1.15rem; }
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { display: flex; align-items: center; gap: 0.35rem; transition: var(--transition); }
.footer-links a:hover { color: var(--cyan); }
.footer-legal { display: flex; gap: 1rem; font-size: 0.75rem; color: var(--text-faint); }
.footer-legal a { color: var(--text-faint); transition: var(--transition); }
.footer-legal a:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════
   FLOATING XP PARTICLE
══════════════════════════════════════════════════════ */
.xp-particle {
  position: fixed;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--cyan);
  pointer-events: none;
  z-index: 9999;
  text-shadow: 0 0 12px var(--cyan);
  animation: xpFloat 1.5s ease-out forwards;
}
@keyframes xpFloat {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-80px) scale(1.4); }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .app-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .report-grid { grid-template-columns: 1fr; }
  .arena-grid { grid-template-columns: 1fr; }
  .arena-vs { flex-direction: row; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .live-activity-badge { display: none; }
  .hero-stats { gap: 1.5rem; }
  .controls-bar { flex-direction: column; align-items: stretch; }
  .lb-header,
  .lb-row { grid-template-columns: 40px 1fr 60px 60px; }
  .lb-badge { display: none; }
}

/* ══════════════════════════════════════════════════════
   BADGE SYSTEM
══════════════════════════════════════════════════════ */
.commenter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 0.3rem;
}
.founder-badge {
  background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(251,191,36,0.15));
  color: var(--gold);
  border: 1px solid rgba(245,158,11,0.5);
  box-shadow: 0 0 12px rgba(245,158,11,0.3);
  animation: founderGlow 2.5s ease-in-out infinite;
}
@keyframes founderGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(245,158,11,0.3); }
  50%       { box-shadow: 0 0 24px rgba(245,158,11,0.6); }
}
.pro-badge {
  background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(251,191,36,0.15));
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.6);
  box-shadow: 0 0 12px rgba(251,191,36,0.35);
  animation: proBadgeShimmer 2.2s ease-in-out infinite;
}
@keyframes proBadgeShimmer {
  0%, 100% { box-shadow: 0 0 10px rgba(251,191,36,0.3); }
  50%       { box-shadow: 0 0 20px rgba(251,191,36,0.6); }
}
.builder-badge {
  background: rgba(34,197,94,0.1);
  color: var(--green);
  border: 1px solid rgba(34,197,94,0.3);
}

/* ══════════════════════════════════════════════════════
   SHARE BUTTONS & MODAL
══════════════════════════════════════════════════════ */
.share-btn-group { display: flex; gap: 0.4rem; flex-shrink: 0; }

.btn-share {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: none; border-radius: 8px; padding: 0.5rem 0.85rem;
  font-size: 0.82rem; font-weight: 700; cursor: pointer;
  transition: var(--transition); text-decoration: none;
}
.share-x { background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.share-x:hover { background: #111; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.5); }
.share-discord { background: #5865f2; color: #fff; }
.share-discord:hover { background: #4752c4; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(88,101,242,0.5); }

.share-modal { max-width: 700px; }
.share-subtitle { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.share-card-wrap {
  background: #000; border-radius: var(--radius); overflow: hidden;
  margin-bottom: 1rem; border: 1px solid var(--border);
}
.share-card-wrap canvas { width: 100%; height: auto; display: block; }
.share-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share-download { flex: 1; }
.share-x-link {
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.1rem; font-size: 0.875rem; font-weight: 700;
  transition: var(--transition); text-decoration: none;
}
.share-x-link:hover { background: #111; transform: translateY(-2px); }
.copy-discord { font-size: 0.875rem; padding: 0.65rem 1.1rem; }

/* ══════════════════════════════════════════════════════
   COMMENT STREAM
══════════════════════════════════════════════════════ */
.comment-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.comment-header { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.95rem; }
.comment-header i { color: var(--cyan); }

.comment-compose { display: flex; gap: 0.75rem; align-items: flex-start; }
.comment-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; border: 2px solid var(--border);
  overflow: hidden;
}
.comment-avatar img {
  width: 100%; height: 100%;
  border-radius: 50%; object-fit: cover; display: block;
}
.founder-avatar {
  background: rgba(245,158,11,0.15);
  border-color: rgba(245,158,11,0.4);
  box-shadow: 0 0 16px rgba(245,158,11,0.2);
}

/* PRO Avatar — animated golden border + crown badge */
.pro-avatar {
  background: var(--cyan-dim);
  border: 2.5px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 2.5px rgba(245,158,11,0.85),
    0 0 18px rgba(245,158,11,0.55),
    0 0 40px rgba(245,158,11,0.2);
  animation: proGoldPulse 2.2s ease-in-out infinite;
  position: relative;
}
@keyframes proGoldPulse {
  0%, 100% {
    box-shadow:
      0 0 0 2.5px rgba(245,158,11,0.85),
      0 0 18px rgba(245,158,11,0.55),
      0 0 40px rgba(245,158,11,0.15);
  }
  50% {
    box-shadow:
      0 0 0 2.5px #fbbf24,
      0 0 28px rgba(251,191,36,0.8),
      0 0 60px rgba(251,191,36,0.35);
  }
}

/* Wrapper for avatar + floating crown badge */
.pro-avatar-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.pro-avatar-wrap .pro-crown-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(251,191,36,0.9));
  animation: crownFloat 2.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes crownFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-2px); }
}

.builder-avatar { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); }

.comment-compose-inner { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.comment-textarea {
  width: 100%; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-family: var(--font);
  font-size: 0.875rem; padding: 0.6rem 0.85rem; resize: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease; line-height: 1.5;
}
.comment-textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 12px rgba(245,158,11,0.2); }

.btn-comment-submit {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--gold), #f97316);
  border: none; color: var(--bg); border-radius: 7px;
  padding: 0.4rem 0.9rem; font-size: 0.8rem; font-weight: 700;
  display: flex; align-items: center; gap: 0.35rem; transition: var(--transition);
}
.btn-comment-submit:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(245,158,11,0.4); }

.comments-list {
  display: flex; flex-direction: column; gap: 0.7rem;
  max-height: 360px; overflow-y: auto; padding-right: 0.25rem;
}
.comment-item { display: flex; gap: 0.75rem; align-items: flex-start; animation: commentIn 0.35s ease; }
@keyframes commentIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.comment-body {
  flex: 1; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.65rem 0.85rem; font-size: 0.85rem; line-height: 1.55;
}
.comment-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.3rem; }
.comment-username { font-weight: 700; font-size: 0.82rem; color: var(--text); }
.comment-time { font-size: 0.72rem; color: var(--text-faint); }
.comment-like {
  margin-left: auto; background: none; border: none; color: var(--text-muted);
  font-size: 0.78rem; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: 0.2rem;
}
.comment-like:hover { color: var(--pink); }
.comment-like.liked { color: var(--pink); }

/* ══════════════════════════════════════════════════════
   QUEST TRACKER HUD
══════════════════════════════════════════════════════ */
.quest-hud {
  position: fixed; top: 82px; left: 20px; z-index: 900;
  width: 220px;
  background: rgba(11,14,20,0.94);
  backdrop-filter: blur(18px);
  border: 1.5px solid rgba(0,242,254,0.28);
  border-radius: 12px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.8), 0 0 30px rgba(0,242,254,0.12), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden; transition: var(--transition);
}
.quest-hud:hover { border-color: rgba(0,242,254,0.45); }
.quest-hud-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.quest-hud-title {
  font-size: 0.88rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--cyan); display: flex; align-items: center; gap: 0.4rem;
}
.quest-hud-toggle { background: none; border: none; color: var(--text-muted); font-size: 0.8rem; cursor: pointer; transition: var(--transition); padding: 3px 5px; }
.quest-hud-toggle:hover { color: var(--cyan); }
.quest-hud-body { padding: 0.75rem 0.9rem; display: flex; flex-direction: column; gap: 0.75rem; transition: all 0.3s ease; }
.quest-hud-body.collapsed { display: none; }
#radar-body.collapsed { display: none; }
.quest-item { display: flex; flex-direction: column; gap: 0.35rem; }
.quest-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.quest-name { font-size: 0.84rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.quest-reward { font-size: 0.82rem; font-weight: 900; color: var(--cyan); font-family: var(--mono); flex-shrink: 0; white-space: nowrap; padding-top: 1px; }
.quest-bar { height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.quest-fill { height: 100%; background: linear-gradient(90deg, var(--cyan), var(--purple)); border-radius: 3px; box-shadow: 0 0 8px var(--cyan); transition: width 0.8s cubic-bezier(0.4,0,0.2,1); }
.quest-fill.complete { background: linear-gradient(90deg, var(--green), #a3e635); box-shadow: 0 0 8px var(--green); }
.quest-progress { font-size: 0.75rem; color: var(--text-faint); display: flex; align-items: center; gap: 0.35rem; }
.quest-status { font-size: 0.72rem; font-weight: 700; color: var(--text-faint); }
.quest-status.done { color: var(--green); }
.quest-copy-invite { background: var(--surface3); border: 1px solid var(--border); color: var(--cyan); border-radius: 4px; padding: 1px 5px; font-size: 0.63rem; cursor: pointer; display: flex; align-items: center; gap: 0.2rem; transition: var(--transition); }
.quest-copy-invite:hover { background: var(--cyan-dim); }
.quest-credits-row { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 700; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 0.5rem; }
.quest-credits-row i { color: var(--cyan); }
.quest-credit-val { font-family: var(--mono); font-size: 1.1rem; font-weight: 900; color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }
@keyframes questComplete { 0% { background: rgba(34,197,94,0.3); } 100% { background: transparent; } }
.quest-item.just-completed { animation: questComplete 1s ease-out; }

/* ══════════════════════════════════════════════════════
   DAILY CTR TRACKER
══════════════════════════════════════════════════════ */
.ctr-tracker-section { max-width: 1440px; margin: 0 auto; padding: 3rem 1.5rem; border-top: 1px solid var(--border); }
.ctr-tracker-inner { display: grid; grid-template-columns: 1fr 220px; gap: 1.5rem; align-items: center; }
.ctr-chart-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; overflow: hidden; }
.ctr-chart-wrap canvas { width: 100%; height: auto; display: block; }
.ctr-stats-col { display: flex; flex-direction: column; gap: 0.75rem; }
.ctr-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1rem; transition: var(--transition); }
.ctr-stat-card:hover { border-color: rgba(0,242,254,0.3); transform: translateX(4px); }
.ctr-stat-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.ctr-stat-val { font-size: 1.5rem; font-weight: 900; font-family: var(--mono); color: var(--text); margin-top: 0.2rem; }
.ctr-hint { font-size: 0.75rem; color: var(--text-faint); display: flex; align-items: flex-start; gap: 0.4rem; line-height: 1.5; }
.ctr-hint i { color: var(--cyan); flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════════════════
   HIRE A DESIGNER
══════════════════════════════════════════════════════ */
.hire-section { max-width: 1440px; margin: 0 auto; padding: 3rem 1.5rem; border-top: 1px solid var(--border); }
.hire-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 320px)); justify-content: center; gap: 1.25rem; }
.designer-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275); position: relative; overflow: hidden; }
.designer-card:hover { border-color: rgba(0,242,254,0.3); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,242,254,0.1); }
.designer-card.featured { border-color: rgba(245,158,11,0.4); box-shadow: 0 0 30px rgba(245,158,11,0.1); }
.designer-card.featured:hover { border-color: var(--gold); }
.featured-ribbon { position: absolute; top: 12px; right: -18px; background: linear-gradient(135deg, var(--gold), #f97316); color: var(--bg); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.06em; padding: 3px 28px 3px 10px; transform: rotate(12deg); }
.designer-avatar { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.thumbnail-master-badge { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.68rem; font-weight: 800; background: rgba(245,158,11,0.15); color: var(--gold); border: 1px solid rgba(245,158,11,0.4); padding: 2px 8px; border-radius: 20px; width: fit-content; box-shadow: 0 0 10px rgba(245,158,11,0.2); }
.designer-name { font-size: 1rem; font-weight: 800; color: #fff; }
.designer-stats { display: flex; gap: 0.75rem; font-size: 0.75rem; color: var(--text-muted); flex-wrap: wrap; }
.designer-stats i { color: var(--cyan); }
.designer-bio { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.designer-price { font-size: 0.85rem; color: var(--text-muted); }
.designer-price strong { color: var(--cyan); font-size: 1.1rem; }
.btn-hire { background: linear-gradient(135deg, var(--cyan), #0ea5e9); border: none; color: var(--bg); border-radius: 8px; padding: 0.6rem; font-size: 0.85rem; font-weight: 700; width: 100%; transition: var(--transition); }
.btn-hire:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,242,254,0.4); }

/* ══════════════════════════════════════════════════════
   PROFILE MODAL
══════════════════════════════════════════════════════ */
.profile-modal { max-width: 700px; max-height: 80vh; overflow-y: auto; }
.profile-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.profile-stat { background: var(--surface2); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.85rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.profile-stat-val { font-size: 2rem; font-weight: 900; font-family: var(--mono); color: var(--text); line-height: 1; text-align: center; width: 100%; }
.profile-stat-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.06em; text-align: center; width: 100%; }
.profile-badge-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.profile-history-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; max-height: 300px; overflow-y: auto; }
.profile-history-card { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: var(--transition); }
.profile-history-card:hover { border-color: var(--cyan); transform: scale(1.03); }
.profile-history-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.profile-history-card-footer { padding: 0.4rem 0.5rem; display: flex; justify-content: space-between; font-size: 0.72rem; }
.profile-history-score { color: var(--cyan); font-weight: 700; font-family: var(--mono); }
.profile-history-date { color: var(--text-faint); }

@media (max-width: 768px) {
  .quest-hud { display: none; }
  .ctr-tracker-inner { grid-template-columns: 1fr; }
  .profile-stats-row { grid-template-columns: repeat(2, 1fr); }
  .hire-grid { grid-template-columns: 1fr; }
}



/* Action Buttons for Quest HUD */
.btn-quest-action {
  background: rgba(0, 242, 254, 0.1);
  color: #00f2fe;
  border: 1px solid rgba(0, 242, 254, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-quest-action:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: #00f2fe;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}
.btn-quest-action.done {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.4);
}
.btn-quest-action.done:hover {
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

/* ── Founder Chat Widget ────────────────────────────────────────────── */
.founder-chat-btn {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  background: linear-gradient(135deg, #00f2fe, #4facfe) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
  border: 1.5px solid #ffffff !important;
  padding: 13px 22px !important;
  border-radius: 30px !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 25px rgba(0, 242, 254, 0.7) !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  animation: liveChatPulse 2s infinite alternate ease-in-out;
}

@keyframes liveChatPulse {
  0% { box-shadow: 0 0 15px rgba(0, 242, 254, 0.5); }
  100% { box-shadow: 0 0 35px rgba(0, 242, 254, 0.9); }
}

.founder-chat-btn:hover {
  transform: scale(1.06) translateZ(0) !important;
}

.founder-chat-widget {
  position: fixed !important;
  bottom: 80px !important;
  right: 24px !important;
  width: 340px !important;
  max-width: 90vw !important;
  background: #161b22 !important;
  border: 1.5px solid rgba(0, 242, 254, 0.4) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 50px rgba(0,0,0,0.85), 0 0 30px rgba(0,242,254,0.25) !important;
  z-index: 2147483647 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateZ(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.founder-chat-widget.hidden {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) translateZ(0) !important;
  visibility: hidden !important;
}
.founder-chat-header {
  background: linear-gradient(to right, rgba(0, 242, 254, 0.1), rgba(0,0,0,0));
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.founder-chat-body {
  height: 250px;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.founder-chat-input {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 12px;
  background: var(--surface);
}
.founder-chat-input input {
  flex: 1;
  background: var(--surface3);
  border: 1px solid var(--border);
  color: #fff;
  border-radius: 20px;
  padding: 8px 12px;
  outline: none;
}
.founder-chat-input button {
  background: #00f2fe;
  color: #000;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-left: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════
   SITE BACKGROUND LOGO
══════════════════════════════════════════════════════ */
@keyframes bg-pulse {
  0% { opacity: 0.05; }
  50% { opacity: 0.15; }
  100% { opacity: 0.05; }
}

.site-bg-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90vh;
  background-image: url('bg-logo.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.10;
  mix-blend-mode: screen; /* Drops the black background of the logo, keeps the glowing cyan */
  pointer-events: none;
  z-index: -10;
  animation: bg-pulse 8s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════
   CUSTOM SHARP CYAN SCI-FI MOUSE CURSOR
══════════════════════════════════════════════════════ */
*, *::before, *::after, html, body, div, p, span, h1, h2, h3, h4, h5, h6, input, textarea, select, main, header, footer, section, aside, nav, article, table, tr, td, th,
::-webkit-scrollbar, ::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:active, ::-webkit-scrollbar-corner, ::-webkit-scrollbar-button, ::-webkit-resizer,
html.scrollbar-dragging, html.scrollbar-dragging * {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2300f2fe" stroke="%23000000" stroke-width="1.5"><path d="M3 3l7 18 3-7 7-3L3 3z"/></svg>'), auto !important;
}

button, a, .btn-hire, .btn-upload, .arena-card, .mode-btn, .nav-link, .vote-btn, [role="button"] {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23fbbf24" stroke="%23000000" stroke-width="1.5"><path d="M3 3l7 18 3-7 7-3L3 3z"/></svg>'), pointer !important;
}

/* ══════════════════════════════════════════════════════
   PRO & CHECKOUT MODAL ENHANCEMENTS
══════════════════════════════════════════════════════ */
.pro-pricing-card {
  cursor: pointer;
  transition: all 0.3s ease;
}
.pro-pricing-card:hover,
.pro-pricing-card.active {
  border-color: var(--gold) !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35) !important;
  transform: translateY(-3px);
}

.checkout-modal input:focus {
  outline: none;
  border-color: var(--cyan) !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}

/* ── Animated 3D Stamp Badge (Top-Right of Image) ────────────────── */
.op-stamp-badge {
  position: absolute;
  top: 25%;
  right: 10%;
  z-index: 99;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-8deg) scale(0);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.op-stamp-badge.stamp-active {
  animation: stampBounce 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes stampBounce {
  0% {
    transform: rotate(25deg) scale(5);
    opacity: 0;
  }
  60% {
    transform: rotate(-10deg) scale(0.9);
    opacity: 1;
  }
  80% {
    transform: rotate(-6deg) scale(1.05);
  }
  100% {
    transform: rotate(-8deg) scale(1);
    opacity: 1;
  }
}

.stamp-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 14px;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  background: #0b0e14;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 242, 254, 0.4);
  border: 3.5px solid #00f2fe;
  color: #00f2fe;
  text-shadow: 0 0 12px rgba(0, 242, 254, 0.8);
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
}

.stamp-inner i {
  font-size: 1.8rem;
}

/* Gamified Tier Stamp Variants — Solid Opaque Filled Backgrounds */
.op-stamp-badge.stamp-s-tier .stamp-inner {
  border-color: #ffd700;
  color: #ffd700;
  background: #141003;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 215, 0, 0.9);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.9);
  animation: goldPulseGlow 1.8s infinite alternate ease-in-out;
}

@keyframes goldPulseGlow {
  0% { transform: scale(1); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 215, 0, 0.7); }
  100% { transform: scale(1.06); box-shadow: 0 10px 50px rgba(0, 0, 0, 0.98), 0 0 45px rgba(255, 215, 0, 1); }
}

.op-stamp-badge.stamp-a-tier .stamp-inner {
  border-color: #22c55e;
  color: #22c55e;
  background: #06170d;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95), 0 0 30px rgba(34, 197, 94, 0.8);
  text-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
}

.op-stamp-badge.stamp-b-tier .stamp-inner {
  border-color: #f59e0b;
  color: #f59e0b;
  background: #190f03;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95), 0 0 30px rgba(245, 158, 11, 0.8);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.9);
}

.op-stamp-badge.stamp-c-tier .stamp-inner {
  border-color: #ef4444;
  color: #ef4444;
  background: #170606;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.95), 0 0 30px rgba(239, 68, 68, 0.8);
  text-shadow: 0 0 12px rgba(239, 68, 68, 0.9);
}

/* Community Card Hover Overlay */
.community-card-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.community-card-thumb-wrap:hover .community-card-hover-overlay {
  opacity: 1 !important;
}

/* ══════════════════════════════════════════════════════
   QUESTS COMPLETED PERMANENT SIDEBAR DISPLAY
══════════════════════════════════════════════════════ */
.quest-item {
  transition: all 0.3s ease;
  opacity: 1;
}

.quest-item.completed-quest {
  border-color: rgba(34, 197, 94, 0.4) !important;
  background: rgba(34, 197, 94, 0.08) !important;
  box-shadow: inset 0 0 15px rgba(34, 197, 94, 0.05);
}

.quest-item.completed-quest .quest-name {
  color: #22c55e !important;
  font-weight: 800;
}

/* Centered Community Load More Button Container */
#community-load-more-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  margin: 2rem auto 0 auto !important;
  width: 100% !important;
}

/* ══════════════════════════════════════════════════════
   TREND RADAR SPLIT GRID & COMMENT EDIT/DELETE STYLES
══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .radar-split-grid {
    grid-template-columns: 1fr !important;
  }
}

.comment-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.comment-act-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.comment-act-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  color: var(--cyan);
  border-color: rgba(0, 242, 254, 0.4);
}

.comment-act-btn.comment-del-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
}

.comment-edit-box {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.comment-edit-textarea {
  width: 100%;
  background: #000;
  border: 1px solid var(--cyan);
  border-radius: 8px;
  color: #fff;
  padding: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  resize: vertical;
}

.comment-edit-row {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

/* ══════════════════════════════════════════════════════
   CREATOR FEEDBACK SURVEY CONTROLS
══════════════════════════════════════════════════════ */
.fb-star-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-family: var(--mono);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fb-star-btn:hover {
  border-color: #fbbf24;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  transform: translateY(-2px);
}
.fb-star-btn.selected {
  border-color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(251, 191, 36, 0.2));
  color: #fbbf24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.5);
  transform: scale(1.08);
}

.fb-pill-btn {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}
.fb-pill-btn:hover {
  border-color: var(--cyan);
  color: #fff;
  background: rgba(0, 242, 254, 0.08);
}
.fb-pill-btn.selected {
  border-color: #00f2fe;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.15));
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
}

/* ============================================================
   MODAL PRICING — Slender, Tall & Sleek Cards UI
   ============================================================ */
#modal-pricing .modal-box {
  max-width: 940px !important;
  width: 95% !important;
  max-height: 94vh !important;
  overflow-y: auto !important;
  padding: 1.8rem 2rem 1.5rem !important;
  background: #0b0f19 !important;
  border: 2px solid rgba(0, 242, 254, 0.4) !important;
  border-radius: 24px !important;
  box-shadow: 0 0 60px rgba(0, 242, 254, 0.25) !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
#modal-pricing .modal-box::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

#modal-pricing .opv-head {
  margin: 0 auto 14px !important;
  max-width: 720px !important;
}
#modal-pricing .opv-eyebrow {
  margin-bottom: 6px !important;
  padding: 3px 10px !important;
  font-size: 9px !important;
}
#modal-pricing .opv-title {
  font-size: 1.55rem !important;
  margin: 4px 0 6px !important;
  line-height: 1.2 !important;
}
#modal-pricing .opv-sub {
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
  margin: 0 auto 12px !important;
  color: var(--text-muted) !important;
}
#modal-pricing .opv-billing-switch {
  margin: 8px auto 0 !important;
  padding: 3px !important;
}
#modal-pricing .opv-toggle-btn {
  padding: 6px 16px !important;
  font-size: 0.8rem !important;
}

#modal-pricing .opv-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin-top: 14px !important;
  align-items: stretch !important;
}

#modal-pricing .opv-grid:not(.hidden) {
  display: grid !important;
}

#modal-pricing .opv-grid.hidden,
#modal-pricing .opv-grid[style*="display: none"],
#modal-pricing .opv-grid[style*="display:none"] {
  display: none !important;
}

#modal-pricing .opv-card {
  min-height: 520px !important;
  padding: 24px 18px 22px !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,0.5) !important;
  box-sizing: border-box !important;
  transition: transform .25s ease, border-color .25s ease !important;
  transform: none !important;
}

#modal-pricing .opv-card--featured {
  border-color: rgba(0, 242, 254, 0.45) !important;
  background: linear-gradient(180deg, rgba(0,242,254,0.1), rgba(255,255,255,0.03) 45%) !important;
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.2), 0 20px 45px rgba(0,0,0,0.6) !important;
  transform: translateY(-6px) !important;
}

#modal-pricing .opv-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255,255,255,0.2) !important;
}

#modal-pricing .opv-card--featured:hover {
  transform: translateY(-10px) !important;
}

#modal-pricing .opv-badge {
  font-size: 8px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  padding: 3px 9px !important;
  margin-bottom: 12px !important;
  border-radius: 999px !important;
  align-self: flex-start !important;
}

#modal-pricing .opv-tier {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 6px !important;
}

#modal-pricing .opv-for {
  font-size: 0.78rem !important;
  color: #94a3b8 !important;
  line-height: 1.4 !important;
  margin: 0 0 14px !important;
  min-height: 2.8em !important;
}

#modal-pricing .opv-price {
  display: flex !important;
  align-items: baseline !important;
  gap: 5px !important;
  margin-bottom: 4px !important;
}

#modal-pricing .opv-amount {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

#modal-pricing .opv-cycle {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
}

#modal-pricing .opv-strike {
  font-size: 0.78rem !important;
  color: #64748b !important;
  text-decoration: line-through !important;
  margin-bottom: 2px !important;
}

#modal-pricing .opv-note {
  font-size: 0.72rem !important;
  color: #64748b !important;
  margin-bottom: 14px !important;
  font-family: var(--font-mono) !important;
}

#modal-pricing .opv-cta {
  display: block !important;
  text-align: center !important;
  padding: 10px 16px !important;
  font-size: 0.85rem !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  margin-bottom: 14px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

#modal-pricing .opv-cta.opv-cta--solid,
#modal-pricing a[href="#checkout-annual"],
#modal-pricing a[href="#checkout-elite"],
#modal-pricing .opv-card--featured .opv-cta,
#modal-pricing .opv-pkg--featured .opv-cta,
.opv-cta.opv-cta--solid,
a.opv-cta[href="#checkout-annual"],
a.opv-cta[href="#checkout-elite"] {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45) !important;
}

#modal-pricing .opv-cta.opv-cta--solid:hover,
#modal-pricing a[href="#checkout-annual"]:hover,
#modal-pricing a[href="#checkout-elite"]:hover,
#modal-pricing .opv-card--featured .opv-cta:hover,
#modal-pricing .opv-pkg--featured .opv-cta:hover,
.opv-cta.opv-cta--solid:hover,
a.opv-cta[href="#checkout-annual"]:hover,
a.opv-cta[href="#checkout-elite"]:hover {
  color: #ffffff !important;
}

#modal-pricing .opv-divider {
  font-size: 0.66rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  margin: 8px 0 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#modal-pricing .opv-divider::after {
  content: '' !important;
  flex: 1 !important;
  height: 1px !important;
  background: rgba(255,255,255,0.08) !important;
}

#modal-pricing .opv-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

#modal-pricing .opv-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 0.76rem !important;
  line-height: 1.35 !important;
  color: #cbd5e1 !important;
}

#modal-pricing .opv-list li svg {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  margin-top: 1px !important;
}

#modal-pricing .opv-trust-row {
  margin-top: 18px !important;
  font-size: 0.78rem !important;
  color: #64748b !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 22px !important;
}

/* ══════════════════════════════════════════════════
   BULLETPROOF RESPONSIVE SYSTEM (MOBILE & TABLET)
   Desktop styles remain 100% untouched.
═══════════════════════════════════════════════════ */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

@media (max-width: 992px) {
  .opv-radar-grid,
  .radar-split-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 16px !important;
  }
  .opv-pricing .opv-grid,
  .opv-grid,
  #modal-pricing .opv-grid,
  #modal-pricing .opv-grid:not(.hidden) {
    grid-template-columns: 1fr !important;
    max-width: 520px !important;
    margin: 0 auto !important;
  }
  .app-layout {
    grid-template-columns: 1fr !important;
  }
  .sidebar {
    position: static !important;
  }
  .report-grid {
    grid-template-columns: 1fr !important;
  }
  .arena-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  /* 1. Header & Top-Right Nav (Never overflows, perfectly proportional) */
  .navbar,
  .header {
    padding: 0.45rem 0.65rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
  .nav-inner,
  .header-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .nav-logo,
  .logo {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
    min-width: 0 !important;
    max-width: 145px !important;
  }
  .nav-logo img,
  .logo img {
    height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.6)) !important;
  }
  .logo-text {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }
  .logo-badge {
    display: none !important;
  }
  .nav-links {
    display: none !important;
  }
  .pro-text-desktop {
    display: none !important;
  }
  .pro-text-mobile {
    display: inline !important;
  }
  .nav-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }
  .nav-credits-badge {
    height: 28px !important;
    padding: 0 7px !important;
    font-size: 0.72rem !important;
    border-radius: 7px !important;
    border: 1.5px solid rgba(0, 242, 254, 0.45) !important;
    background: rgba(0, 242, 254, 0.1) !important;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2) !important;
    white-space: nowrap !important;
    gap: 3px !important;
  }
  .nav-profile-badge {
    height: 28px !important;
    padding: 0 7px !important;
    font-size: 0.72rem !important;
    border-radius: 7px !important;
    border: 1.5px solid rgba(168, 85, 247, 0.5) !important;
    background: rgba(168, 85, 247, 0.14) !important;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2) !important;
    white-space: nowrap !important;
    gap: 3px !important;
  }
  .btn-pro {
    height: 28px !important;
    padding: 0 8px !important;
    font-size: 0.72rem !important;
    border-radius: 7px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.4) !important;
    white-space: nowrap !important;
    gap: 3px !important;
  }
  .nav-credits-badge i,
  .nav-profile-badge i,
  .btn-pro i {
    font-size: 0.72rem !important;
  }

  /* Desktop Hero is strictly hidden on mobile — Dedicated Mobile Hero active */
  .hero-desktop-only,
  .hero--3col {
    display: none !important;
  }

  /* 2. Main Containers & App Layout */
  .app-layout {
    padding: 0 0.65rem 2.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .main-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  .quest-hud {
    display: none !important;
  }

  /* Top Control Bar */
  .top-control-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .hero-tag {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.74rem !important;
    padding: 6px 8px !important;
    white-space: normal !important;
    text-align: center !important;
  }
  .top-control-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .btn-ab-mode {
    width: 100% !important;
    justify-content: center !important;
    font-size: 0.7rem !important;
    padding: 6px 4px !important;
  }

  /* Upload Dropzone */
  .upload-zone {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
  }
  .upload-inner {
    padding: 1.4rem 0.75rem !important;
  }

  /* 3. Trend Radar Section (Zero overflow) */
  .opv-radar {
    padding: 1.8rem 0.65rem 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .opv-radar-grid,
  .radar-split-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 14px !important;
  }
  .opv-panel {
    padding: 14px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .factor, .opv-factor {
    padding: 10px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    column-gap: 8px !important;
  }
  .opv-fname {
    font-size: 0.82rem !important;
  }
  .opv-fdesc {
    font-size: 0.72rem !important;
  }
  .radar-comments-list {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* 4. Hire Designer Section (Zero overflow) */
  .hire-section {
    padding: 2rem 0.65rem 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .hire-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
  }
  .designer-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.15rem 0.85rem !important;
    overflow: hidden !important;
  }
  .featured-ribbon {
    right: -10px !important;
    font-size: 0.58rem !important;
    padding: 2px 20px 2px 8px !important;
  }

  /* 5. Custom Thumbnail Design Packages (Zero overflow, 1-col on mobile) */
  .opv-design {
    padding: 2rem 0.65rem 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .opv-design-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 14px !important;
  }
  .opv-pkg {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem 0.85rem !important;
    min-height: auto !important;
  }

  /* 6. Pricing Section (Page & Modal - Fixed layout & visible texts) */
  .opv-pricing {
    padding: 2rem 0.65rem 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .opv-pricing .opv-grid,
  .opv-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 14px !important;
  }
  .opv-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem 0.85rem !important;
    min-height: auto !important;
  }
  .opv-billing-switch {
    width: 100% !important;
    max-width: 320px !important;
    margin: 14px auto 0 !important;
    display: flex !important;
    justify-content: center !important;
  }
  .opv-toggle-btn {
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    flex: 1 !important;
    justify-content: center !important;
  }

  /* Pricing Modal Specific */
  #modal-pricing .modal-box {
    width: 95vw !important;
    max-width: 95vw !important;
    padding: 1.2rem 0.85rem !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
  #modal-pricing .opv-grid,
  #modal-pricing .opv-grid:not(.hidden) {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 14px !important;
  }
  #modal-pricing .opv-card {
    min-height: auto !important;
    padding: 1.25rem 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
  }
  #modal-pricing .opv-card--featured {
    transform: none !important;
  }

  /* Modals */
  .modal-box {
    width: 95vw !important;
    max-width: 95vw !important;
    margin: 10px auto !important;
    padding: 1.2rem 0.85rem !important;
  }

  /* Floating Live Chat */
  .founder-chat-btn {
    position: fixed !important;
    bottom: 16px !important;
    right: 16px !important;
    padding: 9px 14px !important;
    font-size: 0.8rem !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
    z-index: 2147483647 !important;
  }
  .founder-chat-widget {
    position: fixed !important;
    bottom: 68px !important;
    right: 14px !important;
    width: calc(100vw - 28px) !important;
    max-width: 350px !important;
    z-index: 2147483647 !important;
  }
  #live-ticker {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0.35rem 0.5rem !important;
  }
  .logo-text {
    font-size: 0.78rem !important;
  }
  .nav-right {
    gap: 3px !important;
  }
  .nav-credits-badge,
  .nav-profile-badge,
  .btn-pro {
    height: 26px !important;
    padding: 0 5px !important;
    font-size: 0.65rem !important;
    border-radius: 5px !important;
  }
  .hero-title {
    font-size: 1.35rem !important;
  }
  .hero-subtitle {
    font-size: 0.78rem !important;
  }
  .dropzone {
    padding: 1.25rem 0.65rem !important;
  }
  .founder-chat-btn {
    bottom: 12px !important;
    right: 12px !important;
    padding: 8px 12px !important;
    font-size: 0.74rem !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
  }
  .founder-chat-widget {
    bottom: 60px !important;
    right: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: 330px !important;
  }
}
