:root {
  color-scheme: dark;
  --bg: #06100a;
  --surface: rgba(8, 14, 9, 0.82);
  --surface-strong: rgba(20, 35, 18, 0.80);
  --text: #eef4d8;
  --muted: #9eb88c;
  --line: rgba(180, 215, 140, 0.24);
  --cyan: #b8e06a;
  --blue: #6b8f5e;
  --purple: #cce2a0;
  --pink: #e8f5ba;
  --green: #a5d85c;
  --danger: #ff9b78;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(3,7,3,0.08) 0%, rgba(3,7,3,0.42) 58%, rgba(3,7,3,0.78) 100%),
    url("assets/forest.png") center top / cover fixed;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* subtle grid overlay */
body::before {
  position: fixed; inset: 0; z-index: -2; content: "";
  background-image:
    linear-gradient(rgba(184,224,106,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,224,106,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 80%, transparent);
}

/* green glow radial */
body::after {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; content: "";
  background: radial-gradient(ellipse 80% 40% at 50% 28%, rgba(184,224,106,0.10), transparent);
}

body.gate-locked { overflow: hidden; }

button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.site-content[hidden], .gate-screen[hidden] { display: none; }

/* ── GATE ── */
.gate-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(2,6,2,0.16) 0%, rgba(2,6,2,0.60) 100%),
    url("assets/forest.png") center / cover fixed;
}

.math-gate {
  width: min(440px, 100%);
  border: 1px solid rgba(184,224,106,0.36);
  border-radius: 20px;
  background: rgba(6,10,6,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 60px rgba(184,224,106,0.10), var(--shadow);
  padding: clamp(22px, 5vw, 36px);
}

.math-gate h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1;
}

.gate-copy { color: var(--muted); line-height: 1.5; }

.math-box {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 86px; margin: 22px 0;
  border: 1px solid rgba(184,224,106,0.28);
  border-radius: 16px;
  background: rgba(184,224,106,0.06);
  padding: 18px; font-size: 1.55rem; font-weight: 850;
}

.math-gate label { display: block; margin-bottom: 8px; color: var(--muted); font-weight: 750; }

/* ── TOPBAR ── */
.topbar {
  width: min(1160px, calc(100% - 32px));
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding: 22px 0 8px;
}

.creator-tag {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(184,224,106,0.50);
}
.creator-tag.top { padding-top: 14px; }
.creator-tag.bottom { padding: 28px 0 4px; text-align: center; }

.brand {
  display: inline-flex; align-items: center; gap: 13px;
  color: var(--text); font-size: 1rem; font-weight: 850;
  line-height: 1.05; text-decoration: none;
}

.brand-mark {
  display: block; width: 50px; height: 50px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 13px;
  background: url("assets/forest.png") center / cover;
  box-shadow: 0 0 28px rgba(184,224,106,0.34);
  flex-shrink: 0;
}

.nav-links { display: flex; justify-content: center; gap: clamp(16px,3vw,40px); }
.nav-links a {
  position: relative; padding: 13px 0;
  color: #b2c29a; font-weight: 700; text-decoration: none;
  transition: color 0.18s;
}
.nav-links a.active, .nav-links a:hover { color: #fff; }
.nav-links a.active::after {
  position: absolute; right: 15%; bottom: 4px; left: 15%;
  height: 3px; border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), #eeffc8);
  box-shadow: 0 0 14px rgba(184,224,106,0.55);
  content: "";
}

.top-actions, .hero-actions, .password-row {
  display: flex; align-items: center; gap: 10px;
}

.admin-button, .primary-button, .text-button, .filter,
.icon-button, .lang-button, .description-button, .primary-link, .ghost-link {
  min-height: 44px;
  border: 1px solid rgba(184,224,106,0.28);
  border-radius: 13px;
  background: rgba(7,12,7,0.76);
  color: var(--text);
  transition: border-color 0.18s, background 0.18s;
}
.admin-button, .primary-button, .filter, .lang-button, .description-button, .primary-link, .ghost-link {
  padding: 0 17px;
}
.lang-button { min-width: 54px; font-weight: 850; }
.description-button { font-weight: 850; }
.description-text { margin: 18px 0 4px; color: #d8e8ff; font-size: 1.05rem; line-height: 1.65; }

.admin-button { display: inline-flex; align-items: center; gap: 9px; }
.admin-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ecffc4, #7aad55 60%, #213319);
}
.icon-button { display: inline-grid; width: 44px; place-items: center; font-weight: 850; }

.primary-button, .primary-link, .visit-link {
  border-color: rgba(184,224,106,0.60);
  background: linear-gradient(110deg, #d6f09e, #6a9450 55%, #253c1f);
  box-shadow: 0 0 20px rgba(184,224,106,0.20);
  color: #0d1709; font-weight: 850;
}
.primary-link, .ghost-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 148px; text-decoration: none;
}
.ghost-link { background: rgba(8,14,8,0.60); }
.text-button { padding: 0 12px; color: var(--cyan); }

/* ── MAIN ── */
main {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 56px;
}

/* ── HERO ── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px,0.9fr) minmax(320px,1.1fr);
  grid-template-areas: "copy visual" "actions search";
  gap: 24px 44px;
  align-items: center;
  min-height: 660px;
  padding: 100px 0 44px;
}

/* ── DESKTOP QUOTE (top center, white + shadow) ── */
.desktop-quote {
  position: absolute;
  top: 16px; left: 50%;
  width: min(780px, 80vw);
  color: #fff;
  font-size: clamp(1.15rem, 2.8vw, 2.25rem);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0,0,0,0.98), 0 0 3px rgba(0,0,0,1);
  transform: translateX(-50%);
  z-index: 4;
  letter-spacing: -0.01em;
}

/* ── LIVE CLOCK (centre, large serif) ── */
.desktop-clock {
  position: absolute;
  top: 120px; left: 50%;
  display: grid;
  color: rgba(235,248,188,0.85);
  text-align: center;
  text-shadow: 0 0 28px rgba(235,248,188,0.28);
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.desktop-clock span {
  font-size: clamp(4.6rem, 10.5vw, 8rem);
  line-height: 0.9;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.desktop-clock small {
  order: -1;
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  opacity: 0.52;
  letter-spacing: 0.04em;
}

/* ── MUSIC WIDGET (top-left, like WinAmp/CAVA bar) ── */
.music-widget {
  position: absolute;
  top: 10px; left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 11px;
  width: 255px;
  border: 1px solid rgba(184,224,106,0.20);
  border-radius: 10px;
  background: rgba(4,8,4,0.80);
  box-shadow: 0 8px 30px rgba(0,0,0,0.38);
  backdrop-filter: blur(12px);
  padding: 12px;
}

.music-widget strong { display: block; color: #f2f8d4; font-size: 0.79rem; }
.music-widget small { color: var(--muted); font-size: 0.75rem; }

/* Vinyl disc / album cover */
.disc {
  width: 50px; height: 50px; border-radius: 50%;
  background: url("assets/cs-cover.png") center / cover;
  border: 2px solid rgba(184,224,106,0.30);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Music progress bar */
.music-progress {
  width: 100%; height: 3px;
  background: rgba(184,224,106,0.18);
  border-radius: 99px;
  margin: 6px 0 4px;
  overflow: hidden;
}
.music-progress-fill {
  height: 100%;
  background: var(--cyan);
  border-radius: 99px;
  animation: progress 159s linear infinite; /* ~2:39 */
  transform-origin: left;
}
@keyframes progress { from { width: 0%; } to { width: 100%; } }

/* Cava-style equalizer bars */
.wave {
  display: flex; gap: 2px; align-items: flex-end;
  height: 18px; margin-top: 2px;
}
.wave span {
  flex: 1;
  background: var(--cyan);
  border-radius: 2px 2px 0 0;
  opacity: 0.7;
  animation: bar var(--d, 0.6s) ease-in-out infinite alternate;
}
@keyframes bar { from { height: 3px; } to { height: var(--h, 14px); } }





/* ── HERO COPY ── */
.hero-copy { grid-area: copy; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan); font-size: 0.8rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.13em;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 600px; margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.94; letter-spacing: -0.01em;
}
h1 span, .hero h1 {
  background: linear-gradient(180deg, #fff, #e8f6ba 42%, #9abc6a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
h2 { margin-bottom: 0; font-size: 1.3rem; }

.hero-text { max-width: 510px; color: #c8d8a8; font-size: 1.06rem; line-height: 1.62; }
.hero-actions { margin-top: 26px; }

/* ── HERO VISUAL ── */
.hero-visual { position: relative; grid-area: visual; min-height: 430px; }

.hero-orb {
  position: absolute; top: 52%; left: 52%;
  width: min(420px, 72vw); aspect-ratio: 1;
  border: 1.5px solid rgba(184,224,106,0.38);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  background:
    radial-gradient(circle at 72% 46%, rgba(184,224,106,0.30), transparent 18%),
    radial-gradient(circle at 34% 30%, rgba(100,136,68,0.40), transparent 30%),
    radial-gradient(circle at 50% 52%, rgba(220,244,170,0.12), transparent 60%);
  box-shadow: inset 0 0 40px rgba(184,224,106,0.12), 0 0 80px rgba(184,224,106,0.10);
}

.hero-cube {
  position: absolute; top: 50%; left: 50%;
  display: grid; width: 185px; height: 185px; place-items: center;
  border: 1.5px solid rgba(240,250,200,0.50);
  border-radius: 34px;
  transform: translate(-50%,-50%) rotate(-2deg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 30px rgba(184,224,106,0.42), inset 0 0 34px rgba(255,255,255,0.16);
  color: #f5f6ff; font-size: 5.6rem; font-weight: 950; overflow: hidden;
}
.hero-cube img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; opacity: 1; }
.hero-cube span { display: none; }

.planet-ring {
  position: absolute; top: 50%; left: 50%;
  width: 570px; height: 144px;
  border: 1px solid rgba(184,224,106,0.38);
  border-radius: 50%;
  transform: translate(-50%,-50%) rotate(-14deg);
  box-shadow: 0 0 22px rgba(184,224,106,0.18);
}
.planet-ring.two {
  width: 484px; height: 116px;
  transform: translate(-50%,-50%) rotate(18deg);
  border-color: rgba(230,244,190,0.30);
}

.gem {
  position: absolute; width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, #e4f4b0, #607a48);
  box-shadow: 0 0 20px rgba(184,224,106,0.18);
  transform: rotate(28deg);
}
.gem-one { top: 12%; left: 12%; }
.gem-two { right: 8%; top: 18%; }
.gem-three { bottom: 10%; left: 18%; }

/* ── SEARCH ── */
.search-wrap { position: relative; grid-area: search; }
.search-wrap input, .dialog-shell input, .dialog-shell select {
  width: 100%; min-height: 56px;
  border: 1px solid rgba(184,224,106,0.38);
  border-radius: 17px;
  background: rgba(5,9,5,0.80);
  color: var(--text);
  padding: 0 60px 0 20px;
  outline: none;
}
.search-wrap input:focus, .dialog-shell input:focus, .dialog-shell select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(184,224,106,0.09), 0 0 26px rgba(184,224,106,0.12);
}
.search-key {
  position: absolute; top: 50%; right: 14px;
  min-width: 32px; border-radius: 9px;
  background: rgba(255,255,255,0.10);
  color: #ccd8ef; padding: 5px 9px;
  text-align: center; transform: translateY(-50%);
}

/* ── TOOLBAR ── */
.toolbar { display: flex; gap: 14px; overflow-x: auto; padding: 4px 0 32px; }
.filter { min-width: 116px; white-space: nowrap; }
.filter.active {
  border-color: var(--cyan);
  background: rgba(184,224,106,0.11);
  box-shadow: 0 0 22px rgba(184,224,106,0.12);
  color: #fff;
}

/* ── SECTION HEADER ── */
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin: 6px 0 18px;
}
.section-head h2::before { color: var(--cyan); content: "O "; }
.count-badge {
  border: 1px solid rgba(184,224,106,0.32);
  border-radius: 999px; padding: 9px 20px;
  color: #d8e4ff; font-size: 0.97rem;
}

/* ── LINK GRID ── */
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 15px;
}

.link-card {
  position: relative; min-height: 348px;
  display: flex; flex-direction: column; gap: 9px;
  overflow: hidden;
  border: 1px solid rgba(184,224,106,0.28);
  border-radius: 20px;
  background:
    linear-gradient(148deg, rgba(18,28,14,0.78), rgba(5,9,5,0.90)),
    linear-gradient(135deg, rgba(184,224,106,0.07), rgba(72,100,52,0.10));
  box-shadow: var(--shadow), inset 0 0 50px rgba(184,224,106,0.03);
  padding: 17px 20px 19px;
  transition: border-color 0.22s, transform 0.22s;
}
.link-card:hover {
  border-color: rgba(184,224,106,0.52);
  transform: translateY(-2px);
}
.link-card::before {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(184,224,106,0.09), transparent 36%),
    linear-gradient(315deg, rgba(72,100,52,0.18), transparent 46%);
  content: "";
}

.card-top, .link-card h3, .link-card p, .status-line, .visit-link { position: relative; z-index: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.category-pill {
  border-radius: 999px; background: rgba(184,224,106,0.10);
  color: #e8f5b8; padding: 7px 12px; font-size: 0.80rem; font-weight: 750;
}
.delete-button {
  display: none; width: 32px; height: 32px;
  border: 1px solid rgba(255,100,130,0.50); border-radius: 9px;
  background: rgba(255,100,130,0.09); color: var(--danger); font-size: 17px;
}
body.admin-mode .delete-button { display: inline-grid; place-items: center; }

.card-art { position: relative; z-index: 1; display: grid; min-height: 112px; place-items: center; }
.card-art span {
  display: grid; width: 88px; height: 88px; place-items: center;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 24px;
  background: linear-gradient(148deg, rgba(225,244,175,0.94), rgba(78,104,56,0.90));
  box-shadow: 0 0 28px rgba(184,224,106,0.22);
  color: white; font-size: 2.2rem; font-weight: 950;
}
.link-card[data-category="proxy"] .card-art span {
  border-radius: 50% 50% 44% 44%;
  background: linear-gradient(148deg, #e8f8bc, #6e8a54 56%, #243318);
}
.link-card[data-category="games"] .card-art span {
  border-radius: 22px;
  background: linear-gradient(148deg, #dff4a8, #80a560 50%, #212e17);
}
.link-card[data-category="media"] .card-art span {
  border-radius: 50%;
  background: linear-gradient(148deg, #f2ffc8, #729058 56%, #192214);
}

.link-card h3 { margin-bottom: 0; font-size: 1.28rem; overflow-wrap: anywhere; }
.link-card p { min-height: 42px; margin-bottom: 0; color: #c6d6a8; line-height: 1.44; overflow-wrap: anywhere; }

.status-line { display: flex; align-items: center; gap: 9px; color: #82ff9e; font-weight: 750; }
.status-line span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 11px var(--green);
}
.status-line.unavailable { color: var(--danger); }
.status-line.unavailable span { background: var(--danger); box-shadow: 0 0 11px var(--danger); }

.visit-link {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 50px; margin-top: auto;
  border-radius: 12px; text-decoration: none;
}
.empty-state {
  border: 1px dashed rgba(120,150,255,0.38); border-radius: 17px;
  padding: 22px; color: var(--muted); text-align: center;
}

/* ── FEATURE STRIP ── */
.feature-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px; margin-top: 20px;
  border: 1px solid rgba(184,224,106,0.26);
  border-radius: 22px;
  background: rgba(7,12,7,0.78);
  box-shadow: 0 0 28px rgba(184,224,106,0.08);
  padding: 22px;
}
.feature-strip div { display: grid; grid-template-columns: 52px 1fr; column-gap: 13px; align-items: center; }
.feature-strip span {
  grid-row: span 2; display: grid; width: 52px; height: 52px; place-items: center;
  border: 1px solid rgba(184,224,106,0.24); border-radius: 15px;
  background: rgba(184,224,106,0.09); color: var(--cyan); font-weight: 950;
}
.feature-strip strong { font-size: 0.97rem; }
.feature-strip small { color: var(--muted); }

/* ── ADMIN DIALOG ── */
.admin-dialog {
  width: min(630px, calc(100% - 24px));
  border: 0; border-radius: 20px;
  background: transparent; padding: 0;
}
.admin-dialog::backdrop { background: rgba(2,5,18,0.72); }
.dialog-shell {
  border: 1px solid rgba(184,224,106,0.28);
  border-radius: 20px;
  background: linear-gradient(148deg, rgba(7,12,7,0.98), rgba(18,24,12,0.96));
  color: var(--text); box-shadow: var(--shadow); padding: 20px;
}
.dialog-head, .admin-status {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.password-row input { min-width: 0; }
.panel { display: none; padding-top: 17px; }
.panel.active { display: block; }
.panel label { display: grid; gap: 6px; color: var(--muted); font-weight: 700; }
.message { min-height: 22px; margin: 9px 0 0; color: var(--muted); }
.editor-grid { display: grid; grid-template-columns: 1fr 165px; gap: 13px; margin: 15px 0; }
.wide { grid-column: 1 / -1; }
.full { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .desktop-quote, .music-widget, .stats-widget, .side-dock { display: none; }
  .desktop-clock { position: static; grid-column: 1/-1; transform: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .nav-links { grid-column: 1/-1; justify-content: flex-start; overflow-x: auto; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "clock" "copy" "visual" "search";
    min-height: auto; padding-top: 32px;
  }
  .hero-visual { min-height: 350px; }
  .link-grid, .feature-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  main, .topbar { width: min(100% - 22px, 1160px); }
  h1 { font-size: clamp(2.8rem, 16vw, 4.6rem); }
  .top-actions, .hero-actions, .password-row, .admin-status { align-items: stretch; flex-direction: column; }
  .topbar { grid-template-columns: 1fr; }
  .link-grid, .feature-strip, .editor-grid { grid-template-columns: 1fr; }
  .feature-strip div { grid-template-columns: 44px 1fr; }
  .feature-strip span { width: 44px; height: 44px; }
  .planet-ring { width: 360px; }
}

/* ── GATE LANG BUTTON ── */
.gate-lang-btn {
  position: fixed;
  top: 18px; right: 22px; z-index: 10;
  min-height: 40px; min-width: 52px;
  border: 1px solid rgba(184,224,106,0.35);
  border-radius: 12px;
  background: rgba(4,10,4,0.80);
  backdrop-filter: blur(10px);
  color: var(--cyan);
  font-weight: 850; font-size: 0.9rem; font: inherit;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.gate-lang-btn:hover { border-color: rgba(184,224,106,0.65); color: #fff; }

/* ── NAV PROXY BUTTON ── */
.nav-link-btn {
  position: relative; padding: 13px 0;
  color: #b2c29a; font-weight: 700;
  background: none; border: none;
  cursor: pointer; font: inherit;
  transition: color 0.18s;
}
.nav-link-btn:hover { color: #fff; }

/* ── FOOTER ── */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(184,224,106,0.18);
  padding-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; margin-bottom: 36px;
}
.footer-title { margin: 0 0 16px; color: #fff; font-size: 1rem; font-weight: 800; }
.footer-legal { color: var(--muted); font-size: 0.87rem; line-height: 1.65; margin: 0 0 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-link {
  display: flex; align-items: center; gap: 10px;
  color: #b0c890; font-size: 0.92rem; font-weight: 700;
  text-decoration: none; transition: color 0.18s;
}
.footer-link:hover { color: #fff; }
.footer-btn { background: none; border: none; padding: 0; cursor: pointer; font: inherit; }
.footer-link-icon {
  display: flex; align-items: center; gap: 9px;
  color: var(--cyan); font-size: 0.9rem; font-weight: 800;
  text-decoration: none;
}
.footer-link-icon:hover { color: #fff; }
.footer-icon {
  display: inline-grid; width: 28px; height: 28px; place-items: center;
  border: 1px solid rgba(184,224,106,0.22); border-radius: 7px;
  background: rgba(184,224,106,0.07); color: var(--cyan);
  font-size: 0.78rem; font-weight: 900; flex-shrink: 0;
}
.footer-icon.tech { font-size: 0.65rem; }
.footer-bottom {
  border-top: 1px solid rgba(184,224,106,0.12);
  padding: 18px 0 28px; color: var(--muted);
  font-size: 0.85rem; text-align: center;
}
.footer-bottom strong { color: var(--cyan); }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── ADMIN CARD BUTTONS ── */
.admin-actions {
  display: none;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
body.admin-mode .admin-actions { display: flex; }

.toggle-status-button, .edit-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  font-size: 16px;
  font-weight: 800;
  padding: 0;
  cursor: pointer; transition: background 0.18s;
}
.toggle-status-button { color: var(--green); border-color: rgba(130,255,158,0.34); }
.toggle-status-button:hover { background: rgba(130,255,158,0.12); }
.edit-button { color: #dceeff; border-color: rgba(160,200,255,0.34); }
.edit-button:hover { background: rgba(100,160,255,0.12); }
.delete-button {
  display: inline-grid; width: 30px; height: 30px; place-items: center;
  border: 1px solid rgba(255,100,130,0.50); border-radius: 8px;
  background: rgba(255,100,130,0.09); color: var(--danger); font-size: 15px;
  cursor: pointer;
}
