/* RPM SMI NORTH — broadcast / acid green aesthetic */

:root {
  --bg: #060a07;
  --bg-2: #0c1410;
  --bg-card: #0f1a14;
  --bg-card-hover: #132019;
  --line: rgba(184, 255, 0, 0.12);
  --line-strong: rgba(184, 255, 0, 0.28);
  --acid: #b8ff00;
  --acid-bright: #d4ff4d;
  --acid-dim: #7acc00;
  --acid-glow: rgba(184, 255, 0, 0.35);
  --text: #e8f5e4;
  --text-muted: #8fa88a;
  --danger: #ff4d6a;
  --radius: 14px;
  --radius-sm: 8px;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-mono: "Space Mono", monospace;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--acid-dim) var(--bg);
  scrollbar-width: thin;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
fieldset { border: none; }

/* ── Ambient layers ── */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.glow-orb--1 {
  width: 500px; height: 500px;
  top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(184, 255, 0, 0.18), transparent 70%);
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.glow-orb--2 {
  width: 400px; height: 400px;
  bottom: 10%; left: -100px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1), transparent 70%);
  animation: orb-drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  to { transform: translate(40px, 30px) scale(1.1); }
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(6, 10, 7, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease-out);
}
.header.is-scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo__mark {
  color: var(--acid);
  font-size: 14px;
  animation: blink 2s step-end infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__rpm {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.logo__smi {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--acid);
}
.logo__live {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 3px 6px;
  border: 1px solid var(--acid);
  color: var(--acid);
  letter-spacing: 0.15em;
  margin-left: 4px;
}

.nav {
  display: flex;
  gap: 8px;
}
.nav__link {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color 0.25s, background 0.25s;
}
.nav__link:hover { color: var(--text); background: rgba(184, 255, 0, 0.06); }
.nav__link--tg {
  color: var(--acid);
  border: 1px solid var(--line-strong);
}
.nav__link--tg:hover {
  background: rgba(184, 255, 0, 0.1);
  color: var(--acid-bright);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--acid);
  transition: transform 0.3s, opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  animation: slide-down 0.35s var(--ease-out);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}
.mobile-nav a:last-child { color: var(--acid); border: none; }

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 24px 0;
  max-width: 1240px;
  margin: 0 auto;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 80px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px var(--acid-glow);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.hero__line { display: block; }
.hero__line--1 { color: var(--text); }
.hero__line--2 {
  color: var(--acid);
  position: relative;
}

.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  overflow: hidden;
}
.glitch::before {
  color: #00ff88;
  animation: glitch-1 4s infinite linear alternate-reverse;
  clip-path: inset(0 0 65% 0);
}
.glitch::after {
  color: #ccff00;
  animation: glitch-2 3s infinite linear alternate-reverse;
  clip-path: inset(35% 0 0 0);
}
@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-3px, 1px); }
  94% { transform: translate(3px, -1px); }
}
@keyframes glitch-2 {
  0%, 88%, 100% { transform: translate(0); }
  90% { transform: translate(2px, 2px); }
  93% { transform: translate(-2px, -1px); }
}

.hero__desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--acid);
  color: #0a1208;
  box-shadow: 0 0 24px var(--acid-glow);
}
.btn--primary:hover {
  background: var(--acid-bright);
  box-shadow: 0 0 36px var(--acid-glow);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--acid);
  color: var(--acid);
}
.btn--full { width: 100%; }

/* Broadcast card */
.broadcast-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.broadcast-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--acid), transparent);
}
.broadcast-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.broadcast-card__freq { color: var(--text-muted); }
.broadcast-card__status {
  color: var(--acid);
  animation: blink 1.5s step-end infinite;
}

.broadcast-card__wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 48px;
  margin-bottom: 24px;
}
.broadcast-card__wave span {
  width: 4px;
  background: var(--acid);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.broadcast-card__wave span:nth-child(1) { height: 12px; animation-delay: 0s; }
.broadcast-card__wave span:nth-child(2) { height: 20px; animation-delay: 0.1s; }
.broadcast-card__wave span:nth-child(3) { height: 32px; animation-delay: 0.2s; }
.broadcast-card__wave span:nth-child(4) { height: 24px; animation-delay: 0.3s; }
.broadcast-card__wave span:nth-child(5) { height: 40px; animation-delay: 0.15s; }
.broadcast-card__wave span:nth-child(6) { height: 28px; animation-delay: 0.25s; }
.broadcast-card__wave span:nth-child(7) { height: 16px; animation-delay: 0.05s; }
.broadcast-card__wave span:nth-child(8) { height: 36px; animation-delay: 0.35s; }
.broadcast-card__wave span:nth-child(9) { height: 22px; animation-delay: 0.12s; }
.broadcast-card__wave span:nth-child(10) { height: 44px; animation-delay: 0.22s; }
.broadcast-card__wave span:nth-child(11) { height: 18px; animation-delay: 0.08s; }
.broadcast-card__wave span:nth-child(12) { height: 30px; animation-delay: 0.18s; }
.broadcast-card__wave span:nth-child(13) { height: 26px; animation-delay: 0.28s; }
.broadcast-card__wave span:nth-child(14) { height: 14px; animation-delay: 0.04s; }
.broadcast-card__wave span:nth-child(15) { height: 38px; animation-delay: 0.32s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

.broadcast-card__quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  border-left: 2px solid var(--acid);
  padding-left: 14px;
}
.broadcast-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.broadcast-card__tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text-muted);
}

.tg-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(184, 255, 0, 0.08), rgba(0, 255, 136, 0.04));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.tg-banner:hover {
  transform: translateX(6px);
  border-color: var(--acid);
}
.tg-banner__icon { color: var(--acid); flex-shrink: 0; }
.tg-banner__text { flex: 1; display: flex; flex-direction: column; }
.tg-banner__label {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.tg-banner__handle {
  font-weight: 700;
  color: var(--acid);
  font-size: 16px;
}
.tg-banner__arrow {
  font-size: 20px;
  color: var(--acid);
  transition: transform 0.3s;
}
.tg-banner:hover .tg-banner__arrow { transform: translateX(4px); }

.hero__ticker {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
}
.ticker__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  animation: ticker 30s linear infinite;
}
.ticker__track span:nth-child(odd) { color: var(--acid-dim); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections ── */
.section {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 24px;
}
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(12, 20, 16, 0.6), transparent);
}

.section__head {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 48px;
}
.section__num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: rgba(184, 255, 0, 0.15);
  flex-shrink: 0;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 8px;
}
.section__sub {
  color: var(--text-muted);
  font-size: 16px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

/* ── Forms ── */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-card--wide { max-width: 800px; }
.form-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.form-card__title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
}
.form-card__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  border-radius: 20px;
}

.field { display: block; margin-bottom: 20px; }
.field__label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.field__counter { color: var(--acid-dim); font-weight: 400; text-transform: none; }
.field__counter.is-over { color: var(--danger); }
.field__input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.field__input:focus {
  outline: none;
  border-color: var(--acid);
  box-shadow: 0 0 0 3px rgba(184, 255, 0, 0.12);
}
.field__input.is-error { border-color: var(--danger); }
.field__textarea { min-height: 120px; }
.field__hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}
.field__hint.is-error { color: var(--danger); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Tags */
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-chip {
  position: relative;
}
.tag-chip input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.tag-chip label {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  user-select: none;
}
.tag-chip input:checked + label {
  background: rgba(184, 255, 0, 0.15);
  border-color: var(--acid);
  color: var(--acid);
  box-shadow: 0 0 16px rgba(184, 255, 0, 0.15);
}
.tag-chip label:hover {
  border-color: var(--line-strong);
}

/* Upload */
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  text-align: center;
}
.upload-zone:hover,
.upload-zone.is-dragover {
  border-color: var(--acid);
  background: rgba(184, 255, 0, 0.04);
}
.upload-zone__icon {
  font-size: 32px;
  color: var(--acid);
  line-height: 1;
}
.upload-zone__text { font-weight: 600; font-size: 14px; }
.upload-zone__sub { font-size: 12px; color: var(--text-muted); }

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.preview-item {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
}
.preview-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.preview-item button {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: var(--danger);
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
}

/* Info cards */
.info-stack { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s var(--ease-out);
}
.info-card:hover { transform: translateY(-4px); }
.info-card--accent {
  border-color: var(--line-strong);
  background: linear-gradient(135deg, var(--bg-card), rgba(184, 255, 0, 0.05));
}
.info-card__icon {
  font-size: 20px;
  color: var(--acid);
  margin-bottom: 12px;
  display: block;
}
.info-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.info-card p { font-size: 14px; color: var(--text-muted); }

/* Ad switch */
.ad-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
  max-width: 800px;
}
.ad-switch__btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s var(--ease-out);
}
.ad-switch__btn:hover { border-color: var(--line-strong); }
.ad-switch__btn.is-active {
  border-color: var(--acid);
  background: rgba(184, 255, 0, 0.06);
  box-shadow: 0 0 24px rgba(184, 255, 0, 0.1);
}
.ad-switch__icon { font-size: 24px; }
.ad-switch__name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
}
.ad-switch__desc { font-size: 13px; color: var(--text-muted); }

.ad-panel { animation: fade-up 0.4s var(--ease-out); }
.ad-panel[hidden] { display: none; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Feed */
.feed-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-chip {
  padding: 8px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.25s;
}
.filter-chip:hover { color: var(--text); }
.filter-chip.is-active {
  background: var(--acid);
  color: #0a1208;
  border-color: var(--acid);
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.feed-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--text-muted);
}
.feed-empty__icon {
  display: block;
  font-size: 32px;
  color: var(--acid-dim);
  margin-bottom: 12px;
}

.feed-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
  animation: card-in 0.5s var(--ease-out) both;
}
.feed-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.feed-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.feed-card__meta-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.feed-card__author {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--acid-dim);
}
.feed-card__contact {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 12px;
  background: rgba(184, 255, 0, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.feed-card__contact strong { color: var(--text); }
.feed-card__status {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 20px;
}
.feed-card__status--pending {
  background: rgba(255, 200, 0, 0.12);
  color: #ffc800;
}
.feed-card__status--approved {
  background: rgba(184, 255, 0, 0.12);
  color: var(--acid);
}
.feed-card__status--rejected {
  background: rgba(255, 77, 106, 0.12);
  color: var(--danger);
}
.feed-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.btn--sm {
  padding: 8px 14px;
  font-size: 12px;
}
.btn--approve {
  background: rgba(184, 255, 0, 0.15);
  color: var(--acid);
  border: 1px solid var(--acid);
}
.btn--approve:hover {
  background: var(--acid);
  color: #0a1208;
}
.btn--reject {
  background: transparent;
  color: #ffc800;
  border: 1px solid rgba(255, 200, 0, 0.4);
}
.btn--reject:hover {
  background: rgba(255, 200, 0, 0.1);
}
.btn--danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid rgba(255, 77, 106, 0.4);
}
.btn--danger:hover {
  background: rgba(255, 77, 106, 0.1);
}
.feed-card__type {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}
.feed-card__type--idea {
  background: rgba(184, 255, 0, 0.12);
  color: var(--acid);
}
.feed-card__type--family {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
}
.feed-card__type--business {
  background: rgba(255, 200, 0, 0.1);
  color: #ffc800;
}
.feed-card__date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}
.feed-card__title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.feed-card__body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}
.feed-card__extra {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--acid-dim);
  padding: 10px 12px;
  background: rgba(184, 255, 0, 0.04);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--acid);
}
.feed-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.feed-card__tag {
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text-muted);
}
.feed-card__images {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.feed-card__images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  background: var(--bg-2);
}
.footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.footer__logo {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--acid);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 8px;
}
.footer__credit {
  font-size: 14px;
  color: var(--text-muted);
}
.footer__credit strong { color: var(--text); }
.footer__tg {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 16px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.footer__tg:hover {
  border-color: var(--acid);
  background: rgba(184, 255, 0, 0.06);
}
.footer__tg span { font-size: 12px; color: var(--text-muted); }
.footer__tg strong { color: var(--acid); font-size: 18px; }
.footer__copy {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer__admin {
  color: var(--text-muted);
  transition: color 0.25s;
}
.footer__admin:hover { color: var(--acid); }

/* ── Admin panel ── */
.admin-body { min-height: 100vh; }
.admin-login[hidden],
.admin-panel[hidden] { display: none !important; }

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}
.admin-login__card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.admin-login__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--acid), transparent);
}
.admin-login__back {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 24px;
  transition: color 0.25s;
}
.admin-login__back:hover { color: var(--acid); }
.admin-login__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--danger);
  border: 1px solid rgba(255, 77, 106, 0.4);
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.admin-login__title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.admin-login__sub {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.admin-login__hint {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.admin-login__hint code {
  color: var(--acid-dim);
  font-family: var(--font-mono);
}

.admin-panel { position: relative; z-index: 1; min-height: 100vh; }

.admin-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(6, 10, 7, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.admin-header__left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.admin-header__role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--acid);
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
}
.admin-header__right {
  display: flex;
  gap: 8px;
}

.admin-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-card__num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--text);
}
.stat-card__label {
  font-size: 13px;
  color: var(--text-muted);
}
.stat-card--pending .stat-card__num { color: #ffc800; }
.stat-card--approved .stat-card__num { color: var(--acid); }
.stat-card--rejected .stat-card__num { color: var(--danger); }

.admin-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.admin-toolbar__types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}
.feed-card--admin {
  border-color: var(--line-strong);
}

.admin-dialog {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  padding: 28px;
  max-width: 400px;
  width: calc(100% - 32px);
}
.admin-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.admin-dialog h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.admin-dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg-card);
  border: 1px solid var(--acid);
  color: var(--text);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  z-index: 10000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 24px var(--acid-glow);
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
  opacity: 0;
  pointer-events: none;
}
.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay { transition-delay: 0.15s; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero__grid,
  .split {
    grid-template-columns: 1fr;
  }
  .hero__grid { min-height: auto; padding-bottom: 24px; }
  .nav { display: none; }
  .burger { display: flex; }
  .section__num { font-size: 48px; }
  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__tg { align-items: flex-start; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-feed { grid-template-columns: 1fr; }
  .admin-header { flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 560px) {
  .ad-switch { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .form-card { padding: 20px; }
}
