/* ============================================================
   Gallery — modern UI (mobile-first, dark glass)
   ============================================================ */

:root {
  --bg: #06070b;
  --bg-2: #0a0c12;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-hover: rgba(255, 255, 255, 0.10);
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --fg: #f4f6fb;
  --muted: #9aa2b4;
  --muted-2: #656d80;
  --accent: #7c8dff;
  --accent-2: #b275ff;
  --accent-3: #56dccb;
  --neon: #45e3ff;          /* neon cyan */
  --neon-2: #c14bff;        /* neon magenta */
  --glow: 0 0 18px rgba(69, 227, 255, 0.45);
  --glow-2: 0 0 24px rgba(193, 75, 255, 0.4);
  --error: #ff6b81;
  --r-pill: 999px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tap: 44px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

/* Soft aurora + grain */
body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -2;
  background:
    radial-gradient(38% 44% at 16% 6%, rgba(124, 141, 255, 0.16), transparent 60%),
    radial-gradient(42% 50% at 88% 4%, rgba(178, 117, 255, 0.14), transparent 60%),
    radial-gradient(46% 46% at 72% 96%, rgba(86, 220, 203, 0.09), transparent 60%);
  filter: blur(26px);
  animation: drift 26s var(--ease) infinite alternate;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
}
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.06); }
}

/* ---------- Buttons ---------- */
button, .btn {
  position: relative;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  min-height: var(--tap);
  padding: 0 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 22px rgba(124, 141, 255, 0.30), inset 0 1px 0 rgba(255,255,255,0.22);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.2s, filter 0.18s;
  overflow: hidden;
  -webkit-user-select: none; user-select: none;
}
button::after, .btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.22) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform 0.7s var(--ease);
}
@media (hover: hover) {
  button:hover, .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(124, 141, 255, 0.4); }
  button:hover::after, .btn:hover::after { transform: translateX(130%); }
}
button:active, .btn:active { transform: translateY(0) scale(0.985); }
button:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
button:disabled::after { display: none; }

.btn.ghost {
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--fg);
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn.ghost:hover { background: var(--surface-hover); border-color: var(--hairline-strong); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; }

.iconbtn {
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--fg);
  width: var(--tap); height: var(--tap);
  border-radius: var(--r-sm);
  font-size: 19px; padding: 0;
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.iconbtn::after { display: none; }
.iconbtn:hover { background: var(--surface-hover); }

/* ---------- Inputs ---------- */
input {
  font-family: inherit;
  width: 100%;
  min-height: var(--tap);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 0 16px;
  color: var(--fg);
  font-size: 16px; /* iOS zoom önleme */
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input:focus {
  outline: none;
  background: rgba(255,255,255,0.06);
  border-color: rgba(124, 141, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(124, 141, 255, 0.16);
}
input::placeholder { color: var(--muted-2); }

.muted { color: var(--muted); }
.center { text-align: center; }
.error { color: var(--error); font-size: 14px; font-weight: 500; }

.glass {
  background: var(--surface);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid var(--hairline);
}

/* ============================================================
   Login
   ============================================================ */
.auth-wrap {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(24px + var(--safe-t)) calc(20px + var(--safe-r)) calc(24px + var(--safe-b)) calc(20px + var(--safe-l));
}
.auth-card {
  border-radius: var(--r-lg);
  padding: clamp(28px, 6vw, 44px) clamp(22px, 5vw, 36px) clamp(26px, 5vw, 36px);
  width: 100%;
  max-width: 400px;
  display: flex; flex-direction: column; gap: 14px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: card-in 0.65s var(--ease) both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.logo-orb {
  width: 72px; height: 72px; margin: 0 auto 6px;
  border-radius: 22px; display: grid; place-items: center;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 26px; font-weight: 800; letter-spacing: -1px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2) 55%, var(--accent-3));
  background-size: 200% 200%;
  box-shadow: 0 16px 42px rgba(124, 141, 255, 0.45), inset 0 1px 0 rgba(255,255,255,0.45);
  animation: hue 7s ease infinite;
}
@keyframes hue { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.auth-card h1 { font-size: clamp(24px, 6vw, 28px); font-weight: 800; letter-spacing: -0.03em; }
.auth-card .muted { margin-bottom: 6px; font-size: 14.5px; }
.auth-card button { margin-top: 6px; min-height: 50px; }
.auth-card input { text-align: left; }

/* ============================================================
   Topbar
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(18px, var(--safe-r)) 12px max(18px, var(--safe-l));
  padding-top: calc(12px + var(--safe-t));
  background: linear-gradient(180deg, rgba(6,7,11,0.9), rgba(6,7,11,0.55));
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--hairline);
}
.brand, .brand-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.logo.sm {
  width: 34px; height: 34px; flex: none;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 14px; font-weight: 800; letter-spacing: -1px; color: #fff;
  display: grid; place-items: center; border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 14px rgba(124,141,255,0.4);
}
.who { color: var(--muted); font-size: 14px; font-weight: 500; max-width: 38vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.container {
  max-width: 1200px; margin: 0 auto;
  padding: 28px max(20px, var(--safe-l)) calc(70px + var(--safe-b)) max(20px, var(--safe-r));
}
.section-title {
  font-size: clamp(22px, 5vw, 27px); font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 20px; display: flex; align-items: center; gap: 11px; flex-wrap: wrap;
  animation: fade-up 0.5s var(--ease) both;
}
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Tags / avatar ---------- */
.tag {
  font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: var(--r-pill);
  letter-spacing: 0.02em; line-height: 1; flex: none;
}
.tag.own { background: linear-gradient(135deg, rgba(124,141,255,0.26), rgba(178,117,255,0.26)); color: #cdd4ff; border: 1px solid rgba(124,141,255,0.32); }
.tag.ro { background: var(--surface-2); color: var(--muted); border: 1px solid var(--hairline); }
.avatar {
  width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 14px rgba(124,141,255,0.35); text-transform: uppercase;
}

/* ============================================================
   Gallery selection
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-card {
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  animation: tile-in 0.5s var(--ease) both;
}
@media (hover: hover) {
  .gallery-card:hover { transform: translateY(-6px); border-color: var(--hairline-strong); box-shadow: var(--shadow); }
  .gallery-card:hover .cover img { transform: scale(1.07); }
}
.gallery-card:active { transform: scale(0.99); }
.gallery-card .cover {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, #0f131d, #181e2e);
}
.gallery-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-card .cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(6,7,11,0.6)); }
.cover-empty { width: 100%; height: 100%; display: grid; place-items: center; font-size: 42px; color: rgba(255,255,255,0.13); }
.count-chip {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--hairline); color: #fff; font-size: 12px; font-weight: 600;
  padding: 5px 11px; border-radius: var(--r-pill);
}
.cover-tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.gallery-card .meta { padding: 15px 16px; display: flex; align-items: center; gap: 12px; }
.meta-text { flex: 1; min-width: 0; }
.meta-text h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta-text p { font-size: 13px; }

/* ============================================================
   Detail
   ============================================================ */
.detail-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.detail-head .section-title { margin-bottom: 0; }
.actions { display: flex; gap: 10px; }
.upload-status {
  padding: 13px 16px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(124,141,255,0.15), rgba(178,117,255,0.10));
  border: 1px solid var(--hairline); border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 11px;
}
.upload-status::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25); border-top-color: #fff;
  animation: spin 0.8s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Media grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tile {
  position: relative; aspect-ratio: 1;
  background: var(--bg-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  animation: tile-in 0.45s var(--ease) both;
}
@keyframes tile-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (hover: hover) { .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); z-index: 1; } }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,0.4)); opacity: 0; transition: opacity 0.25s; }
@media (hover: hover) { .tile:hover::after { opacity: 1; } }
.tile-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(0,0,0,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; padding: 4px 9px; border-radius: 9px; font-size: 12px; pointer-events: none;
  max-width: calc(100% - 58px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tile .del {
  position: absolute; top: 9px; right: 9px; z-index: 2;
  background: rgba(0,0,0,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid var(--hairline); color: #fff;
  border-radius: 10px; width: 36px; height: 36px; min-height: 0; padding: 0; font-size: 15px; box-shadow: none;
  opacity: 0; transform: translateY(-4px); transition: opacity 0.2s, transform 0.2s, background 0.2s;
}
.tile .del::after { display: none; }
.tile .del:hover { background: var(--error); border-color: transparent; transform: translateY(-4px) scale(1.05); }
@media (hover: hover) { .tile:hover .del { opacity: 1; transform: translateY(0); } }
@media (hover: none) { .tile .del { opacity: 1; transform: none; } } /* dokunmatikte hep görünür */

/* ---------- Link tiles ---------- */
.link-content { display: block; width: 100%; height: 100%; position: relative; text-decoration: none; color: var(--fg); }
.link-content img { width: 100%; height: 100%; object-fit: cover; }
.link-card { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 16px; text-align: center; background: linear-gradient(150deg, #161c29, #10141d); }
.link-ico { font-size: 24px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: rgba(124,141,255,0.15); border: 1px solid var(--hairline); }
.link-title { font-size: 13px; font-weight: 700; word-break: break-word; line-height: 1.3; }
.link-host { font-size: 11px; color: var(--muted); }

/* ---------- Empty / skeleton ---------- */
#empty { padding: 64px 20px; color: var(--muted); font-size: 14.5px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-face {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 30px; font-weight: 700; letter-spacing: 1px;
  color: rgba(255,255,255,0.28);
}
.skeleton { border-radius: var(--r); background: linear-gradient(100deg, rgba(255,255,255,0.035) 30%, rgba(255,255,255,0.09) 50%, rgba(255,255,255,0.035) 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton.card { aspect-ratio: 16/10; border-radius: var(--r-lg); }
.skeleton.tile { aspect-ratio: 1; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4,5,8,0.85);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  padding: max(4vmin, var(--safe-t)) 4vmin max(4vmin, var(--safe-b));
  cursor: zoom-out; animation: lb-fade 0.25s var(--ease);
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox img, .lightbox video { max-width: 94vw; max-height: 88vh; border-radius: 16px; box-shadow: 0 40px 120px rgba(0,0,0,0.7); animation: lb-zoom 0.32s var(--ease); }
@keyframes lb-zoom { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: none; } }
.lb-close {
  position: fixed; top: calc(16px + var(--safe-t)); right: calc(16px + var(--safe-r)); z-index: 101;
  width: var(--tap); height: var(--tap); border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid var(--hairline); color: #fff;
  font-size: 20px; display: grid; place-items: center; cursor: pointer;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; min-height: 0;
}
.lb-close::after { display: none; }
.lb-close:hover { background: rgba(255,255,255,0.22); transform: none; }

/* ---------- Count pill (detay başlığı) ---------- */
.count-pill {
  font-size: 13px; font-weight: 700; line-height: 1;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--hairline);
}
.btn-ico { font-size: 16px; font-weight: 700; line-height: 0; margin-right: -2px; }

/* ---------- Drag & drop ---------- */
.drop-hint {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(6,7,11,0.72);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: lb-fade 0.18s var(--ease);
}
.drop-box {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: clamp(28px, 8vw, 56px) clamp(36px, 12vw, 90px);
  border: 2px dashed rgba(124,141,255,0.55); border-radius: var(--r-lg);
  background: rgba(124,141,255,0.08);
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--fg);
}
.drop-face {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 38px; font-weight: 800; color: var(--accent);
  animation: bob 1.1s var(--ease) infinite alternate;
}
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* ============================================================
   Landing (hero) — neon / gaming
   ============================================================ */
.landing {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(28px + var(--safe-t)) 22px calc(28px + var(--safe-b));
  overflow: hidden;
}
.grid-bg {
  position: absolute; inset: -2px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(69,227,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(193,75,255,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 30%, transparent 78%);
  animation: gridpan 18s linear infinite;
}
@keyframes gridpan { to { background-position: 46px 46px, 46px 46px; } }
.landing-inner {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  animation: card-in 0.7s var(--ease) both;
}
.logo-orb.big { width: 88px; height: 88px; border-radius: 26px; font-size: 32px; box-shadow: 0 18px 50px rgba(124,141,255,0.5), var(--glow); }
.hero-title {
  font-size: clamp(44px, 13vw, 92px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95;
  background: linear-gradient(120deg, #fff 0%, var(--neon) 45%, var(--neon-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 38px rgba(69,227,255,0.25);
  position: relative;
}
.hero-sub { font-size: clamp(15px, 3.6vw, 18px); color: var(--muted); line-height: 1.55; max-width: 30ch; }
.hero-sub .dim { color: var(--muted-2); font-size: 0.92em; }
.nowrap { white-space: nowrap; }
.neon-btn {
  margin-top: 6px; min-height: 54px; padding: 0 30px; font-size: 16px;
  background: linear-gradient(135deg, var(--neon), var(--accent) 55%, var(--neon-2));
  box-shadow: 0 10px 30px rgba(69,227,255,0.35), var(--glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.neon-btn .arr { font-size: 20px; transition: transform 0.2s var(--ease); }
.neon-btn:hover .arr { transform: translateX(4px); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.chip {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  padding: 7px 13px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}

/* Neon vurgular (genel) */
.section-title { text-shadow: 0 0 22px rgba(69,227,255,0.12); }
.tag.own { box-shadow: 0 0 14px rgba(124,141,255,0.25); }
@media (hover: hover) {
  .gallery-card:hover { border-color: rgba(69,227,255,0.45); box-shadow: var(--shadow), var(--glow); }
  .tile:hover { box-shadow: var(--shadow-sm), 0 0 16px rgba(69,227,255,0.25); }
}
.auth-card { box-shadow: var(--shadow), 0 0 40px rgba(69,227,255,0.08); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gallery-card .meta { padding: 12px; gap: 10px; }
  .avatar { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
  .meta-text h3 { font-size: 15px; }
}

@media (max-width: 560px) {
  .container { padding-top: 22px; }
  .who { display: none; }
  .brand-name { display: none; }
  /* detay başlığı ve aksiyonlar dikey yığılır, butonlar tam genişlik */
  .detail-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .detail-head .actions { width: 100%; }
  .detail-head .actions .btn { flex: 1; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
  .tile { border-radius: 14px; }
  .gallery-grid { gap: 12px; }
}

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

@media (prefers-reduced-motion: reduce) {
  *, body::before { animation: none !important; transition: none !important; }
}
