/* ────────────────────────────────────────────────────────────────────────────
   Living Witness — Dark Theme Layout Variant (styles-v3.css)
   Deep near-black backgrounds, high contrast text, open layout
   ──────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:     #0A0A0B;   /* Deep near-black background */
  --bg-mid:    #121214;   /* Slightly lighter background for sections */
  --white:     #F4F4F5;   /* Off-white for high readability */
  --blue:      #3B82F6;   /* Brighter blue for dark mode contrast */
  --blue-dk:   #2563EB;   /* Hover state for blue buttons */
  --blue-lt:   #1E3A8A;   /* Soft dark blue for background layers */
  --blue-glow: rgba(59, 130, 246, 0.12); /* Subtle glow effect */
  --mid:       #A1A1AA;   /* Muted text */
  --light:     #52525B;   /* Darker muted borders/labels */
  --line:      rgba(255, 255, 255, 0.08); /* Soft borders for dark mode */
  --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Satoshi', sans-serif;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── NAV — Floating glass ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 72px;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Raleway', sans-serif;
  font-size: 17px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; color: var(--white);
}

.nav-logo span { color: var(--blue); }

nav ul {
  list-style: none; display: flex;
  gap: 40px; align-items: center;
  flex: 1; justify-content: center;
}

nav ul li a {
  text-decoration: none; color: var(--mid);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--blue);
  transform: scaleX(0); transition: transform 0.3s ease;
}

nav ul li a:hover { color: var(--white); }
nav ul li a:hover::after { transform: scaleX(1); }
nav ul li a.nav-active { color: var(--white); font-weight: 600; }
nav ul li a.nav-active::after { transform: scaleX(1); }

.btn-nav {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 99px;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none;
  font-family: 'Satoshi', sans-serif;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--blue-dk) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none;
  cursor: pointer; padding: 6px;
}

.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(10, 10, 11, 0.98);
  backdrop-filter: blur(24px);
  flex-direction: column; align-items: flex-start;
  padding: 40px 28px; gap: 28px;
}

.nav-drawer.open { display: flex; }

.nav-drawer a {
  text-decoration: none; color: var(--white);
  font-size: 28px; font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.nav-drawer a:hover { color: var(--blue); }

.nav-drawer .btn-nav {
  margin-top: 12px;
  display: inline-block;
  font-size: 13px !important;
  padding: 14px 32px !important;
}

/* ── HERO — Centered, breathable ── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  padding: 72px 60px 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--blue-glow), transparent 70%),
    var(--black);
}

.hero-inner {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 100px 0 80px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards;
  display: flex; align-items: center; gap: 14px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: inline-block; width: 32px; height: 1px;
  background: var(--blue); opacity: 0.5;
}

.hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 700; line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
  opacity: 0; animation: fadeUp 0.8s ease 0.25s forwards;
}

.hero-title em {
  font-style: italic; font-weight: 300;
  display: block; color: var(--blue);
}

.hero-bottom {
  display: flex; flex-direction: column;
  align-items: center; gap: 32px;
  opacity: 0; animation: fadeUp 0.8s ease 0.45s forwards;
}

.hero-question {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(17px, 1.8vw, 22px);
  font-style: italic; font-weight: 300;
  line-height: 1.7; max-width: 540px;
  color: var(--mid);
}

.hero-actions {
  display: flex; gap: 16px;
  flex-shrink: 0; align-items: center;
}

.btn-primary {
  background: var(--blue); color: #fff;
  border: none; padding: 16px 36px;
  font-family: 'Satoshi', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; border-radius: 99px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: transparent; color: var(--white);
  border: 1.5px solid var(--line); padding: 16px 36px;
  font-family: 'Satoshi', sans-serif;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; border-radius: 99px;
  transition: all 0.25s;
}

.btn-secondary:hover {
  border-color: var(--blue); color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--blue-glow);
  background: rgba(59, 130, 246, 0.05); /* very light fill on hover for dark theme */
}

.hero-rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 -60px;
}

/* Stats bar — spacious */
.stats-bar {
  display: flex; padding: 36px 0;
  gap: 0;
  justify-content: center;
}

.stat-item {
  padding: 0 56px;
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--line);
}

.stat-item:last-child::after { display: none; }

.stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 32px; font-weight: 700;
  display: block; line-height: 1;
  color: var(--white);
}

.stat-number.blue { color: var(--blue); }

.stat-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--light); margin-top: 8px; display: block;
}

/* ── BROWSE — Open layout ── */
#browse {
  padding: 120px 60px;
  background: var(--bg-mid); /* Slight shift up from pure black to signify a new section */
}

.browse-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px; flex-wrap: wrap;
  max-width: 1300px;
  margin-left: auto; margin-right: auto;
}

.browse-title-group { display: flex; flex-direction: column; gap: 6px; }

.browse-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--blue);
}

.browse-heading {
  font-family: 'Raleway', sans-serif;
  font-size: 36px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1;
}

.search-wrap { position: relative; flex-shrink: 0; }

.search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--mid); font-size: 14px; pointer-events: none;
}

.search-input {
  border: 1.5px solid var(--line);
  border-radius: 99px;
  padding: 12px 20px 12px 42px;
  font-family: 'Satoshi', sans-serif;
  font-size: 13px; font-weight: 400;
  color: var(--white); background: rgba(255, 255, 255, 0.03);
  outline: none; width: 260px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.search-input::placeholder { color: var(--light); }
.search-input:focus {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.05);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

/* Filter tags — minimal text style */
.filter-tags {
  display: flex; gap: 4px; flex-wrap: wrap;
  margin-bottom: 56px;
  max-width: 1300px;
  margin-left: auto; margin-right: auto;
}

.tag {
  padding: 8px 18px; border-radius: 99px;
  border: 1.5px solid transparent;
  font-family: 'Satoshi', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--mid); cursor: pointer;
  background: transparent;
  transition: all 0.25s;
}

.tag:hover {
  color: var(--blue);
  background: var(--blue-glow);
}

.tag.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Grid status */
.grid-status {
  font-size: 15px; color: var(--mid);
  text-align: center; padding: 48px 0;
  min-height: 24px;
  max-width: 1300px;
  margin-left: auto; margin-right: auto;
}

/* ── TESTIMONY GRID — Borderless cards ── */
.testimony-grid {
  columns: 3;
  column-gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
}

@media (max-width: 1100px) { .testimony-grid { columns: 2; } }
@media (max-width: 640px)  { .testimony-grid { columns: 1; } }

.testimony-card {
  break-inside: avoid;
  background: rgba(255, 255, 255, 0.03); /* subtle card background in dark mode */
  border: 1px solid var(--line); /* faint border to define card edge against dark background */
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.testimony-card::after {
  content: '';
  position: absolute; bottom: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.testimony-card:hover,
.testimony-card:focus-visible {
  transform: translateY(-6px);
  background: rgba(59, 130, 246, 0.04);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  outline: none;
}

.testimony-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.testimony-card:hover::after,
.testimony-card:focus-visible::after { transform: scaleX(1); }

.card-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue);
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
}

.card-tag::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.8;
}

.card-quote {
  font-family: 'Raleway', sans-serif;
  font-size: 18px; font-style: italic; font-weight: 300;
  line-height: 1.6; color: var(--white);
  margin-bottom: 28px;
}

.card-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}

.card-meta { display: flex; align-items: center; gap: 12px; }

.card-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-size: 12px; font-weight: 700;
  color: #fff; flex-shrink: 0;
}

.card-author { font-size: 14px; font-weight: 600; color: var(--white); }
.card-location { font-size: 12px; color: var(--mid); margin-top: 1px; }

.card-image {
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}
.card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-read {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); margin-top: 20px;
  opacity: 0; transition: opacity 0.3s;
}

.testimony-card:hover .card-read,
.testimony-card:focus-visible .card-read { opacity: 1; }

/* Skeleton */
.card-skeleton {
  break-inside: avoid;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  display: inline-block;
  width: 100%;
}

.skel {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  border-radius: 6px;
  margin-bottom: 12px;
  animation: shimmerMove 1.4s infinite;
}

.skel-tag   { height: 12px; width: 80px; border-radius: 100px; }
.skel-quote { height: 16px; width: 100%; }
.skel-quote.short { width: 65%; }
.skel-meta  { height: 34px; width: 150px; margin-top: 20px; border-radius: 17px; }

@keyframes shimmerMove {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

.load-more-wrap {
  text-align: center;
  margin-top: 56px;
  max-width: 1300px;
  margin-left: auto; margin-right: auto;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center; justify-content: center;
  padding: 24px;
}

.modal-overlay[hidden] { display: none; }

.modal {
  background: #18181B; /* Very dark gray modal background */
  max-width: 680px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 64px; position: relative;
  animation: modalIn 0.3s ease;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute; top: 24px; right: 24px;
  background: rgba(255, 255, 255, 0.05); border: none;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 16px; cursor: pointer;
  color: var(--mid); transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}

.modal-close:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.modal-close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.modal-tag {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue);
  padding: 0;
  margin-bottom: 24px;
}

.modal-title {
  font-family: 'Raleway', sans-serif;
  font-size: 28px; font-style: italic; font-weight: 300;
  line-height: 1.45; color: var(--white);
  margin-bottom: 32px; padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.modal-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 24px;
  display: block;
}
.modal-image[hidden] { display: none; }

.modal-body {
  font-size: 16px; line-height: 2;
  color: var(--mid); font-weight: 400;
  margin-bottom: 40px;
}

.modal-body p { margin-bottom: 18px; color: #D4D4D8; } /* Slightly brighter text in modal body */

.modal-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.modal-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-size: 16px; font-weight: 700; color: #fff;
}

.modal-author-name { font-size: 15px; font-weight: 600; }
.modal-author-loc  { font-size: 12px; color: var(--light); margin-top: 2px; }

.modal-share {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px;
}

.btn-share {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Satoshi', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mid); background: none;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  padding: 8px 16px; cursor: pointer;
  transition: all 0.2s;
}

.btn-share:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-glow); }
.btn-share:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.btn-share-x:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); }
.btn-share-wa:hover { border-color: #25d366; color: #25d366; background: rgba(37, 211, 102, 0.1); }

.copy-confirm { font-size: 12px; color: var(--blue); font-weight: 500; }

/* ── BLESS ── */
.modal-bless { margin: 24px 0 4px; }

.btn-bless {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Satoshi', sans-serif;
  font-size: 13px; font-weight: 500;
  color: var(--mid); background: none;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  padding: 10px 22px; cursor: pointer;
  transition: all 0.2s;
}

.btn-bless:hover:not(:disabled) { border-color: #e05d6e; color: #e05d6e; background: rgba(224, 93, 110, 0.1); }
.btn-bless:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn-bless.bless-done { border-color: #e05d6e; color: #e05d6e; background: rgba(224, 93, 110, 0.15); }
.btn-bless:disabled { cursor: default; }

.bless-heart { font-size: 16px; line-height: 1; }

@keyframes blessPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.5); }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.bless-pop  { animation: blessPop 0.5s ease; }
.bless-count { font-size: 12px; font-weight: 600; min-width: 14px; }

/* ── LANGUAGE SELECT ── */
.nav-right {
  display: flex; align-items: center; gap: 18px;
}

.lang-select {
  font-family: 'Satoshi', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--mid); background: none;
  border: none; outline: none; cursor: pointer;
  padding: 2px 0; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M0 0l4 5 4-5z' fill='%23A1A1AA'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 14px;
  transition: color 0.2s;
}

.lang-select:hover { color: var(--white); }
.lang-select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

.lang-select-drawer { font-size: 14px; color: var(--mid); }
.drawer-lang { padding: 4px 0; }

/* ── SUBMIT — Gradient dark section ── */
#submit {
  padding: 140px 60px;
  background:
    radial-gradient(ellipse 70% 50% at 80% 100%, var(--blue-glow), transparent 60%),
    linear-gradient(180deg, var(--bg-mid) 0%, var(--black) 100%);
  color: #fff;
}

#submit .section-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}

#submit .section-label::before {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: var(--blue);
}

#submit .section-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.03em; margin-bottom: 24px;
}

#submit .section-title em {
  font-style: italic; font-weight: 300; color: var(--blue);
}

#submit .section-desc {
  font-size: 16px; color: rgba(255, 255, 255, 0.45);
  max-width: 480px; line-height: 1.8; font-weight: 400;
}

.submit-layout {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 100px; align-items: start; margin-top: 80px;
}

.submit-notes { display: flex; flex-direction: column; }

.submit-note {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.8;
  color: rgba(255, 255, 255, 0.45); font-weight: 400;
}

.submit-note:last-child { border-bottom: 1px solid var(--line); }

.submit-note strong {
  color: #fff; font-weight: 600;
  display: block; margin-bottom: 6px;
}

.submit-form { display: flex; flex-direction: column; gap: 24px; }

/* Anonymous toggle */
.anon-toggle-wrap {
  display: flex; align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.anon-toggle {
  display: flex; align-items: center; gap: 14px;
  cursor: pointer; user-select: none;
}

.anon-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }

.anon-slider {
  position: relative; display: inline-block;
  width: 40px; height: 24px;
  background: #2a2a2a; border-radius: 100px;
  transition: background 0.3s; flex-shrink: 0;
}

.anon-slider::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; transition: transform 0.3s;
}

.anon-toggle input:checked ~ .anon-slider { background: var(--blue); }
.anon-toggle input:checked ~ .anon-slider::after { transform: translateX(16px); }
.anon-toggle input:focus-visible ~ .anon-slider { outline: 2px solid var(--blue); outline-offset: 2px; }

.anon-label {
  font-size: 13px; font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.form-label-opt { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mid); font-size: 11px; }

.image-upload-area {
  border: 1.5px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.image-upload-area:hover,
.image-upload-area:focus-visible {
  border-color: var(--blue);
  background: var(--blue-glow);
}
.upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--mid); }
.upload-placeholder svg { color: var(--light); }
.upload-placeholder span { font-size: 13px; font-weight: 500; }
.upload-hint { font-size: 11px !important; color: var(--light) !important; font-weight: 400 !important; }
.image-preview img { max-width: 100%; max-height: 200px; border-radius: 6px; object-fit: contain; }
.preview-remove-btn {
  margin-top: 8px; font-family: 'Satoshi', sans-serif;
  font-size: 11px; font-weight: 500; color: #f87171;
  background: none; border: none; cursor: pointer;
  letter-spacing: 0.06em; text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px; font-weight: 400;
  color: #fff; background: rgba(255, 255, 255, 0.03);
  outline: none; width: 100%;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.05); /* slightly lighter than the glow */
  box-shadow: 0 0 0 4px var(--blue-glow);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--light); }
.form-select {
  appearance: none; -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23A1A1AA'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}
.form-select option { background: #18181B; }

.form-textarea { min-height: 180px; resize: vertical; line-height: 1.9; }

.form-hint { font-size: 11px; color: var(--mid); }

.form-check {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 12px; color: var(--mid); line-height: 1.7;
}

.form-check input { margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }

.form-error {
  font-size: 13px; color: #EF4444; /* bright red */
  min-height: 20px;
}

.btn-submit {
  background: var(--blue); color: #fff;
  border: none; padding: 16px 44px;
  font-family: 'Satoshi', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; border-radius: 99px;
  align-self: flex-start;
  transition: all 0.25s;
}

.btn-submit:hover {
  background: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4);
}

.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-submit:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.success-msg { text-align: center; padding: 100px 0; }
.success-msg[hidden] { display: none; }

.success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 32px;
}

.success-msg h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 36px; font-style: italic; font-weight: 300;
  color: #fff; margin-bottom: 16px;
}

.success-msg p {
  font-size: 15px; color: rgba(255, 255, 255, 0.5);
  max-width: 400px; margin: 0 auto; line-height: 1.8;
}

/* ── NEWSLETTER ── */
#newsletter {
  padding: 100px 60px;
  background: var(--bg-mid);
  text-align: center;
  border-top: 1px solid var(--line);
}

.news-inner { max-width: 540px; margin: 0 auto; }

.news-title {
  font-family: 'Raleway', sans-serif;
  font-size: 32px; font-weight: 700;
  margin-bottom: 16px; color: var(--white);
}

.news-desc {
  font-size: 15px; color: var(--mid);
  line-height: 1.6; margin-bottom: 36px;
}

.news-form {
  display: flex; gap: 12px; margin-bottom: 16px;
}

.news-input {
  flex: 1; padding: 14px 24px;
  border: 1.5px solid var(--line); border-radius: 99px;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px; color: #fff;
  background: rgba(255, 255, 255, 0.03);
  outline: none; transition: all 0.3s;
}

.news-input:focus {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.05);
  box-shadow: 0 0 0 4px var(--blue-glow);
}

.btn-news {
  background: var(--blue); color: #fff;
  border: none; padding: 0 32px;
  font-family: 'Satoshi', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 99px; cursor: pointer;
  transition: all 0.25s; flex-shrink: 0;
}

.btn-news:hover:not(:disabled) {
  background: var(--blue-dk);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-news:disabled { opacity: 0.6; cursor: not-allowed; }

.news-msg { font-size: 13px; min-height: 20px; transition: color 0.3s; margin-top: 12px; }
.news-msg.error { color: #f87171; }
.news-msg.success { color: #34d399; }

@media (max-width: 600px) {
  #newsletter { padding: 80px 24px; }
  .news-form { flex-direction: column; }
  .btn-news { padding: 16px; }
}

/* ── FOOTER — Centered, clean ── */
footer {
  background: var(--black);
  padding: 48px 60px;
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-logo {
  font-family: 'Raleway', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}

.footer-logo span { color: var(--blue); }

.footer-links { list-style: none; display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }

.footer-links a {
  text-decoration: none; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mid); font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--blue); }

.footer-copy { font-size: 11px; color: var(--light); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { padding: 0 24px; height: 64px; }
  nav ul { display: none; }
  .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { top: 64px; }

  #hero { padding: 64px 24px 0; }
  .hero-rule { margin: 0 -24px; }
  .hero-inner { padding: 80px 0 60px; }

  .stats-bar {
    flex-wrap: nowrap; gap: 0;
    overflow-x: auto; padding: 20px 0;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .stat-item {
    flex-shrink: 0;
    padding: 0 24px;
  }
  .stat-number { font-size: 20px; }
  .stat-label { font-size: 9px; margin-top: 4px; }

  #browse { padding: 80px 24px; }
  #submit { padding: 80px 24px; }
  footer { padding: 36px 24px; }

  .submit-layout { grid-template-columns: 1fr; gap: 56px; }
  .modal { padding: 40px 28px; border-radius: 14px; }

  .filter-tags {
    overflow-x: auto; flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .hero-bottom { align-items: center; }
  .hero-actions { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .search-input { width: 100%; }
  .browse-header { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { padding: 14px 24px; }
  .hero-title { font-size: clamp(52px, 14vw, 80px); }
}