/* ============================================================
   n4e Portfolio — Phosphor Terminal Design System
   ============================================================ */

/* ---- Google Fonts (requires CSP update — see note in README) ---- */
/* If fonts don't load, add to Content-Security-Policy in main.go:
   style-src 'self' https://fonts.googleapis.com
   font-src  'self' https://fonts.gstatic.com                       */

:root {
  /* Background layers */
  --bg:       #050907;
  --surface:  #0b1410;
  --surface2: #0f1c17;
  --surface3: #142018;

  /* Phosphor green palette */
  --phosphor:      #00e676;
  --phosphor-dim:  rgba(0, 230, 118, 0.10);
  --phosphor-mid:  rgba(0, 230, 118, 0.22);
  --phosphor-glow: 0 0 22px rgba(0, 230, 118, 0.26), 0 0 70px rgba(0, 230, 118, 0.07);

  /* Gold for premium tier accent */
  --gold: #f4c842;

  /* Text */
  --text:  rgba(215, 248, 228, 0.92);
  --muted: rgba(155, 205, 175, 0.58);

  /* Borders */
  --border:  rgba(0, 230, 118, 0.10);
  --border2: rgba(0, 230, 118, 0.22);

  /* Typography */
  --font-display: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'Syne Mono', 'Cascadia Code', 'SF Mono', 'Courier New', monospace;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 230, 118, 0.22) rgba(0, 0, 0, .5);
}

html::-webkit-scrollbar { width: 8px; }
html::-webkit-scrollbar-track { background: rgba(0, 0, 0, .5); }
html::-webkit-scrollbar-thumb {
  background: rgba(0, 230, 118, 0.22);
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 230, 118, 0.38);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle dot-grid atmosphere */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle, rgba(0, 230, 118, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}

body > * { position: relative; z-index: 1; }

a { color: var(--phosphor); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0; }

.mono  { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.m0    { margin: 0 !important; }
.mt0   { margin-top: 0 !important; }
.btn-fit { width: fit-content; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
}

/* ================================================================
   HEADER
================================================================ */
.site-header {
  position: relative;
  border-bottom: 1px solid var(--border2);
  background: linear-gradient(160deg, rgba(0, 230, 118, 0.05) 0%, transparent 55%);
  overflow: hidden;
}

/* CRT scanlines */
.scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.14) 3px,
    rgba(0, 0, 0, 0.14) 4px
  );
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: clamp(28px, 5vw, 56px);
  padding-bottom: clamp(24px, 4vw, 44px);
  flex-wrap: wrap;
}

.brand-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--phosphor);
  margin-bottom: 10px;
  opacity: 0.85;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(60px, 11vw, 120px);
  line-height: 0.9;
  margin: 0;
  letter-spacing: -3px;
  color: var(--text);
  text-shadow: var(--phosphor-glow);
  position: relative;
  display: inline-block;
}

/* Underline accent bar */
.brand-name::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--phosphor);
  border-radius: 999px;
  box-shadow: var(--phosphor-glow);
}

.brand-tagline {
  margin-top: 18px;
  font-size: 14px;
  max-width: 38ch;
  line-height: 1.6;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding-bottom: 6px; /* align with text baseline area */
}

.header-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
  transition: color .15s, background .15s;
}

.header-nav a:hover {
  color: var(--text);
  background: var(--phosphor-dim);
  text-decoration: none;
}

.nav-cta {
  border: 1px solid var(--border2) !important;
  color: var(--phosphor) !important;
  background: var(--phosphor-dim) !important;
  margin-left: 6px;
  font-size: 13px !important;
}

.nav-cta:hover {
  background: var(--phosphor-mid) !important;
}

/* ================================================================
   SHARED SECTION PARTS
================================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
}

.section-header-left { display: flex; align-items: baseline; gap: 14px; }

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 26px);
  margin: 0;
  letter-spacing: -0.3px;
}

.section-sub {
  font-size: 13px;
  margin: 0;
}

.track-count {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.block-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--phosphor);
  margin: 0 0 10px;
  font-weight: 400;
  opacity: 0.9;
}

/* ================================================================
   ABOUT SECTION
================================================================ */
.about-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 740px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Sticky image on scroll */
.about-img-col {
  position: sticky;
  top: 24px;
}

.about-img-frame {
  border: 1px solid var(--border2);
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(0, 230, 118, 0.04),
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 230, 118, 0.06);
}

.about-img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about-img-caption {
  padding: 10px 14px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--surface2);
  line-height: 1.5;
}

.about-text-col {
  display: flex;
  flex-direction: column;
}

.about-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.about-block:first-child { padding-top: 0; }
.about-block:last-child { border-bottom: none; padding-bottom: 0; }

.about-block p {
  color: var(--muted);
  line-height: 1.75;
}

/* Contact */
.contact-list { display: flex; flex-direction: column; gap: 10px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-key {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 58px;
}

.contact-val { color: var(--text); font-size: 14px; }

.contact-link { color: var(--phosphor); }
.contact-link:hover { text-decoration: underline; }

/* ================================================================
   TRACKS
================================================================ */
.tracks-section {
  padding-bottom: clamp(36px, 5vw, 64px);
}

.tracks-list {
  display: grid;
  gap: 12px;
}

/* Card */
.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  gap: 12px;
  transition: border-color .18s, box-shadow .18s;
  overflow: hidden;
  position: relative;
}

/* Left accent bar on hover */
.card::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 3px;
  background: var(--phosphor);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity .18s;
  box-shadow: 2px 0 12px rgba(0, 230, 118, 0.4);
}

.card:hover {
  border-color: var(--border2);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25), 0 0 28px rgba(0, 230, 118, 0.05);
}

.card:hover::before { opacity: 1; }

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.1px;
}

/* ---- Player ---- */
.player {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  background: var(--surface2);
  border-radius: 10px;
  padding: 10px 12px;
  user-select: none;
  flex-wrap: wrap;
}

.player:hover { border-color: rgba(0, 230, 118, 0.16); }

/* Buttons */
.btn {
  appearance: none;
  border: 1px solid var(--border2);
  background: var(--surface3);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
  line-height: 1;
  min-width: 42px;
  font-family: var(--font-body);
  font-size: 14px;
}

.btn:hover {
  border-color: var(--phosphor);
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.18);
  background: rgba(0, 230, 118, 0.06);
}

.btn:active { transform: scale(0.97); }

.btn.play {
  color: var(--phosphor);
}

.btn.info {
  min-width: 36px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* Scrub / range */
.scrub {
  flex: 1;
  min-width: 160px;
}

.time {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-size: 11px;
  min-width: 88px;
  text-align: right;
  letter-spacing: 0.03em;
}

/* Shared range base */
.range {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  outline: none;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background:
    linear-gradient(90deg,
      var(--phosphor) 0%,
      var(--phosphor) var(--p, 0%),
      rgba(0, 230, 118, 0.14) var(--p, 0%),
      rgba(0, 230, 118, 0.14) 100%);
}

.range::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border-radius: 999px;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--phosphor);
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.55);
  margin-top: -4px;
  transition: box-shadow .15s;
}

.range::-webkit-slider-thumb:hover {
  box-shadow: 0 0 14px rgba(0, 230, 118, 0.8);
}

/* Firefox */
.range::-moz-range-track {
  height: 6px;
  background: rgba(0, 230, 118, 0.14);
  border-radius: 999px;
  border: none;
}

.range::-moz-range-progress {
  background: var(--phosphor);
  border-radius: 999px;
  height: 6px;
}

.range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--phosphor);
  border: 2px solid var(--bg);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.55);
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
}

.volume-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.volume {
  width: 80px;
  height: 4px;
}

.volume::-webkit-slider-runnable-track { height: 4px; }
.volume::-webkit-slider-thumb { width: 12px; height: 12px; margin-top: -4px; }

.track-desc {
  margin: 4px -16px -16px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface2);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

audio { display: none !important; }

/* ================================================================
   PRICING
================================================================ */
.pricing-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}

/* Radial glow behind pricing */
.pricing-section::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(0, 230, 118, 0.06) 0%, transparent 68%);
  pointer-events: none;
}

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

@media (max-width: 740px) {
  .tiers { grid-template-columns: 1fr; }
}

.tier {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 18px;
  padding: 26px 22px 22px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.tier:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 230, 118, 0.05);
  transform: translateY(-2px);
}

/* Top color stripe */
.tier-stripe {
  position: absolute;
  top: 0; left: 18px; right: 18px;
  height: 2px;
  border-radius: 0 0 3px 3px;
}

.tier-basic    .tier-stripe { background: rgba(215, 248, 228, 0.35); }
.tier-standard .tier-stripe {
  background: var(--phosphor);
  box-shadow: 0 0 16px rgba(0, 230, 118, 0.6);
}
.tier-premium  .tier-stripe {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(244, 200, 66, 0.45);
}

.tier-standard {
  border-color: rgba(0, 230, 118, 0.20);
}

.tier-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--phosphor);
  border: 1px solid rgba(0, 230, 118, 0.28);
  background: var(--phosphor-dim);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.tier-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.tier-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.tier-usd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.5px;
}

.tier-brl { font-size: 12px; }

.tier-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tier-features li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.tier-features li::before {
  content: '→';
  font-family: var(--font-mono);
  color: var(--phosphor);
  opacity: 0.65;
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 2px;
}

.tier-features strong { color: var(--text); font-weight: 600; }

/* Add-ons */
.addons {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.addons .block-label { margin-bottom: 18px; }

.addon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 740px) {
  .addon-row { grid-template-columns: 1fr; }
}

.addon {
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 14px;
  padding: 18px;
  transition: border-color .18s;
}

.addon:hover { border-color: var(--border2); }

.addon-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.addon-price {
  font-size: 13px;
  color: var(--phosphor);
  margin-bottom: 8px;
}

.addon-desc {
  font-size: 12px;
  line-height: 1.55;
}

/* ================================================================
   REVIEWS
================================================================ */
.reviews-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

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

@media (max-width: 900px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .review-grid { grid-template-columns: 1fr; } }

.review-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}

.review-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.review-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================================================
   FOOTER
================================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* ================================================================
   LIGHTBOX
================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  max-width: min(1100px, 96vw);
  max-height: 92vh;
  width: 100%;
  border: 1px solid var(--border2);
  background: var(--bg);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.05), 0 0 80px rgba(0, 0, 0, 0.6);
}

.lightbox-img {
  width: 100%;
  height: 92vh;
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 8px;
  padding: 7px 11px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color .15s;
}

.lightbox-close:hover { border-color: var(--phosphor); }

/* ================================================================
   ADMIN STYLES
================================================================ */
.admin-page {
  min-height: 100vh;
}

.admin-header {
  border-bottom: 1px solid var(--border2);
  background: linear-gradient(160deg, rgba(0, 230, 118, 0.04) 0%, transparent 55%);
  position: relative;
  overflow: hidden;
}

.admin-header .scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.admin-header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: clamp(20px, 3.5vw, 36px);
  padding-bottom: clamp(20px, 3.5vw, 36px);
  flex-wrap: wrap;
}

.admin-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--phosphor);
  display: block;
  margin-bottom: 6px;
  opacity: 0.85;
}

.admin-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 0.95;
  margin: 0;
  letter-spacing: -1.5px;
  text-shadow: var(--phosphor-glow);
}

.admin-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-header-actions .muted {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}

.admin-header-actions .muted:hover {
  background: var(--phosphor-dim);
  color: var(--text);
  text-decoration: none;
}

/* Admin body */
.admin-body {
  padding-top: clamp(24px, 4vw, 44px);
  padding-bottom: clamp(24px, 4vw, 44px);
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 760px) {
  .admin-grid { grid-template-columns: 1fr; }
}

/* Admin card */
.admin-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
}

.admin-card-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--phosphor);
  margin: 0 0 18px;
  font-weight: 400;
  opacity: 0.9;
}

.admin-form {
  display: grid;
  gap: 10px;
}

.admin-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  background: var(--surface2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
}

.admin-input:focus {
  outline: none;
  border-color: var(--phosphor);
  box-shadow: 0 0 0 3px var(--phosphor-dim);
}

.admin-input::placeholder {
  color: rgba(155, 205, 175, 0.32);
  opacity: 1;
}

textarea.admin-input {
  resize: none;
  overflow: hidden;
  min-height: 80px;
  font-family: var(--font-body);
}

.admin-input[type="file"] {
  padding: 9px 14px;
  font-size: 13px;
  cursor: pointer;
}

/* Admin lists */
.admin-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  transition: border-color .15s;
}

.admin-item:hover { border-color: var(--border2); }

.admin-file {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 68%;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.admin-review-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.admin-review-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface2);
  transition: border-color .15s;
}

.admin-review-card:hover { border-color: var(--border2); }

.admin-review-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: var(--surface3);
}

.admin-review-meta {
  padding: 8px 10px;
  display: flex;
  justify-content: flex-end;
}

/* Login page */
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-login-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 60px) clamp(16px, 3vw, 32px);
}

.admin-login-box {
  width: 100%;
  max-width: 420px;
}

.admin-login-box .admin-eyebrow { margin-bottom: 8px; }
.admin-login-box .admin-title { margin-bottom: 28px; }

.admin-login-form {
  display: grid;
  gap: 12px;
}

.admin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
  transition: color .15s;
}

.admin-back-link:hover { color: var(--text); text-decoration: none; }