/* ==========================================================================
   NisseCasino.sbs — "Aurum Violet" design system v1
   Deep violet night surfaces · champagne-gold signal · soft glass panels
   Written from scratch for this template. Replaces the old Night Grid layers.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:          #08040F;
  --bg-2:        #0D0719;
  --bg-3:        #150B26;
  --surface:     #120A20;
  --surface-2:   #190E2C;
  --surface-3:   #221238;

  --text:        #F4EFFF;
  --text-2:      #CFC2E6;
  --text-3:      #A294BE;

  --violet:      #8B5CF6;
  --violet-soft: #B79CFF;
  --violet-deep: #5B21B6;
  --violet-ink:  #2A1550;

  --gold:        #FFD25E;
  --gold-2:      #FFE9A8;
  --gold-3:      #E5B341;
  --gold-4:      #B98316;
  --gold-ink:    #1A0B2E;

  --line:        #241636;
  --line-2:      #362050;
  --line-gold:   rgba(255, 210, 94, .30);
  --line-violet: rgba(183, 156, 255, .26);

  --max-w: 1160px;
  --r:     12px;
  --r-lg:  18px;
  --r-xl:  24px;

  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Manrope', 'Segoe UI', system-ui, sans-serif;

  --shadow-card: 0 24px 60px rgba(3, 0, 10, .55);
  --shadow-gold: 0 12px 30px rgba(255, 196, 58, .16);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(124, 58, 237, .20), transparent 62%),
    radial-gradient(900px 520px at 4% 6%, rgba(255, 210, 94, .055), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; }

::selection { background: rgba(255, 210, 94, .28); color: #FFFFFF; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(255, 210, 94, .45); }
a:hover { color: var(--gold); text-decoration-color: var(--gold); }

strong, b { color: var(--text); font-weight: 700; }

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 0; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 4, 15, .84);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.logo { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.logo img { display: block; height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }

.nav a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.005em;
  color: var(--text-2);
  padding: 9px 10px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease, background .16s ease;
}

.nav a:hover { color: var(--text); background: rgba(139, 92, 246, .18); }

.nav a.active {
  color: var(--gold-ink);
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(139, 92, 246, .10);
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 6. Disclosure bar ---------- */
.top-disclosure {
  background: linear-gradient(90deg, rgba(255, 210, 94, .10), rgba(124, 58, 237, .14));
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-2);
}

.top-disclosure-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.td-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
}

.top-disclosure a { color: var(--gold-2); }
.td-mini { display: none; }

/* ---------- 7. Hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 34px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(760px 380px at 88% 0%, rgba(124, 58, 237, .16), transparent 70%),
    linear-gradient(180deg, rgba(21, 11, 38, .55), rgba(8, 4, 15, 0));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(183, 156, 255, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(600px 300px at 80% 10%, #000, transparent 75%);
  mask-image: radial-gradient(600px 300px at 80% 10%, #000, transparent 75%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 2; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 1;
}

.blob.a {
  width: 460px;
  height: 460px;
  right: -140px;
  top: -240px;
  background: rgba(124, 58, 237, .42);
}

.blob.b {
  width: 320px;
  height: 320px;
  left: -160px;
  bottom: -220px;
  background: rgba(255, 196, 58, .13);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.breadcrumbs a { color: var(--text-3); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-2); }
.sep { color: var(--gold-3); }

.page-hero h1 {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.07;
  letter-spacing: -.028em;
  margin: 14px 0 14px;
  max-width: 940px;
  text-wrap: balance;
}

.flag-inline {
  display: inline-block;
  height: .62em;
  width: auto;
  margin: 0 .16em 0 .04em;
  border-radius: 3px;
  vertical-align: baseline;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}

.lead {
  font-size: 18px;
  line-height: 1.62;
  color: var(--text-2);
  max-width: 700px;
  margin: 0 0 18px;
}

.hero-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-3);
}

.hero-byline img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 210, 94, .45);
}

.hero-byline a { color: var(--text-2); text-decoration: none; }
.hero-byline a:hover { color: var(--gold-2); }
.by-sep { color: var(--gold-3); }
.by-date-short { display: none; }

/* ---------- 8. Ranking list ---------- */
.list-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(21px, 2.2vw, 28px);
  letter-spacing: -.02em;
  margin: 34px 0 16px;
}

.list-heading::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 210, 94, 0));
  flex: 0 0 auto;
}

.featured-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 8px;
}

.feat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 140px;
  padding: 14px 232px 14px 148px;
  background:
    linear-gradient(150deg, rgba(139, 92, 246, .12), rgba(13, 7, 25, .55) 46%),
    var(--surface);
  border: 1px solid var(--line-2);
  border-left: 3px solid rgba(183, 156, 255, .45);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(3, 0, 10, .34);
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.feat-card:hover {
  border-color: rgba(255, 210, 94, .34);
  border-left-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(3, 0, 10, .46);
}

.feat-card.is-top-pick {
  border-color: rgba(255, 210, 94, .48);
  border-left-color: var(--gold);
  background:
    linear-gradient(150deg, rgba(255, 210, 94, .12), rgba(124, 58, 237, .16) 42%, rgba(13, 7, 25, .5) 72%),
    var(--surface-2);
}

.feat-card.is-top-pick::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 210, 94, .75), rgba(139, 92, 246, .35) 42%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.top-pick-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(255, 196, 58, .28);
}

.feat-thumb {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 112px;
  height: 112px;
  padding: 5px;
  border-radius: 12px;
  background: #F6EFDC;
  border: 1px solid rgba(255, 210, 94, .22);
  overflow: hidden;
}

.feat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.feat-card h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -.018em;
}

.feat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px;
}

.feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-2);
}

.feat-list .ico {
  flex: 0 0 17px;
  width: 17px;
  font-size: 12.5px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #FFE9A8 0%, #FFD25E 42%, #E9AE2C 100%);
  color: #1A0B2E;
  box-shadow: 0 12px 28px rgba(255, 196, 58, .18), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.btn-primary:hover {
  color: #1A0B2E;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(255, 196, 58, .26), inset 0 1px 0 rgba(255, 255, 255, .6);
}

.btn-block { display: flex; width: 100%; }

.feat-card .btn {
  position: absolute;
  right: 16px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 200px;
  height: 46px;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 14px;
}

.feat-card .btn:hover { transform: translateY(-1px); }

/* ---------- 9. Trust stats ---------- */
.trust-stats-wrap { padding: 26px 0 0; }

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background:
    linear-gradient(120deg, rgba(91, 33, 182, .30), rgba(18, 10, 32, .92) 58%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.ts-tile {
  padding: 6px 10px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .07);
}

.ts-tile:last-child { border-right: 0; }

.ts-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--gold);
}

.ts-lab {
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-3);
}

/* ---------- 10. Content & prose ---------- */
.content { padding: 40px 0 0; }

.content .container {
  max-width: 980px;
  counter-reset: sec;
}

.toc {
  position: relative;
  padding: 18px 22px 16px;
  margin: 0 0 36px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background:
    linear-gradient(150deg, rgba(139, 92, 246, .09), rgba(13, 7, 25, .5) 55%),
    var(--surface);
}

.toc-title {
  display: block;
  margin: 0 0 10px;
  padding-right: 44px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.toc-header { position: relative; }

.toc ol, .toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
}

.toc li, .toc-list li { counter-increment: toc; }

.toc li a, .toc-list li a {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .045);
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--text-2);
  text-decoration: none;
  transition: color .14s ease;
}

.toc li a::before, .toc-list li a::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  padding-top: 1px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold-4);
}

.toc li a:hover, .toc-list li a:hover { color: var(--gold-2); }

.toc-toggle {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(8, 4, 15, .55);
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.toc-toggle:hover { border-color: var(--line-gold); }

.toc.is-collapsed ol, .toc.is-collapsed .toc-list { display: none; }

.content section.reveal {
  counter-increment: sec;
  padding: 0 0 24px;
  margin: 0 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}

.content section.reveal:last-of-type { border-bottom: 0; }

section.reveal > h2 {
  position: relative;
  padding-top: 28px;
  margin: 0 0 16px;
  font-size: clamp(23px, 2.4vw, 31px);
  letter-spacing: -.026em;
  scroll-margin-top: 96px;
}

section.reveal > h2::before {
  content: counter(sec, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--gold-4);
}

section.reveal > h3 {
  margin: 26px 0 10px;
  padding-left: 13px;
  border-left: 3px solid rgba(255, 210, 94, .55);
  font-size: 19px;
  line-height: 1.32;
  color: #EFE4FF;
}

section.reveal > h3:first-child { margin-top: 4px; }

.content p { color: var(--text-2); }

.content ul, .content ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.content li { margin: 0 0 7px; color: var(--text-2); }
.content li::marker { color: var(--gold-3); }

.table-wrap {
  margin: 18px 0 22px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow-x: auto;
  background: var(--bg-2);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  min-width: 560px;
}

th {
  padding: 13px 16px;
  background: linear-gradient(180deg, #22133A, #1A0E2C);
  color: var(--gold-2);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: left;
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}

td {
  padding: 12px 16px;
  color: var(--text-2);
  border-top: 1px solid rgba(255, 255, 255, .05);
  vertical-align: top;
}

tbody tr:first-child td { border-top: 0; }
tbody tr:nth-child(even) td { background: rgba(139, 92, 246, .05); }
tbody tr:hover td { background: rgba(255, 210, 94, .05); }

td:first-child { color: var(--text); font-weight: 600; }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 22px;
}

.feature-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(139, 92, 246, .09), rgba(13, 7, 25, .4) 65%);
}

.feature-card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
  border: 1px solid rgba(255, 210, 94, .24);
  border-radius: 12px;
  background: rgba(255, 210, 94, .10);
  font-size: 18px;
  line-height: 1;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-3);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0 22px;
}

.step-box {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255, 210, 94, .055), rgba(13, 7, 25, .35) 62%);
}

.step-num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 210, 94, .8);
}

.step-box h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.3;
}

.step-box p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-3);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 8px;
}

.pros, .cons {
  padding: 20px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--surface);
}

.pros { border-top: 3px solid rgba(255, 210, 94, .8); }
.cons { border-top: 3px solid rgba(183, 156, 255, .65); }

.pros h3, .cons h3 {
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.pros ul, .cons ul { list-style: none; margin: 0; padding: 0; }

.pros li, .cons li {
  position: relative;
  padding-left: 24px;
  margin: 0 0 9px;
  font-size: 14.5px;
  line-height: 1.5;
}

.pros li::before,
.cons li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.pros li::before { content: "\2713"; color: var(--gold); }
.cons li::before { content: "\2715"; color: var(--violet-soft); }

.callout {
  margin: 22px 0 6px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 210, 94, .26);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  background: rgba(255, 210, 94, .07);
}

.callout h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--text);
}

.callout p { margin: 0; font-size: 15px; color: var(--text-2); }

.callout.is-info {
  border-color: rgba(183, 156, 255, .3);
  border-left-color: var(--violet-soft);
  background: rgba(139, 92, 246, .09);
}

.callout.is-warning {
  border-color: rgba(255, 176, 122, .32);
  border-left-color: #FFB07A;
  background: rgba(255, 176, 122, .07);
}

.faq-accordion { display: grid; gap: 10px; margin-top: 4px; }

.faq-item {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color .16s ease;
}

.faq-item summary {
  position: relative;
  padding: 15px 48px 15px 18px;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
}

.faq-item[open] { border-color: rgba(255, 210, 94, .34); background: var(--surface-2); }
.faq-item[open] summary { color: var(--gold-2); }
.faq-item[open] summary::after { content: "\2212"; }

.faq-answer { padding: 0 18px 16px; }
.faq-answer p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--text-2); }

.prose-img { margin: 20px 0; }

/* ---------- 11. Author box ---------- */
.author-box {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  background:
    linear-gradient(150deg, rgba(139, 92, 246, .16), rgba(18, 10, 32, .92) 55%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.author-avatar {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 210, 94, .32);
}

.author-info { display: block; }

.author-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}

.author-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 3px;
}

.author-name { margin: 0; font-size: 24px; letter-spacing: -.02em; }

.author-email-btn {
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
  transition: border-color .16s ease, color .16s ease;
}

.author-email-btn:hover { border-color: var(--line-gold); color: var(--gold-2); }

.author-role { font-size: 12.5px; color: var(--text-3); }

.author-bio {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-2);
}

/* ---------- Author page ---------- */
.author-figure { margin: 22px 0 6px; }

.author-figure img {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 18px;
  border: 1px solid rgba(255, 210, 94, .3);
}

.author-figure figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-3);
}

.author-sign {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--gold-2);
}

.author-sign span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-3);
}

/* ---------- 12. Related ---------- */
.related-title {
  margin: 0 0 16px;
  font-size: 22px;
  letter-spacing: -.02em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.related-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, background .16s ease;
}

.related-card:hover {
  border-color: rgba(255, 210, 94, .36);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.r-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-4);
}

.r-title {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

/* ---------- Telegram CTA: white disc with a blue ring, floats at wide widths ---------- */
.tg-cta {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-left: auto;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid #229ED9;
  box-shadow: 0 8px 22px rgba(34, 158, 217, .35), 0 0 0 4px rgba(34, 158, 217, .10);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.tg-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(34, 158, 217, .5), 0 0 0 5px rgba(34, 158, 217, .14);
}

.tg-cta-ring {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: tgspin 22s linear infinite;
}

.tg-cta-ring text {
  fill: #0B1220;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .04em;
}

.tg-cta-core {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(160deg, #45B6E8, #1E96C8);
}

.tg-cta-core svg { width: 14px; height: 14px; fill: #FFFFFF; }

@media (min-width: 1240px) {
  .tg-cta {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    width: 92px;
    height: 92px;
    margin: 0;
    border-width: 3px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .45), 0 0 0 6px rgba(34, 158, 217, .10);
  }

  .tg-cta-ring { display: block; }
  .tg-cta-core { width: 38px; height: 38px; }
  .tg-cta-core svg { width: 18px; height: 18px; }
}

@media (min-width: 1440px) {
  .tg-cta { width: 104px; height: 104px; right: 26px; bottom: 26px; }
  .tg-cta-core { width: 44px; height: 44px; }
  .tg-cta-core svg { width: 20px; height: 20px; }
}

@keyframes tgspin { to { transform: rotate(360deg); } }
.tg-cta:hover .tg-cta-ring { animation-play-state: paused; }

/* ---------- 13. Footer ---------- */
.site-footer {
  margin-top: 60px;
  padding: 54px 0 0;
  border-top: 1px solid var(--line-2);
  background:
    radial-gradient(720px 320px at 12% 0%, rgba(124, 58, 237, .18), transparent 68%),
    linear-gradient(180deg, #0B0517, #06030C);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer .logo img { height: 38px; }

.footer-grid p {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--text-3);
}

.footer-grid h3 {
  margin: 4px 0 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 8px; }

.footer-grid ul a {
  font-size: 13.5px;
  color: var(--text-2);
  text-decoration: none;
}

.footer-grid ul a:hover { color: var(--gold-2); }

.responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--text-3);
}

/* ---------- 14. Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tg-cta-ring { animation: none; }
  *, *::before, *::after { transition-duration: .001ms !important; }
}

/* ---------- 15. Short desktop viewports: keep the first CTA above the fold ---------- */
@media (min-width: 901px) and (max-height: 840px) {
  .page-hero { padding: 28px 0 18px; }
  .page-hero h1 { font-size: clamp(26px, 3vw, 40px); margin: 10px 0 10px; }
  .lead { font-size: 16.5px; margin-bottom: 12px; }
  .list-heading { margin: 20px 0 10px; }
  .feat-card { min-height: 126px; padding: 12px 220px 12px 132px; }
  .feat-thumb { width: 100px; height: 100px; }
  .feat-card .btn { width: 192px; }
}

/* ---------- 16. Responsive (widest → narrowest) ---------- */
@media (max-width: 1120px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 18px;
    background: rgba(10, 5, 20, .98);
    border-bottom: 1px solid var(--line-2);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14.5px;
  }

  .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; }
}

@media (max-width: 860px) {
  .feat-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "thumb title"
      "thumb list"
      "cta cta";
    gap: 8px 16px;
    min-height: 0;
    padding: 14px;
    border-radius: 14px;
  }

  .feat-card h3 { grid-area: title; }
  .feat-list { grid-area: list; }
  .feat-card .btn { grid-area: cta; }

  .feat-thumb { grid-area: thumb; position: static; top: auto; bottom: auto; margin: 0; transform: none; width: 96px; height: 96px; }

  .feat-card .btn {
    position: static;
    top: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    height: auto;
    min-height: 46px;
    margin: 2px 0 0;
  }

  .feat-card .btn:hover { transform: translateY(-1px); }

  .feature-cards, .step-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }

  .content .container { max-width: 760px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .container { padding: 0 18px; }
  .header-inner { min-height: 64px; }
  .logo img { height: 38px; }

  .page-hero { padding: 26px 0 22px; }
  .page-hero h1 { font-size: clamp(25px, 6vw, 34px); margin: 10px 0 10px; }
  .lead { font-size: 16px; line-height: 1.55; margin-bottom: 14px; }
  .breadcrumbs { font-size: 10.5px; }

  .list-heading { margin: 24px 0 12px; font-size: 21px; gap: 10px; }
  .list-heading::before { width: 20px; }

  .td-full { display: none; }
  .td-mini { display: inline; }
  .top-disclosure { font-size: 11.5px; }
  .top-disclosure-inner { min-height: 32px; }

  .trust-stats { grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; }
  .ts-tile { border-right: 0; }
  .ts-tile:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .07); }
  .ts-num { font-size: 22px; }
  .ts-lab { font-size: 11px; }

  .content { padding: 28px 0 0; }
  .toc { padding: 15px 16px 12px; margin-bottom: 26px; }
  .toc ol, .toc-list { grid-template-columns: 1fr; }
  .toc li a, .toc-list li a { font-size: 14px; padding: 8px 0; }

  .content section.reveal { padding-bottom: 18px; margin-bottom: 22px; }
  section.reveal > h2 { padding-top: 24px; margin-bottom: 12px; font-size: 22px; }
  section.reveal > h3 { font-size: 17.5px; margin-top: 22px; }

  table { font-size: 13.5px; min-width: 520px; }
  th { padding: 11px 13px; font-size: 11.5px; }
  td { padding: 10px 13px; }

  .feature-cards, .step-grid, .related-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }

  .author-box { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .author-avatar { width: 96px; height: 96px; border-radius: 14px; }
  .author-name { font-size: 21px; }
  .author-bio { font-size: 14.5px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-bottom: 20px; }

  .by-date-long { display: none; }
  .by-date-short { display: inline; }
}

@media (max-width: 560px) {
  .page-hero { padding: 14px 0 12px; }
  .page-hero h1 { margin: 8px 0 8px; }
  .lead { margin-bottom: 10px; }
  .hero-byline { gap: 7px; font-size: 11.5px; }
  .hero-byline img { width: 24px; height: 24px; }
  .list-heading { margin: 18px 0 6px; }
  .featured-cards { padding-top: 4px; }

  .feat-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "badge"
      "thumb"
      "title"
      "cta"
      "list";
    justify-items: center;
    text-align: center;
    gap: 7px;
    padding: 14px 14px 16px;
    border-radius: 14px;
  }

  .feat-card:not(.is-top-pick) {
    grid-template-areas:
      "thumb"
      "title"
      "cta"
      "list";
  }

  .top-pick-badge {
    position: static;
    justify-self: start;
    align-self: start;
    transform: none;
    height: 22px;
    margin: 0;
    padding: 0 10px;
    font-size: 9.5px;
    letter-spacing: .05em;
  }

  .feat-thumb { width: 104px; height: 104px; padding: 4px; border-radius: 11px; }

  .feat-card h3 { font-size: 17px; line-height: 1.3; margin: 0; text-align: center; }

  .feat-list { justify-items: center; gap: 5px; margin-top: 2px; }
  .feat-list li { justify-content: center; font-size: 13.5px; text-align: left; }
  .feat-list .ico { flex: 0 0 16px; width: 16px; }

  .feat-card .btn { width: 100%; margin-top: 3px; }

  .author-figure { text-align: center; }
  .author-figure img { margin: 0 auto; }
  .author-figure figcaption { text-align: center; }

  .btn { font-size: 14.5px; }

  .trust-stats-wrap { padding-left: 0; padding-right: 0; }

  .related-grid { gap: 10px; }
  .related-card { padding: 14px 15px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding-top: 40px; }
}

@media (max-width: 380px) {
  .page-hero { padding: 12px 0 10px; }
  .page-hero h1 { font-size: 23px; margin: 8px 0; }
  .featured-cards { padding-top: 3px; }
  .lead { font-size: 15px; line-height: 1.5; margin-bottom: 10px; }
  .list-heading { margin: 12px 0 5px; font-size: 18px; }
  .hero-byline { gap: 7px; font-size: 11px; }
  .hero-byline img { width: 22px; height: 22px; }
  .tg-cta { width: 56px; height: 56px; }
  .tg-cta-core { width: 28px; height: 28px; }
  .tg-cta-core svg { width: 13px; height: 13px; }
  .feat-card { gap: 5px; padding: 12px 12px 14px; }
  .feat-thumb { width: 88px; height: 88px; }
  .feat-card h3 { font-size: 16px; }
  .feat-list li { font-size: 13px; }
  .top-pick-badge { font-size: 9px; height: 20px; padding: 0 9px; }
  .btn { min-height: 46px; }
}
