/* ============================================================
   CAM & IŞIK — Glass Lux Link-in-Bio  ·  2026
   Saf CSS, OKLCH, dark-first. Tailwind/skill YOK — tamamen elle.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --font-display: "Outfit", "Inter", system-ui, -apple-system, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, sans-serif;
  --font-script: "Allura", "Brush Script MT", cursive;

  /* Fluid type — Major Third (1.25) */
  --t-xs:  clamp(0.72rem, 0.69rem + 0.15vw, 0.78rem);
  --t-sm:  clamp(0.82rem, 0.78rem + 0.2vw, 0.9rem);
  --t-base:clamp(0.95rem, 0.9rem + 0.25vw, 1.02rem);
  --t-md:  clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  --t-lg:  clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --t-xl:  clamp(1.9rem, 1.5rem + 2vw, 2.9rem);

  --maxw: 600px;
  --r-sm: 14px;
  --r:    22px;
  --r-lg: 26px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gap: clamp(1.1rem, 0.85rem + 1.2vw, 1.5rem);

  /* Admin / kit ek tokenlar */
  --t-xxs: 0.68rem;
  --glass-3: oklch(1 0 0 / 0.16);
  --shadow-sm: 0 4px 14px -6px oklch(0 0 0 / 0.35);
}

/* Tema aksanı — data-accent (background ışık sızıntısı renkleri) */
[data-accent="rose"] { --acc: oklch(0.56 0.14 8); --acc-ink: oklch(0.99 0.004 90);
  --leak-1: oklch(0.87 0.07 10); --leak-2: oklch(0.84 0.055 300); --leak-3: oklch(0.88 0.08 85); }
[data-accent="champagne"] { --acc: oklch(0.86 0.11 88); --acc-ink: oklch(0.22 0.04 88);
  --leak-1: oklch(0.84 0.13 88); --leak-2: oklch(0.78 0.14 30); --leak-3: oklch(0.80 0.12 320); }
[data-accent="aurora"] { --acc: oklch(0.83 0.14 195); --acc-ink: oklch(0.20 0.05 195);
  --leak-1: oklch(0.82 0.15 165); --leak-2: oklch(0.80 0.15 250); --leak-3: oklch(0.78 0.16 320); }
[data-accent="cyan"] { --acc: oklch(0.84 0.13 215); --acc-ink: oklch(0.20 0.05 230);
  --leak-1: oklch(0.82 0.15 215); --leak-2: oklch(0.80 0.14 255); --leak-3: oklch(0.85 0.12 190); }
[data-accent="violet"] { --acc: oklch(0.80 0.15 300); --acc-ink: oklch(0.22 0.06 300);
  --leak-1: oklch(0.78 0.17 300); --leak-2: oklch(0.80 0.15 260); --leak-3: oklch(0.82 0.14 350); }
[data-accent="emerald"] { --acc: oklch(0.82 0.15 160); --acc-ink: oklch(0.20 0.05 160);
  --leak-1: oklch(0.82 0.16 160); --leak-2: oklch(0.84 0.13 130); --leak-3: oklch(0.80 0.14 200); }

/* Dark (default) */
[data-theme="dark"] { /* Erik Gece — kadınsı koyu varyant */
  color-scheme: dark;
  --bg:     oklch(0.185 0.03 350);
  --bg-2:   oklch(0.25 0.04 345);
  --ink:    oklch(0.97 0.01 60);
  --ink-dim:oklch(0.83 0.02 40);
  --ink-faint: oklch(0.67 0.02 40);
  --glass:      oklch(0.86 0.04 20 / 0.08);
  --glass-2:    oklch(0.87 0.04 20 / 0.14);
  --glass-bd:   oklch(1 0 0 / 0.14);
  --glass-bd-hi:oklch(1 0 0 / 0.32);
  --glass-hi:   oklch(1 0 0 / 0.16);
  --sheen:      oklch(1 0 0 / 0.18);
  --shadow: 0 34px 80px -30px oklch(0.04 0.02 350 / 0.8), 0 10px 30px -18px oklch(0.04 0.02 350 / 0.62);
  --grain-op: 0.05;
  --glow-op: 0.12;
}
/* Light */
[data-theme="light"] { /* Krem — birincil kadınsı tema */
  color-scheme: light;
  --bg:     oklch(0.975 0.01 70);
  --bg-2:   oklch(0.95 0.02 50);
  --ink:    oklch(0.27 0.03 350);
  --ink-dim:oklch(0.44 0.03 350);
  --ink-faint: oklch(0.58 0.025 350);
  --glass:      oklch(1 0 0 / 0.5);
  --glass-2:    oklch(1 0 0 / 0.7);
  --glass-bd:   oklch(0.5 0.05 350 / 0.14);
  --glass-bd-hi:oklch(0.55 0.1 5 / 0.32);
  --glass-hi:   oklch(1 0 0 / 0.92);
  --sheen:      oklch(1 0 0 / 0.85);
  --shadow: 0 28px 60px -32px oklch(0.5 0.09 350 / 0.42), 0 8px 22px -16px oklch(0.5 0.06 350 / 0.3);
  --grain-op: 0.022;
  --glow-op: 0.12;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ui);
  font-size: var(--t-base);
  line-height: 1.55;
  color: var(--ink);
  background: radial-gradient(125% 85% at 50% -12%, var(--bg-2), var(--bg) 56%) fixed;
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg { display: block; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }

/* ---------- Arka plan katmanları ---------- */
#bg-canvas, .bg-aurora, .bg-grain, .cursor-glow { position: fixed; inset: 0; pointer-events: none; }
#bg-canvas { z-index: -3; width: 100%; height: 100%; }
.bg-aurora {
  z-index: -2;
  background:
    radial-gradient(38% 30% at 12% 6%, var(--leak-1), transparent 60%),
    radial-gradient(36% 28% at 90% 14%, var(--leak-2), transparent 60%),
    radial-gradient(40% 34% at 80% 92%, var(--leak-3), transparent 62%);
  opacity: 0.22;
  filter: blur(34px) saturate(120%);
  animation: aurora-drift 24s ease-in-out infinite alternate;
}
[data-theme="light"] .bg-aurora { opacity: 0.32; }
@keyframes aurora-drift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1.05); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.15); }
}
.bg-grain {
  z-index: -1;
  opacity: var(--grain-op);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.cursor-glow {
  z-index: -1;
  width: 520px; height: 520px;
  left: var(--cx, 50%); top: var(--cy, 24%);
  margin: -260px 0 0 -260px;
  background: radial-gradient(circle, var(--acc), transparent 62%);
  opacity: 0; filter: blur(48px); mix-blend-mode: screen;
  transition: opacity 0.5s ease;
}
.cursor-glow.is-on { opacity: var(--glow-op); }

/* ---------- Cam yüzey ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi);
}
.glass::before { /* üst kenar ışık highlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, var(--glass-hi), transparent 26%);
  opacity: 0.7; z-index: 0;
}
/* ışık süpürme + tilt specular taşıyıcı */
.glass-sheen { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -20%), var(--sheen), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease; }
.glass-sheen::after {
  content: ""; position: absolute; top: -60%; left: -70%; width: 55%; height: 220%;
  background: linear-gradient(100deg, transparent, var(--sheen), transparent);
  transform: rotate(9deg); opacity: 0;
}
[data-tilt]:hover > .glass-sheen,
.social:hover > .glass-sheen { opacity: 0.8; }
[data-tilt]:hover > .glass-sheen::after,
.social:hover > .glass-sheen::after { animation: sheen 0.9s var(--ease-out); }
@keyframes sheen { 0% { left: -70%; opacity: 0; } 18% { opacity: 1; } 100% { left: 170%; opacity: 0; } }

/* ---------- Layout ---------- */
.wrap {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(3.5rem, 2rem + 8vw, 6rem) clamp(1.1rem, 0.6rem + 2.2vw, 1.6rem) 3.5rem;
  display: flex; flex-direction: column; gap: clamp(1.6rem, 1rem + 2.5vw, 2.6rem);
}

/* ---------- HERO ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.55rem; }
.avatar-wrap { position: relative; width: 112px; height: 112px; margin-bottom: 1.8rem; transform-style: preserve-3d; }
.avatar-ring {
  position: absolute; inset: -5px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--leak-1), var(--leak-2), var(--leak-3), var(--leak-1));
  filter: blur(6px); opacity: 0.45; animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-fb { display: none; font-family: var(--font-display); font-weight: 400; font-size: 3rem; color: var(--acc); }
.avatar.is-fallback { background: var(--glass-2); }
.avatar.is-fallback .avatar-fb { display: block; }

.name {
  font-family: var(--font-display); font-weight: 600;
  font-size: var(--t-xl); line-height: 1.02; letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 0.4rem; justify-content: center;
}
.signature {
  font-family: var(--font-script); font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.4rem);
  color: var(--acc); line-height: 0.85; margin-top: -0.1rem;
}
.verified { width: 0.72em; height: 0.72em; fill: #0095f6; flex: none; filter: drop-shadow(0 0 3px rgba(0, 149, 246, 0.45)); }
.role {
  font-family: var(--font-ui); font-weight: 600; font-size: var(--t-sm);
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--acc);
}
.tagline { font-size: var(--t-md); color: var(--ink-dim); max-width: 38ch; text-wrap: balance; }
.location {
  display: inline-flex; align-items: center; gap: 0.34rem;
  font-size: var(--t-sm); color: var(--ink-faint); margin-top: 0.1rem;
}
.location svg { width: 1em; height: 1em; }

/* ---------- SOSYAL ---------- */
.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; }
.social {
  position: relative; width: 50px; height: 50px; border-radius: var(--r-sm);
  display: grid; place-items: center; color: var(--ink);
  transition: transform 0.4s var(--ease-spring), color 0.3s, box-shadow 0.4s, border-color 0.3s;
}
.social svg { width: 21px; height: 21px; fill: currentColor; position: relative; z-index: 1; transition: transform 0.4s var(--ease-spring); }
.social:hover { transform: translateY(-4px); color: var(--acc); border-color: var(--glass-bd-hi);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi), 0 6px 16px -8px var(--acc); }
.social:hover svg { transform: scale(1.12); }
.social:active { transform: translateY(-2px) scale(0.96); }
.social-tip {
  position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%) translateY(4px);
  padding: 0.28rem 0.6rem; border-radius: var(--r-pill); white-space: nowrap;
  font-size: var(--t-xs); font-weight: 600; color: var(--ink);
  background: var(--glass-2); border: 1px solid var(--glass-bd);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease-spring); z-index: 5;
}
.social:hover .social-tip { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- LİNK / AFFILIATE KARTLARI ---------- */
.links { display: flex; flex-direction: column; gap: 0; }
.link-card {
  margin-bottom: var(--gap);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.15rem;
  padding: 1.05rem 1.25rem; color: var(--ink);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s, border-color 0.4s, background 0.4s;
  will-change: transform;
}
.link-card:last-child { margin-bottom: 0; }
.link-card:hover { 
  border-color: var(--glass-bd-hi);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi), 0 12px 30px -12px var(--acc); 
  z-index: 100 !important; 
  transform: translateY(-4px); 
}
.link-card:active { transform: scale(0.985) !important; }

.link-thumb {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 15px; flex: none;
  display: grid; place-items: center; overflow: hidden;
  background: var(--glass-2); border: 1px solid var(--glass-bd);
}
.link-thumb img { width: 100%; height: 100%; object-fit: cover; }
.link-thumb-fb { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--acc); }
.link-thumb img + .link-thumb-fb { display: none; }
.link-thumb.is-fallback .link-thumb-fb { display: block; }

.link-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.link-title { font-family: var(--font-display); font-weight: 600; font-size: var(--t-md); line-height: 1.25; letter-spacing: -0.01em; }
.link-desc { font-size: var(--t-sm); color: var(--ink-dim); line-height: 1.45; letter-spacing: 0.01em; overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.link-brand {
  align-self: flex-start; margin-top: 0.2rem; font-size: var(--t-xs); font-weight: 600;
  letter-spacing: 0.04em; color: var(--ink-dim);
  padding: 0.14rem 0.5rem; border-radius: var(--r-pill);
  background: var(--glass-2); border: 1px solid var(--glass-bd-hi);
}
.link-arrow { position: relative; z-index: 1; color: var(--ink-faint); flex: none; transition: transform 0.4s var(--ease-spring), color 0.3s; }
.link-arrow svg { width: 20px; height: 20px; }
.link-card:hover .link-arrow { color: var(--acc); transform: translate(3px, -3px); }

.link-badge {
  position: absolute; z-index: 2; top: -10px; right: 16px;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem; border-radius: var(--r-pill);
  color: var(--acc-ink); background: var(--acc);
  box-shadow: 0 6px 18px -6px var(--acc);
}

/* Öne çıkan büyük kart */
.link-card.is-featured { padding: 1.35rem 1.55rem; grid-template-columns: auto 1fr auto; gap: 1.3rem;
  background: linear-gradient(135deg, var(--glass-2), var(--glass)); }
.link-card.is-featured .link-thumb { width: 68px; height: 68px; border-radius: 18px; }
.link-card.is-featured .link-title { font-size: var(--t-lg); font-weight: 600; }

/* ---------- TWEET'LER ---------- */
.section-title { display: flex; align-items: center; gap: 0.9rem; margin: 0.4rem 0 -0.2rem; }
.section-title span { font-family: var(--font-display); font-weight: 700; font-size: var(--t-md); color: var(--ink-dim); letter-spacing: 0.02em; }
.section-title::before, .section-title::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--glass-bd), transparent); }
.tweet-grid { display: flex; flex-direction: column; gap: var(--gap); }
.tweet-card { display: block; padding: 1.05rem 1.1rem; color: var(--ink);
  transform-style: preserve-3d; transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.4s; will-change: transform; }
.tweet-card:hover { border-color: var(--glass-bd-hi); box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi), 0 16px 44px -18px var(--acc); }
.tweet-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.7rem; }
.tweet-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--glass-bd); }
.tweet-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tweet-avatar-fb { font-family: var(--font-display); font-weight: 900; color: var(--acc); }
.tweet-avatar img + .tweet-avatar-fb { display: none; }
.tweet-avatar.is-fallback .tweet-avatar-fb { display: block; }
.tweet-id { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.tweet-name { font-family: var(--font-display); font-weight: 700; font-size: var(--t-base); display: inline-flex; align-items: center; gap: 0.25rem; }
.tweet-name .tw-verified { width: 0.95em; height: 0.95em; fill: #0095f6; }
.tweet-handle { font-size: var(--t-sm); color: var(--ink-faint); }
.tweet-head .tw-logo { width: 19px; height: 19px; margin-left: auto; fill: var(--ink-faint); transition: fill 0.3s; }
.tweet-card:hover .tw-logo { fill: var(--acc); }
.tweet-body { position: relative; z-index: 1; font-size: var(--t-base); line-height: 1.6; color: var(--ink); white-space: normal; }
.tweet-body .tw-ent { color: var(--acc); font-weight: 500; }
.tweet-foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin-top: 0.85rem; font-size: var(--t-sm); color: var(--ink-faint); }
.tweet-stats { display: flex; gap: 1.1rem; }
.tweet-stat { display: inline-flex; align-items: center; gap: 0.32rem; }
.tweet-stat svg { width: 15px; height: 15px; }
.tweet-stat:first-child svg { color: oklch(0.7 0.18 20); }

/* ---------- Tema toggle ---------- */
.theme-toggle {
  position: fixed; top: clamp(0.9rem, 0.5rem + 1vw, 1.4rem); right: clamp(0.9rem, 0.5rem + 1vw, 1.4rem);
  z-index: 50; width: 46px; height: 46px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--ink);
  transition: transform 0.4s var(--ease-spring), color 0.3s, box-shadow 0.4s;
}
.theme-toggle:hover { transform: rotate(18deg) scale(1.06); color: var(--acc); }
.theme-toggle:active { transform: scale(0.92); }
.theme-toggle svg { position: absolute; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: opacity 0.35s, transform 0.45s var(--ease-spring); }
.ico-moon { fill: currentColor; stroke: none; }
[data-theme="dark"] .ico-sun  { opacity: 0; transform: rotate(-90deg) scale(0.4); }
[data-theme="dark"] .ico-moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .ico-sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .ico-moon{ opacity: 0; transform: rotate(90deg) scale(0.4); }

/* ---------- Footer ---------- */
.foot { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 0.6rem; }
.share-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.62rem 1.1rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--t-sm); color: var(--ink); transition: transform 0.4s var(--ease-spring), color 0.3s, box-shadow 0.4s; }
.share-btn svg { width: 17px; height: 17px; }
.share-btn:hover { transform: translateY(-3px); color: var(--acc); box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi), 0 10px 30px -12px var(--acc); }
.share-btn:active { transform: translateY(0) scale(0.97); }
.foot-note { font-size: var(--t-xs); color: var(--ink-faint); letter-spacing: 0.02em; }
.foot-note a { color: var(--ink-faint); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.6rem; transform: translate(-50%, 1.5rem);
  z-index: 80; padding: 0.6rem 1.1rem; border-radius: var(--r-pill);
  font-size: var(--t-sm); font-weight: 600; color: var(--ink);
  background: var(--glass-2); border: 1px solid var(--glass-bd-hi);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity 0.4s, transform 0.5s var(--ease-spring);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal (GSAP varsa animasyon; yoksa görünür) ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(20px); }
html.reveal-fallback [data-reveal] { opacity: 1 !important; transform: none !important; transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }

/* ---------- Erişilebilirlik: hareketi azalt ---------- */
/* Mobil / dokunmatik — GPU-pahalı efektleri TAMAMEN kapat (akıcı kaydırma) */
@media (pointer: coarse) {
  /* 1) backdrop-filter mobil GPU'da en büyük donma sebebi → kapat, opak cam ver */
  .glass { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  [data-theme="light"] .glass { background: oklch(0.99 0.008 70 / 0.97); }
  [data-theme="dark"]  .glass { background: oklch(0.24 0.035 345 / 0.96); }
  /* 2) sabit (fixed) arka plan kaydırmada sürekli repaint → düz renk */
  body { background: var(--bg) !important; }
  /* 3) blur'lu/blend'li tam ekran katmanları kaldır */
  #bg-canvas { display: none !important; }
  .bg-grain { display: none !important; }
  .bg-aurora { animation: none; filter: none; opacity: 0.45; }
  .cursor-glow { display: none !important; }
  /* 4) gereksiz katman/animasyonları sıfırla */
  .avatar-wrap .avatar-ring { animation: none; }
  .glass-sheen { display: none !important; }
  .link-card, .tweet-card, .avatar-wrap { will-change: auto !important; transform: none !important; transform-style: flat !important; }
  /* 5) hikaye görüntüleyici backdrop blur'u da kaldır */
  .story-modal-bg { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: rgba(12, 9, 12, 0.97); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .avatar-ring, .bg-aurora { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}

/* ---------- Küçük ekran ince ayar ---------- */
@media (max-width: 420px) {
  .link-card { gap: 0.75rem; padding: 0.8rem; }
  .link-desc { -webkit-line-clamp: 2; }
  .social { width: 46px; height: 46px; }
}
}

/* ============================================================
   YÖNETİM PANELİ & MEDYA KİTİ (İŞBİRLİĞİ KİTİ) STİLLERİ — 2026
   ============================================================ */

/* ---------- Ortak Premium Elementler ---------- */
.btn-accent {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.4rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--t-sm); color: var(--acc-ink); background: var(--acc);
  box-shadow: 0 6px 20px -6px var(--acc);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -4px var(--acc); }
.btn-accent:active { transform: translateY(-1px) scale(0.97); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.4rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--t-sm); color: var(--ink); background: var(--glass-2);
  border: 1px solid var(--glass-bd);
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}
.btn-secondary:hover { transform: translateY(-3px); background: var(--glass-hi); }
.btn-secondary:active { transform: translateY(-1px) scale(0.97); }

/* ---------- Yönetim Paneli Arayüzü ---------- */
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; width: 100%; }
.admin-card { padding: 1.6rem; margin-bottom: var(--gap); }
.admin-title { font-family: var(--font-display); font-weight: 700; font-size: var(--t-lg); margin-bottom: 1.5rem; color: var(--acc); }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: var(--t-sm); font-weight: 600; color: var(--ink-dim); }
.form-control {
  font: inherit; padding: 0.75rem 1rem; border-radius: var(--r-sm);
  color: var(--ink); background: var(--glass-2);
  border: 1px solid var(--glass-bd); outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus { border-color: var(--acc); box-shadow: 0 0 0 3px oklch(from var(--acc) l c h / 0.18); }
textarea.form-control { resize: vertical; min-height: 80px; }

.admin-list-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 0.85rem 1rem; border-radius: var(--r-sm);
  background: var(--glass); border: 1px solid var(--glass-bd); margin-bottom: 0.65rem;
}
.admin-list-info { display: flex; flex-direction: column; min-width: 0; }
.admin-list-title { font-weight: 600; font-size: var(--t-base); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-list-desc { font-size: var(--t-xs); color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-list-actions { display: flex; gap: 0.4rem; }

.btn-icon {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: var(--ink-dim); background: var(--glass-2); border: 1px solid var(--glass-bd);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn-icon:hover { transform: scale(1.08); background: var(--glass-bd-hi); color: var(--ink); }
.btn-icon.danger:hover { color: oklch(0.63 0.21 28); border-color: oklch(0.63 0.21 28 / 0.3); }

/* ---------- Medya Kiti (kit.php) ---------- */
.kit-header { text-align: center; margin-bottom: 1.5rem; }
.kit-tag {
  display: inline-block; padding: 0.2rem 0.75rem; border-radius: var(--r-pill);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.08em;
  color: var(--acc-ink); background: var(--acc); text-transform: uppercase; margin-bottom: 0.8rem;
  box-shadow: 0 4px 12px -4px var(--acc);
}
.kit-nav-btn {
  position: absolute; left: clamp(0.9rem, 0.5rem + 1vw, 1.4rem); top: clamp(0.9rem, 0.5rem + 1vw, 1.4rem);
  z-index: 50; width: 46px; height: 46px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--ink);
  transition: transform 0.4s var(--ease-spring), color 0.3s;
}
.kit-nav-btn:hover { transform: translateX(-3px) scale(1.05); color: var(--acc); }

.kit-intro { font-size: var(--t-md); color: var(--ink-dim); line-height: 1.6; text-align: center; margin-bottom: 0.8rem; }

/* Sekme Yapısı */
.kit-tabs { display: flex; background: var(--glass-2); border: 1px solid var(--glass-bd); border-radius: var(--r-pill); padding: 0.3rem; gap: 0.25rem; margin-bottom: 1.8rem; }
.tab-btn {
  flex: 1; text-align: center; padding: 0.65rem 1.2rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: var(--t-sm); transition: background 0.35s, color 0.3s;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
}
.tab-btn svg { width: 18px; height: 18px; fill: currentColor; }
.tab-btn.is-active { background: var(--acc); color: var(--acc-ink); box-shadow: 0 4px 12px -4px var(--acc); }
.tab-pane { display: none; }
.tab-pane.is-active { display: block; animation: tabFadeIn 0.5s ease-out forwards; }
/* Admin sekme içerikleri (profil sekmesi fix'i) */
.admin-tab-content { display: none; }
.admin-tab-content.is-active { display: block; animation: tabFadeIn 0.5s ease-out forwards; }
@keyframes tabFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* İstatistik Metrikleri */
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-bottom: var(--gap); }
.metric-card {
  padding: 1.25rem; text-align: center; display: flex; flex-direction: column; justify-content: center;
  border-radius: var(--r);
}
.metric-value { font-family: var(--font-display); font-weight: 700; font-size: var(--t-lg); color: var(--acc); line-height: 1.1; margin-bottom: 0.25rem; }
.metric-label { font-size: var(--t-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); }

/* Cinsiyet ve Büyük İstatistik Kartı */
.stat-section-title { font-family: var(--font-display); font-weight: 600; font-size: var(--t-md); margin-bottom: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--glass-bd); padding-bottom: 0.4rem; }

.gender-container { display: flex; flex-direction: column; gap: 0.75rem; padding: 0.4rem 0; }
.gender-bar { height: 26px; border-radius: var(--r-pill); background: var(--glass-2); overflow: hidden; display: flex; border: 1px solid var(--glass-bd); }
.gender-fill-women { height: 100%; background: var(--acc); transition: width 1.2s var(--ease-out); }
.gender-fill-men { height: 100%; background: var(--ink-faint); transition: width 1.2s var(--ease-out); }
.gender-stats-text { display: flex; justify-content: space-between; font-size: var(--t-sm); font-weight: 600; }

/* Bar Grafik (Yaş & Konum) */
.bar-chart { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 0.5rem; }
.bar-row { display: flex; flex-direction: column; gap: 0.25rem; }
.bar-header { display: flex; justify-content: space-between; font-size: var(--t-sm); }
.bar-label { font-weight: 500; color: var(--ink-dim); }
.bar-value { font-weight: 600; color: var(--acc); }
.bar-track { height: 12px; border-radius: var(--r-pill); background: var(--glass-2); overflow: hidden; border: 1px solid var(--glass-bd); }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--glass-bd), var(--acc)); border-radius: inherit; width: 0; transition: width 1.2s var(--ease-out); }

/* Biyografi Alanı */
.kit-bio-card { padding: 1.5rem; line-height: 1.65; color: var(--ink-dim); font-size: var(--t-base); }
.kit-bio-card p { margin-bottom: 0.95rem; }
.kit-bio-card p:last-child { margin-bottom: 0; }

/* Sabit İşbirliği Kiti Kartı İnce Ayarları */
.is-kit-card {
  background: linear-gradient(135deg, oklch(from var(--acc) l c h / 0.03), var(--glass));
  border-color: oklch(from var(--acc) l c h / 0.22);
}
.is-kit-card:hover {
  border-color: oklch(from var(--acc) l c h / 0.45);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-hi), 0 8px 24px -12px var(--acc);
}
.is-kit-card .link-thumb {
  background: var(--glass-2); color: var(--acc); border: 1px solid var(--glass-bd-hi);
}
.is-kit-card .link-thumb svg { width: 26px; height: 26px; }
.is-kit-card .link-badge {
  background: var(--glass-2);
  color: var(--acc);
  border: 1px solid var(--glass-bd-hi);
  box-shadow: var(--shadow);
}

@media (max-width: 480px) {
  .metric-row { gap: 0.75rem; }
  .metric-card { padding: 1rem 0.5rem; }
}

/* ============================================================
   INSTAGRAM HİKAYE MODÜLÜ (STORIES) STİLLERİ
   ============================================================ */

/* Instagram Hikaye Halkası */
.avatar-wrap.has-stories {
  cursor: pointer;
}
.avatar-wrap.has-stories .avatar-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: linear-gradient(230deg, #ac2bac 0%, #d62976 25%, #fa7e1e 50%, #fcaa47 75%, #fec85a 100%);
  filter: none;
  opacity: 1;
  animation: none;
  box-sizing: border-box;
  display: block;
  box-shadow: 0 4px 15px rgba(214, 41, 118, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.avatar-wrap.has-stories:hover .avatar-ring {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(214, 41, 118, 0.4);
}
.avatar-wrap.has-stories .avatar {
  border: 3px solid var(--bg); /* Instagram imza boşluğu */
  box-sizing: border-box;
}

/* Hikaye İzleme Modalı */
.story-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.story-modal.open {
  display: flex;
  opacity: 1;
}
.story-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 10, 0.95);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
}
.story-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #0d0c0e;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  border: none;
}
@media (min-width: 480px) {
  .story-container {
    height: 85vh;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* İlerleme Çubukları (Progress Bars) */
.story-progress-bar-container {
  display: flex;
  gap: 5px;
  padding: 12px 15px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.story-progress-bg {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  overflow: hidden;
}
.story-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.1s linear;
}

/* Hikaye Üst Alanı (Header) */
.story-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 15px 10px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, transparent 100%);
}
.story-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-profile img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}
.story-profile-name {
  color: #fff;
  font-size: var(--h-xs, 0.85rem);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  font-family: var(--font-display);
}
.story-profile-time {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 500;
  margin-left: 6px;
}
.story-close-btn {
  color: rgba(255, 255, 255, 0.85);
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s, transform 0.2s;
  padding: 0 5px;
}
.story-close-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

/* Hikaye Görsel İçeriği */
.story-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #000;
}
.story-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-nav-area {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  z-index: 8;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.left-nav { left: 0; }
.right-nav { right: 0; }

/* Hikaye Alt Bilgi Paneli (Footer) */
.story-footer {
  padding: 24px 20px 42px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.story-footer h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--t-md);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.story-footer p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--t-xs);
  line-height: 1.45;
  max-width: 92%;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.story-action-btn {
  margin-top: 12px;
  width: 85%;
  max-width: 280px;
  padding: 0.65rem 1.3rem !important;
  font-size: var(--t-xs) !important;
  border-radius: var(--r-pill) !important;
  background: var(--acc) !important;
  color: var(--acc-ink) !important;
  text-shadow: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}
.story-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--acc) !important;
}
/* Hikaye paylaş butonu */
.story-share-btn {
  margin-top: 8px; width: 85%; max-width: 280px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.58rem 1.3rem; border-radius: var(--r-pill);
  font-size: var(--t-xs); font-weight: 600;
  color: #fff; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25); cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.story-share-btn:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.story-share-btn svg { width: 15px; height: 15px; }


