:root {
  --bg: #090a0d;
  --panel: #0f1116;
  --panel-2: #12151b;
  --text: #f7f7f8;
  --muted: #8d919c;
  --line: #222631;
  --aura: #caff3d;
  --aura-2: #9be700;
  --danger: #ff677a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% -20%, rgba(202,255,61,.14), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
}

body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  z-index: 100;
}

.topbar {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -.04em;
  font-size: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  overflow: hidden;
  background: #050607;
  box-shadow: 0 0 30px rgba(202,255,61,.14);
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topbar-right { display: flex; align-items: center; gap: 12px; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255,255,255,.02);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aura);
  box-shadow: 0 0 12px rgba(202,255,61,.7);
}
.submit-btn, .hero-cta, .submit-form-btn {
  border: 0;
  background: var(--aura);
  color: #0b0d08;
  font-weight: 700;
  border-radius: 11px;
  transition: .18s ease;
}
.submit-btn { padding: 10px 15px; }
.submit-btn:hover, .hero-cta:hover, .submit-form-btn:hover { background: #d8ff70; transform: translateY(-1px); }

main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero {
  text-align: center;
  padding: 110px 0 70px;
}
.eyebrow, .section-kicker {
  color: var(--aura);
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(52px, 8vw, 102px);
  line-height: .92;
  letter-spacing: -.065em;
  margin: 0;
}
.hero h1 span { color: #9aa0aa; }
.hero > p {
  max-width: 540px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.hero-cta {
  margin-top: 30px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.stats-row {
  margin: 76px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
  padding: 16px 22px;
}
.stat { display: flex; align-items: baseline; gap: 7px; }
.stat strong { font-family: "Space Grotesk"; font-size: 18px; }
.stat span { color: var(--muted); font-size: 13px; }
.divider { width: 1px; height: 24px; background: var(--line); }

.board-wrap {
  padding: 42px;
  background: rgba(15,17,22,.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}
.board-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}
.board-toolbar h2, .how-it-works h2 {
  font-family: "Space Grotesk";
  margin: 0;
  font-size: 34px;
  letter-spacing: -.04em;
}
.section-kicker { margin: 0 0 8px; }
.controls { display: flex; gap: 10px; }
.search-wrap {
  width: 230px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.search-wrap span { color: var(--muted); }
.search-wrap input {
  width: 100%;
  height: 42px;
  color: white;
  border: 0;
  outline: none;
  background: transparent;
}
select {
  color: #d7dae0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  outline: none;
}

.podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.podium-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.podium-card:first-child {
  border-color: rgba(202,255,61,.35);
  background: linear-gradient(180deg, rgba(202,255,61,.10), rgba(202,255,61,.018));
}
.rank-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #747985;
  font-family: "Space Grotesk";
  font-size: 14px;
  font-weight: 700;
}
.podium-card:first-child .rank-badge { color: var(--aura); }
.product-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.product-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #171b22;
  border: 1px solid #2a2f39;
  font-weight: 800;
  text-transform: uppercase;
}
.product-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.product-name { font-weight: 700; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-domain { color: #737985; font-size: 12px; margin-top: 3px; }
.product-intro { color: #9499a4; font-size: 14px; line-height: 1.5; margin: 18px 0 20px; flex: 1; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.aura-count { display: flex; align-items: baseline; gap: 6px; }
.aura-count strong { font-family: "Space Grotesk"; font-size: 24px; }
.aura-count span { color: var(--muted); font-size: 12px; }
.aura-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #343a45;
  color: white;
  background: #171a20;
  padding: 10px 13px;
  border-radius: 10px;
  font-weight: 700;
  transition: .18s ease;
}
.aura-btn:hover { border-color: var(--aura); color: var(--aura); transform: translateY(-1px); }
.aura-btn.voted { background: var(--aura); color: #0c0f08; border-color: var(--aura); }
.aura-btn:disabled { cursor: default; }
.aura-btn.clicked { animation: auraClick .18s ease-out; background: rgba(202,255,61,.16); border-color: var(--aura); color: var(--aura); }
@keyframes auraClick {
  0% { transform: scale(1); }
  45% { transform: scale(.92); }
  100% { transform: scale(1); }
}

.leaderboard { display: flex; flex-direction: column; gap: 8px; }
.row-card {
  display: grid;
  grid-template-columns: 52px minmax(220px, 1fr) minmax(250px, 1.4fr) 120px 110px;
  gap: 18px;
  align-items: center;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.015);
  transition: .18s ease;
}
.row-card:hover { border-color: #343946; background: rgba(255,255,255,.025); }
.row-rank { color: #686e7a; font-family: "Space Grotesk"; font-weight: 700; text-align: center; }
.row-product { min-width: 0; }
.row-intro { color: #8d929e; font-size: 13px; line-height: 1.45; }
.row-aura { text-align: right; }
.row-aura strong { display: block; font-family: "Space Grotesk"; font-size: 20px; }
.row-aura span { color: var(--muted); font-size: 11px; }
.visit-link { color: #8e949f; font-size: 13px; font-weight: 700; text-align: center; }
.visit-link:hover { color: white; }
.empty-state { text-align: center; color: var(--muted); padding: 48px; }

.how-it-works { padding: 120px 0; text-align: center; }
.how-it-works h2 { font-size: clamp(34px, 5vw, 55px); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; text-align: left; }
.steps article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.018);
}
.step-number { color: var(--aura); font-family: "Space Grotesk"; font-size: 12px; font-weight: 700; }
.steps h3 { margin: 32px 0 9px; font-family: "Space Grotesk"; font-size: 22px; }
.steps p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.footer-brand { color: white; font-size: 17px; }
.footer-brand .brand-mark { width: 26px; height: 26px; border-radius: 8px; }
.built-by { margin: 0; }
.built-by a {
  color: var(--aura);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(202,255,61,.35);
  transition: color .15s ease, border-color .15s ease;
}
.built-by a:hover {
  color: #e3ff7d;
  border-bottom-color: currentColor;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: rgba(3,4,5,.78);
  backdrop-filter: blur(12px);
  padding: 18px;
}
.modal {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border: 1px solid #2a2f38;
  border-radius: 22px;
  padding: 30px;
  background: #0e1014;
  box-shadow: 0 35px 120px rgba(0,0,0,.55);
}
.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: transparent;
  color: #8b9099;
  font-size: 28px;
}
.modal-badge { color: var(--aura); font-size: 11px; letter-spacing: .15em; font-weight: 700; }
.modal h2 { margin: 10px 0 8px; font-family: "Space Grotesk"; font-size: 33px; letter-spacing: -.04em; }
.modal-sub { color: var(--muted); margin: 0 0 24px; font-size: 14px; }
form { display: flex; flex-direction: column; gap: 17px; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: #d6d9df; }
.label-meta { float: right; color: var(--muted); font-weight: 500; }
input, textarea {
  width: 100%;
  color: white;
  background: #090b0e;
  border: 1px solid #252a33;
  border-radius: 11px;
  padding: 13px 14px;
  outline: none;
  resize: none;
}
input:focus, textarea:focus { border-color: #59606d; }
.url-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
}
.url-preview .favicon-placeholder {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #2b3039;
  border-radius: 10px;
  overflow: hidden;
  background: #171a20;
}
.favicon-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.url-preview strong, .url-preview span { display: block; }
.url-preview span { color: var(--muted); font-size: 12px; margin-top: 2px; }
.submit-form-btn { padding: 14px 18px; margin-top: 3px; }
.form-note { color: #717681; text-align: center; font-size: 12px; margin: -7px 0 0; }

.toast {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: #f4f6f8;
  color: #0e1115;
  border-radius: 10px;
  padding: 11px 15px;
  font-weight: 700;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero { padding-top: 80px; }
  .board-wrap { padding: 24px; }
  .board-toolbar { align-items: stretch; flex-direction: column; }
  .controls { width: 100%; }
  .search-wrap { flex: 1; width: auto; }
  .podium { grid-template-columns: 1fr; }
  .podium-card { min-height: 180px; }
  .row-card { grid-template-columns: 40px minmax(0,1fr) 100px; }
  .row-intro, .visit-link { display: none; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .topbar { min-height: 68px; }
  .live-pill { display: none; }
  .submit-btn { padding: 9px 12px; font-size: 12px; }
  .brand { font-size: 18px; }
  .hero { padding: 72px 0 48px; }
  .hero > p { font-size: 16px; }
  .stats-row { width: 100%; justify-content: space-around; gap: 8px; padding: 13px 10px; }
  .stat { flex-direction: column; gap: 2px; align-items: center; }
  .divider { height: 34px; }
  .board-wrap { margin-left: -8px; margin-right: -8px; padding: 18px 14px; border-radius: 18px; }
  .controls { flex-direction: column; }
  select { height: 42px; }
  .row-card { grid-template-columns: 34px minmax(0,1fr) 88px; gap: 10px; padding: 10px 8px; }
  .row-card .product-domain { display: none; }
  .product-logo { width: 38px; height: 38px; border-radius: 10px; }
  .row-aura .aura-btn { padding: 8px 10px; font-size: 12px; }
  .how-it-works { padding: 80px 0; }
  footer { flex-direction: column; gap: 16px; align-items: flex-start; }
  .modal { padding: 24px 18px; }
}

/* Aura purchase controls */
.modal-backdrop[hidden] { display: none !important; }
.product-actions, .row-actions { display: flex; align-items: center; gap: 8px; }
.boost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(202,255,61,.28);
  color: var(--aura);
  background: rgba(202,255,61,.07);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
  transition: .18s ease;
}
.boost-btn:hover { background: rgba(202,255,61,.13); border-color: var(--aura); transform: translateY(-1px); }
.boost-btn.compact { padding: 10px 11px; }
.row-card { grid-template-columns: 52px minmax(190px, 1fr) minmax(220px, 1.2fr) 80px 90px minmax(190px, auto); }
.row-score { text-align: right; white-space: nowrap; }
.row-score strong { display: block; font-family: "Space Grotesk"; font-size: 19px; }
.row-score span { color: var(--muted); font-size: 11px; }
.row-actions { justify-content: flex-end; }
.boost-modal { width: min(560px, 100%); }
.boost-presets { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; margin: 4px 0 18px; }
.boost-presets button {
  border: 1px solid var(--line);
  background: #0a0c0f;
  color: white;
  border-radius: 12px;
  padding: 13px 8px;
  font-family: "Space Grotesk";
  font-weight: 700;
  transition: .18s ease;
}
.boost-presets button:hover { border-color: var(--aura); color: var(--aura); }
.boost-presets button span { display: block; margin-top: 3px; color: var(--muted); font: 500 11px "DM Sans"; }
.boost-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.018);
}
.boost-label { display: block; font-weight: 700; font-size: 14px; }
.boost-picker small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.qty-control { display: flex; align-items: center; overflow: hidden; border: 1px solid #303641; border-radius: 11px; background: #080a0d; }
.qty-control button { width: 40px; height: 42px; border: 0; background: transparent; color: white; font-size: 20px; }
.qty-control button:hover { color: var(--aura); background: rgba(255,255,255,.03); }
.qty-control input { width: 80px; height: 42px; padding: 0 6px; border: 0; border-left: 1px solid #303641; border-right: 1px solid #303641; border-radius: 0; text-align: center; font-weight: 700; }
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.boost-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 14px 0;
  padding: 17px 18px;
  border: 1px solid rgba(202,255,61,.2);
  border-radius: 14px;
  background: rgba(202,255,61,.055);
}
.boost-summary span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.boost-summary strong { font-family: "Space Grotesk"; font-size: 20px; }
.boost-total { text-align: right; }
.boost-total strong { color: var(--aura); font-size: 26px; }
.boost-checkout { width: 100%; }
.submit-form-btn:disabled { opacity: .6; cursor: wait; transform: none; }

@media (max-width: 900px) {
  .row-card { grid-template-columns: 40px minmax(0,1fr) 86px minmax(170px,auto); }
  .row-intro, .visit-link { display: none; }
  .row-score { display: block; }
}
@media (max-width: 620px) {
  .card-bottom { align-items: flex-end; flex-direction: column; }
  .product-actions { width: 100%; }
  .product-actions .aura-btn, .product-actions .boost-btn { flex: 1; }
  .row-card { grid-template-columns: 32px minmax(0,1fr); gap: 10px; }
  .row-score { grid-column: 2; text-align: left; }
  .row-actions { grid-column: 1 / -1; width: 100%; }
  .row-actions .aura-btn, .row-actions .boost-btn { flex: 1; }
  .boost-presets { grid-template-columns: repeat(2,1fr); }
  .boost-picker { align-items: flex-start; flex-direction: column; }
  .qty-control { width: 100%; }
  .qty-control input { flex: 1; width: auto; }
}


/* Product website traffic */
.product-link { color: inherit; text-decoration: none; cursor: pointer; border-radius: 10px; }
.product-link:hover .product-name { color: var(--aura); }
.product-link:hover .product-logo { border-color: rgba(202,255,61,.55); transform: translateY(-1px); }
.product-logo { transition: .18s ease; overflow: hidden; }
.product-copy { min-width: 0; }
.product-external { display: inline-block; color: #666d79; font-size: 12px; margin-left: 3px; transform: translateY(-1px); }
.product-metrics { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 6px; color: #656c78; font-size: 10.5px; line-height: 1.2; }
.product-metrics strong { color: #9299a5; font-weight: 700; }
.product-metrics i { width: 3px; height: 3px; border-radius: 50%; background: #3c424d; }
.product-link:hover .product-metrics strong { color: #c9ced7; }

@media (max-width: 620px) {
  .product-metrics { gap: 5px; font-size: 9.5px; }
}
