/* ===== cryonware — cyan / black ===== */
:root {
  --cyan: #00e5ff;
  --cyan-dim: #0891b2;
  --cyan-glow: rgba(0, 229, 255, .35);
  --bg: #04070a;
  --panel: #0a1016;
  --panel-2: #0d141c;
  --line: #12222e;
  --text: #d7f6ff;
  --muted: #5f7f8f;
  --danger: #ff5470;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

.hidden { display: none !important; }

/* background layers */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(0,229,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(0,229,255,.08), transparent 60%),
    radial-gradient(700px 500px at 80% 90%, rgba(0,140,255,.06), transparent 60%);
}

/* ===== views ===== */
.view { display: none; min-height: 100vh; }
.view.active { display: flex; }

/* ===== auth ===== */
#view-auth, #view-verify { align-items: center; justify-content: center; padding: 24px; }

.auth-card {
  width: 100%; max-width: 400px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 32px 32px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 60px rgba(0,229,255,.06), inset 0 0 40px rgba(0,229,255,.02);
}
.auth-card::before {
  content: ""; position: absolute; top: -1px; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: .7;
}

.logo-wrap { display: flex; justify-content: center; margin-bottom: 18px; }

.crosshair-ring {
  width: 96px; height: 96px; border-radius: 50%;
  border: 1px solid rgba(0,229,255,.35);
  display: grid; place-items: center;
  position: relative;
  box-shadow: 0 0 24px var(--cyan-glow), inset 0 0 18px rgba(0,229,255,.08);
}
.crosshair-ring::before, .crosshair-ring::after {
  content: ""; position: absolute; background: var(--cyan); opacity: .55;
}
.crosshair-ring::before { left: 50%; top: -8px; bottom: -8px; width: 1px; }
.crosshair-ring::after { top: 50%; left: -8px; right: -8px; height: 1px; }
.crosshair-ring.small { width: 72px; height: 72px; }
.crosshair-ring .logo, .crosshair-ring.small .logo {
  width: 62%; height: 62%; object-fit: cover; border-radius: 50%;
  border: 1px solid rgba(0,229,255,.4);
}
.crosshair-ring.small .logo { width: 60%; height: 60%; }

.brand {
  font-size: 30px; letter-spacing: 6px; font-weight: 800;
  color: var(--text); text-transform: uppercase;
}
.brand span { color: var(--cyan); text-shadow: 0 0 18px var(--cyan-glow); }
.brand.small { font-size: 22px; }

.tagline { color: var(--muted); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin: 6px 0 24px; }
.hint { color: var(--muted); font-size: 12px; margin: 10px 0 18px; }
.hint.center { text-align: center; margin-top: 14px; }

.tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; }
.tab {
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: 7px 22px; border-radius: 999px; cursor: pointer;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  transition: .2s;
}
.tab.active { color: var(--cyan); border-color: var(--cyan-dim); background: rgba(0,229,255,.06); }

#form-email input, #form-discord input {
  width: 100%; padding: 12px 14px; margin-bottom: 10px;
  background: #060b10; border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); font-size: 14px; outline: none; transition: .2s;
}
#form-email input:focus, #form-discord input:focus { border-color: var(--cyan-dim); box-shadow: 0 0 0 3px rgba(0,229,255,.08); }

.btn-cyan {
  width: 100%; padding: 12px; border: none; border-radius: 8px;
  background: linear-gradient(180deg, #00f0ff, #00b8d4);
  color: #031018; font-weight: 700; font-size: 14px; letter-spacing: 1px;
  cursor: pointer; text-transform: uppercase; transition: .2s;
}
.btn-cyan:hover { box-shadow: 0 0 22px var(--cyan-glow); transform: translateY(-1px); }
.btn-cyan.small-btn { width: auto; padding: 9px 18px; font-size: 12px; margin-top: 16px; }

.hcaptcha-box { display: flex; justify-content: center; margin: 4px 0 14px; min-height: 78px; }

.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 11px; letter-spacing: 2px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.btn-discord {
  width: 100%; padding: 11px; border-radius: 8px; cursor: pointer;
  background: #5865f2; color: #fff; border: none;
  font-weight: 600; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: .2s;
}
.btn-discord:hover { background: #4752c4; box-shadow: 0 0 18px rgba(88,101,242,.4); }

.btn-ghost {
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 12px;
  letter-spacing: 1px; text-transform: uppercase; transition: .2s;
}
.btn-ghost:hover { color: var(--cyan); border-color: var(--cyan-dim); }

.auth-msg { min-height: 18px; margin-top: 12px; font-size: 13px; color: var(--danger); }
.auth-msg.ok { color: var(--cyan); }

/* ===== verify ===== */
.code-inputs { display: flex; gap: 10px; justify-content: center; margin: 18px 0 20px; }
.code-inputs input {
  width: 46px; height: 54px; text-align: center;
  background: #060b10; border: 1px solid var(--line); border-radius: 8px;
  color: var(--cyan); font-size: 24px; font-weight: 700; outline: none;
}
.code-inputs input:focus { border-color: var(--cyan); box-shadow: 0 0 12px var(--cyan-glow); }

/* ===== dashboard ===== */
#view-dash { flex-direction: column; }

.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; border-bottom: 1px solid var(--line);
  background: rgba(4,7,10,.8); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 10;
}
.dash-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 3px; font-size: 18px; }
.dash-brand span:last-child span { color: var(--cyan); }
.dash-avatar { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--cyan-dim); object-fit: cover; }
.dash-user { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; position: relative; }

/* ===== profile widget ===== */
.profile-widget {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 6px 12px 6px 6px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--panel); transition: .2s; user-select: none;
}
.profile-widget:hover { border-color: var(--cyan-dim); }
.pw-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--panel-2); border: 1px solid var(--cyan-dim);
  display: grid; place-items: center; color: var(--cyan);
  font-weight: 700; font-size: 14px; overflow: hidden;
}
.pw-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pw-avatar.big { width: 56px; height: 56px; font-size: 22px; }
.pw-name { color: var(--text); font-weight: 600; font-size: 13px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-caret { color: var(--muted); font-size: 11px; }
.pw-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 50;
  background: var(--panel-2); border: 1px solid var(--cyan-dim); border-radius: 10px;
  min-width: 150px; padding: 6px; box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.pw-menu button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  color: var(--text); padding: 9px 12px; border-radius: 6px; cursor: pointer;
  font-size: 13px; transition: .15s;
}
.pw-menu button:hover { background: rgba(0,229,255,.08); color: var(--cyan); }

/* ===== settings modal ===== */
.settings-modal {
  position: relative; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--cyan-dim); border-radius: 14px;
  padding: 28px 26px; box-shadow: 0 0 60px rgba(0,229,255,.15);
}
.settings-title { font-size: 18px; letter-spacing: 3px; margin-bottom: 20px; }
.set-row { margin-bottom: 16px; }
.set-row label { display: block; color: var(--muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 7px; }
.set-row input[type="text"] {
  width: 100%; padding: 11px 13px; background: #060b10;
  border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: 14px; outline: none;
}
.set-row input[type="text"]:focus { border-color: var(--cyan-dim); }
.set-avatar-row { display: flex; align-items: center; gap: 14px; }
.set-avatar-row .btn-ghost { padding: 8px 14px; }
.secret-row { display: flex; align-items: center; gap: 10px; }
.secret-value {
  flex: 1; padding: 10px 13px; background: #060b10; border: 1px solid var(--line);
  border-radius: 8px; color: var(--muted); font-size: 13px;
  filter: blur(5px); user-select: none; transition: filter .2s;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.secret-value.revealed { filter: none; color: var(--text); user-select: text; }
.secret-value.balance { color: var(--cyan); font-weight: 700; filter: none; }
.btn-ghost.tiny { padding: 8px 14px; font-size: 11px; }
.set-divider { height: 1px; background: var(--line); margin: 20px 0; }

.dash-nav {
  display: flex; gap: 6px; padding: 12px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(4,7,10,.6); position: sticky; top: 65px; z-index: 9;
  overflow-x: auto;
}
.nav-item {
  color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; padding: 8px 16px; border-radius: 6px; white-space: nowrap;
  border: 1px solid transparent; transition: .2s;
}
.nav-item:hover { color: var(--cyan); }
.nav-item.active { color: var(--cyan); border-color: var(--cyan-dim); background: rgba(0,229,255,.06); }

.dash-main { flex: 1; padding: 32px; max-width: 1100px; width: 100%; margin: 0 auto; }

.panel { display: none; animation: fadein .3s ease; position: relative; }
.panel.active { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.panel-title { font-size: 20px; letter-spacing: 3px; display: flex; align-items: center; gap: 10px; }
.tick { color: var(--cyan); font-family: Consolas, monospace; }
.panel-sub { color: var(--muted); font-size: 13px; margin: 6px 0 24px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }

.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 48px 20px;
  border: 1px dashed var(--line); border-radius: 12px; color: var(--muted);
}
.empty-state p { color: var(--text); font-size: 15px; margin: 14px 0 4px; letter-spacing: 1px; }
.empty-state span { font-size: 12px; }

.crosshair-mini {
  width: 34px; height: 34px; margin: 0 auto; position: relative;
  border: 1px solid var(--cyan-dim); border-radius: 50%; opacity: .6;
}
.crosshair-mini::before, .crosshair-mini::after { content: ""; position: absolute; background: var(--cyan-dim); }
.crosshair-mini::before { left: 50%; top: -7px; bottom: -7px; width: 1px; }
.crosshair-mini::after { top: 50%; left: -7px; right: -7px; height: 1px; }

.listing-card, .vouch-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px; position: relative; transition: .2s;
}
.buy-card {
  display: block; width: 100%; text-align: left; cursor: pointer; font: inherit; color: inherit;
}
.buy-card:hover { border-color: var(--cyan); box-shadow: 0 0 20px rgba(0,229,255,.15); transform: translateY(-2px); }
.buy-hint { display: inline-block; margin-top: 10px; color: var(--cyan); font-size: 11px; letter-spacing: 1px; }
.buy-item { font-size: 18px; font-weight: 700; color: var(--cyan); letter-spacing: 1px; }
.buy-price { font-size: 24px; font-weight: 800; color: var(--text); margin: 4px 0 18px; }
.pay-methods { display: flex; gap: 10px; }
.pay-btn {
  flex: 1; padding: 13px; border-radius: 8px; cursor: pointer;
  background: #060b10; border: 1px solid var(--line); color: var(--muted);
  font-size: 15px; font-weight: 700; transition: .2s;
}
.pay-btn.on { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 14px rgba(0,229,255,.2); background: rgba(0,229,255,.06); }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); }
.pay-amount { color: var(--cyan) !important; font-weight: 700; font-size: 15px !important; }
.pay-address { font-family: Consolas, monospace; font-size: 12px !important; word-break: break-all; }
.pay-spinner {
  width: 42px; height: 42px; margin: 10px auto 16px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--cyan);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.center-hint { text-align: center; }
.discount-row { display: flex; gap: 8px; }
.discount-row input { flex: 1; }
.discount-row .btn-ghost { padding: 8px 16px; font-size: 11px; white-space: nowrap; }
.pay-usd { color: var(--muted); font-size: 13px; align-self: center; }
.my-orders { display: flex; flex-direction: column; gap: 8px; }
.my-order {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #060b10; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
}
.my-order-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.my-order-info b { font-size: 13px; color: var(--text); }
.my-order-info span { font-size: 11px; color: var(--muted); }
.pay-badge { color: var(--cyan); font-weight: 700; }
.buy-success { font-size: 44px; text-align: center; margin: 14px 0 6px; }
.buy-done-title { text-align: center; font-size: 20px; letter-spacing: 3px; color: var(--cyan); }
.buy-done-text { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0 20px; line-height: 1.6; }
.buy-done-text b { color: var(--text); }
#buy-done .btn-ghost { display: block; margin: 0 auto; }
.listing-card:hover { border-color: var(--cyan-dim); box-shadow: 0 0 16px rgba(0,229,255,.07); }
.listing-card h4 { color: var(--cyan); font-size: 15px; margin-bottom: 6px; letter-spacing: 1px; }
.listing-card p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.listing-card .price { position: absolute; top: 14px; right: 14px; color: var(--cyan); font-weight: 700; font-size: 14px; }

.vouch-list { display: flex; flex-direction: column; gap: 12px; }
.vouch-card { display: flex; gap: 14px; align-items: flex-start; }
.vouch-card .vouch-avatar {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--panel-2); border: 1px solid var(--cyan-dim);
  display: grid; place-items: center; color: var(--cyan); font-weight: 700; font-size: 16px;
  overflow: hidden;
}
.vouch-card .vouch-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vouch-card .vouch-body { flex: 1; }
.vouch-card .vouch-head { display: flex; justify-content: space-between; align-items: baseline; }
.vouch-card .vouch-name { font-weight: 700; font-size: 14px; }
.vouch-card .vouch-date { color: var(--muted); font-size: 11px; }
.vouch-card .stars { color: var(--cyan); letter-spacing: 2px; font-size: 13px; }
.vouch-reason {
  margin-top: 6px; padding: 10px 12px; background: var(--panel);
  border: 1px solid var(--line); border-left: 2px solid var(--cyan-dim);
  border-radius: 8px; color: var(--muted); font-size: 13px; line-height: 1.55;
}

/* avg rating */
.vouch-avg {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 18px;
}
.avg-stars { color: var(--cyan); font-size: 22px; letter-spacing: 3px; }
.avg-num { font-size: 30px; font-weight: 800; color: var(--text); }
.avg-count { color: var(--muted); font-size: 12px; letter-spacing: 1px; }

/* star picker */
.star-picker { display: flex; gap: 8px; }
.star-picker button {
  background: none; border: none; cursor: pointer; font-size: 34px;
  color: var(--line); transition: .15s; padding: 0 2px; line-height: 1;
}
.star-picker button.on { color: var(--cyan); text-shadow: 0 0 14px var(--cyan-glow); transform: scale(1.1); }
.star-picker button:hover { color: var(--cyan); }
.vouch-hint { color: var(--muted); font-size: 11px; margin-top: 6px; min-height: 14px; }
textarea#vouch-text {
  width: 100%; padding: 11px 13px; background: #060b10;
  border: 1px solid var(--line); border-radius: 8px; color: var(--text);
  font-size: 14px; font-family: inherit; resize: vertical; outline: none;
}
textarea#vouch-text:focus { border-color: var(--cyan-dim); }

.dash-hero { text-align: center; padding: 20px 0 8px; }
.dash-hero-logo {
  width: 110px; height: 110px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--cyan-dim);
  box-shadow: 0 0 40px var(--cyan-glow), 0 0 90px rgba(0,229,255,.12);
}
.dash-hero .panel-title { justify-content: center; margin-top: 16px; }
.dash-hero .cyan { color: var(--cyan); text-shadow: 0 0 18px var(--cyan-glow); }
.dash-vouch-count { margin-top: 10px; }
.dash-vouch-count b { font-size: 34px; color: var(--cyan); }
.dash-vouch-count span { display: block; color: var(--muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; justify-content: center; }
.badge {
  padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; color: var(--cyan);
  background: rgba(0,229,255,.06); border: 1px solid var(--cyan-dim);
}
.rewards-box {
  border: 1px solid var(--cyan-dim); border-radius: 12px; padding: 18px 22px;
  margin-bottom: 20px; background: rgba(0,229,255,.04);
}
.rewards-box h4 { color: var(--cyan); font-size: 15px; letter-spacing: 1px; margin-bottom: 8px; }
.rewards-box p { color: var(--muted); font-size: 13px; line-height: 1.6; }

.dash-join {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(88,101,242,.1), var(--panel));
  border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 24px;
}
.dash-join h4 { font-size: 15px; letter-spacing: 1px; }
.dash-join p { color: var(--muted); font-size: 12px; margin-top: 3px; }
.dash-join-btns { display: flex; gap: 10px; }
.dash-join-btns .btn-cyan { width: auto; padding: 10px 22px; font-size: 12px; }
.dash-join-btns .btn-ghost { padding: 10px 18px; font-size: 12px; }

.dash-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 8px; }
.dash-card {
  display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px; text-decoration: none; color: var(--text); transition: .2s;
}
.dash-card:hover { border-color: var(--cyan-dim); box-shadow: 0 0 16px rgba(0,229,255,.08); transform: translateY(-2px); }
.dash-card h4 { color: var(--cyan); font-size: 14px; letter-spacing: 2px; margin-bottom: 6px; }
.dash-card p { color: var(--muted); font-size: 12px; }

.empty-state.slim { padding: 32px 20px; }

/* ===== trusted floating bubble ===== */
.trust-bubble {
  position: absolute; top: 70px; right: 32px; z-index: 5;
  max-width: 280px; padding: 12px 16px;
  background: rgba(0,229,255,.07); border: 1px solid var(--cyan-dim);
  border-radius: 14px; color: var(--cyan); font-size: 12px; line-height: 1.5;
  box-shadow: 0 0 20px rgba(0,229,255,.12);
  animation: floaty 4s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 700px) {
  .trust-bubble { position: static; max-width: none; margin-bottom: 18px; }
}

/* ===== mini ad card ===== */
.ad-card {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; padding: 0; transition: .2s; font: inherit; color: inherit;
}
.ad-card:hover { border-color: var(--cyan-dim); box-shadow: 0 0 20px rgba(0,229,255,.1); transform: translateY(-2px); }
.ad-banner { width: 100%; height: 110px; object-fit: cover; display: block; }
.ad-info { display: flex; align-items: center; gap: 10px; padding: 12px; }
.ad-pfp { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--cyan-dim); }
.ad-text { display: flex; flex-direction: column; }
.ad-text b { font-size: 14px; letter-spacing: 1px; color: var(--cyan); }
.ad-text i { font-style: normal; color: var(--muted); font-size: 11px; }

/* ===== ad modal ===== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(2,5,8,.82); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; animation: fadein .2s ease; }
.ad-modal {
  position: relative; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--cyan-dim); border-radius: 14px;
  box-shadow: 0 0 60px rgba(0,229,255,.15);
}
.ad-modal-banner { width: 100%; height: 160px; object-fit: cover; display: block; border-radius: 14px 14px 0 0; }
.ad-modal-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(4,7,10,.8); color: var(--muted); font-size: 20px; line-height: 1;
  cursor: pointer; transition: .2s;
}
.ad-modal-close:hover { color: var(--cyan); border-color: var(--cyan-dim); }
.ad-modal-body { padding: 20px; }
.ad-modal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ad-modal-pfp { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--cyan-dim); }
.ad-modal-head h3 { font-size: 20px; letter-spacing: 2px; color: var(--cyan); }
.ad-tag { color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.ad-desc { color: var(--text); font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
.ad-desc b { color: var(--cyan); }
.link-note {
  display: inline-block; background: rgba(0,229,255,.07); border: 1px solid var(--cyan-dim);
  color: var(--cyan); font-size: 11px; border-radius: 999px; padding: 6px 14px; margin-bottom: 16px;
}
.ad-modal-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.ad-btn { width: auto; padding: 11px 20px; font-size: 12px; }
.ad-btn.alt { background: linear-gradient(180deg, #7c8cff, #5a6bd6); }
.ad-btn.alt:hover { box-shadow: 0 0 22px rgba(124,140,255,.35); }

/* discord hero */
.discord-hero {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(88,101,242,.1), var(--panel));
  border: 1px solid var(--line); border-radius: 12px; padding: 22px;
}
.discord-hero .discord-logo { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(88,101,242,.5); object-fit: cover; }
.discord-hero h3 { font-size: 20px; letter-spacing: 2px; }
.discord-hero .discord-meta { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.discord-hero .btn-cyan { width: auto; margin-left: auto; padding: 11px 26px; }

.stat-row { display: flex; gap: 14px; margin-top: 16px; }
.stat {
  flex: 1; background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px; text-align: center;
}
.stat b { display: block; font-size: 26px; color: var(--cyan); }
.stat span { color: var(--muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }

@media (max-width: 560px) {
  .dash-header, .dash-nav { padding-left: 16px; padding-right: 16px; }
  .dash-main { padding: 20px 16px; }
  .dash-user #dash-email { display: none; }
}

/* free tools */
.tool-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 22px; max-width: 560px;
}
.tool-card h3 { font-size: 16px; letter-spacing: 2px; margin: 0 0 6px; }
.tool-desc { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.tool-card input {
  width: 100%; background: rgba(0,0,0,.35); border: 1px solid var(--line);
  border-radius: 8px; color: var(--text); padding: 11px 14px; font-size: 14px;
  margin-bottom: 10px; box-sizing: border-box;
}
.tool-row { display: flex; gap: 10px; }
.tool-row input { flex: 1; margin-bottom: 0; }
.tool-row .btn-cyan { width: auto; padding: 11px 26px; }
.tool-status { margin-top: 14px; font-size: 13px; color: var(--muted); min-height: 18px; }
.tool-status.ok { color: var(--cyan); }
.tool-status.err { color: var(--danger, #ff5f6d); }
.tool-status b { color: var(--cyan); }
