/* ============================================================
   littleshopteslim — Tasarım Sistemi
   kodteslimal.com görsel dilinden uyarlanmıştır
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-glow: rgba(59, 130, 246, 0.4);
  --accent: #8b5cf6;
  --accent-glow: rgba(139, 92, 246, 0.3);
  --bg-main: #0b0e14;
  --bg-card: rgba(22, 27, 38, 0.8);
  --bg-header: rgba(11, 14, 20, 0.6);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(15, 23, 42, 0.6);
  --nav-bg: rgba(30, 41, 59, 0.4);
  --shadow-main: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --hero-gradient: radial-gradient(circle at top center, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
}

[data-theme='light'] {
  --bg-main: #f1f5f9;
  --bg-card: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.8);
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: rgba(0, 0, 0, 0.12);
  --input-bg: #f1f5f9;
  --nav-bg: rgba(226, 232, 240, 0.95);
  --shadow-main: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

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

html { font-size: 100%; }

/* ============ CUSTOM DARK SCROLLBAR ============ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: background 0.2s;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }
* { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.08) transparent; }
[data-theme='light'] ::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.14); background-clip: padding-box; }
[data-theme='light'] ::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.28); background-clip: padding-box; }
[data-theme='light'] * { scrollbar-color: rgba(0, 0, 0, 0.14) transparent; }

/* Scrollbar alanını sabit tut — sayfa geçişlerinde içerik sağa kaymasın */
body { scrollbar-gutter: stable; overflow-y: scroll; }

a { text-decoration: none !important; color: inherit; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* --- Arka plan (mesh grid + gradient) --- */
.bg-mesh-container { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg-main); }
.bg-mesh-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
  mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
}
[data-theme='light'] .bg-mesh-grid {
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}
.bg-mesh-gradient {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 100vw; height: 100vh;
  background: var(--hero-gradient);
  filter: blur(80px);
}

/* ============ HEADER ============ */
.user-header {
  position: fixed; top: 0; left: 0; right: 0; transform: none;
  width: 100%; max-width: 100%; z-index: 1000;
  border: none;
  border-bottom: 1px solid var(--border-color);
  background: rgba(11, 14, 20, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.5);
}
.user-header::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.35;
}
[data-theme='light'] .user-header {
  background: rgba(255, 255, 255, 0.7);
  border-bottom-color: var(--border-color);
}
.user-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem; padding: 0 1.5rem; gap: 1rem;
  max-width: 100%;
}
.user-header-logo { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.user-header-logo-icon { height: 2.2rem; width: auto; }

.user-header-pill-nav {
  display: flex; align-items: center;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.35rem; border-radius: 50px;
  border: 1px solid var(--border-color); gap: 0.15rem;
}
.user-header-pill-nav a {
  padding: 0.6rem 1.4rem; font-size: 0.9rem; font-weight: 600;
  color: var(--text-muted); border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap;
}
.user-header-pill-nav a:hover { color: var(--text-main); background: rgba(255, 255, 255, 0.05); }
.user-header-pill-nav a.active { background: var(--primary); color: #fff; box-shadow: 0 4px 15px var(--primary-glow); }

/* ============ PREMIUM ANASAYFA BUTONU (glassmorphism kart) ============ */
.premium-home-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.4rem;
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.12));
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-radius: 50px;
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 4px 14px -4px rgba(59, 130, 246, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  white-space: nowrap;
}
.premium-home-btn::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(139, 92, 246, 0.9) 50%, rgba(59, 130, 246, 0.9) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s, background 0.4s;
}
.premium-home-btn::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  border-radius: 50px;
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.premium-home-btn:hover::before { opacity: 1; }
.premium-home-btn:hover::after { transform: translateX(100%); }
.premium-home-btn:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(139, 92, 246, 0.22));
  box-shadow: 0 0 32px -4px var(--primary-glow), 0 8px 24px -8px rgba(139, 92, 246, 0.3);
  transform: translateY(-1px);
}
.premium-home-btn:active { transform: scale(0.98); }
.premium-home-btn.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.32), rgba(139, 92, 246, 0.26));
  box-shadow: 0 0 32px -2px var(--primary-glow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}
.premium-home-btn.active::before { opacity: 1; }
/* Anasayfa ikonu (küçük ev) */
.premium-home-btn::marker { content: ''; }
.premium-home-btn .home-icon { display: inline-flex; opacity: 0.95; }

/* ============ KULLANICI AUTH (HEADER) ============ */
.user-auth { position: relative; display: flex; align-items: center; }
.btn-auth-login {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-width: 7.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.01em;
  background: rgba(59, 130, 246, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  color: #93c5fd !important; text-decoration: none;
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 50px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 20px -8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
}
/* Işık akışı — hover'da soldan sağa süpürür */
.btn-auth-login::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.btn-auth-login:hover::before { transform: translateX(100%); }
.btn-auth-login:hover {
  background: rgba(59, 130, 246, 0.12);
  color: #fff !important;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 24px -6px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
.btn-auth-login:active { transform: scale(0.95); }
[data-theme='light'] .btn-auth-login {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.15);
  color: #2563eb !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 20px -8px rgba(0, 0, 0, 0.12);
}
[data-theme='light'] .btn-auth-login:hover {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb !important;
  border-color: rgba(59, 130, 246, 0.3);
}

.user-account { position: relative; }
.user-account-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.85rem 0.5rem 0.75rem;
  background: var(--nav-bg);
  border: 1px solid var(--border-color);
  border-radius: 50px; color: var(--text-main);
  font-size: 0.82rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  font-family: inherit; max-width: 200px;
}
.user-account-btn:hover { border-color: var(--primary); color: var(--primary); }
.user-account-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.user-account-btn .account-chevron { transition: transform 0.2s; opacity: 0.7; }
.user-account.open .user-account-btn .account-chevron { transform: rotate(180deg); }

.user-account-menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem; padding: 0.5rem;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s; z-index: 100;
}
.user-account.open .user-account-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.user-account-info {
  padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--border-color);
  margin-bottom: 0.4rem;
}
.user-account-info-email,
.user-account-info-username {
  font-size: 0.88rem; font-weight: 600; color: var(--text-main);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.user-account-info-role {
  font-size: 0.75rem; color: var(--text-muted);
  margin-top: 0.2rem;
}
.user-account-item {
  display: flex; align-items: center; gap: 0.6rem;
  width: 100%; padding: 0.65rem 0.85rem;
  background: transparent; border: none;
  color: var(--text-main); font-size: 0.88rem; font-weight: 500;
  border-radius: 0.625rem; cursor: pointer; text-align: left;
  font-family: inherit; transition: all 0.15s;
}
.user-account-item:hover { background: rgba(239, 68, 68, 0.08); color: #fca5a5; }

.user-header-right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.lang-switch {
  position: relative;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  padding: 0; font-size: 0.78rem; font-weight: 800;
  background: rgba(59, 130, 246, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  color: var(--text-muted);
  border: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 20px -8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0.04em;
  overflow: hidden;
}
/* Hover: cam parlaması + hafif yükselme + ışık akışı */
.lang-switch:hover {
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 24px -6px var(--primary-glow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
.lang-switch:hover::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: langShimmer 0.8s ease forwards;
  pointer-events: none;
}
@keyframes langShimmer {
  to { transform: translateX(100%); }
}
/* Tıklama: yaylı küçülme + hafif dönüş */
.lang-switch:active {
  transform: scale(0.9) rotate(-8deg);
  transition-duration: 0.12s;
}
/* Dil değişince yazı çevrilir (JS .lang-flip ekler) */
.lang-switch.lang-flip {
  animation: langFlip 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes langFlip {
  0% { transform: rotateY(0deg) scale(1); }
  45% { transform: rotateY(180deg) scale(1.15); }
  100% { transform: rotateY(360deg) scale(1); }
}
[data-theme='light'] .lang-switch {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 20px -8px rgba(0, 0, 0, 0.12);
}
[data-theme='light'] .lang-switch:hover {
  color: #2563eb;
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.12);
}

.theme-toggle-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--nav-bg); border: 1px solid var(--border-color);
  color: var(--text-muted); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; transition: all 0.3s;
}
.theme-toggle-btn:hover { transform: scale(1.1) rotate(12deg); color: var(--warning); }
.theme-toggle-btn:active { transform: scale(0.95) rotate(0deg); }
.theme-toggle-btn svg { width: 18px; height: 18px; position: absolute; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.theme-toggle-btn .icon-sun { opacity: 0; transform: translateY(-20px) rotate(-45deg); }
[data-theme='dark'] .theme-toggle-btn .icon-sun { opacity: 1; transform: translateY(0) rotate(0); }
[data-theme='dark'] .theme-toggle-btn .icon-moon { opacity: 0; transform: translateY(20px) rotate(45deg); }

.btn-primary {
  padding: 0.6rem 1.25rem; border-radius: 50px;
  background: var(--primary); color: #fff;
  font-size: 0.875rem; font-weight: 700; border: none; cursor: pointer;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 0.4rem;
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 6px 16px var(--primary-glow); }
.btn-ghost {
  padding: 0.6rem 1.25rem; border-radius: 50px;
  background: var(--nav-bg); color: var(--text-main);
  border: 1px solid var(--border-color);
  font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger {
  padding: 0.5rem 1rem; border-radius: 12px;
  background: rgba(239, 68, 68, 0.1); color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-danger:hover { background: rgba(239, 68, 68, 0.2); }
.btn-success {
  padding: 0.5rem 1rem; border-radius: 12px;
  background: rgba(34, 197, 94, 0.1); color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-success:hover { background: rgba(34, 197, 94, 0.2); }

/* ============ MAIN / HERO ============ */
.user-main {
  padding: 5rem 1.5rem 4rem; max-width: 85rem; margin: 0 auto; width: 100%;
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section { text-align: center; padding: 3rem 0 4rem; max-width: 50rem; margin: 0 auto; }

/* Hero split container — dikey/yatay ortalanmış, eşit yükseklikte kolonlar */
.hero-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 70rem;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.hero-left { text-align: left; }
.hero-right { width: 100%; max-width: 100%; }
.hero-right .form-card { margin: 0; max-width: 100%; }

.auth-promo-badge {
  display: inline-block; padding: 0.45rem 1.1rem;
  background: var(--primary-glow); color: var(--primary);
  border-radius: 50px; font-size: 0.8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; margin: 0 auto 1.25rem;
  box-shadow: 0 0 18px -8px var(--primary-glow);
}
.hero-left .auth-promo-badge { margin: 0 0 1.25rem; }

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.875rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.035em; margin: 0 0 1.25rem;
  text-align: left;
  background: linear-gradient(135deg, #fff 40%, var(--primary) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
[data-theme='light'] .hero-title {
  background: linear-gradient(135deg, #0f172a 40%, var(--primary) 100%);
  -webkit-background-clip: text; background-clip: text;
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 30rem;
  margin: 0;
  line-height: 1.6;
  text-align: left;
  letter-spacing: 0.01em;
}
.hero-left .auth-promo-badge { margin: 0 0 1.5rem; }

/* ============ BODY SCROLL LOCK (result açıkken) ============ */
body.redeem-open { overflow: hidden; }

/* ============ RESULT BACKDROP ============ */
.result-backdrop {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.result-backdrop.visible { opacity: 1; visibility: visible; }

/* ============ COMPACT RESULT CARD (içeride hero-right) ============ */
#resultSection { position: relative; z-index: 1000; }
#resultSection .form-card {
  padding: 1.25rem;
  max-height: calc(100vh - 9rem);
  overflow-y: auto;
  border-radius: 1.25rem;
}
#resultSection .form-card-title-row { margin-bottom: 0.5rem; }
#resultSection .form-card-title { font-size: 1.0625rem; }
#resultSection .form-card-title-icon { width: 2rem; height: 2rem; }
#resultSection .form-card-title-icon svg { width: 16px; height: 16px; }
#resultSection .result-badges { gap: 0.4rem; margin-bottom: 0.75rem; }
#resultSection .form-label { font-size: 0.8rem; margin-bottom: 0.4rem; }
#resultSection .form-label-spaced { margin-top: 0.75rem; }
#resultSection .email-display { padding: 0.5rem 0.75rem; margin: 0.5rem 0; border-radius: 0.625rem; }
#resultSection .email-display-value { font-size: 0.92rem; }
#resultSection .copy-btn { padding: 0.35rem 0.6rem; font-size: 0.72rem; }
#resultSection .notice-danger { padding: 0.75rem 0.875rem; }
#resultSection .notice-danger .notice-title { font-size: 0.85rem; margin-bottom: 0.35rem; }
#resultSection .notice-danger .notice-text { font-size: 0.8rem; line-height: 1.45; }
#resultSection .form-btn-otp { margin-top: 0.75rem; padding: 0.75rem 1rem; font-size: 0.9rem; }
#resultSection .otp-result-card { padding: 1rem; margin-top: 0.75rem; }
#resultSection .otp-value { font-size: 1.75rem; margin: 0.5rem 0 0.75rem; }
#resultSection #viewOnlyNote { margin-bottom: 0.75rem; padding: 0.6rem 0.85rem; }
#resultSection .cooldown-note { margin-top: 0.4rem; font-size: 0.72rem; }
#resultSection .btn-ghost-otp { padding: 0.4rem 0.75rem; font-size: 0.78rem; }
#resultSection #productInstructions { font-size: 0.82rem; line-height: 1.5; }

/* ============ FORM KARTI ============ */
.form-card {
  border-radius: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(22, 27, 38, 0.85), rgba(15, 20, 30, 0.92));
  padding: 2rem;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(59, 130, 246, 0.08) inset;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  max-width: 480px; margin: 0 auto;
  position: relative; overflow: hidden;
}
[data-theme='light'] .form-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(245, 248, 252, 0.98));
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(59, 130, 246, 0.06) inset;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--primary) 50%, transparent 95%); opacity: 0.6;
}
.form-card-title-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.form-card-title-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.625rem;
  background: linear-gradient(135deg, var(--primary-glow), rgba(59, 130, 246, 0.15));
  color: var(--primary);
  border: 1px solid rgba(59, 130, 246, 0.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.form-card-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.025em; }

.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.625rem; }
.form-input {
  width: 100%; padding: 0.875rem 1.125rem;
  background: var(--input-bg); border: 1px solid var(--border-color);
  border-radius: 12px; color: var(--text-main); font-size: 0.9375rem;
  font-family: inherit; transition: all 0.2s; outline: none;
}
.form-input::placeholder { color: var(--text-muted); opacity: 0.8; }
.form-input:focus {
  border-color: var(--primary); background: var(--bg-card);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
textarea.form-input { min-height: 90px; resize: vertical; }
select.form-input {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1em;
  padding-right: 2.6rem;
}
select.form-input option { background: #1e293b; color: #f8fafc; }
[data-theme='dark'] select.form-input { color-scheme: dark; }
[data-theme='light'] select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  color-scheme: light;
}
[data-theme='light'] select.form-input option { background: #fff; color: #0f172a; }

.form-btn {
  width: 100%; padding: 1.125rem;
  background: var(--primary); color: #fff;
  border: none; border-radius: 1rem;
  font-weight: 700; font-size: 1rem; font-family: inherit;
  cursor: pointer; transition: all 0.2s;
}
.form-btn:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 20px var(--primary-glow); }
.form-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.form-btn-secondary {
  width: 100%; padding: 0.875rem;
  background: var(--nav-bg); color: var(--text-main);
  border: 1px solid var(--border-color); border-radius: 1rem;
  font-weight: 600; font-size: 0.9375rem; font-family: inherit;
  cursor: pointer; transition: all 0.2s;
}
.form-btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.input-group { position: relative; }
.input-group .form-input { padding-right: 3rem; }
.input-eye {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border-radius: 8px; border: none;
  background: transparent; color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.input-eye:hover { color: var(--primary); background: rgba(59, 130, 246, 0.08); }
.input-eye svg { width: 18px; height: 18px; }

/* Key input — büyük, mono, ortalanmış */
.key-input {
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  font-size: 1.25rem; font-weight: 700; letter-spacing: 0.12em;
  text-align: center; text-transform: uppercase; padding: 1.125rem;
}
.key-input::placeholder { letter-spacing: 0.05em; font-size: 1rem; font-weight: 500; }

/* Key input + Kullan butonu aynı satırda */
.key-form-row { display: flex; gap: 0.75rem; align-items: center; }
.key-form-row .key-input { flex: 1; border-radius: 0.5rem; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.08); height: 2.75rem; color: #fff; font-size: 0.9rem; padding: 0 1rem; transition: all 0.2s; font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace; }
.key-form-row .key-input:focus { border-color: rgba(59, 130, 246, 0.5); box-shadow: none; }
.key-form-row .key-input::placeholder { font-size: 0.9rem; color: var(--text-muted); }
#keySubmitBtn { width: auto; flex-shrink: 0; height: 2.75rem; padding: 0 1.25rem; border-radius: 0.5rem; background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); color: #60a5fa; font-weight: 500; font-size: 0.85rem; box-shadow: none; }
#keySubmitBtn:hover { background: rgba(59, 130, 246, 0.25); transform: none; box-shadow: none; }

/* Form-card alt başlık açıklaması ve label boşluğu */
.form-card-desc { margin-bottom: 1.25rem; font-size: 0.85rem; color: var(--text-muted); }
.form-label-spaced { margin-top: 1.5rem; }

/* Sonuç kartı rozet dizilimi ve inline border-radius'lar */
.result-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.result-badges .badge { border-radius: 0.25rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.otp-result-card { border-radius: 0.5rem; }
.notice-danger, .notice-warning { border-radius: 0.5rem; }
.email-display { border-radius: 0.5rem; }
.copy-btn { border-radius: 0.375rem; }
.cooldown-note { text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* Sonuç kartı başlık ikonu başarı (yeşil) varyantı */
.form-card-title-icon-success { background: rgba(34,197,94,0.1); color: #4ade80; }

/* OTP "Gelen Kodu Göster" butonu (form-btn) mavi soft varyantı */
.form-btn-otp { margin-top: 1.5rem; border-radius: 0.5rem; background: linear-gradient(145deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.1)); border: 1px solid rgba(59, 130, 246, 0.2); color: #60a5fa; font-weight: 500; font-size: 0.9rem; box-shadow: none; transition: all 0.2s; }
.form-btn-otp:hover { background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.18)); border-color: rgba(59, 130, 246, 0.35); transform: none; box-shadow: none; }
.btn-ghost-otp { width: auto; border-radius: 0.5rem; }

/* ============ UYARI / MESAJ KUTULARI ============ */
.notice-warning {
  background: rgba(251, 191, 36, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.1);
  border-radius: 1.25rem; padding: 1.5rem; text-align: center;
}
.notice-danger {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.1);
  border-radius: 1.25rem; padding: 1.5rem;
}
.notice-danger .notice-title { color: #fca5a5; }
.notice-success {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.1);
  border-radius: 1.25rem; padding: 1.5rem;
}
.notice-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-main); display: flex; align-items: center; gap: 0.5rem; justify-content: center; }
.notice-danger .notice-title { justify-content: flex-start; }
.notice-text { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.notice-warning .notice-title { color: var(--warning); }

.form-error {
  background: transparent; border: 1px solid transparent;
  color: #fca5a5; border-radius: 8px;
  font-size: 0.78rem; line-height: 1.4;
  min-height: 36px;
  display: flex; align-items: center;
  padding: 0 0.85rem; margin-bottom: 0.85rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.form-error.visible {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.18);
  opacity: 1; visibility: visible;
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

/* ============ OTP SONUÇ KUTUSU ============ */
.otp-result-card {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px; padding: 2rem; text-align: center; margin-top: 1.5rem;
}
.otp-value {
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  font-size: 2.75rem; font-weight: 800; letter-spacing: 0.15em; color: var(--text-main);
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.3); margin: 0.75rem 0 1rem;
  user-select: all;
}

.email-display {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--input-bg); border: 1px solid var(--border-color);
  border-radius: 14px; padding: 1rem 1.25rem; margin: 1rem 0;
}
.email-display-value {
  font-size: 1.0625rem; font-weight: 700; color: var(--text-main);
  word-break: break-all; user-select: all;
}
.copy-btn {
  padding: 0.5rem 0.9rem; border-radius: 10px; flex-shrink: 0;
  background: var(--nav-bg); color: var(--text-muted);
  border: 1px solid var(--border-color); cursor: pointer;
  font-size: 0.78rem; font-weight: 700; font-family: inherit; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.copy-btn:hover { color: var(--primary); border-color: var(--primary); }
.copy-btn.copied { color: var(--success); border-color: var(--success); }

.cooldown-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ============ ADIM KARTLARI ============ */
.how-it-works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 4rem 0; }
.step-card { text-align: center; }
.step-icon {
  width: 3.5rem; height: 3.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--primary); transition: all 0.3s ease;
}
.step-card:hover .step-icon { background: var(--primary-glow); transform: translateY(-5px); border-color: var(--primary); }
.step-title { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.8125rem; color: var(--text-muted); }

.section-title {
  font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em;
  text-align: center; margin-bottom: 2.5rem;
}

/* ============ SSS ============ */
.faq-section { max-width: 64rem; margin: 3rem auto 0; padding: 0 1.5rem; }
.faq-inner {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 1.5rem; padding: 1rem 2rem;
}
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text-main);
  text-align: left; padding: 1.1rem 0; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: inherit;
}
.faq-q:hover { opacity: 0.8; }
.faq-chevron { transition: transform 0.3s ease; flex-shrink: 0; }
.faq-chevron.open { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq-a.open { max-height: 400px; }
.faq-a-inner { padding-bottom: 1rem; font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ============ STATS WIDGET ============ */
.stats-widget {
  position: fixed; bottom: 2rem; left: 2rem;
  background: var(--bg-header);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--border-color); padding: 0.75rem 1.25rem;
  border-radius: 50px; display: flex; gap: 0.75rem; align-items: center; z-index: 100;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}
.stats-dot {
  width: 8px; height: 8px; background: #10b981; border-radius: 50%;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse-green 2s infinite; flex-shrink: 0;
}
.stats-text { font-size: 0.8125rem; font-weight: 700; color: var(--text-main); white-space: nowrap; }

/* ============ FOOTER ============ */
.user-footer {
  background: var(--bg-card); border-top: 1px solid var(--border-color);
  padding: 4rem 1.5rem 2.5rem; margin-top: 4rem; width: 100%;
}
.user-footer-inner {
  max-width: 80rem; margin: 0 auto; display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.user-footer-logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em;
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem;
}
.user-footer-logo-icon { width: 24px; height: 24px; border-radius: 6px; }
.user-footer-slogan { color: var(--text-muted); font-size: 1rem; max-width: 20rem; }
.user-footer-title {
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1.5rem;
}
.user-footer-links { display: flex; flex-direction: column; gap: 1rem; }
.user-footer-links a { color: var(--text-muted); font-size: 0.9375rem; font-weight: 500; transition: color 0.2s; }
.user-footer-links a:hover { color: var(--primary); }
.user-footer-bottom {
  max-width: 80rem; margin: 3rem auto 0; padding-top: 2rem;
  border-top: 1px solid var(--border-color); display: flex; justify-content: center;
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500; flex-wrap: wrap; gap: 0.5rem;
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(15, 23, 42, 0.9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s;
}
.modal-overlay.visible { opacity: 1; visibility: visible; }
.modal-popup {
  max-width: 28rem; width: 100%; max-height: 85vh; overflow-y: auto;
  padding: 2rem; background: var(--bg-card);
  border: 1px solid var(--border-color); border-radius: 20px;
  box-shadow: var(--shadow-main);
  transform: scale(0.95); transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.visible .modal-popup { transform: scale(1); }
.modal-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 1rem; }
.modal-body { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 1.5rem; }

/* ============ TOAST ============ */
.toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 300; display: flex; flex-direction: column; gap: 0.75rem; }
.toast {
  padding: 1rem 1.5rem; border-radius: 14px; font-size: 0.875rem; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--border-color);
  box-shadow: var(--shadow-main); max-width: 22rem;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.toast-success { border-color: rgba(34, 197, 94, 0.4); color: #4ade80; }
.toast.toast-error { border-color: rgba(239, 68, 68, 0.4); color: #f87171; }
.toast.toast-info { border-color: var(--primary-glow); color: var(--primary); }

/* ============ BADGE ============ */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.8rem; border-radius: 50px;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-primary { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.badge-success { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.badge-muted { background: var(--nav-bg); color: var(--text-muted); }
.badge-purple { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }

/* Platform logo ikonları — beyaz zeminli, koyu temada da görünür */
.platform-icon {
  width: 24px; height: 24px;
  padding: 3px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============ LOADER ============ */
.spinner {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
  display: inline-block; vertical-align: middle;
}
.btn-loading { display: inline-flex; align-items: center; gap: 0.6rem; justify-content: center; }

/* ============ ANİMASYONLAR ============ */
@keyframes pulse-green {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce-hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tickCircle { to { stroke-dashoffset: 0; } }
@keyframes tickMark { to { stroke-dashoffset: 0; } }

/* ============ DİL DEĞİŞİMİ ANİMASYONU ============ */
.lang-transition-out {
  opacity: 0 !important;
  transform: translateY(4px) !important;
  transition: opacity 0.18s ease, transform 0.18s ease !important;
}
.lang-transition-in {
  animation: langFadeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes langFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
[data-i18n], [data-i18n-ph] { transition: opacity 0.18s ease; }

.fade-in { animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.75rem; }
}

@media (max-width: 768px) {
  .user-header { top: 0.5rem; width: calc(100% - 1rem); border-radius: 12px; }
  .user-header-inner { flex-direction: column; height: auto; padding: 1rem; gap: 0.75rem; }
  .user-header-pill-nav { width: 100%; overflow-x: auto; white-space: nowrap; padding: 0.25rem; scrollbar-width: none; }
  .user-header-pill-nav::-webkit-scrollbar { display: none; }
  .user-header-pill-nav a { padding: 0.4rem 0.7rem; font-size: 0.75rem; }
  .user-header-right { width: 100%; justify-content: space-between; }
  .user-main { padding: 10rem 1rem 3rem; }
  .how-it-works-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-card { padding: 1.5rem; border-radius: 1.25rem; }
  .user-footer { padding: 3rem 1rem 2rem; }
  .user-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-widget { left: 1rem; bottom: 1rem; }
  .toast-container { left: 1rem; right: 1rem; bottom: 4.5rem; }
  .hero-title { font-size: 2.25rem; line-height: 1.2; }
  .hero-subtitle { font-size: 1rem; }
  .otp-value { font-size: 2rem; }
}

@media (max-width: 576px) {
  .user-footer-inner { grid-template-columns: 1fr; }
  .faq-inner { padding: 1rem 1.25rem; }
}

/* ============ PREMIUM NAV LINKLER (Glassmorphism + Sliding Pill) ============ */
.premium-nav {
  position: relative;
  display: flex; gap: 0.35rem; align-items: center;
  padding: 0.3rem;
  border-radius: 50px;
  background: rgba(59, 130, 246, 0.05);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(59, 130, 246, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 20px -8px rgba(0, 0, 0, 0.3);
}
.btn-close-result {
  margin-left: auto;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-close-result:hover {
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.18));
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
}
.premium-nav .nav-link {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    padding: 0.5rem 0;
    width: 7.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
  }
.premium-nav .nav-link:hover { color: var(--text-main); }
/* Sliding active pill — JS tarafından transform ile konumlandırılır */
.premium-nav .nav-pill-indicator {
  position: absolute;
  top: 0.3rem; left: 0;
  height: calc(100% - 0.6rem);
  border-radius: 50px;
  background: rgba(59, 130, 246, 0.18);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.12),
              0 0 20px -6px var(--primary-glow);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
  pointer-events: none;
}
/* Aktif link rengi (pill altta) */
.premium-nav .nav-link.active {
  color: #93c5fd;
}
/* Işık akışı — sadece aktif linkin üzerinde, hover'da */
.premium-nav .nav-link.active::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50px;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.25) 50%, transparent 75%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}
.premium-nav .nav-link.active:hover::before {
  opacity: 1;
  animation: navShimmer 1.8s ease forwards;
}
/* Tıklama animasyonu */
.premium-nav .nav-link:active { transform: scale(0.95); }
@keyframes navShimmer {
  0% { background-position: 200% 0; opacity: 0; }
  15% { opacity: 1; }
  100% { background-position: -200% 0; opacity: 0; }
}
/* Light theme uyumu */
[data-theme='light'] .premium-nav {
  background: rgba(59, 130, 246, 0.06);
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 4px 20px -8px rgba(0, 0, 0, 0.12);
}
[data-theme='light'] .premium-nav .nav-link:hover { background: rgba(59, 130, 246, 0.08); }
[data-theme='light'] .premium-nav .nav-link.active {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.25), 0 0 20px -6px var(--primary-glow);
}
[data-theme='light'] .premium-nav .nav-link::before {
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.5) 50%, transparent 75%);
}


/* ============ STAGGERED ENTRANCE ANİMASYONU (soldan/sağdan) ============ */
/* Öğeler başlangıçta saydam, konum animasyonla belirlenir */
.entrance-hidden {
  opacity: 0;
}
.entrance-anim {
  animation: entranceIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Soldan gelen öğe */
.entrance-left {
  transform: translateX(-48px);
}
/* Sağdan gelen öğe */
.entrance-right {
  transform: translateX(48px);
}
@keyframes entranceIn {
  from { opacity: 0; }
  to { opacity: 1; transform: translateX(0); }
}
