:root {
  --bg-black: #060609;
  --surface-card: #0a0a10;
  --surface-elevated: #11111a;
  --surface-box: #07070b;
  --purple-main: #8b5cf6;
  --purple-bright: #a855f7;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --line-white: rgba(255, 255, 255, 0.10);
  --line-white-strong: rgba(255, 255, 255, 0.38);
  --line-subtle: rgba(255, 255, 255, 0.06);
  --text-white: #ffffff;
  --text-muted: #9292a6;
  --win-green: #22c55e;
  --loss-red: #ef4444;
  --demand-gold: #eab308;
  --trend-orange: #ea580c;
}

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

html {
  background-color: var(--bg-black);
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ========================================== */
/* SEAMLESS FULL-SCREEN AMBIENT GLOW          */
/* ========================================== */
.bg-glow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse 78% 54% at 50% -10%,
      rgba(139, 92, 246, 0.18) 0%,
      rgba(139, 92, 246, 0.10) 32%,
      rgba(139, 92, 246, 0.035) 60%,
      rgba(6, 6, 9, 0) 100%
    ),
    radial-gradient(
      ellipse 65% 42% at 50% 108%,
      rgba(139, 92, 246, 0.06) 0%,
      rgba(6, 6, 9, 0) 75%
    );
  pointer-events: none;
  z-index: 0;
}

/* ========================================== */
/* SEAMLESS NAVBAR + FROSTED BLUR ON SCROLL   */
/* ========================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 95;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: none;
  box-shadow: none;
  transition: background 0.26s ease, backdrop-filter 0.26s ease, -webkit-backdrop-filter 0.26s ease;
}

.navbar.scrolled {
  background: rgba(6, 6, 11, 0.56);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
}

.nav-container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: grid;
  grid-template-columns: 190px 1fr 190px;
  align-items: center;
}

.brand {
  text-decoration: none;
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.7px;
  justify-self: start;
  display: inline-flex;
  align-items: center;
}

.brand-fallback-text span {
  color: var(--purple-bright);
}

.nav-brand-logo {
  height: 46px;
  max-width: 155px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.28)) drop-shadow(0 0 12px rgba(168, 85, 247, 0.45));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand:hover .nav-brand-logo {
  transform: scale(1.05);
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 18px rgba(168, 85, 247, 0.78));
}

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
}

.nav-item {
  background: transparent;
  border: none;
  outline: none;
  text-decoration: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 500;
  padding: 6px 2px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: color 0.16s ease;
}

.nav-item svg { opacity: 0.78; transition: opacity 0.16s ease, color 0.16s ease; }
.nav-item:hover { color: #e4e4f0; }
.nav-item:hover svg { opacity: 1; }
.nav-item.active { color: #ffffff; font-weight: 700; }
.nav-item.active svg { opacity: 1; color: #ffffff; }

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.icon-nav-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: #c4c4d8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.icon-nav-link:hover {
  color: #ffffff;
  background: rgba(139, 92, 246, 0.16);
  transform: translateY(-1px);
}

/* ========================================== */
/* CONTAINER, HERO & HOME BANNER LOGO         */
/* ========================================== */
.container {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
  padding: 32px 28px 64px;
}

.route-view { display: none; }
.route-view.active { display: block; animation: fadeIn 0.18s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero,
.home-hero {
  text-align: center;
  margin-bottom: 34px;
}

.value-list-hero { margin-bottom: 34px; }
.calc-hero-top { margin-bottom: 38px; }

.hero-banner-box {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}

.hero-logo-halo {
  position: absolute;
  width: 210px;
  height: 110px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.34) 0%, rgba(139, 92, 246, 0) 72%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.hero-banner-logo {
  position: relative;
  z-index: 1;
  max-width: 215px;
  max-height: 138px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.3)) drop-shadow(0 10px 28px rgba(139, 92, 246, 0.52));
  transition: transform 0.24s ease, filter 0.24s ease;
}

.hero-banner-logo:hover {
  transform: translateY(-3px) scale(1.03);
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.45)) drop-shadow(0 14px 34px rgba(168, 85, 247, 0.75));
}

.hero h1,
.home-hero h1 {
  font-size: 2.95rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.hero h1 span,
.home-hero h1 span {
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.42));
}

.hero p,
.home-hero p {
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 620px;
  margin: 0 auto;
}

.purple-text { color: var(--purple-bright); }
.text-green { color: #4ade80; }

/* ========================================== */
/* SEARCH + FILTERS POPOVER                   */
/* ========================================== */
.vl-controls { margin-bottom: 22px; }

.vl-search-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.vl-bar-row { display: flex; gap: 12px; align-items: center; }
.vl-search-box { flex: 1; position: relative; }

.vl-search-box input {
  width: 100%;
  height: 44px;
  background: #0a0a10;
  border: 1px solid var(--line-white);
  border-radius: 8px;
  padding: 0 42px 0 15px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.18s ease;
}

.vl-search-box input::placeholder { color: #545468; }
.vl-search-box input:focus { border-color: rgba(255, 255, 255, 0.28); }

.vl-search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #9e9eb2;
  pointer-events: none;
}

.vl-filter-wrap { position: relative; }

.vl-filters-btn {
  height: 44px;
  padding: 0 18px;
  background: #0a0a10;
  border: 1px solid var(--line-white);
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.vl-filters-btn:hover,
.vl-filter-wrap.open .vl-filters-btn {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--surface-elevated);
}

.vl-filter-badge {
  background: var(--purple-main);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
}

.vl-filter-badge.hidden { display: none; }

.vl-filter-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 268px;
  background: #0c0c13;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.92), 0 0 25px rgba(139, 92, 246, 0.14);
  z-index: 130;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.vl-filter-wrap.open .vl-filter-popover { opacity: 1; visibility: visible; transform: translateY(0); }
.popover-section + .popover-section { margin-top: 16px; }
.popover-heading-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.popover-heading { display: block; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 9px; }
.popover-clear-btn { background: none; border: none; color: var(--purple-bright); font-family: inherit; font-size: 0.75rem; font-weight: 700; cursor: pointer; }
.popover-clear-btn.hidden { display: none; }

.checkbox-list { display: flex; flex-direction: column; gap: 9px; }
.chk-row { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.chk-row input { display: none; }

.chk-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #08080d;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.14s ease;
}

.chk-row:hover .chk-box { border-color: rgba(255, 255, 255, 0.5); }
.chk-row input:checked + .chk-box { background: var(--purple-main); border-color: #ffffff; }
.chk-row input:checked + .chk-box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-0.5px, -1px);
}

.chk-text { font-size: 0.88rem; font-weight: 600; color: #e4e4f0; }

/* Custom Select Dropdown */
.custom-select { position: relative; min-width: 175px; user-select: none; }
.custom-select.full-width { width: 100%; min-width: 0; }

.custom-select-trigger {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  background: #08080d;
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 8px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.custom-select-trigger:hover,
.custom-select.open .custom-select-trigger {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25);
}

.custom-select-arrow { width: 15px; height: 15px; color: #ffffff; transition: transform 0.18s ease; }
.custom-select.open .custom-select-arrow { transform: rotate(180deg); }

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #0f0f18;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 9px;
  padding: 5px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.92);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.14s ease;
}

.custom-select.open .custom-select-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.custom-option {
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: #cfcfe2;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-option:hover { background: rgba(139, 92, 246, 0.18); color: #ffffff; }
.custom-option.selected { background: rgba(139, 92, 246, 0.28); color: #ffffff; }
.custom-option.selected::after { content: "✓"; color: var(--purple-bright); font-weight: 800; }

/* ========================================== */
/* CLEAN 7-COLUMN VALUE LIST CARDS            */
/* ========================================== */
.vl-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.calc-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.vl-card {
  background: #0a0a10;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.vl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
}

.vl-visual-box {
  position: relative;
  height: 152px;
  background: #060609;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 11px;
}

.rbx-weapon-img {
  position: relative;
  z-index: 2;
  max-width: 82%;
  max-height: 76%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.vl-card:hover .rbx-weapon-img { transform: scale(1.05); }

.vl-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 3;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.1px;
}

.badge-Mythic { background: linear-gradient(180deg, #9333ea, #6d28d9); color: #ffffff; }
.badge-Exotic { background: rgba(148, 163, 184, 0.24); color: #e2e8f0; }
.badge-Legendary { background: linear-gradient(180deg, #b88924, #966c15); color: #fffbeb; }
.badge-Epic { background: rgba(139, 92, 246, 0.30); color: #e9d5ff; }
.badge-Rare { background: rgba(71, 85, 105, 0.45); color: #cbd5e1; }
.badge-Common { background: rgba(51, 65, 85, 0.45); color: #94a3b8; }
.badge-Standard { background: rgba(51, 65, 85, 0.40); color: #94a3b8; }

/* Case / Container Visual Differentiation */
.vl-card.is-case-card {
  border-color: rgba(234, 179, 8, 0.22);
}

.vl-card.is-case-card:hover {
  border-color: rgba(250, 204, 21, 0.52);
  box-shadow: 0 8px 24px rgba(234, 179, 8, 0.08);
}

.vl-card.is-case-card .vl-visual-box {
  background:
    radial-gradient(circle at 50% 60%, rgba(234, 179, 8, 0.12) 0%, rgba(6, 6, 9, 0) 72%),
    #060609;
  border-color: rgba(234, 179, 8, 0.16);
}

.vl-case-tag {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.45px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.42);
  color: #fde047;
  text-transform: uppercase;
}

.meta-pill.case-type-pill {
  background: rgba(234, 179, 8, 0.16);
  border-color: rgba(250, 204, 21, 0.45);
  color: #fde047;
}


.vl-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e2ee;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 11px;
  padding: 0 2px;
}

.vl-title.left-align { text-align: left; }
.vl-title .title-rest { color: #b8b8cc; font-weight: 600; }

.vl-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 9px;
}

.vl-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
}

.vl-row-label { color: #ffffff; font-weight: 700; }
.vl-val { color: #ffffff; font-weight: 800; }
.vl-demand { color: #eab308; font-weight: 800; }
.vl-trend-Stable { color: #e2e8f0; font-weight: 700; }
.vl-trend-Fluctuating { color: #ea580c; font-weight: 700; }
.vl-trend-Rising { color: #22c55e; font-weight: 700; }

.vl-coins-exact {
  color: #facc15;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.72rem;
}

.vl-exist-val {
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
}

.exist-cyan {
  color: #38bdf8;
}


/* Dual Offering / Wanting Buttons inside Calculator Cards */
.calc-card-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 2px 0 10px;
}

.calc-add-btn {
  height: 32px;
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.calc-add-btn.offer-btn {
  background: #271a38;
  border: 1px solid rgba(168, 85, 247, 0.28);
  color: #c4b5fd;
}

.calc-add-btn.offer-btn:hover {
  background: #3b2459;
  border-color: #a855f7;
  color: #ffffff;
}

.calc-add-btn.want-btn {
  background: #19263b;
  border: 1px solid rgba(96, 165, 250, 0.26);
  color: #93c5fd;
}

.calc-add-btn.want-btn:hover {
  background: #233859;
  border-color: #60a5fa;
  color: #ffffff;
}

.calc-add-btn:active { transform: scale(0.96); }

.vl-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.64rem;
  color: #48485c;
  font-weight: 600;
}

/* ========================================== */
/* VALUE CALCULATOR 9x9 (3x3 GRID PER SIDE)   */
/* ========================================== */
.calc-mode-switch {
  display: inline-flex;
  background: var(--surface-card);
  border: 1px solid var(--line-white);
  border-radius: 9px;
  padding: 4px;
  gap: 4px;
  margin-top: 16px;
}

.mode-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 15px;
  border-radius: 6px;
  cursor: pointer;
}

.mode-btn.active { background: var(--purple-main); color: #ffffff; }

.calc-board {
  display: grid;
  grid-template-columns: minmax(0, 415px) auto minmax(0, 415px);
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto 26px;
  overflow: visible;
}

.calc-side { overflow: visible; }
.calc-side-header { margin-bottom: 14px; }

.side-title {
  font-size: 1.24rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.side-total { color: var(--purple-bright); font-weight: 800; }
.side-total.empty { color: #64647a; }

.side-sub {
  font-size: 0.8rem;
  color: #ffffff;
  margin-top: 4px;
  font-weight: 700;
}

.side-sub span { color: #6e6e85; font-weight: 700; }

/* 3x3 Symmetrical Grid = 9 Slots per Side */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
}

.calc-slot {
  aspect-ratio: 1 / 1;
  position: relative;
  border-radius: 12px;
  cursor: pointer;
  overflow: visible;
}

.calc-slot.empty-slot .slot-box {
  width: 100%;
  height: 100%;
  background: rgba(9, 9, 15, 0.85);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.calc-slot.empty-slot:hover .slot-box {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(139, 92, 246, 0.08);
}

.slot-plus-icon { width: 22px; height: 22px; color: #8e8ea6; transition: color 0.16s ease, transform 0.16s ease; }
.calc-slot.empty-slot:hover .slot-plus-icon { color: #ffffff; transform: scale(1.08); }
.slot-empty-label { font-size: 0.78rem; font-weight: 500; color: #8e8ea6; }

.calc-slot.filled .slot-box {
  width: 100%;
  height: 100%;
  background: #0d0d16;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.calc-slot.filled .slot-graphic-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.slot-delete-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: radial-gradient(circle, rgba(64, 15, 48, 0.82) 0%, rgba(36, 9, 29, 0.90) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.16s ease;
  pointer-events: none;
}

.slot-trash-svg {
  width: 36px;
  height: 36px;
  color: #f06464;
  filter: drop-shadow(0 4px 12px rgba(239, 68, 68, 0.45));
  transform: scale(0.86);
  transition: transform 0.16s ease;
}

.calc-slot.filled:hover .slot-box { border-color: rgba(240, 100, 100, 0.42); }
.calc-slot.filled:hover .slot-delete-overlay { opacity: 1; }
.calc-slot.filled:hover .slot-trash-svg { transform: scale(1); }
.calc-slot.filled:hover .slot-graphic-wrap { opacity: 0.55; transform: scale(0.95); }

.slot-hover-tooltip {
  position: absolute;
  bottom: calc(100% + 11px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 196px;
  background: #0d0d15;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  padding: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.92);
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.calc-slot.filled:hover .slot-hover-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip-item-name { font-size: 0.92rem; font-weight: 800; color: #ffffff; margin-bottom: 9px; white-space: nowrap; }
.tooltip-value-pill { width: 100%; padding: 6px 10px; border-radius: 6px; background: #232742; color: #9eb0f8; font-size: 0.77rem; font-weight: 700; text-align: center; margin-bottom: 7px; }
.tooltip-meta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.tooltip-demand-pill { padding: 5px 8px; border-radius: 6px; background: #1b3b2b; color: #facc15; font-size: 0.75rem; font-weight: 800; text-align: center; }
.tooltip-trend-pill { padding: 5px 8px; border-radius: 6px; font-size: 0.74rem; font-weight: 700; text-align: center; }
.tooltip-trend-pill.Fluctuating { background: #3d2419; color: #fb923c; }
.tooltip-trend-pill.Rising { background: #173828; color: #4ade80; }
.tooltip-trend-pill.Stable { background: #222534; color: #e2e8f0; }

.calc-center { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 44px; }

.swap-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1b1e32;
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #a5b4fc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.swap-btn:hover { background: var(--purple-main); color: #ffffff; transform: rotate(180deg); }
.calc-brand-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; color: #b4b4c8; }
.calc-mini-logo { width: 18px; height: 18px; object-fit: contain; border-radius: 3px; }

.calc-verdict-bar {
  max-width: 1040px;
  margin: 0 auto 38px;
  background: #0a0a11;
  border: 1px solid var(--line-white);
  border-radius: 11px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.verdict-info { flex: 1; }
.verdict-top { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; margin-bottom: 8px; }
.verdict-badge { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-white); }
.verdict-badge.neutral { background: rgba(255, 255, 255, 0.05); color: #cbd5e1; }
.verdict-badge.win { background: rgba(34, 197, 94, 0.16); border-color: var(--win-green); color: #4ade80; }
.verdict-badge.fair { background: rgba(168, 85, 247, 0.2); border-color: var(--purple-bright); color: #e9d5ff; }
.verdict-badge.loss { background: rgba(239, 68, 68, 0.16); border-color: var(--loss-red); color: #f87171; }
.verdict-summary { font-size: 0.88rem; font-weight: 700; color: #e2e8f0; }

.balance-track { width: 100%; max-width: 480px; height: 5px; background: rgba(168, 85, 247, 0.30); border-radius: 999px; overflow: hidden; }
.balance-fill-offer { height: 100%; background: #ffffff; transition: width 0.25s ease; }
.verdict-detail { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; }

.calc-actions { display: flex; gap: 10px; }
.action-btn { height: 38px; padding: 0 16px; border-radius: 8px; font-family: inherit; font-weight: 700; font-size: 0.82rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: filter 0.15s ease, transform 0.15s ease; }
.action-btn:hover { filter: brightness(1.15); }
.action-btn:active { transform: scale(0.97); }
.share-btn { background: #231d36; border: 1px solid rgba(168, 85, 247, 0.32); color: #c4b5fd; }
.reset-btn { background: #351d1e; border: 1px solid rgba(239, 68, 68, 0.35); color: #fca5a5; }

/* ========================================== */
/* HOME VIEW & VALUE CHANGES                  */
/* ========================================== */
.home-search-bar {
  max-width: 580px;
  margin: 24px auto 20px;
  height: 50px;
  background: var(--surface-card);
  border: 1px solid var(--line-white-strong);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 6px 0 16px;
}

.home-search-icon { width: 18px; height: 18px; color: var(--purple-bright); margin-right: 12px; }
.home-search-bar input { flex: 1; background: transparent; border: none; color: #ffffff; font-family: inherit; font-size: 0.9rem; outline: none; }
.home-search-submit { height: 38px; padding: 0 18px; background: var(--purple-main); border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 7px; color: #ffffff; font-family: inherit; font-weight: 700; font-size: 0.83rem; cursor: pointer; }

.home-cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.primary-cta, .secondary-cta, .ghost-cta { text-decoration: none; padding: 10px 18px; border-radius: 8px; font-size: 0.86rem; font-weight: 700; }
.primary-cta { background: #ffffff; color: #050508; }
.secondary-cta { background: rgba(139, 92, 246, 0.18); color: #ffffff; border: 1px solid var(--purple-bright); }
.ghost-cta { background: var(--surface-card); color: var(--text-muted); border: 1px solid var(--line-white); }
.ghost-cta:hover { color: #ffffff; border-color: #ffffff; }

.bento-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.bento-card { background: var(--surface-card); border: 1px solid var(--line-white); border-radius: 11px; padding: 18px; display: flex; flex-direction: column; gap: 5px; }
.bento-label { font-family: 'JetBrains Mono', monospace; font-size: 0.69rem; color: var(--text-muted); }
.bento-val { font-family: 'JetBrains Mono', monospace; font-size: 1.55rem; font-weight: 800; }
.bento-meta { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.home-split-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.home-panel { background: var(--surface-card); border: 1px solid var(--line-white); border-radius: 11px; padding: 20px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.panel-head h2 { font-size: 1.1rem; font-weight: 800; }
.panel-head p { font-size: 0.79rem; color: var(--text-muted); margin-top: 2px; }
.panel-link { text-decoration: none; font-size: 0.78rem; font-weight: 700; color: var(--purple-bright); border: 1px solid var(--line-white); padding: 5px 10px; border-radius: 7px; }
.spotlight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.updates-mini-list { display: flex; flex-direction: column; gap: 9px; }
.update-mini-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px; background: var(--surface-box); border: 1px solid var(--line-subtle); border-radius: 8px; cursor: pointer; }
.update-mini-row:hover { border-color: #ffffff; }
.update-mini-left strong { display: block; font-size: 0.86rem; }
.update-mini-left span { font-size: 0.73rem; color: var(--text-muted); }
.update-mini-right { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; }

.changes-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.direction-pills { display: flex; gap: 8px; }
.dir-pill { background: var(--surface-card); border: 1px solid var(--line-white); color: var(--text-muted); font-family: inherit; font-size: 0.79rem; font-weight: 700; padding: 6px 13px; border-radius: 8px; cursor: pointer; }
.dir-pill.active { background: var(--purple-main); color: #ffffff; border-color: #ffffff; }
.dir-pill.up.active { background: rgba(22, 163, 74, 0.24); border-color: #4ade80; color: #4ade80; }
.dir-pill.down.active { background: rgba(220, 38, 38, 0.24); border-color: #f87171; color: #f87171; }

.status-pill { position: absolute; top: 7px; right: 7px; z-index: 3; font-size: 0.64rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.status-Increased { background: rgba(22, 163, 74, 0.26); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.45); }
.status-Decreased { background: rgba(220, 38, 38, 0.26); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.45); }
.change-arrow-line { text-align: center; font-size: 0.95rem; font-weight: 800; padding: 2px 0 6px; }
.change-arrow-line.up { color: var(--win-green); }
.change-arrow-line.down { color: var(--loss-red); }

/* ========================================== */
/* FREQUENTLY ASKED QUESTIONS SECTION         */
/* ========================================== */
.faq-section {
  max-width: 900px;
  margin: 86px auto 12px;
}

.faq-heading {
  text-align: center;
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #0b0b12;
  border: 1px solid rgba(139, 92, 246, 0.26);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(168, 85, 247, 0.48);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-chevron {
  width: 16px;
  height: 16px;
  color: #9e9eb8;
  flex-shrink: 0;
  transform: rotate(180deg);
  transition: transform 0.22s ease, color 0.22s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(0deg);
  color: #e2e2f0;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.62;
  color: #9ca3b8;
}

.faq-inline-link {
  color: #8b8df8;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.faq-inline-link:hover {
  color: #c4b5fd;
}

/* ========================================== */
/* SEAMLESS MULTI-COLUMN FOOTER               */
/* ========================================== */
.footer {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 6, 9, 0) 0%, rgba(4, 4, 7, 0.85) 38%, #040407 100%);
  padding: 64px 28px 42px;
  margin-top: 20px;
}

.footer-container {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-top-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.footer-brand-col {
  max-width: 280px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.footer-main-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
}

.footer-brand-title {
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.footer-brand-title span {
  color: var(--purple-bright);
}

.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(145px, 1fr));
  gap: 54px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.footer-col a,
.footer-legal-link {
  display: block;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: #8b8da3;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.16s ease;
}

.footer-col a:hover,
.footer-legal-link:hover {
  color: #ffffff;
}

.footer-bottom-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom-copy p {
  font-size: 0.82rem;
  color: #7c7e94;
}

/* ========================================== */
/* LEGAL BRAND-ONLY SCREEN (LOGO + BIG NAME)  */
/* ========================================== */
.brand-legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 260;
  background:
    radial-gradient(
      ellipse 70% 55% at 50% 45%,
      rgba(139, 92, 246, 0.20) 0%,
      rgba(139, 92, 246, 0.06) 48%,
      rgba(6, 6, 9, 0.98) 100%
    ),
    #060609;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: pointer;
  animation: fadeIn 0.22s ease;
}

.brand-legal-overlay.hidden {
  display: none;
}

.brand-legal-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  user-select: none;
}

.brand-legal-halo {
  position: absolute;
  width: 340px;
  height: 220px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.36) 0%, rgba(139, 92, 246, 0) 72%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.brand-legal-logo {
  position: relative;
  z-index: 1;
  max-width: 290px;
  width: 72vw;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.35)) drop-shadow(0 16px 42px rgba(139, 92, 246, 0.55));
  transition: transform 0.28s ease;
}

.brand-legal-center:hover .brand-legal-logo {
  transform: scale(1.03);
}

.brand-legal-title {
  position: relative;
  z-index: 1;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.05;
  color: #ffffff;
}

.brand-legal-title span {
  background: linear-gradient(90deg, #8b5cf6, #c084fc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.48));
}

/* ========================================== */
/* MODALS (SEARCH & ITEM CHART)               */
/* ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 3, 6, 0.86);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.hidden { display: none; }

.search-modal-card {
  width: 100%;
  max-width: 600px;
  background: #0b0b12;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
}

.search-modal-input-row { display: flex; align-items: center; gap: 12px; padding: 15px 18px; background: #08080d; }
.search-modal-input-row input { flex: 1; background: transparent; border: none; color: #ffffff; font-family: inherit; font-size: 0.94rem; outline: none; }
.esc-pill { background: var(--surface-card); border: 1px solid var(--line-white); color: var(--text-muted); font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; padding: 3px 8px; border-radius: 5px; cursor: pointer; }
.search-modal-results { max-height: 360px; overflow-y: auto; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.search-hit-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.search-hit-row:hover { background: rgba(139, 92, 246, 0.16); }

.modal-card {
  width: 100%;
  max-width: 880px;
  background: #09090f;
  border: 1px solid var(--line-white-strong);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.92);
}

.modal-top-actions { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.modal-link-btn { background: var(--surface-card); border: 1px solid var(--line-white); color: #e9d5ff; font-family: inherit; font-weight: 600; font-size: 0.76rem; padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.modal-close { width: 32px; height: 32px; border-radius: 7px; border: 1px solid var(--line-white); background: var(--surface-card); color: #fff; cursor: pointer; }

.modal-top { display: flex; gap: 24px; align-items: center; margin-bottom: 22px; }
.modal-image-box { width: 165px; height: 165px; flex-shrink: 0; background: var(--surface-box); border: 1px solid var(--line-white); border-radius: 12px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.modal-meta { flex: 1; }
.modal-title-row h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
.modal-desc { font-size: 0.83rem; color: var(--text-muted); margin-bottom: 12px; }
.modal-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.meta-pill { font-size: 0.73rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line-white); background: var(--surface-card); }
.modal-big-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 16px; }
.big-stat { display: flex; flex-direction: column; gap: 3px; }
.big-stat-label { font-size: 0.76rem; color: var(--text-muted); }
.big-stat-val { font-family: 'JetBrains Mono', monospace; font-size: 1.25rem; font-weight: 800; }
.demand-gold { color: var(--demand-gold); }

.modal-calc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-calc-btn { background: var(--purple-main); border: 1px solid #ffffff; color: #ffffff; font-family: inherit; padding: 8px 14px; border-radius: 7px; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.mini-calc-btn.alt { background: rgba(139, 92, 246, 0.16); border-color: var(--purple-bright); }

.history-panel { background: var(--surface-box); border: 1px solid var(--line-white); border-radius: 12px; padding: 18px; }
.history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.chart-hover-info { font-size: 0.76rem; color: var(--text-muted); margin-top: 3px; }
.growth-badge { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 700; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line-white); }
.canvas-container { width: 100%; height: 240px; position: relative; }
#historyCanvas { width: 100%; height: 100%; display: block; cursor: crosshair; }

.toast-container { position: fixed; bottom: 22px; right: 22px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast { background: #0d0d16; border: 1px solid rgba(255, 255, 255, 0.45); color: #ffffff; padding: 10px 15px; border-radius: 8px; font-size: 0.82rem; font-weight: 600; }

@media (max-width: 1360px) {
  .vl-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .calc-picker-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .nav-container { grid-template-columns: auto 1fr auto; gap: 12px; }
  .nav-links { gap: 14px; overflow-x: auto; justify-content: flex-start; }
  .vl-grid, .calc-picker-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bento-stats, .spotlight-grid { grid-template-columns: repeat(2, 1fr); }
  .home-split-grid, .calc-board { grid-template-columns: 1fr; }
  .calc-center { padding-top: 0; }
  .calc-verdict-bar { flex-direction: column; align-items: stretch; }
}

@media (max-width: 740px) {
  .nav-brand-logo { height: 36px; max-width: 120px; }
  .hero-banner-logo { max-width: 175px; }
  .vl-grid, .calc-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-nav-cols { grid-template-columns: 1fr 1fr; gap: 28px; width: 100%; }
  .modal-top { flex-direction: column; text-align: center; }
  .modal-pills, .modal-big-stats, .modal-calc-actions { justify-content: center; }
}

/* ========================================== */
/* CLOUDFLARE TURNSTILE & WAF SECURITY SUITE  */
/* ========================================== */
.cf-security-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(246, 130, 31, 0.10) 0%, rgba(139, 92, 246, 0.08) 45%, rgba(6, 6, 9, 0.98) 100%),
    #060609;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease;
}

.cf-security-gate.hidden {
  display: none;
}

.cf-gate-card {
  width: 100%;
  max-width: 460px;
  background: #0d0d14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 28px 26px 22px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.92), 0 0 32px rgba(246, 130, 31, 0.08);
}

.cf-gate-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.cf-shield-logo {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: rgba(246, 130, 31, 0.12);
  border: 1px solid rgba(246, 130, 31, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cf-gate-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.cf-gate-subtitle {
  font-size: 0.84rem;
  color: #a1a1b5;
  margin-top: 3px;
}

.cf-turnstile-box {
  background: #161621;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cf-turnstile-box:hover {
  border-color: rgba(246, 130, 31, 0.55);
}

.cf-turnstile-box.verified {
  border-color: rgba(34, 197, 94, 0.65);
  background: rgba(22, 163, 74, 0.10);
}

.cf-check-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.cf-check-label input {
  display: none;
}

.cf-custom-checkbox {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: #0b0b12;
  border: 2px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.cf-check-label:hover .cf-custom-checkbox {
  border-color: #f6821f;
}

.cf-custom-checkbox.verifying {
  border-color: transparent;
  background: transparent;
}

.cf-custom-checkbox.success {
  background: #22c55e;
  border-color: #22c55e;
}

.cf-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(246, 130, 31, 0.25);
  border-top-color: #f6821f;
  border-radius: 50%;
  animation: cfSpin 0.75s linear infinite;
}

.cf-spinner.hidden,
.cf-checkmark.hidden {
  display: none;
}

.cf-checkmark {
  width: 16px;
  height: 16px;
}

@keyframes cfSpin {
  to { transform: rotate(360deg); }
}

.cf-check-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f1f5f9;
}

.cf-branding {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.cf-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #e2e8f0;
}

.cf-sub-tag {
  font-size: 0.6rem;
  color: #7c7e94;
}

.cf-gate-info {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #8b8da3;
  margin-bottom: 18px;
}

.cf-gate-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.71rem;
  color: #6c6e84;
}

.cf-gate-footer code {
  font-family: 'JetBrains Mono', monospace;
  color: #cbd5e1;
}

.cf-floating-badge {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 190;
  background: rgba(11, 11, 18, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(246, 130, 31, 0.32);
  border-radius: 999px;
  padding: 6px 13px;
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.73rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.cf-floating-badge:hover {
  border-color: #f6821f;
  transform: translateY(-2px);
  color: #ffffff;
}

.cf-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}