/* ============ TOKENS ============ */
:root {
  --bg-app: #10162b;
  --bg-sidebar: #0b1126;
  --bg-surface-1: #161d33;
  --bg-surface-2: #1a2038;
  --bg-surface-active: #272d43;
  --bg-surface-hover: #1a2038;

  --border-subtle: #282e41;
  --border-default: #32384a;
  --border-strong: #2d395c;

  --text-primary: #ffffff;
  --text-secondary: #c6c7cd;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-faint: rgba(255, 255, 255, 0.38);

  --brand-500: #ff98f0;
  --gradient-pink-start: #fd9efb;
  --gradient-pink-end: #f658dd;
  --gradient-gold-start: #f5e958;
  --gradient-gold-end: #ebad1c;

  --state-success-fg: #27ca40;
  --state-success-bg: rgba(39, 202, 64, 0.10);
  --state-danger-fg: #f1271d;
  --state-danger-bg: rgba(241, 39, 29, 0.10);
  --state-info-fg: #60a5fa;

  --header-h: 64px;
  --sidebar-w: 240px;
  --ticker-h: 44px;

  --font-display: "transducer", "Geist", system-ui, sans-serif;
  --font-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-default); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--bg-surface-active); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ============ HEADER ============ */
.app-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center;
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border-subtle);
}

.brand {
  width: var(--sidebar-w);
  display: flex; align-items: center; gap: 10px;
  padding: 0 20px; flex-shrink: 0;
}
.brand__gem { display: inline-flex; filter: drop-shadow(0 0 8px rgba(246, 88, 221, 0.35)); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--text-primary);
}
.brand__logo { height: 26px; width: auto; display: block; }
.brand--footer .brand__logo { height: 22px; }
/* fallback marks are hidden while the real logo image is present */
.brand__gem--fallback, .brand__name--fallback { display: none; }
.brand--fallback .brand__gem--fallback { display: inline-flex; }
.brand--fallback .brand__name--fallback { display: inline; }

.search {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  max-width: 420px;
  margin-left: auto; margin-right: 28px;
  height: 38px; padding: 0 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-default);
  border-radius: 10px;
  transition: border-color .15s ease;
}
.search:focus-within { border-color: var(--gradient-pink-end); }
.search__icon { color: var(--text-faint); flex-shrink: 0; }
.search__input {
  flex: 1; border: none; background: transparent; outline: none;
  color: var(--text-primary); font-family: var(--font-sans); font-size: 14px;
}
.search__input::placeholder { color: var(--text-faint); }

/* ============ LAYOUT ============ */
.layout { display: flex; align-items: flex-start; }

/* ============ SIDEBAR ============ */
.sidebar {
  position: sticky; top: var(--header-h);
  width: var(--sidebar-w); flex-shrink: 0;
  height: calc(100vh - var(--header-h));
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex; flex-direction: column;
}
.sidebar__scroll { flex: 1; overflow-y: auto; padding: 22px 14px 10px; }

.nav-group { margin-bottom: 26px; }
.nav-group__title {
  margin: 0 0 10px; padding: 0 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--text-faint);
}

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 9px;
  color: var(--text-secondary); font-weight: 500; font-size: 14px;
  transition: background .15s ease, color .15s ease;
}
.nav-item:hover { background: var(--bg-surface-hover); color: var(--text-primary); }
.nav-item--active { background: var(--bg-surface-active); color: var(--text-primary); }
.nav-item--active .nav-item__icon { color: var(--brand-500); }
.nav-item__icon { width: 19px; height: 19px; flex-shrink: 0; color: currentColor; }
.nav-item__icon:not([stroke]) { fill: currentColor; }
.nav-item__chevron { width: 16px; height: 16px; margin-left: auto; color: var(--text-faint); }

.collapse-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 24px; margin: 0;
  border: none; border-top: 1px solid var(--border-subtle);
  background: transparent; color: var(--text-muted);
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: color .15s ease;
}
.collapse-btn:hover { color: var(--text-primary); }

/* ============ MAIN ============ */
.main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  min-height: calc(100vh - var(--header-h));
}

/* ---- Ticker ---- */
.ticker {
  position: sticky; top: var(--header-h); z-index: 30;
  height: var(--ticker-h);
  display: flex; align-items: center;
  overflow: hidden; white-space: nowrap;
  background: var(--bg-app);
  border-bottom: 1px solid var(--border-subtle);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 0;
  padding-left: 24px;
  animation: ticker-scroll 60s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tick {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 18px; font-size: 13px;
}
.tick__rank { color: var(--text-faint); font-family: var(--font-mono); font-weight: 500; }
.tick__logo {
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff;
  font-family: var(--font-display);
}
.tick__logo--box { background: radial-gradient(circle at 50% 32%, rgba(255,255,255,0.14), rgba(0,0,0,0.4) 74%); border: 1px solid rgba(255,255,255,0.14); overflow: hidden; }
.tick__logo--box img { width: 82%; height: 82%; object-fit: contain; display: block; }
.tick__name { color: var(--text-secondary); font-weight: 500; }
.tick__pct {
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
  padding: 2px 7px; border-radius: 6px;
}
.tick__pct--up { color: var(--state-success-fg); background: var(--state-success-bg); }
.tick__pct--down { color: var(--state-danger-fg); background: var(--state-danger-bg); }
.tick__pct--flat { color: var(--text-muted); background: rgba(255,255,255,0.05); }

/* ---- Content ---- */
.content { padding: 26px 28px 10px; }

.section { margin-bottom: 38px; }
.section__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.section__title {
  display: flex; align-items: center; gap: 10px;
  margin: 0; font-family: var(--font-display);
  font-size: 20px; font-weight: 700; letter-spacing: 0.02em;
}
.section__icon { width: 20px; height: 20px; color: var(--text-secondary); }

.section__actions { display: flex; align-items: center; gap: 8px; }
.round-btn {
  width: 32px; height: 32px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-surface-1); border: 1px solid var(--border-default);
  color: var(--text-secondary); cursor: pointer; padding: 0;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.round-btn svg { width: 16px; height: 16px; }
.round-btn:hover { background: var(--bg-surface-active); color: var(--text-primary); border-color: var(--border-strong); }
.view-all {
  margin-left: 4px; padding: 7px 14px; border-radius: 8px;
  background: var(--bg-surface-1); border: 1px solid var(--border-default);
  color: var(--text-secondary); font-weight: 500; font-size: 13px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.view-all:hover { background: var(--bg-surface-active); color: var(--text-primary); border-color: var(--border-strong); }

/* ---- Rows (carousels) ---- */
.row {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: 158px;
  gap: 14px; overflow-x: auto;
  /* top padding keeps the hover lift (translateY) from being clipped by the
     scrollport, which forces overflow-y: auto when overflow-x is auto */
  padding-top: 8px; padding-bottom: 6px;
  scroll-behavior: smooth; scrollbar-width: thin;
}
.row--promos { grid-auto-columns: minmax(300px, 1fr); grid-template-columns: repeat(4, 1fr); grid-auto-flow: row; overflow: visible; }
.row--blog { grid-auto-columns: minmax(300px, 1fr); grid-template-columns: repeat(4, 1fr); grid-auto-flow: row; overflow: visible; }

/* ---- Casino card ---- */
.casino-card {
  position: relative; height: 180px; border-radius: 14px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,0.05), transparent 60%),
    linear-gradient(160deg, var(--bg-surface-1), #0e1428);
  border: 1px solid var(--border-subtle);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 18px 12px; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.casino-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.casino-card__art {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.casino-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,12,24,0.05) 0%, rgba(8,12,24,0.18) 42%, rgba(8,12,24,0.88) 100%);
}
.casino-card__rating {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px; border-radius: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  background: rgba(0,0,0,0.30); border: 1px solid var(--border-default);
  color: var(--text-secondary);
}
.casino-card__rating--gold {
  color: var(--gradient-gold-start);
  border-color: rgba(245, 233, 88, 0.55);
  background: rgba(245, 233, 88, 0.08);
}
.casino-card__rating svg { width: 12px; height: 12px; }
.casino-card__name {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: 0.04em; text-align: center;
  color: var(--text-primary);
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* ---- Loot box card (centered circular logo badge over a brand-tinted bg) ---- */
/* Optional background art (same dark overlay as casino tiles via .casino-card::after),
   softly blurred + darkened so the busy promo art never fights the logo and name. */
.lootbox-card__art { filter: blur(3px) brightness(0.6); transform: scale(1.12); }
.lootbox-card__badge {
  position: absolute; z-index: 2;
  top: 32px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 92px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 36%, rgba(255,255,255,0.16), rgba(0,0,0,0.30) 72%);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 8px 22px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.10);
  overflow: hidden;
}
.lootbox-card__badge img {
  width: 74%; height: 74%; object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.5));
}
.lootbox-card .casino-card__name { font-size: 16px; }

/* rating chip on loot box tiles: solid black bg; 5/5 stays yellow with a mini mystery-box icon */
.lootbox-card .casino-card__rating {
  background: #000;
  border-color: rgba(255,255,255,0.18);
}
.lootbox-card .casino-card__rating--gold {
  color: var(--gradient-gold-start);
  border-color: rgba(245, 233, 88, 0.6);
  background: #000;
}
.lootbox-card .rating-mbox {
  width: 13px; height: 13px; object-fit: contain; margin-right: 1px;
  filter: drop-shadow(0 0 3px rgba(245, 233, 88, 0.45));
}

/* ---- Creator card ---- */
.creator-card {
  position: relative; height: 180px; border-radius: 14px;
  border: 1px solid var(--border-subtle);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 16px 10px 16px; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.creator-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.creator-card__avatar {
  position: absolute; top: 38px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 72px; border-radius: 50%; overflow: hidden;
  background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.12);
}
.creator-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.creator-card__live {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 20px;
  background: rgba(0,0,0,0.40); font-size: 12px; font-weight: 600;
  font-family: var(--font-mono); color: var(--text-primary);
}
.creator-card__live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--state-danger-fg); box-shadow: 0 0 6px var(--state-danger-fg);
}
.creator-card__level {
  position: absolute; top: 10px; right: 12px;
  width: 30px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #4a2c00;
  background: var(--gradient-gold, linear-gradient(135deg, var(--gradient-gold-start), var(--gradient-gold-end)));
  -webkit-clip-path: polygon(50% 0, 100% 22%, 100% 70%, 50% 100%, 0 70%, 0 22%);
          clip-path: polygon(50% 0, 100% 22%, 100% 70%, 50% 100%, 0 70%, 0 22%);
}
.creator-card__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: 0.03em; color: var(--text-primary);
  text-align: center; line-height: 1.05;
}
.creator-card__casino {
  margin-top: 5px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
}

/* ---- Promo code card (coupon style) ---- */
.promo-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 18px; border-radius: 14px;
  background: linear-gradient(160deg, var(--bg-surface-1), #0e1428);
  border: 1px solid var(--border-subtle);
  transition: border-color .18s ease, transform .18s ease;
}
.promo-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.promo-card__head { display: flex; align-items: center; gap: 12px; }
.promo-card__logo {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 34%, rgba(255,255,255,0.12), rgba(0,0,0,0.25) 72%);
  border: 1px solid var(--border-default);
}
.promo-card__logo img { width: 76%; height: 76%; object-fit: contain; display: block; }
.promo-card__brand {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: .02em; color: var(--text-primary);
}
.promo-card__code {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 9px 9px 14px; border-radius: 10px;
  background: rgba(0,0,0,0.34); border: 1px dashed var(--border-strong);
}
.promo-card__code-value {
  flex: 1; min-width: 0;
  font-family: var(--font-mono); font-weight: 600; font-size: 15px; letter-spacing: .10em;
  color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.promo-card__copy {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 8px; cursor: pointer;
  background: var(--bg-surface-active); border: 1px solid var(--border-default);
  color: var(--text-secondary); font-family: var(--font-sans); font-weight: 600; font-size: 12px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.promo-card__copy:hover {
  background: var(--gradient-gold-start); color: #1a1500; border-color: var(--gradient-gold-start);
}
.promo-card__copy.copied {
  background: var(--state-success-fg); color: #04210b; border-color: var(--state-success-fg);
}
.promo-card__reward { font-size: 13px; color: var(--text-secondary); line-height: 1.45; }
.promo-card__reward b { color: var(--gradient-gold-start); font-weight: 700; }
.promo-card--placeholder { opacity: .82; }
.promo-card--placeholder .promo-card__code-value { color: var(--text-faint); letter-spacing: .04em; }
.promo-card--placeholder .promo-card__copy {
  pointer-events: none; opacity: .55; background: transparent;
}

/* ---- Blog card ---- */
.blog-card {
  display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden;
  background: var(--bg-surface-1); border: 1px solid var(--border-subtle);
  transition: border-color .18s ease, transform .18s ease;
}
.blog-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.blog-card__cover {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(130% 110% at 50% -20%, rgba(255,152,240,0.16), transparent 60%),
    linear-gradient(135deg, #1b2236, #0c1124);
}
.blog-card__cover::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, transparent 0 26px, rgba(255,255,255,0.025) 26px 27px);
  pointer-events: none;
}
.blog-card__cover img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.blog-card__cat {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 5px;
  background: rgba(8,11,24,0.72); border: 1px solid var(--border-default);
  color: var(--text-secondary);
}
.blog-card__body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.blog-card__title { margin: 0; font-weight: 600; font-size: 15.5px; line-height: 1.3; color: var(--text-primary); }
.blog-card__excerpt {
  margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card__meta {
  margin-top: auto; padding-top: 4px;
  font-family: var(--font-mono); font-size: 11px; color: var(--text-faint);
}
.blog-card__meta .dot::before { content: "·"; margin: 0 7px; }

/* ---- Trusted By ---- */
.trusted__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.trusted__label { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
.trusted__logos { display: flex; align-items: center; gap: 8px; }
.trusted__logos .chip {
  width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: #131a30; border: 1px solid var(--border-default);
  font-family: var(--font-display); font-weight: 700; font-size: 10px; color: var(--text-secondary);
}
.trusted__logos .chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trusted__logos .chip--active { border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500); color: #fff; }
.spin-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 9px;
  background: var(--bg-surface-1); border: 1px solid var(--border-default);
  color: var(--text-secondary); font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.spin-btn:hover { background: var(--bg-surface-active); color: #fff; border-color: var(--border-strong); }
.spin-btn svg { color: var(--brand-500); }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px; padding: 22px; border-radius: 14px;
  background: linear-gradient(160deg, var(--bg-surface-1), #0e1428);
  border: 1px solid var(--border-subtle);
}
.testimonial__quote { margin: 0 0 22px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  position: relative; overflow: hidden;
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff;
}
.testimonial__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial__name { font-weight: 600; font-size: 14px; color: var(--text-primary); }
.testimonial__role { font-size: 13px; color: var(--text-muted); }

/* ============ FOOTER ============ */
.footer {
  margin-top: auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 20px;
  padding: 28px; border-top: 1px solid var(--border-subtle);
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col--center { align-items: center; }
.footer__col--end { align-items: flex-end; }
.brand--footer { width: auto; padding: 0; }
.brand--footer .brand__name { font-size: 16px; }
.footer__copy { margin: 0; font-size: 13px; color: var(--text-muted); }
.footer__heading { margin: 0; font-size: 12px; font-weight: 500; color: var(--text-primary); }
.footer__supporters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.footer__supporters .sup {
  height: 26px; padding: 0 10px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-default);
  font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--text-muted);
}
.footer__supporters .sup img { height: 18px; width: auto; max-width: 88px; object-fit: contain; display: block; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-size: 13px; color: var(--text-muted); transition: color .15s ease; }
.footer__links a:hover { color: var(--text-primary); }

/* ============ COLLAPSED SIDEBAR ============ */
body.sidebar-collapsed { --sidebar-w: 72px; }
body.sidebar-collapsed .brand__name,
body.sidebar-collapsed .nav-item span,
body.sidebar-collapsed .nav-group__title,
body.sidebar-collapsed .collapse-btn span,
body.sidebar-collapsed .nav-item__chevron { display: none; }
body.sidebar-collapsed .brand:not(.brand--footer) .brand__logo { display: none; }
body.sidebar-collapsed .brand:not(.brand--footer) .brand__gem--fallback { display: inline-flex; }
body.sidebar-collapsed .nav-item { justify-content: center; }
body.sidebar-collapsed .brand:not(.brand--footer) { justify-content: center; padding: 0; }
body.sidebar-collapsed .collapse-btn { justify-content: center; padding: 16px 0; }
body.sidebar-collapsed .collapse-btn svg { transform: rotate(180deg); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .row--promos, .row--blog { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; text-align: center; }
  .footer__col--center, .footer__col--end { align-items: center; }
}
@media (max-width: 760px) {
  :root { --sidebar-w: 0px; }
  .sidebar { display: none; }
  .brand { width: auto; }
  .row--promos, .row--blog { grid-template-columns: 1fr; }
  .content { padding: 20px 16px; }
}

/* ============ LEGAL PAGES ============ */
.legal-page { background: var(--bg-app); }
.legal-page .app-header { position: static; }
.legal-page .brand { width: auto; }

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 28px 76px;
}
.legal__back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 26px; transition: color .15s ease;
}
.legal__back:hover { color: var(--text-primary); }
.legal__back svg { width: 15px; height: 15px; }

.legal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
  color: var(--text-primary);
}
.legal__updated {
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--text-faint);
}
.legal__intro {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  padding: 16px 18px;
  margin: 0 0 30px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gradient-pink-end);
  border-radius: 10px;
}

.legal__body { font-size: 15px; line-height: 1.72; color: var(--text-secondary); }
.legal__body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  margin: 38px 0 12px;
  padding-top: 10px;
}
.legal__body h2:first-of-type { margin-top: 8px; }
.legal__body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 22px 0 8px;
}
.legal__body p { margin: 0 0 14px; }
.legal__body ul { margin: 0 0 16px; padding-left: 22px; }
.legal__body li { margin: 0 0 8px; }
.legal__body a { color: var(--brand-500); transition: color .15s ease; }
.legal__body a:hover { color: var(--gradient-pink-start); text-decoration: underline; }
.legal__body strong { color: var(--text-primary); font-weight: 600; }
.legal__body hr {
  border: 0; border-top: 1px solid var(--border-subtle);
  margin: 34px 0;
}

.legal__contact {
  margin: 34px 0 0;
  padding: 18px 20px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 14.5px;
}
.legal__contact h2 { margin-top: 0; }

/* Gamble Aware resource cards */
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 18px 0 8px;
}
.help-card {
  padding: 16px 18px;
  background: var(--bg-surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transition: border-color .15s ease, transform .15s ease;
}
.help-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.help-card h3 { margin: 0 0 4px; font-size: 15px; color: var(--text-primary); }
.help-card p { margin: 0 0 8px; font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }
.help-card .help-card__contact {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gradient-gold-start);
}
.help-card a.help-card__contact:hover { text-decoration: underline; }

/* Simplified legal footer */
.footer--legal {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--border-subtle);
}
.footer--legal .footer__links { flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 760px) {
  .legal { padding: 30px 18px 60px; }
  .legal__title { font-size: 27px; }
  .help-grid { grid-template-columns: 1fr; }
  .footer--legal { grid-template-columns: 1fr; text-align: center; }
  .footer--legal .footer__links { justify-content: center; }
}

/* ============ BLOG INDEX PAGE ============ */
.blog-page { background: var(--bg-app); }

.bloghub__head { max-width: 760px; margin: 2px 0 26px; }
.bloghub__eyebrow {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-500);
  margin: 0 0 10px;
}
.bloghub__title {
  font-family: var(--font-display); font-weight: 700; font-size: 36px;
  letter-spacing: 0.01em; margin: 0 0 12px; color: var(--text-primary); line-height: 1.08;
}
.bloghub__lede { font-size: 16px; line-height: 1.65; color: var(--text-secondary); margin: 0; }
.bloghub__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 38px;
}
@media (max-width: 900px) { .bloghub__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bloghub__grid { grid-template-columns: 1fr; } .bloghub__title { font-size: 28px; } }

/* ============ BLOG ARTICLE PAGE ============ */
.post-page { background: var(--bg-app); }

.post { max-width: 880px; margin: 0; padding: 6px 0 64px; }
.post__crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-muted); margin: 0 0 22px;
}
.post__crumb a { color: var(--text-muted); transition: color .15s ease; }
.post__crumb a:hover { color: var(--text-primary); }
.post__crumb span { color: var(--text-faint); }
.post__cat {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--brand-500);
  margin: 0 0 12px;
}
.post__title {
  font-family: var(--font-display); font-weight: 700; font-size: 38px;
  line-height: 1.1; letter-spacing: 0.005em; margin: 0 0 16px; color: var(--text-primary);
}
.post__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint);
  margin: 0 0 28px; padding-bottom: 22px; border-bottom: 1px solid var(--border-subtle);
}
.post__meta .dot::before { content: "·"; margin: 0 8px; color: var(--text-faint); }
.post__meta strong { color: var(--text-secondary); font-weight: 600; }

.post__lede { font-size: 18px; line-height: 1.65; color: var(--text-primary); margin: 0 0 24px; }

.post__body { font-size: 16px; line-height: 1.75; color: var(--text-secondary); }
.post__body h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 25px;
  letter-spacing: 0.01em; color: var(--text-primary); margin: 42px 0 14px; scroll-margin-top: 20px;
}
.post__body h3 { font-size: 19px; font-weight: 600; color: var(--text-primary); margin: 28px 0 10px; }
.post__body p { margin: 0 0 17px; }
.post__body ul, .post__body ol { margin: 0 0 18px; padding-left: 24px; }
.post__body li { margin: 0 0 9px; }
.post__body li::marker { color: var(--brand-500); }
.post__body a { color: var(--brand-500); transition: color .15s ease; }
.post__body a:hover { color: var(--gradient-pink-start); text-decoration: underline; }
.post__body strong { color: var(--text-primary); font-weight: 600; }
.post__body blockquote {
  margin: 0 0 20px; padding: 14px 20px; border-left: 3px solid var(--gradient-pink-end);
  background: var(--bg-surface-1); border-radius: 0 10px 10px 0;
  font-size: 16.5px; color: var(--text-primary);
}
.post__body blockquote p:last-child { margin-bottom: 0; }

/* Figures with graceful placeholder when the image is not on disk yet */
.post-fig { margin: 26px 0; }
.post-fig__frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(130% 110% at 50% -20%, rgba(255,152,240,0.14), transparent 60%),
    linear-gradient(135deg, #1b2236, #0c1124);
  display: flex; align-items: center; justify-content: center;
}
.post-fig__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg, transparent 0 28px, rgba(255,255,255,0.022) 28px 29px);
}
.post-fig__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2;
}
.post-fig__ph {
  position: relative; z-index: 1; max-width: 80%; text-align: center;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.5; color: var(--text-muted);
  padding: 0 16px;
}
.post-fig__ph b { display: block; color: var(--text-secondary); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.post-fig figcaption { margin-top: 9px; font-size: 12.5px; color: var(--text-faint); text-align: center; }

/* Key takeaways box */
.post-key {
  margin: 26px 0; padding: 18px 22px; border-radius: 12px;
  background: var(--bg-surface-1); border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gradient-gold-start);
}
.post-key h2 { font-family: var(--font-display); font-size: 16px; margin: 0 0 10px; color: var(--text-primary); letter-spacing: 0.04em; text-transform: uppercase; }
.post-key ul { margin: 0; padding-left: 20px; }
.post-key li { margin: 0 0 7px; font-size: 14.5px; color: var(--text-secondary); }
.post-key li:last-child { margin-bottom: 0; }

/* MrLoot promo / call to action box */
.post-cta {
  margin: 32px 0; padding: 24px 26px; border-radius: 14px; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255,152,240,0.16), transparent 55%),
    linear-gradient(135deg, #1c1730, #120c20);
  border: 1px solid var(--border-default);
}
.post-cta h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 21px; color: var(--text-primary); }
.post-cta p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); }
.post-cta .btn-loot {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 11px 18px; border-radius: 9px; color: #16091a;
  background: linear-gradient(90deg, var(--gradient-pink-start), var(--gradient-gold-start));
  transition: transform .15s ease, filter .15s ease;
}
.post-cta .btn-loot:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* FAQ */
.post-faq { margin: 36px 0 0; }
.post-faq h2 { font-family: var(--font-display); font-weight: 700; font-size: 25px; color: var(--text-primary); margin: 0 0 16px; }
.post-faq__q { font-size: 17px; font-weight: 600; color: var(--text-primary); margin: 20px 0 7px; }
.post-faq__a { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--text-secondary); }

/* Tags + author + related */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; }
.post-tags span {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted);
  padding: 5px 11px; border-radius: 20px; background: var(--bg-surface-1); border: 1px solid var(--border-subtle);
}
.post-divider { border: 0; border-top: 1px solid var(--border-subtle); margin: 34px 0; }
.post-related h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text-primary); margin: 0 0 16px; }
.post-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) {
  .post { padding: 4px 0 56px; }
  .post__title { font-size: 29px; }
  .post__body { font-size: 15.5px; }
  .post-related__grid { grid-template-columns: 1fr; }
}

/* ============ DIRECTORY / OVERVIEW PAGES ============ */
.dir-hero {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 26px; align-items: center;
  margin: 2px 0 22px; padding: 30px 34px; border-radius: 16px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255,152,240,0.16), transparent 52%),
    linear-gradient(140deg, #1b1531, #10162b 72%);
  border: 1px solid var(--border-default);
}
.dir-hero__title {
  font-family: var(--font-display); font-weight: 700; font-size: 33px;
  letter-spacing: 0.02em; margin: 0 0 9px; color: var(--text-primary); line-height: 1.1;
}
.dir-hero__title span {
  background: linear-gradient(90deg, var(--gradient-gold-start), var(--gradient-gold-end));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dir-hero__sub { color: var(--text-muted); font-size: 15px; margin: 0; max-width: 380px; line-height: 1.55; }
.dir-hero__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dir-hero__checks li {
  display: flex; align-items: center; gap: 11px; padding: 11px 15px; border-radius: 10px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-subtle);
  font-size: 13.5px; color: var(--text-secondary);
}
.dir-hero__checks .ico { color: var(--gradient-gold-start); flex-shrink: 0; display: inline-flex; }
.dir-hero__checks .yes { margin-left: auto; color: var(--state-success-fg); font-family: var(--font-mono); font-size: 12px; }

.dir-tools { display: flex; gap: 14px; align-items: center; margin: 0 0 6px; }
.dir-search {
  flex: 1; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-default); border-radius: 12px;
  transition: border-color .15s ease;
}
.dir-search:focus-within { border-color: var(--gradient-pink-end); }
.dir-search svg { color: var(--text-faint); flex-shrink: 0; }
.dir-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); font-family: var(--font-sans); font-size: 14px; }
.dir-search input::placeholder { color: var(--text-faint); }
.seg-toggle { display: inline-flex; padding: 4px; gap: 4px; background: var(--bg-surface-1); border: 1px solid var(--border-default); border-radius: 11px; flex-shrink: 0; }
.seg-toggle__btn {
  padding: 8px 18px; border: none; background: transparent; color: var(--text-muted);
  font-family: var(--font-sans); font-weight: 600; font-size: 13px; border-radius: 8px; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.seg-toggle__btn.is-active { background: var(--bg-surface-active); color: var(--text-primary); }

.dir-section__title {
  display: flex; align-items: center; gap: 9px; font-family: var(--font-display);
  font-weight: 700; font-size: 18px; letter-spacing: 0.02em; color: var(--text-primary); margin: 28px 0 14px;
}
.dir-section__title svg { width: 18px; height: 18px; color: var(--gradient-gold-start); }
.dir-view--hidden { display: none; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: 14px; }
.dir-empty { color: var(--text-faint); font-size: 14px; padding: 18px 2px; }

.dir-table-wrap { overflow-x: auto; border: 1px solid var(--border-subtle); border-radius: 12px; }
.dir-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dir-table th {
  text-align: left; padding: 13px 16px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint);
  background: var(--bg-surface-1); border-bottom: 1px solid var(--border-subtle);
}
.dir-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
.dir-table tr:last-child td { border-bottom: none; }
.dir-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.dir-table__site { display: flex; align-items: center; gap: 11px; }
.dir-table__logo {
  width: 32px; height: 32px; border-radius: 50%; object-fit: contain; flex-shrink: 0;
  background: #131a30; border: 1px solid var(--border-default); padding: 3px;
}
.dir-table__name { color: var(--text-primary); font-weight: 600; }
.dir-table__rank { font-family: var(--font-mono); color: var(--text-faint); }
.dir-table__rating { font-family: var(--font-mono); font-weight: 600; }
.dir-table__rating--gold { color: var(--gradient-gold-start); }
.dir-table__cta { color: var(--brand-500); font-weight: 600; font-size: 13px; }

.dir-criteria__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(244px, 1fr)); gap: 14px; }
.dir-crit { padding: 16px 18px; background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-radius: 12px; }
.dir-crit h3 { margin: 0 0 6px; font-size: 14.5px; color: var(--text-primary); display: flex; align-items: center; gap: 8px; }
.dir-crit h3 svg { color: var(--state-success-fg); width: 16px; height: 16px; flex-shrink: 0; }
.dir-crit p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.dir-faq { margin-top: 8px; }
.dir-faq details { border: 1px solid var(--border-subtle); border-radius: 10px; background: var(--bg-surface-1); margin-bottom: 10px; padding: 0 16px; }
.dir-faq summary {
  cursor: pointer; padding: 15px 0; font-weight: 600; color: var(--text-primary); font-size: 15px;
  list-style: none; display: flex; align-items: center; gap: 11px;
}
.dir-faq summary::-webkit-details-marker { display: none; }
.dir-faq summary::before { content: "\25B8"; color: var(--brand-500); transition: transform .15s ease; }
.dir-faq details[open] summary::before { transform: rotate(90deg); }
.dir-faq details p { margin: 0 0 15px; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.dir-badge {
  display: flex; align-items: center; justify-content: center; gap: 18px; width: -moz-max-content; width: max-content;
  margin: 40px auto 12px; padding: 18px 34px; border: 2px solid var(--gradient-gold-start); border-radius: 14px;
}
.dir-badge svg { width: 40px; height: 40px; color: var(--gradient-gold-start); }
.dir-badge span { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: 0.06em; line-height: 1.12; color: var(--text-primary); }
.dir-badge b { color: var(--gradient-gold-start); display: block; font-weight: 700; }

@media (max-width: 860px) {
  .dir-hero { grid-template-columns: 1fr; }
  .dir-hero__sub { max-width: none; }
}

/* ============ EMAIL SUBSCRIBE BAR ============ */
.subscribe {
  display: flex; align-items: center; gap: 18px; margin: 0 0 30px; padding: 20px 24px;
  border-radius: 14px; background: linear-gradient(135deg, #161d33, #10162b); border: 1px solid var(--border-default);
}
.subscribe__text { font-size: 15px; color: var(--text-secondary); font-weight: 500; flex-shrink: 0; }
.subscribe__form { display: flex; flex: 1; gap: 12px; min-width: 0; }
.subscribe__input {
  flex: 1; min-width: 0; height: 46px; padding: 0 16px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-default); border-radius: 10px; color: var(--text-primary);
  font-family: var(--font-sans); font-size: 14px; outline: none; transition: border-color .15s ease;
}
.subscribe__input:focus { border-color: var(--gradient-pink-end); }
.subscribe__input::placeholder { color: var(--text-faint); }
.subscribe__btn {
  padding: 0 24px; height: 46px; border: none; border-radius: 10px; cursor: pointer; flex-shrink: 0;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: #16091a;
  background: linear-gradient(90deg, var(--gradient-pink-start), var(--gradient-pink-end));
  transition: transform .15s ease, filter .15s ease;
}
.subscribe__btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.subscribe__done { display: none; align-items: center; gap: 9px; color: var(--state-success-fg); font-weight: 600; font-size: 15px; }
.subscribe__done svg { width: 18px; height: 18px; }
.subscribe.is-done .subscribe__form { display: none; }
.subscribe.is-done .subscribe__done { display: flex; }
@media (max-width: 760px) {
  .subscribe { flex-direction: column; align-items: stretch; gap: 14px; }
  .subscribe__form { flex-direction: column; }
}

/* ============ PROMO CODES (master / detail, jobs style) ============ */
.listing__head { margin: 2px 0 20px; max-width: 760px; }
.listing__title { font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: 0.01em; margin: 0 0 8px; color: var(--text-primary); }
.listing__sub { font-size: 15.5px; color: var(--text-muted); margin: 0; line-height: 1.55; }
.listing__divider { border: 0; border-top: 1px solid var(--border-subtle); margin: 18px 0 22px; }

.jobs-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 16px; }
.jobs-tools__search {
  flex: 1; min-width: 230px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-default); border-radius: 12px;
  transition: border-color .15s ease;
}
.jobs-tools__search:focus-within { border-color: var(--gradient-pink-end); }
.jobs-tools__search svg { color: var(--text-faint); flex-shrink: 0; }
.jobs-tools__search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); font-family: var(--font-sans); font-size: 14px; }
.jobs-tools__search input::placeholder { color: var(--text-faint); }
.jobs-select {
  height: 44px; padding: 0 14px; background: var(--bg-surface-1); border: 1px solid var(--border-default);
  border-radius: 11px; color: var(--text-secondary); font-family: var(--font-sans); font-size: 13.5px; cursor: pointer;
}
.jobs-select:focus { outline: none; border-color: var(--border-strong); }
.jobs-tools__spacer { margin-left: auto; }
.jobs-tools__cta {
  height: 44px; padding: 0 18px; border-radius: 11px; cursor: pointer;
  background: var(--bg-surface-1); border: 1px solid var(--border-default); color: var(--text-secondary);
  font-family: var(--font-sans); font-weight: 600; font-size: 13px; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.jobs-tools__cta:hover { background: var(--bg-surface-active); color: var(--text-primary); border-color: var(--border-strong); }

.jobs-layout { display: grid; grid-template-columns: 1fr 1.18fr; gap: 18px; align-items: start; }
.jobs-list { display: flex; flex-direction: column; gap: 14px; max-height: calc(100vh - 220px); overflow-y: auto; padding: 2px 4px 2px 2px; }
.job-card {
  text-align: left; cursor: pointer; width: 100%; padding: 18px; border-radius: 14px;
  background: var(--bg-surface-1); border: 1px solid var(--border-subtle); color: inherit; font-family: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.job-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.job-card.is-active { border-color: var(--brand-500); box-shadow: 0 0 0 1px var(--brand-500); }
.job-card__top { display: flex; align-items: center; gap: 12px; }
.job-card__logo {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 34%, rgba(255,255,255,0.12), rgba(0,0,0,0.25) 72%);
  border: 1px solid var(--border-default);
}
.job-card__logo img { width: 74%; height: 74%; object-fit: contain; display: block; }
.job-card__site { font-size: 12.5px; color: var(--text-muted); }
.job-card__title { font-weight: 600; font-size: 15.5px; color: var(--text-primary); margin: 3px 0 0; line-height: 1.3; }
.job-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.job-tag {
  font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: 7px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-default); color: var(--text-secondary);
}
.job-tag--gold { color: var(--gradient-gold-start); border-color: rgba(245,233,88,0.4); background: rgba(245,233,88,0.07); }

.job-detail {
  position: sticky; top: calc(var(--header-h) + var(--ticker-h) + 18px);
  padding: 26px 28px; border-radius: 16px; background: var(--bg-surface-1); border: 1px solid var(--border-subtle);
}
.job-detail__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.job-detail__logo {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 34%, rgba(255,255,255,0.12), rgba(0,0,0,0.25) 72%);
  border: 1px solid var(--border-default);
}
.job-detail__logo img { width: 74%; height: 74%; object-fit: contain; }
.job-detail__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text-primary); margin: 0; line-height: 1.15; }
.job-detail__site { font-size: 14px; color: var(--text-muted); margin-top: 3px; }
.job-detail__tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 18px; }
.job-detail__code {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 12px 12px 12px 16px;
  border: 1px dashed var(--border-strong); border-radius: 10px; background: rgba(0,0,0,0.34);
}
.job-detail__code b { flex: 1; min-width: 0; font-family: var(--font-mono); font-weight: 600; font-size: 16px; letter-spacing: 0.1em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-detail__copy {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 8px; cursor: pointer;
  background: var(--bg-surface-active); border: 1px solid var(--border-default); color: var(--text-secondary);
  font-family: var(--font-sans); font-weight: 600; font-size: 12px; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.job-detail__copy:hover { background: var(--gradient-gold-start); color: #1a1500; border-color: var(--gradient-gold-start); }
.job-detail__copy.copied { background: var(--state-success-fg); color: #04210b; border-color: var(--state-success-fg); }
.job-detail__link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--brand-500); margin-bottom: 18px; }
.job-detail__link svg { width: 15px; height: 15px; }
.job-detail__body { font-size: 14.5px; line-height: 1.7; color: var(--text-secondary); }
.job-detail__body h4 { font-family: var(--font-display); font-size: 15px; color: var(--text-primary); margin: 18px 0 9px; }
.job-detail__body p { margin: 0 0 13px; }
.job-detail__body ol, .job-detail__body ul { margin: 0 0 13px; padding-left: 20px; }
.job-detail__body li { margin: 0 0 7px; }
.job-detail__body li::marker { color: var(--brand-500); }
.job-detail__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 11px 18px; border-radius: 9px; color: #16091a;
  background: linear-gradient(90deg, var(--gradient-pink-start), var(--gradient-gold-start));
  transition: transform .15s ease, filter .15s ease;
}
.job-detail__cta:hover { transform: translateY(-2px); filter: brightness(1.05); }

@media (max-width: 900px) {
  .jobs-layout { grid-template-columns: 1fr; }
  .jobs-list { max-height: none; }
  .job-detail { position: static; }
  .jobs-tools__spacer { margin-left: 0; flex-basis: 100%; height: 0; }
}

/* ============ SITE EVALUATION PAGE ============ */
.se { padding-bottom: 50px; }
.se-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text-muted); margin: 2px 0 20px; transition: color .15s ease; }
.se-back:hover { color: var(--text-primary); }
.se-back svg { width: 15px; height: 15px; }

.se-banner { display: grid; grid-template-columns: 1.45fr 1fr; gap: 16px; margin-bottom: 16px; }
.se-tile { padding: 22px 24px; border-radius: 16px; background: var(--bg-surface-1); border: 1px solid var(--border-subtle); }
.se-tile--brand { display: flex; flex-direction: column; gap: 20px; justify-content: space-between; }
.se-brand__head { display: flex; align-items: center; gap: 16px; }
.se-brand__id { flex: 1; min-width: 0; }
.se-logo {
  width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 34%, rgba(255,255,255,0.12), rgba(0,0,0,0.3) 72%); border: 1px solid var(--border-default);
}
.se-logo img { width: 72%; height: 72%; object-fit: contain; }
.se-name { font-family: var(--font-display); font-weight: 700; font-size: 27px; margin: 0; color: var(--text-primary); line-height: 1.1; }
.se-est { font-size: 13px; color: var(--text-muted); margin-top: 5px; font-family: var(--font-mono); }
.se-score__rating {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-weight: 600; font-size: 16px;
  color: var(--text-secondary); padding: 6px 12px; border: 1px solid var(--border-default); border-radius: 9px; background: rgba(255,255,255,0.03); flex-shrink: 0;
}
.se-score__rating--gold { color: var(--gradient-gold-start); border-color: rgba(245,233,88,0.45); background: rgba(245,233,88,0.07); }
.se-score__rating svg { width: 14px; height: 14px; }
.se-summary { font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 6px; max-width: 860px; }

.se-brand__links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.se-weblink {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 10px;
  background: var(--bg-surface-active); border: 1px solid var(--border-default); color: var(--text-primary);
  font-weight: 600; font-size: 13.5px; transition: border-color .15s ease;
}
.se-weblink:hover { border-color: var(--gradient-pink-end); }
.se-weblink svg { width: 15px; height: 15px; color: var(--text-muted); flex-shrink: 0; }
.se-weblink__ext { width: 13px !important; height: 13px !important; }
.se-socials { display: inline-flex; gap: 8px; }
.se-social {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-surface-active); border: 1px solid var(--border-default); color: var(--text-secondary);
  transition: color .15s ease, border-color .15s ease;
}
.se-social:hover { color: var(--text-primary); border-color: var(--gradient-pink-end); }
.se-social svg { width: 17px; height: 17px; }

.se-tile--verified, .se-tile--score { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 9px; }
.se-tile--verified { border: 2px solid var(--gradient-gold-start); background: radial-gradient(120% 120% at 50% 0%, rgba(245,233,88,0.10), transparent 62%), var(--bg-surface-1); }
.se-verified__gem { width: 40px; height: 40px; color: var(--gradient-gold-start); }
.se-verified__text { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 0.06em; color: var(--text-primary); line-height: 1.18; }
.se-verified__text b { color: var(--gradient-gold-start); }
.se-verified__sub { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.se-score__icon { width: 34px; height: 34px; color: var(--text-muted); }
.se-score__meets-big { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--text-primary); }

.se-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.se-cat { padding: 18px 20px; border-radius: 14px; background: var(--bg-surface-1); border: 1px solid var(--border-subtle); }
.se-cat__head { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.se-cat__icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-surface-active); color: var(--text-secondary);
}
.se-cat__icon svg { width: 18px; height: 18px; }
.se-cat__name { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text-primary); }
.se-cat__status { font-family: var(--font-mono); font-size: 12px; font-weight: 600; margin-top: 2px; }
.se-cat__status--pass { color: var(--gradient-gold-start); }
.se-cat__status--fail { color: var(--state-danger-fg); }
.se-item { display: flex; gap: 11px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,0.02); margin-bottom: 8px; }
.se-item:last-child { margin-bottom: 0; }
.se-item__mark { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }
.se-item__mark--pass { color: var(--state-success-fg); }
.se-item__mark--fail { color: var(--state-danger-fg); }
.se-item__mark--pending { color: var(--gradient-gold-start); }
.se-item__name { font-size: 14px; font-weight: 600; color: var(--text-primary); margin: 0 0 3px; }
.se-item__desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; margin: 0; }
.se-item--proof { flex-direction: column; gap: 11px; border: 1px dashed var(--border-strong); background: rgba(245,233,88,0.04); }
.se-proof__row { display: flex; gap: 11px; }
.se-operator-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; padding: 8px 13px; border-radius: 8px; color: #16091a;
  background: linear-gradient(90deg, var(--gradient-gold-start), var(--gradient-gold-end)); transition: transform .15s ease, filter .15s ease;
}
.se-operator-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.se-compliance { display: grid; grid-template-columns: repeat(auto-fit, minmax(244px, 1fr)); gap: 14px; }
.se-comp { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: 12px; background: var(--bg-surface-1); border: 1px solid var(--border-subtle); }
.se-comp__icon { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-surface-active); color: var(--text-secondary); }
.se-comp__icon svg { width: 17px; height: 17px; }
.se-comp__name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.se-comp__val { font-family: var(--font-mono); font-size: 12.5px; margin-top: 2px; }
.se-comp__val--yes { color: var(--state-success-fg); }
.se-comp__val--no { color: var(--state-danger-fg); }

@media (max-width: 820px) {
  .se-banner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .se-name { font-size: 23px; }
  .se-brand__head { flex-wrap: wrap; }
}

/* ============ OPERATOR CONTACT PAGE ============ */
.contact { max-width: 720px; padding: 6px 0 60px; }
.contact__title { font-family: var(--font-display); font-weight: 700; font-size: 32px; margin: 0 0 12px; color: var(--text-primary); }
.contact__lede { font-size: 16px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 26px; }
.contact__card {
  padding: 26px 28px; border-radius: 16px; border: 1px solid var(--border-default);
  background: radial-gradient(120% 130% at 0% 0%, rgba(255,152,240,0.12), transparent 55%), linear-gradient(140deg, #1b1531, #10162b 72%);
}
.contact__card-label { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-500); margin: 0 0 10px; }
.contact__card p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 16px; }
.contact__mail {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-weight: 600; font-size: 17px; color: #16091a;
  padding: 13px 22px; border-radius: 11px; margin: 2px 0 18px;
  background: linear-gradient(90deg, var(--gradient-pink-start), var(--gradient-gold-start)); transition: transform .15s ease, filter .15s ease;
}
.contact__mail:hover { transform: translateY(-2px); filter: brightness(1.05); }
.contact__small { font-size: 13px !important; color: var(--text-muted) !important; margin: 0 !important; }
