/* =========================================================
   YOLUM NEREYE? — "Skyline Social" Design System
   Temiz sosyal uygulama dili: buzlu gri-beyaz zemin, gece laciverti,
   canlı gökyüzü mavisi + yumuşak rose vurgu. Tutucu, modern, uygulama hazır.
   ========================================================= */

:root {
  --bg-deep: #f4f6fb;
  --bg-deep-2: #e8edf7;
  --bg-elevated: #ffffff;
  --bg-deep-rgb: 244, 246, 251;

  --glass-bg: rgba(255, 255, 255, 0.86);
  --glass-bg-soft: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-border-strong: rgba(15, 23, 42, 0.16);

  /* Marka: gökyüzü mavisi */
  --amber: #2f6bff;
  --amber-2: #5b8cff;
  --amber-rgb: 47, 107, 255;
  --amber-2-rgb: 91, 140, 255;

  /* Gece laciverti — CTA / footer */
  --ink: #0b1220;
  --ink-2: #172033;
  --ink-rgb: 11, 18, 32;

  /* Sosyal rose — beğeni / sıcak vurgu */
  --electric: #ff4d6d;
  --electric-2: #ff7a93;
  --electric-rgb: 255, 77, 109;
  --electric-2-rgb: 255, 122, 147;

  --olive: #12b886;
  --olive-rgb: 18, 184, 134;

  --violet: #4c6ef5;
  --violet-rgb: 76, 110, 245;

  --danger: #ff4d6d;
  --danger-rgb: 255, 77, 109;

  --gold: #f59f00;
  --gold-rgb: 245, 159, 0;

  --text-main: #0f172a;
  --text-dim: #5b657a;
  --text-faint: #939ab0;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 11px;
  --radius-pill: 999px;

  --shadow-glow-amber: 0 12px 30px rgba(var(--amber-rgb), 0.28);
  --shadow-glow-electric: 0 12px 30px rgba(var(--electric-rgb), 0.26);
  --shadow-glow-olive: 0 12px 30px rgba(var(--olive-rgb), 0.24);
  --shadow-glow-violet: 0 12px 30px rgba(var(--violet-rgb), 0.24);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  letter-spacing: -0.01em;
}

::selection {
  background: rgba(var(--amber-rgb), 0.22);
}

:focus-visible {
  outline: 2px solid rgba(var(--amber-rgb), 0.6);
  outline-offset: 2px;
}

/* ---------- Animated Mesh Gradient Background ---------- */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-deep);
  overflow: hidden;
}

.mesh-bg::before,
.mesh-bg::after {
  content: '';
  position: absolute;
  width: 140vmax;
  height: 140vmax;
  top: 50%;
  left: 50%;
  filter: blur(110px);
  animation: meshSpin 40s linear infinite;
  transform: translate(-50%, -50%);
}

.mesh-bg::before {
  background: conic-gradient(
    from 0deg,
    rgba(var(--amber-rgb), 0.12),
    rgba(var(--electric-rgb), 0.1),
    rgba(var(--amber-rgb), 0.12)
  );
}

.mesh-bg::after {
  background: conic-gradient(
    from 180deg,
    rgba(var(--olive-rgb), 0.07),
    rgba(var(--violet-rgb), 0.07),
    rgba(var(--olive-rgb), 0.07)
  );
  animation-duration: 60s;
  animation-direction: reverse;
  opacity: 0.7;
  filter: blur(140px);
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatBlob 18s var(--ease) infinite;
}

.mesh-blob.b1 { width: 46vw; height: 46vw; top: -10%; left: -8%; opacity: 0.22; background: radial-gradient(circle, var(--amber), transparent 70%); animation-delay: 0s; }
.mesh-blob.b2 { width: 40vw; height: 40vw; top: 40%; right: -10%; opacity: 0.18; background: radial-gradient(circle, var(--electric), transparent 70%); animation-delay: -6s; }
.mesh-blob.b3 { width: 26vw; height: 26vw; bottom: -12%; left: 22%; opacity: 0.12; background: radial-gradient(circle, var(--olive), transparent 70%); animation-delay: -12s; }
.mesh-blob.b4 { width: 22vw; height: 22vw; bottom: 12%; right: 22%; opacity: 0.1; background: radial-gradient(circle, var(--violet), transparent 70%); animation-delay: -3s; }

@keyframes meshSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(4%, 6%) scale(1.08); }
  66%      { transform: translate(-5%, -3%) scale(0.94); }
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%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");
}

/* ---------- Glass Surfaces ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 40px rgba(var(--ink-rgb), 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  position: relative;
}

.glass-soft {
  background: var(--glass-bg-soft);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-wrap {
  padding-top: 12px;
  padding-bottom: 32px;
  min-height: calc(100vh - 140px);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
}
h1 { font-size: 2.7rem; }
h2 { font-size: 1.95rem; }
h3 { font-size: 1.35rem; }
p { color: var(--text-dim); line-height: 1.65; }
a { color: inherit; text-decoration: none; }

/* ---------- SVG Ä°kon Sistemi ---------- */
.icon-svg {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  flex-shrink: 0;
  display: inline-block;
}
.nav-link .icon-svg { width: 1.05em; height: 1.05em; color: currentColor; }
.tab-btn .icon-svg { width: 1em; height: 1em; margin-right: 2px; }
h1 .icon-svg, h2 .icon-svg, h3 .icon-svg {
  width: 0.85em;
  height: 0.85em;
  color: var(--amber);
  filter: drop-shadow(0 0 6px rgba(var(--amber-rgb), 0.35));
}
.badge .icon-svg { width: 1em; height: 1em; }
.stat-icon .icon-svg { width: 1.4em; height: 1.4em; }
.icon-btn .icon-svg { width: 1.2em; height: 1.2em; }

.gradient-text {
  background: linear-gradient(120deg, #2f6bff 0%, #7c5cff 50%, #ff4d6d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-dim { color: var(--text-dim); }
.text-faint { color: var(--text-faint); }
.text-center { text-align: center; }

/* ---------- App shell (sosyal / mobil uygulama kabuğu) ---------- */
.app-shell {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 8px 12px 0;
  background: linear-gradient(180deg, rgba(var(--bg-deep-rgb), 0.96) 40%, rgba(var(--bg-deep-rgb), 0.7));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.app-topbar-inner {
  max-width: 680px;
  margin: 0 auto;
  height: 52px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 28px rgba(var(--ink-rgb), 0.07);
}

.app-topbar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(680px, 100%);
  z-index: 220;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 2px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 -10px 32px rgba(var(--ink-rgb), 0.08);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 48px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.bottom-nav-item .icon-svg {
  width: 1.35rem;
  height: 1.35rem;
}
.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--ink);
}
.bottom-nav-item.active .icon-svg {
  color: var(--amber);
}

.bottom-nav-create .bottom-nav-create-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2f6bff 0%, #7c5cff 55%, #ff4d6d 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(47, 107, 255, 0.35);
  margin-top: -16px;
}
.bottom-nav-create .bottom-nav-create-icon .icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #fff;
}
.bottom-nav-create span:last-child { color: var(--text-dim); }

.bottom-nav-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
}
.bottom-nav-item.active .bottom-nav-avatar {
  border-color: var(--amber);
}

.app-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.app-page-head h1 {
  font-size: 1.55rem;
  margin: 0;
}

.page-wrap-app {
  padding-top: 12px;
  max-width: 680px;
  margin: 0 auto;
}

.social-home {
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 0 24px;
}

.social-stories-bar {
  padding: 4px 0 8px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.45);
}

.social-quick-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  scrollbar-width: none;
}
.social-quick-chips::-webkit-scrollbar { display: none; }

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(47, 107, 255, 0.06);
}
.social-chip .icon-svg { width: 1em; height: 1em; color: var(--amber); }
.social-chip:hover {
  border-color: rgba(var(--amber-rgb), 0.35);
  color: var(--amber);
  background: rgba(var(--amber-rgb), 0.04);
}

.social-events-rail { padding: 4px 16px 12px; }
.social-rail-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.92rem;
}
.social-rail-head a { color: var(--amber); font-weight: 700; font-size: 0.82rem; }
.social-events-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.social-event-card {
  min-width: 200px;
  max-width: 220px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 16px rgba(var(--ink-rgb), 0.05);
}
.social-event-card.is-featured {
  border-color: rgba(var(--amber-rgb), 0.45);
  box-shadow: 0 8px 20px rgba(var(--amber-rgb), 0.12);
}
.social-event-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.social-event-card strong {
  font-size: 0.92rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.social-event-card > span:last-child {
  font-size: 0.78rem;
  color: var(--text-faint);
}
.card-featured {
  border-color: rgba(var(--amber-rgb), 0.4);
  box-shadow: 0 10px 28px rgba(var(--amber-rgb), 0.1);
}
.chip-weekend.active,
.chip[data-window="weekend"].active {
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
}
.premium-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.premium-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-main);
}
.premium-benefits .icon-svg {
  width: 1.1em;
  height: 1.1em;
  color: var(--amber);
  flex-shrink: 0;
}
.premium-card {
  border: 1px solid rgba(212, 160, 23, 0.28);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 230, 0.65));
}

.social-feed-wrap { padding: 0; }

/* Legacy navbar aliases (eski stiller için) */
.navbar { display: none; }
.navbar-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  height: 60px;
  padding: 0 14px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 10px 32px rgba(var(--ink-rgb), 0.1), inset 0 1px 0 rgba(255,255,255,0.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text-main);
  letter-spacing: -0.03em;
}
.brand-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(var(--amber-rgb), 0.35));
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand-logo-img {
  transform: rotate(-6deg) scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.nav-link {
  padding: 7px 11px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link .icon-svg { width: 1em; height: 1em; flex-shrink: 0; }
.nav-link:hover {
  color: var(--text-main);
  background: rgba(21, 18, 31, 0.055);
}
.nav-link.active {
  color: var(--ink);
  background: linear-gradient(135deg, rgba(var(--amber-rgb), 0.16), rgba(var(--electric-rgb), 0.1));
  box-shadow: inset 0 0 0 1px rgba(var(--amber-rgb), 0.22);
}

.nav-badge {
  background: var(--danger);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(21, 18, 31, 0.05);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-main);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links-mobile-actions { display: none; }

.nav-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  background: rgba(21, 18, 31, 0.045);
  border: 1px solid transparent;
  text-decoration: none;
  transition: color .2s, background .2s, border-color .2s;
}
.nav-icon-btn:hover,
.nav-icon-btn.is-active {
  color: var(--amber);
  background: rgba(var(--amber-rgb), 0.1);
  border-color: rgba(var(--amber-rgb), 0.28);
}
.nav-icon-btn .icon-svg { width: 1.15rem; height: 1.15rem; }

.nav-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber);
  display: block;
}

.nav-account {
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.nav-account-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* KapalÄ± menÃ¼ asla barÄ± ÅŸiÅŸirmesin */
.nav-menu[hidden],
.nav-menu:not(.is-open) {
  display: none !important;
}
.nav-menu.is-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  padding: 8px;
  z-index: 300;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 44px rgba(21, 18, 31, 0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--glass-border);
}
.nav-menu-head img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--amber-rgb), 0.5);
  flex-shrink: 0;
}
.nav-menu-head strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
}
.nav-menu-head small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 2px;
}
.nav-menu a {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  line-height: 1.25;
}
.nav-menu a:hover,
.nav-menu a.is-active {
  background: rgba(21, 18, 31, 0.055);
  color: var(--text-main);
}
.nav-menu a.is-active { color: var(--amber); }
.nav-menu a.is-danger { color: #dc2626; }
.nav-menu a em {
  font-style: normal;
  background: var(--danger);
  color: #fff;
  font-size: 0.68rem;
  border-radius: 999px;
  padding: 1px 6px;
  margin-left: 6px;
}
.nav-menu hr {
  border: 0;
  border-top: 1px solid var(--glass-border);
  margin: 6px 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, #2f6bff 0%, #4c6ef5 100%);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(var(--amber-rgb), 0.32);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2559e6 0%, #3b5bdb 100%);
  box-shadow: 0 14px 32px rgba(var(--amber-rgb), 0.4);
  transform: translateY(-2px);
}

.btn-electric {
  background: rgba(var(--electric-rgb), 0.1);
  color: #e03155;
  box-shadow: none;
  border: 1px solid rgba(var(--electric-rgb), 0.22);
}
.btn-electric:hover {
  background: rgba(var(--electric-rgb), 0.16);
  transform: translateY(-2px);
}

.btn-olive {
  background: var(--olive);
  color: #ffffff;
  box-shadow: var(--shadow-glow-olive);
}
.btn-olive:hover { filter: brightness(1.06); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-main);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: #ffffff;
  border-color: rgba(var(--amber-rgb), 0.35);
  color: var(--amber);
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  box-shadow: 0 8px 20px rgba(var(--danger-rgb), 0.24);
}
.btn-danger:hover { filter: brightness(1.06); }

.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 18, 31, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.icon-btn:hover { background: rgba(21, 18, 31, 0.09); transform: translateY(-1px); }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(21, 18, 31, 0.045);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.form-control::placeholder { color: var(--text-faint); }

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(var(--amber-rgb), 0.16);
}

textarea.form-control { resize: vertical; min-height: 100px; }

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2355726c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row { display: flex; gap: 16px; flex-wrap: wrap; }
.form-row > * { flex: 1; min-width: 220px; }

.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 6px;
  display: none;
}
.form-error.show { display: block; }

.form-hint { font-size: 0.8rem; color: var(--text-faint); margin-top: 6px; }

/* ---------- Cards (Meetup mantığı: sade beyaz kart, üstte görsel) ---------- */
.card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  box-shadow: 0 8px 24px rgba(var(--ink-rgb), 0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(21, 18, 31, 0.12);
  border-color: var(--glass-border-strong);
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-body { padding: 18px 20px; }

.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.badge-sponsored {
  background: var(--ink);
  color: #ffffff;
}

.badge-featured {
  background: rgba(var(--amber-rgb), 0.16);
  color: var(--amber);
  border: 1px solid rgba(var(--amber-rgb), 0.4);
}
.badge-premium {
  background: rgba(212, 160, 23, 0.14);
  color: #b8860b;
  border: 1px solid rgba(212, 160, 23, 0.4);
}

.badge-category { background: rgba(var(--amber-rgb), 0.12); color: var(--amber); border: 1px solid rgba(var(--amber-rgb), 0.28); }
.badge-price { background: rgba(var(--olive-rgb), 0.12); color: var(--olive); border: 1px solid rgba(var(--olive-rgb), 0.3); }
.badge-easy { background: rgba(var(--olive-rgb), 0.14); color: var(--olive); border: 1px solid rgba(var(--olive-rgb), 0.35); }
.badge-medium { background: rgba(21, 18, 31, 0.07); color: var(--text-dim); border: 1px solid var(--glass-border-strong); }
.badge-hard { background: rgba(249, 115, 22, 0.12); color: #ea580c; border: 1px solid rgba(249, 115, 22, 0.3); }
.badge-expert { background: rgba(var(--danger-rgb), 0.1); color: #dc2626; border: 1px solid rgba(var(--danger-rgb), 0.3); }
.badge-status-active { background: rgba(var(--olive-rgb), 0.14); color: var(--olive); border: 1px solid rgba(var(--olive-rgb), 0.35); }
.badge-status-completed { background: rgba(21, 18, 31, 0.06); color: var(--text-dim); border: 1px solid var(--glass-border); }
.badge-status-cancelled { background: rgba(var(--danger-rgb), 0.1); color: #dc2626; border: 1px solid rgba(var(--danger-rgb), 0.3); }

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.two-col-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) {
  .two-col-grid { grid-template-columns: 1fr; }
}

/* ---------- Stories ---------- */
.stories-locked {
  text-align: center;
  padding: 32px 20px;
  color: var(--text-dim);
}
.stories-locked .icon-svg { width: 2.2rem; height: 2.2rem; color: var(--amber); margin-bottom: 4px; }
.stories-locked .btn { margin-right: 8px; }

.stories-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 10px 4px 18px;
  scrollbar-width: thin;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  width: 84px;
  transition: transform 0.2s var(--ease);
}
.story-item:hover { transform: translateY(-3px); }

.story-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 45deg, #2f6bff, #7c5cff, #ff4d6d, #2f6bff);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(var(--amber-rgb), 0.25)); }
  50% { filter: drop-shadow(0 0 12px rgba(var(--electric-rgb), 0.35)); }
}

.story-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-elevated);
}

.story-name {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.story-add {
  position: relative;
  background: linear-gradient(135deg, rgba(var(--amber-rgb), 0.25), rgba(var(--electric-rgb), 0.2));
}
.story-add-plus {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.55);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s var(--ease);
}
.modal-overlay.active { display: flex; }

.modal-box {
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px;
  animation: popIn 0.25s var(--ease);
}

.modal-box.modal-lg { max-width: 720px; }
.modal-box.modal-xl { max-width: 960px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal-close {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(21, 18, 31, 0.06);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none; color: var(--text-main); font-size: 1.1rem;
}

.story-modal-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(0.92) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* ---------- Banner ---------- */
.top-banner {
  position: relative;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  background: linear-gradient(90deg, rgba(var(--amber-rgb), 0.14), rgba(var(--electric-rgb), 0.14));
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-main);
}
.top-banner a { color: var(--amber); text-decoration: underline; }
.top-banner-icon { display: inline-flex; vertical-align: -3px; width: 16px; height: 16px; color: var(--amber); }
.top-banner-icon svg { width: 100%; height: 100%; }
.top-banner .close-banner {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 32px 56px;
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 8px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 20, 18, 0.4) 0%, rgba(var(--bg-deep-rgb), 0.78) 62%, rgba(var(--bg-deep-rgb), 0.97) 100%),
    url('../img/hero-wallpaper.jpg') center 65%/cover no-repeat;
  transform: scale(1.02);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--glass-border);
}

.hero h1, .hero h2 { color: #f6fbfa; }
.hero .subtitle { color: rgba(246, 251, 250, 0.82); }
.hero .subtitle {
  max-width: 620px;
  margin: 16px auto 30px;
  font-size: 1.05rem;
}

.city-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  max-width: 480px;
  margin: 0 auto;
}
.city-filter-bar select {
  min-width: 220px;
  width: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(21, 18, 31, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-dim);
  transition: all 0.2s var(--ease);
}

.chip:hover { background: rgba(21, 18, 31, 0.09); color: var(--text-main); }
.chip.active {
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #ffffff;
  box-shadow: var(--shadow-glow-amber);
  border-color: transparent;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 44px 0 22px;
}
.section-title-row h1,
.section-title-row h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

/* ---------- Chat ---------- */
.chat-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: calc(100vh - 160px);
  min-height: 500px;
  overflow: hidden;
}

.chat-sidebar {
  border-right: 1px solid var(--glass-border);
  overflow-y: auto;
}

.chat-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  cursor: pointer;
  border-bottom: 1px solid rgba(21, 18, 31, 0.06);
  transition: background 0.2s var(--ease);
  position: relative;
}
.chat-contact:hover, .chat-contact.active { background: rgba(21, 18, 31, 0.05); }
.chat-contact.active { box-shadow: inset 3px 0 0 var(--amber); }

.chat-contact img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.chat-contact .meta { flex: 1; min-width: 0; }
.chat-contact .name { font-weight: 600; font-size: 0.92rem; }
.chat-contact .preview { font-size: 0.78rem; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chat-main { display: flex; flex-direction: column; }
.chat-header { padding: 16px 22px; border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; gap: 12px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 12px; }

.msg-bubble {
  max-width: 62%;
  padding: 11px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
  animation: msgIn 0.25s var(--ease);
}
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.msg-bubble.mine {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #ffffff;
  border-bottom-right-radius: 4px;
}
.msg-bubble.theirs {
  align-self: flex-start;
  background: #eef6f4;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}
.msg-bubble .msg-author { font-size: 0.72rem; font-weight: 700; opacity: 0.75; margin-bottom: 3px; display: block; }
.msg-bubble .msg-time { font-size: 0.65rem; opacity: 0.65; display: block; margin-top: 4px; text-align: right; }

.chat-input-row {
  padding: 16px 22px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
}
.chat-input-row input {
  flex: 1;
}

/* ---------- Notifications / Lists ---------- */
.notif-item {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  align-items: flex-start;
}
.notif-item.unread { box-shadow: inset 0 0 0 1px rgba(var(--amber-rgb), 0.3); }
.notif-icon { font-size: 1.4rem; }

.participant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 8px;
}
.participant-row .who { display: flex; align-items: center; gap: 10px; }
.participant-row img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* ---------- Tables (Admin) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
table.data-table th {
  text-align: left;
  padding: 14px 16px;
  color: var(--text-faint);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--glass-border);
}
table.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(21, 18, 31, 0.07);
  vertical-align: middle;
}
table.data-table tr:hover td { background: rgba(21, 18, 31, 0.035); }

.pill-toggle {
  width: 46px;
  height: 26px;
  border-radius: 20px;
  background: rgba(21, 18, 31, 0.16);
  position: relative;
  cursor: pointer;
  border: none;
  transition: background 0.2s var(--ease);
}
.pill-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  transition: transform 0.2s var(--ease);
}
.pill-toggle.on { background: linear-gradient(135deg, var(--olive), #16a34a); box-shadow: var(--shadow-glow-olive); }
.pill-toggle.on::after { transform: translateX(20px); }

/* ---------- Tabs ---------- */
.tabs-bar {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all 0.2s var(--ease);
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active {
  background: linear-gradient(135deg, #2f6bff, #5b8cff);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(var(--amber-rgb), 0.28);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn 0.25s var(--ease); }

/* ---------- Stars / Rating ---------- */
.star-rating { display: inline-flex; gap: 4px; }
.star-rating .star { font-size: 1.3rem; color: var(--text-faint); cursor: pointer; transition: color 0.15s; }
.star-rating .star.filled { color: var(--gold); text-shadow: 0 0 8px rgba(var(--gold-rgb), 0.4); }

/* ---------- Toast ---------- */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  min-width: 260px;
  animation: popIn 0.25s var(--ease);
  box-shadow: 0 10px 30px rgba(21, 18, 31, 0.18);
  background: var(--bg-elevated);
  color: var(--text-main);
}
.toast.success { border-left: 4px solid var(--olive); }
.toast.error { border-left: 4px solid var(--danger); }
.toast.info { border-left: 4px solid var(--amber); }

/* ---------- Auth Pages ---------- */
.auth-shell {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  isolation: isolate;
}
.auth-shell::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(160deg, rgba(11, 18, 32, 0.62) 0%, rgba(var(--bg-deep-rgb), 0.78) 50%, rgba(var(--bg-deep-rgb), 0.96) 100%),
    url('../img/auth-wallpaper.jpg') center/cover no-repeat;
}
.auth-box {
  width: 100%;
  max-width: 440px;
  padding: 42px 38px;
  box-shadow: 0 24px 60px rgba(var(--ink-rgb), 0.18);
}
.auth-logo { text-align: center; margin-bottom: 22px; }
.auth-logo h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: -0.03em;
}
.auth-logo-img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin: 0 auto 14px;
  filter: drop-shadow(0 4px 16px rgba(var(--amber-rgb), 0.4));
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.9rem; color: var(--text-dim); }
.auth-switch a { color: var(--amber); font-weight: 700; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-faint); }
.empty-state .icon { font-size: 3rem; margin-bottom: 14px; color: var(--electric); }

/* ---------- Utilities ---------- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.w-full { width: 100%; }
.relative { position: relative; }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.progress-bar-bg { width: 100%; height: 8px; border-radius: 8px; background: rgba(21, 18, 31, 0.12); overflow: hidden; }
.progress-bar-fill { height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--amber), var(--electric)); transition: width 0.4s var(--ease); }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(21, 18, 31, 0.2); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--amber-rgb), 0.45); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-hamburger { display: flex; }
  .nav-actions { display: none; }
  .navbar-inner { height: 54px; }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 38px rgba(21, 18, 31, 0.16);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s var(--ease), opacity 0.25s var(--ease);
  }
  .nav-links.mobile-open {
    max-height: 80vh;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }
  .nav-link { width: 100%; }
  .nav-links-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--glass-border);
  }

  .chat-shell { grid-template-columns: 1fr; }
  .chat-sidebar { display: none; }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .hero { padding: 40px 0 28px; }
  .hero .subtitle { font-size: 0.95rem; }

  .page-wrap { padding-top: 8px; }
  .container { padding: 0 12px; }
  .app-topbar { padding: 6px 8px 0; }
  .brand-text { font-size: 0.95rem; }

  .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

  .form-row { gap: 12px; }
  .form-row > * { min-width: 100%; }

  .section-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 32px 0 18px;
  }
  .section-title-row .btn { width: 100%; }

  .modal-box { padding: 20px; max-height: 92vh; }
  .modal-box.modal-lg, .modal-box.modal-xl { max-width: 100%; }

  .tabs-bar { gap: 4px; padding: 4px; }
  .tab-btn { padding: 8px 12px; font-size: 0.78rem; flex: 1 1 auto; text-align: center; }

  .city-filter-bar { max-width: 100%; flex-direction: column; align-items: stretch; }
  .city-filter-bar select { width: 100%; min-width: 0; }

  .auth-box { padding: 30px 22px; }

  #toast-container { left: 16px; right: 16px; bottom: 16px; }
  .toast { min-width: 0; width: 100%; }

  .stories-row { gap: 12px; }
  .story-item { width: 70px; }
  .story-ring { width: 60px; height: 60px; }
}

@media (max-width: 480px) {
  .navbar-inner { padding: 0 12px; height: 52px; }
  .brand-text { font-size: 0.95rem; }
  .brand-logo-img { width: 30px; height: 30px; }
  h1 { font-size: 1.45rem; }
  .grid { grid-template-columns: 1fr; }
  .card-badges { flex-wrap: wrap; }
  .wizard-step-dot { width: 28px; height: 28px; font-size: 0.72rem; }
  .wizard-step-line { width: 14px; }
  .wizard-steps { gap: 4px; }
  .wizard-nav { flex-wrap: wrap; }
  .wizard-nav .btn { flex: 1 1 auto; }
  .auth-box { max-width: 100%; }
}

/* ---------- Sponsorship pending badge ---------- */
.badge-pending { background: rgba(var(--violet-rgb), 0.14); color: var(--violet); border: 1px solid rgba(var(--violet-rgb), 0.4); }

/* ---------- AI Wizard (multi-step) ---------- */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.wizard-step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(21, 18, 31, 0.06);
  color: var(--text-faint);
  border: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}
.wizard-step-dot.active {
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: #ffffff;
  box-shadow: var(--shadow-glow-amber);
  border-color: transparent;
}
.wizard-step-dot.done { background: rgba(var(--olive-rgb), 0.2); color: #16a34a; border-color: rgba(var(--olive-rgb), 0.4); }
.wizard-step-line { width: 28px; height: 2px; background: rgba(21, 18, 31, 0.14); }
.wizard-step-line.done { background: var(--olive); }
.wizard-pane { display: none; }
.wizard-pane.active { display: block; animation: fadeUp 0.35s var(--ease); }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Nightlife/food stop cards inside itinerary ---------- */
.itinerary-substops { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.substop-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(21, 18, 31, 0.045);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s var(--ease);
}
.substop-chip:hover { border-color: var(--amber); transform: translateY(-2px); }

/* ---------- Extra spacing utility ---------- */
.mt-12 { margin-top: 12px; }

/* ---------- Eyebrow label (kÃ¼Ã§Ã¼k, harf aralÄ±klÄ± Ã¼st baÅŸlÄ±k) ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(var(--amber-rgb), 0.1);
  border: 1px solid rgba(var(--amber-rgb), 0.24);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* ---------- Tag pills (kompakt bilgi etiketleri: tempo, ulaÅŸÄ±m, deneyim...) ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(21, 18, 31, 0.05);
  border: 1px solid var(--glass-border);
  padding: 5px 12px;
  border-radius: 14px;
}

/* ---------- Wizard card: kÃ¶ÅŸelerde yumuÅŸak bir "AI glow" efekti ---------- */
.wizard-card { position: relative; overflow: hidden; }
.wizard-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(var(--amber-rgb), 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.wizard-card::after {
  content: '';
  position: absolute;
  bottom: -90px;
  left: -90px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(var(--electric-rgb), 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.wizard-card > * { position: relative; z-index: 1; }

/* ---------- AI Plan — basit tek ekran ---------- */
.ai-plan-page { padding-bottom: 32px; }
.ai-plan-hero {
  text-align: center;
  padding: 8px 8px 20px;
}
.ai-plan-hero h1 {
  font-family: Outfit, "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}
.ai-plan-hero p {
  margin: 8px 0 0;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.ai-plan-form {
  padding: 22px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ai-block-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
.ai-block-label .icon-svg { color: var(--amber); width: 1.1em; height: 1.1em; }
.ai-city-chips,
.ai-day-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-choice {
  appearance: none;
  border: 1px solid var(--glass-border);
  background: #fff;
  color: var(--text-main);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 650;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}
.ai-choice:hover { border-color: rgba(var(--amber-rgb), 0.4); }
.ai-choice.active {
  background: rgba(var(--amber-rgb), 0.1);
  border-color: rgba(var(--amber-rgb), 0.45);
  color: var(--amber);
}
.ai-city-select { margin-top: 10px; }
.ai-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ai-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ai-pick-card {
  position: relative;
  cursor: pointer;
  margin: 0;
}
.ai-pick-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ai-pick-card > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 84px;
  padding: 14px 10px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: #fff;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.ai-pick-card .icon-svg { width: 1.35em; height: 1.35em; color: var(--amber); }
.ai-pick-card strong { font-size: 0.92rem; font-weight: 750; }
.ai-pick-card small { font-size: 0.72rem; color: var(--text-faint); }
.ai-pick-card input:checked + span {
  border-color: rgba(var(--amber-rgb), 0.5);
  background: rgba(var(--amber-rgb), 0.08);
  box-shadow: 0 8px 20px rgba(var(--amber-rgb), 0.1);
}
.ai-plan-submit {
  margin-top: 4px;
  min-height: 52px;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.ai-loading {
  text-align: center;
  padding: 36px 16px;
  color: var(--text-dim);
}
.ai-loading .icon-svg {
  width: 1.6em;
  height: 1.6em;
  color: var(--amber);
  animation: aiPulse 1.1s ease-in-out infinite;
}
@keyframes aiPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}
.ai-result-head {
  padding: 20px 18px;
  margin-bottom: 14px;
}
.ai-result-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}
.ai-result-head p {
  margin: 6px 0 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}
.ai-day-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
  overflow: hidden;
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
a.ai-day-card:hover { transform: translateY(-2px); }
.ai-day-card img {
  width: 110px;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
}
.ai-day-card > div { padding: 14px 14px 16px; }
.ai-day-card h3 {
  margin: 8px 0 4px;
  font-size: 1.02rem;
  line-height: 1.25;
}
.ai-day-card h3 a { color: inherit; text-decoration: none; }
.ai-day-city {
  font-size: 0.8rem;
  color: var(--text-faint);
  margin: 0;
}
.ai-day-text {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ai-more-head { margin: 22px 0 10px; }
.ai-more-head h3 { margin: 0; font-size: 1.05rem; }
.ai-more-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.ai-more-card {
  min-width: 148px;
  max-width: 160px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(var(--ink-rgb), 0.05);
}
.ai-more-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}
.ai-more-card strong,
.ai-more-card span {
  display: block;
  padding: 0 10px;
}
.ai-more-card strong {
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ai-more-card span {
  padding-bottom: 10px;
  margin-top: 4px;
  font-size: 0.74rem;
  color: var(--text-faint);
}
@media (max-width: 560px) {
  .ai-day-card { grid-template-columns: 92px 1fr; }
  .ai-day-card img { width: 92px; min-height: 120px; }
  .ai-pick-card > span { min-height: 76px; padding: 12px 8px; }
}

/* =========================================================
   HOME â€” modern, nefes alan ana sayfa
   ========================================================= */
.home-page {
  padding-top: 0;
}

.home-hero {
  position: relative;
  min-height: min(92vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 0;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11, 18, 32, 0.78) 0%, rgba(11, 18, 32, 0.4) 45%, rgba(11, 18, 32, 0.58) 100%),
    linear-gradient(180deg, transparent 0%, rgba(var(--bg-deep-rgb), 0.2) 55%, var(--bg-deep) 100%),
    url('../img/hero-wallpaper.jpg') center 38%/cover no-repeat;
  animation: homeHeroDrift 26s ease-in-out infinite alternate;
}

.home-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(47, 107, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 35% at 80% 30%, rgba(255, 77, 109, 0.2), transparent 55%);
  pointer-events: none;
  animation: homeGlowPulse 8s ease-in-out infinite alternate;
}

@keyframes homeHeroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.07) translateY(-1.5%); }
}

@keyframes homeGlowPulse {
  from { opacity: 0.7; }
  to { opacity: 1; }
}

.home-hero-content {
  position: relative;
  z-index: 1;
  padding: 56px 24px 64px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  animation: fadeUp 0.9s var(--ease);
}

.home-hero-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35));
  animation: homeLogoPulse 4s ease-in-out infinite;
}

@keyframes homeLogoPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.03); }
}

.home-hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  color: #f7fbf9;
  line-height: 1.05;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.home-hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 500;
  color: rgba(247, 251, 249, 0.88);
  margin: 0;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.home-hero-lead {
  margin: 16px auto 32px;
  max-width: 420px;
  color: rgba(247, 251, 249, 0.7);
  font-size: 0.98rem;
  line-height: 1.55;
}

.home-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.home-hero-cta .btn-primary {
  background: linear-gradient(135deg, #2f6bff 0%, #ff4d6d 100%);
  box-shadow: 0 14px 32px rgba(47, 107, 255, 0.35);
}

.home-hero-cta .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.home-hero-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.home-body {
  padding-top: 8px;
  padding-bottom: 64px;
}

.home-stories {
  margin-top: 8px;
}

.home-stories .section-title-row {
  margin-top: 12px;
  margin-bottom: 12px;
}

.home-stories-locked {
  margin-top: 20px;
  padding: 20px 24px;
}

.home-stories-locked-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.home-stories-locked .icon-svg {
  width: 2rem;
  height: 2rem;
  color: var(--amber);
  flex-shrink: 0;
}

.home-stories-locked-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.home-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.home-path {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(160deg, rgba(var(--amber-rgb), 0.1), rgba(255, 255, 255, 0.85)),
    var(--bg-elevated);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(var(--ink-rgb), 0.05);
  color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.home-path:nth-child(2) {
  background: linear-gradient(160deg, rgba(var(--electric-rgb), 0.1), rgba(255, 255, 255, 0.6));
}

.home-path:nth-child(3) {
  background: linear-gradient(160deg, rgba(var(--olive-rgb), 0.1), rgba(255, 255, 255, 0.6));
}

.home-path:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--amber-rgb), 0.3);
  box-shadow: 0 14px 36px rgba(21, 18, 31, 0.14);
}

.home-path-icon .icon-svg {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--amber);
}

.home-path:nth-child(2) .home-path-icon .icon-svg { color: var(--electric); }
.home-path:nth-child(3) .home-path-icon .icon-svg { color: #16a34a; }

.home-path-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.home-path-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.home-section {
  margin-top: 48px;
}

.home-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-event {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.home-event:hover {
  transform: translateY(-3px);
}

.home-event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.home-event h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.home-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-featured-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 240px;
  text-decoration: none;
  color: inherit;
  isolation: isolate;
}

.home-featured-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
  z-index: -1;
}

.home-featured-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(6, 7, 13, 0.88) 100%);
  z-index: -1;
}

.home-featured-card:hover .home-featured-media {
  transform: scale(1.06);
}

.home-featured-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
}

.home-featured-body h3 {
  font-size: 1.1rem;
  margin: 8px 0 4px;
  color: #ffffff;
}

.home-featured-body p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Destinations page */
.dest-page-header {
  padding: 12px 0 8px;
}

.dest-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px;
  margin-top: 20px;
  align-items: flex-end;
}

.dest-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  padding-bottom: 24px;
}

.dest-pager .btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 900px) {
  .home-paths,
  .home-events,
  .home-featured {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: min(78vh, 560px);
  }

  .home-stories-locked-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-stories-locked-actions {
    margin-left: 0;
    width: 100%;
  }

  .home-stories-locked-actions .btn {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .home-hero-content {
    padding: 36px 16px 40px;
  }

  .home-hero-cta .btn {
    width: 100%;
  }

  .dest-filters {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ========== Profile hub ========== */
.profile-page { max-width: 800px; }
.profile-hub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.profile-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-card {
  padding: 34px;
  text-align: center;
}
.profile-avatar-lg {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--amber);
  box-shadow: var(--shadow-glow-amber);
}
.profile-avatar-edit {
  position: absolute;
  bottom: 0;
  right: 0;
  border-radius: 50%;
}
.profile-stats {
  display: flex;
  justify-content: space-between;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  gap: 8px;
}
.profile-stats strong {
  display: block;
  font-size: 1.3rem;
}
.profile-stats span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-faint, var(--text-dim));
}
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.profile-actions .btn { flex: 1 1 120px; }

/* ========== Social: feed / explore / reels ========== */
.story-progress {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.story-progress-seg {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  overflow: hidden;
}
.story-progress-seg.done,
.story-progress-seg.active {
  background: var(--amber);
}
.story-view-body {
  position: relative;
}
.story-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 2;
}
.story-nav-prev { left: 0; }
.story-nav-next { right: 0; }

.feed-page { max-width: 560px; }
.feed-list { display: flex; flex-direction: column; gap: 14px; }
.feed-card {
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 0;
  box-shadow: none;
}
@media (min-width: 640px) {
  .feed-card {
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(var(--ink-rgb), 0.06);
    margin: 0 12px;
  }
}
.feed-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}
.feed-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.feed-author img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(var(--amber-rgb), 0.3);
}
.feed-media-wrap {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0c1411;
  cursor: pointer;
}
.feed-media {
  width: 100%;
  max-height: min(75vh, 720px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: #0c1411;
}
.feed-card-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px 2px;
}
.feed-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
}
.feed-like-btn .icon-svg { width: 1.35rem; height: 1.35rem; }
.feed-like-btn.liked { color: var(--electric); }
.feed-like-btn.liked .icon-svg { fill: currentColor; stroke: currentColor; }
.feed-comment-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.feed-comment-link:hover { color: var(--amber); }
.feed-comment-link .icon-svg { width: 1.25rem; height: 1.25rem; }
.feed-caption {
  padding: 6px 14px 16px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-main);
}

.explore-page { max-width: 680px; }
.user-search {
  position: relative;
  margin: 0 0 14px;
}
.user-search-field {
  position: relative;
  display: flex;
  align-items: center;
}
.user-search-field .icon-svg {
  position: absolute;
  left: 14px;
  width: 1.05em;
  height: 1.05em;
  color: var(--text-faint);
  pointer-events: none;
}
.user-search-field .form-control {
  padding-left: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}
.user-search-results {
  position: absolute;
  z-index: 260;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: min(320px, 50vh);
  overflow: auto;
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border-strong, var(--glass-border));
  background: #fff;
  box-shadow: 0 18px 40px rgba(var(--ink-rgb), 0.18);
}
.user-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition: background .15s var(--ease);
}
.user-search-item:hover,
.user-search-item:focus-visible {
  background: rgba(var(--ink-rgb), 0.06);
  outline: none;
}
.user-search-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(var(--ink-rgb), 0.06);
}
.user-search-item span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.user-search-item strong {
  font-size: 0.95rem;
  line-height: 1.2;
}
.user-search-item small {
  color: var(--text-faint);
  font-size: 0.82rem;
}
.user-search-empty {
  margin: 0;
  padding: 14px 12px;
  color: var(--text-faint);
  font-size: 0.9rem;
}
.explore-page .tabs-bar {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 20px rgba(var(--ink-rgb), 0.05);
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.explore-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(21, 18, 31, 0.06);
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font: inherit;
  text-align: left;
  color: inherit;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.explore-tile:hover {
  box-shadow: 0 14px 28px rgba(var(--ink-rgb), 0.14);
  transform: translateY(-3px);
  border-color: var(--glass-border-strong);
}
.explore-tile img,
.explore-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.explore-tile:hover img,
.explore-tile:hover video { transform: scale(1.05); }
.explore-tile-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(21, 18, 31, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.explore-tile-badge .icon-svg { width: 0.85em; height: 0.85em; }
.explore-tile-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 10px 10px;
  background: linear-gradient(180deg, transparent, rgba(8, 6, 14, 0.82));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.explore-tile:hover .explore-tile-overlay,
.explore-tile:focus-visible .explore-tile-overlay { opacity: 1; transform: translateY(0); }
.explore-tile-user {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.82rem;
  min-width: 0;
}
.explore-tile-user img {
  width: 20px; height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.6);
}
.explore-tile-user strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
}
.explore-tile-stats {
  display: flex;
  gap: 12px;
  color: #fff;
  font-size: 0.78rem;
  opacity: 0.92;
}
.explore-tile-stats span { display: inline-flex; align-items: center; gap: 4px; }
.explore-tile-stats .icon-svg { width: 0.95em; height: 0.95em; }

.reels-page {
  position: relative;
  height: calc(100dvh - 120px - env(safe-area-inset-bottom, 0px));
  max-height: 100dvh;
  overflow: hidden;
  margin: 0;
}
.reels-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), transparent);
  pointer-events: none;
}
.reels-topbar > * { pointer-events: auto; }
.reels-scroller {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
}
.reels-slide {
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #050508;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reels-media {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050508;
}
.reels-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 80px 16px 28px;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.72) 100%);
  pointer-events: none;
}
.reels-side {
  position: absolute;
  right: 14px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  pointer-events: auto;
}
.reels-like-btn {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 1.6rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.reels-like-btn.liked { color: var(--danger); }
.reels-like-count { font-size: 0.8rem; }
.reels-comment-btn {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.reels-comment-btn .icon-svg { width: 1.5rem; height: 1.5rem; }
.reels-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}
.reels-info {
  max-width: 75%;
  color: #fff;
  pointer-events: auto;
}
.reels-user {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.reels-user strong { font-weight: 700; }
.reels-user span { opacity: 0.78; font-size: 0.85rem; }
.reels-dest { font-size: 0.82rem; opacity: 0.9; margin-top: 4px; }
.reels-caption { margin: 8px 0 0; font-size: 0.9rem; line-height: 1.4; }
.reels-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: #fff;
}

/* ---------- Gönderi Detay + Yorumlar (paylaşılan modal) ---------- */
.post-detail-box { max-width: 920px; padding: 0; overflow: hidden; }
.post-detail-box .modal-header {
  padding: 16px 20px;
  margin: 0;
  border-bottom: 1px solid var(--glass-border);
}
.post-detail-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  max-height: 78vh;
}
.post-detail-media {
  background: #08080d;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 78vh;
  overflow: hidden;
}
.post-detail-media img,
.post-detail-media video {
  width: 100%;
  height: 100%;
  max-height: 78vh;
  object-fit: contain;
}
.post-detail-side {
  display: flex;
  flex-direction: column;
  padding: 16px 20px 20px;
  min-height: 0;
}
.post-detail-caption-text { font-size: 0.92rem; line-height: 1.5; margin: 0 0 14px; }
.post-detail-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 12px;
}
.post-detail-like-btn { font-size: 1.15rem; padding: 0; }
.post-detail-comment-total {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.post-detail-comment-total .icon-svg { width: 1.1em; height: 1.1em; }
.post-detail-comments {
  flex: 1;
  overflow-y: auto;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 4px;
}
.comment-item { display: flex; gap: 10px; }
.comment-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.comment-body p { margin: 0; font-size: 0.88rem; line-height: 1.4; }
.post-detail-comment-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--glass-border);
}
.post-detail-comment-form input {
  flex: 1;
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-size: 0.88rem;
  background: var(--bg-elevated);
  color: var(--text-main);
}
.post-detail-comment-form input:focus { outline: none; border-color: var(--amber); }

@media (max-width: 760px) {
  .post-detail-body { grid-template-columns: 1fr; max-height: none; }
  .post-detail-media { min-height: 220px; max-height: 46vh; }
  .post-detail-comments { max-height: 260px; }
}

@media (max-width: 720px) {
  .explore-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .explore-tile { border-radius: var(--radius-sm); }
  .reels-page { height: calc(100vh - 64px); }
}

@media (max-width: 480px) {
  .feed-page { padding-left: 0; padding-right: 0; }
  .feed-card { border-radius: 0; }
}

/* =========================================================
   FOOTER — derin orman zemin, yumuşak üst köşe
   ========================================================= */
.site-footer {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(var(--amber-rgb), 0.18), transparent 50%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(var(--electric-rgb), 0.12), transparent 45%),
    var(--ink);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 64px;
  border-radius: 32px 32px 0 0;
}
.app-shell.is-logged-in .site-footer {
  display: none;
}
@media (min-width: 960px) {
  .app-shell.is-logged-in .site-footer {
    display: block;
  }
}
.site-footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 52px 24px 36px;
}
.site-footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.site-footer-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; flex-shrink: 0; }
.site-footer-brand p { color: #ffffff; font-weight: 700; font-size: 0.98rem; margin: 0; line-height: 1.4; }
.site-footer-brand p span { display: block; color: rgba(255, 255, 255, 0.55); font-weight: 500; font-size: 0.82rem; margin-top: 4px; }
.site-footer-col h4 { color: #ffffff; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 14px; }
.site-footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.86rem;
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.2s var(--ease);
}
.site-footer-col a:hover { color: #ffffff; }
.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 24px 24px;
}
.site-footer-bottom p { color: rgba(255, 255, 255, 0.45); font-size: 0.78rem; margin: 0; }

@media (max-width: 760px) {
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .site-footer-brand { grid-column: 1 / -1; }
}
