/* ================================================================
   FIYONK — Görüntülü görüşme prototipi
   Sabit 402×874 ekran, glassmorphic dark overlay sistemi.
   ================================================================ */

:root {
  /* Renk paleti — Fiyonk DNA */
  --bg-page: #0a0a0c;
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.72);
  --ink-mute: rgba(255, 255, 255, 0.55);

  /* Glass overlay (siyah cam) */
  --glass-1: rgba(20, 20, 24, 0.55);
  --glass-2: rgba(20, 20, 24, 0.72);
  --glass-stroke: rgba(255, 255, 255, 0.10);

  /* Aksent renkler */
  --coin: #ffc83a;       /* sarı coin */
  --coin-deep: #f5a623;
  --accent-purple: #8b5cf6;
  --accent-pink: #ff5ea8;
  --accent-green: #22c55e;
  --danger: #ff3b3b;
  --warning: #ffd24a;

  /* Geometri */
  --r-pill: 999px;
  --r-card: 22px;
  --r-bubble: 18px;

  --safe-x: 14px;
  --safe-top: 50px;
  --safe-bottom: 14px;

  /* Tipografi */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

ul { list-style: none; margin: 0; padding: 0; }

input {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  outline: none;
  width: 100%;
}

/* ----------------------------------------------------------------
   Stage — sayfayı ortala, telefon çerçevesini göster
---------------------------------------------------------------- */
.stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 32px 24px;
  background: var(--bg-page);
}

.phone {
  position: relative;
  width: 402px;
  height: 874px;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

/* ----------------------------------------------------------------
   Karşı taraf videosu (full-bleed)
---------------------------------------------------------------- */
.remote-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.remote-video__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.remote-video__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 18%, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

/* ----------------------------------------------------------------
   Status bar (saat, sinyal)
---------------------------------------------------------------- */
.status-bar {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  pointer-events: none;
}
.status-bar__icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ----------------------------------------------------------------
   Top row: user chip + end-call
---------------------------------------------------------------- */
.top-row {
  position: absolute;
  top: var(--safe-top);
  left: var(--safe-x);
  right: var(--safe-x);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: var(--r-pill);
  background: var(--glass-2);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-stroke);
  max-width: 240px;
}
.user-chip__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #333;
}
.user-chip__avatar img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.user-chip__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
}
.user-chip__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-chip__sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}
.user-chip__country {
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Sinyal bar */
.signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}
.signal__bar {
  width: 3px;
  background: var(--accent-green);
  border-radius: 1.5px;
}
.signal__bar:nth-child(1) { height: 30%; }
.signal__bar:nth-child(2) { height: 55%; }
.signal__bar:nth-child(3) { height: 80%; }
.signal__bar:nth-child(4) { height: 100%; }
.signal__bar--off {
  background: rgba(255, 255, 255, 0.25);
}

/* End-call */
.end-call {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--danger);
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(255, 59, 59, 0.45);
  transition: transform 0.15s ease;
}
.end-call:active { transform: scale(0.94); }

/* ----------------------------------------------------------------
   Side icons (sol kenar)
---------------------------------------------------------------- */
.side-icon {
  position: absolute;
  left: var(--safe-x);
  z-index: 15;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--glass-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-stroke);
  display: grid;
  place-items: center;
  color: var(--ink);
}
.side-icon--report {
  top: calc(var(--safe-top) + 60px);
}

/* ----------------------------------------------------------------
   Right rail: PiP + coin button
---------------------------------------------------------------- */
.right-rail {
  position: absolute;
  top: var(--safe-top);
  right: var(--safe-x);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* Self PiP */
.self-pip {
  position: relative;
  width: 110px;
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
  background: #222;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.self-pip img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.self-pip__timer {
  position: absolute;
  left: 8px; bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 600;
  color: var(--coin);
}

/* Coin button — 30s halka */
.coin-button {
  position: relative;
  width: 78px; height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.coin-button__ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}
.coin-button__ring-track {
  fill: rgba(0, 0, 0, 0.55);
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 3;
}
.coin-button__ring-fill {
  fill: none;
  stroke: var(--coin);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 226.2;   /* 2 * π * 36 */
  stroke-dashoffset: 226.2;
  filter: drop-shadow(0 0 6px rgba(255, 200, 58, 0.55));
  animation: coin-ring 30s linear infinite;
}
@keyframes coin-ring {
  from { stroke-dashoffset: 226.2; }
  to   { stroke-dashoffset: 0; }
}
.coin-button__face {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1;
}
.coin-button__amount {
  font-size: 17px;
  font-weight: 800;
  color: var(--coin);
  display: flex;
  align-items: center;
  gap: 3px;
}
.coin-button__amount::before {
  content: "";
  width: 11px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe98a, var(--coin) 60%, var(--coin-deep));
  box-shadow: 0 0 4px rgba(255, 200, 58, 0.6);
}
.coin-button__price {
  font-size: 9px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.coin-button__badge {
  position: absolute;
  top: -4px;
  right: -2px;
  z-index: 2;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-green);
  display: grid;
  place-items: center;
  color: white;
  border: 2px solid var(--bg-page);
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.5);
}

/* ----------------------------------------------------------------
   Chat stream — alttan stacklenen mesajlar
---------------------------------------------------------------- */
.chat-stream {
  position: absolute;
  left: var(--safe-x);
  right: 130px;            /* sağdaki rail'e değmesin */
  bottom: 250px;           /* dock'un hemen üstü */
  z-index: 14;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  max-height: 200px;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
}
.chat-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  animation: chat-in 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.chat-msg__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: #333;
  flex-shrink: 0;
}
.chat-msg__avatar img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.chat-msg__bubble {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-stroke);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  max-width: 100%;
}
@keyframes chat-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------------------
   DOCK — alt bölüm (uyarı + çeviri + hediye + bar)
---------------------------------------------------------------- */
.dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 0 var(--safe-x) var(--safe-bottom);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Düşük süre uyarısı */
.low-time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 10px 16px;
  border-radius: var(--r-pill);
  background: var(--glass-2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 210, 74, 0.25);
  animation: low-time-pulse 2.4s ease-in-out infinite;
}
@keyframes low-time-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 210, 74, 0.0); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 210, 74, 0.10); }
}
.low-time__text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.low-time__text #low-time-seconds {
  color: var(--warning);
  font-weight: 800;
}
.low-time__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--warning);
  color: #1a1a1f;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Çeviri */
.translate {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.translate__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #333;
  margin-top: 2px;
}
.translate__avatar img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.translate__bubble {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--r-bubble);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-stroke);
}
.translate__original {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.translate__translated {
  margin: 4px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-purple);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.25;
}

/* Hızlı hediyeler şeridi */
.gift-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gift-strip::-webkit-scrollbar { display: none; }
.gift {
  scroll-snap-align: start;
  flex-shrink: 0;
}
.gift__btn {
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 4px 6px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-stroke);
  transition: transform 0.12s ease;
}
.gift__btn:active { transform: scale(0.93); }
.gift__emoji {
  font-size: 26px;
  line-height: 1;
}
.gift__price {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--coin);
}
.coin-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe98a, var(--coin) 60%, var(--coin-deep));
  box-shadow: 0 0 3px rgba(255, 200, 58, 0.6);
  display: inline-block;
}

/* Alt aksiyon barı */
.action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 16px;
}
.action-bar__input {
  flex: 1;
  display: block;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-stroke);
}
.action-bar__input input {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.action-bar__input input::placeholder {
  color: var(--ink-mute);
}
.action-bar__btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-stroke);
  display: grid;
  place-items: center;
  color: var(--ink);
  flex-shrink: 0;
  transition: transform 0.12s ease;
}
.action-bar__btn:active { transform: scale(0.92); }
.action-bar__btn--muted {
  color: var(--danger);
}

/* ----------------------------------------------------------------
   CALL ENDED PAGE — "Arama sona erdi"
---------------------------------------------------------------- */
.call-ended {
  position: absolute;
  inset: 0;
  z-index: 60;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.18) 0%, transparent 45%),
    var(--bg-page);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  animation: ce-fade 0.28s ease-out;
}
.call-ended::-webkit-scrollbar { display: none; }
.call-ended[hidden] { display: none !important; }
@keyframes ce-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Status bar (in-screen, not the global one) */
.ce-status {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-page) 70%, transparent 100%);
}
.ce-status__icons { display: flex; align-items: center; gap: 5px; }

/* Top nav */
.ce-nav {
  position: sticky;
  top: 36px;
  z-index: 2;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 6px 14px 14px;
  background: linear-gradient(180deg, var(--bg-page) 70%, transparent 100%);
}
.ce-nav__title {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.ce-iconbtn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.15s;
}
.ce-iconbtn:hover { background: rgba(255, 255, 255, 0.12); }

/* Profile header */
.ce-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 22px;
}
.ce-profile__photo {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: visible;
}
.ce-profile__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}
.ce-profile__follow {
  position: absolute;
  right: -2px; bottom: -2px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff5ea8 0%, #c026d3 100%);
  display: grid;
  place-items: center;
  color: var(--ink);
  border: 3px solid var(--bg-page);
  box-shadow: 0 4px 12px rgba(192, 38, 211, 0.4);
  transition: transform 0.15s;
}
.ce-profile__follow:active { transform: scale(0.92); }
.ce-profile__name {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.ce-profile__id {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* Stat cards */
.ce-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.ce-stat--big {
  margin: 0 16px 10px;
  padding: 18px 16px;
}
.ce-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 16px 18px;
}
.ce-stat__value {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.ce-stat:not(.ce-stat--big) .ce-stat__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--coin);
}
.ce-stat__div {
  color: var(--ink-mute);
  margin: 0 1px;
  font-weight: 600;
}
.ce-stat__count {
  color: var(--ink);
  font-weight: 700;
}
.ce-stat:not(.ce-stat--big) svg { color: var(--ink-soft); }
.ce-stat__label {
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* Action row: chat + Tekrar Ara CTA */
.ce-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 16px 24px;
}
.ce-msg {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: grid;
  place-items: center;
  color: var(--accent-purple);
  transition: transform 0.12s;
}
.ce-msg:active { transform: scale(0.94); }
.ce-cta {
  flex: 1;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd24a 0%, var(--coin) 50%, var(--coin-deep) 100%);
  color: #1a1a1f;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(255, 200, 58, 0.35);
  transition: transform 0.12s, box-shadow 0.18s;
}
.ce-cta:hover {
  box-shadow: 0 10px 28px rgba(255, 200, 58, 0.5);
}
.ce-cta:active { transform: scale(0.97); }

/* Section title */
.ce-section-title {
  margin: 0 16px 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
}

/* Profile grid */
.ce-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px 28px;
}
.ce-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: #2a2a2e;
  cursor: pointer;
  transition: transform 0.15s;
}
.ce-card:active { transform: scale(0.98); }
.ce-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ce-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}
.ce-card__badge {
  position: absolute;
  top: 8px; left: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff5ea8 0%, #c026d3 100%);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(192, 38, 211, 0.5);
}
.ce-card__signal {
  position: absolute;
  top: 8px; right: 8px;
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  padding: 4px 6px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ce-card__signal i {
  width: 3px;
  background: var(--accent-green);
  border-radius: 1.5px;
  display: block;
}
.ce-card__signal i:nth-child(1) { height: 35%; }
.ce-card__signal i:nth-child(2) { height: 65%; }
.ce-card__signal i:nth-child(3) { height: 100%; }
.ce-card__signal i.off { background: rgba(255, 255, 255, 0.25); }
.ce-card__info {
  position: absolute;
  left: 10px; bottom: 10px;
  right: 50px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ce-card__name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.ce-card__country {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.ce-card__call {
  position: absolute;
  right: 10px; bottom: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple) 0%, #7c3aed 100%);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.55);
  transition: transform 0.12s;
}
.ce-card__call:active { transform: scale(0.92); }

/* ----------------------------------------------------------------
   DAILY LOGIN — Günlük Giriş ödülü modal
---------------------------------------------------------------- */
.daily-login {
  position: absolute;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
}
.daily-login[hidden] { display: none !important; }

.dl-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  animation: dl-fade 0.22s ease-out;
}
@keyframes dl-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.dl-modal {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 26px 18px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(36, 36, 42, 0.98) 0%, rgba(20, 20, 26, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: dl-pop 0.32s cubic-bezier(0.2, 0.85, 0.3, 1.05);
}
@keyframes dl-pop {
  from { opacity: 0; transform: scale(0.9) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.dl-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.dl-close:hover { background: rgba(255, 255, 255, 0.16); color: var(--ink); }

.dl-title {
  margin: 0 0 4px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.dl-subtitle {
  margin: 0 0 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
}

/* 7-day grid: 4 cols, day 7 spans 2 */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.dl-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 10px 6px 10px;
  min-height: 92px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: transform 0.12s, background 0.18s;
}
.dl-day__label {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}
.dl-day__icon {
  display: grid;
  place-items: center;
  flex: 1;
  width: 100%;
}
.dl-day__icon svg { display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)); }
.dl-day__mult {
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.dl-day:not(.dl-day--active) .dl-day__mult {
  color: var(--ink-mute);
}

/* Aktif gün (bugün) */
.dl-day--active {
  background: linear-gradient(180deg, #ffd24a 0%, var(--coin) 60%, var(--coin-deep) 100%);
  border-color: rgba(255, 200, 58, 0.6);
  box-shadow: 0 6px 18px rgba(255, 200, 58, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.dl-day--active .dl-day__label,
.dl-day--active .dl-day__mult {
  color: #1a1a1f;
  font-weight: 800;
}

/* Claim sonrası */
.dl-day--claimed::after {
  content: "✓";
  position: absolute;
  top: 6px; right: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(26, 26, 31, 0.85);
  color: var(--coin);
  font-size: 11px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

/* 7. gün — gift, çift kolon */
.dl-day--gift {
  grid-column: span 2;
  background:
    linear-gradient(180deg, rgba(255, 94, 94, 0.10) 0%, rgba(255, 94, 94, 0.04) 100%);
  border-color: rgba(255, 94, 94, 0.20);
}
.dl-day__icon--gift svg {
  filter: drop-shadow(0 4px 12px rgba(255, 94, 94, 0.4));
}

/* CTA — primary "Giriş Yap" */
.dl-cta {
  width: 100%;
  height: 50px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd24a 0%, var(--coin) 50%, var(--coin-deep) 100%);
  color: #1a1a1f;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(255, 200, 58, 0.4);
  transition: transform 0.12s, box-shadow 0.18s, background 0.25s, color 0.25s;
}
.dl-cta:hover { box-shadow: 0 12px 32px rgba(255, 200, 58, 0.55); }
.dl-cta:active { transform: scale(0.97); }

/* CTA — secondary state (claim sonrası) */
.dl-cta--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.dl-cta--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.dl-cta__chev {
  width: 14px; height: 14px;
  display: inline-block;
  vertical-align: middle;
}

/* ----------------------------------------------------------------
   ALT SHEET — "Müsait değil + alternatif profiller" bottom sheet
---------------------------------------------------------------- */
.alt-sheet {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: auto;
}
.alt-sheet[hidden] { display: none !important; }

.alt-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  animation: alt-fade 0.25s ease-out;
}
@keyframes alt-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.alt-sheet__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 16px 22px;
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(180deg, rgba(28, 28, 32, 0.92) 0%, rgba(14, 14, 18, 0.96) 100%);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.4);
  animation: alt-slide-up 0.32s cubic-bezier(0.2, 0.8, 0.25, 1);
}
@keyframes alt-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.alt-sheet__handle {
  display: block;
  width: 40px; height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 auto 16px;
}

.alt-sheet__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: background 0.15s;
}
.alt-sheet__close:hover { background: rgba(255, 255, 255, 0.18); }

.alt-sheet__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 4px 18px;
}
.alt-sheet__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--coin);
  text-transform: uppercase;
}
.alt-sheet__title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.alt-sheet__title em {
  color: var(--coin);
  font-style: normal;
}

/* List of profile cards */
.alt-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 4px;
  scroll-snap-type: x mandatory;
}
.alt-list::-webkit-scrollbar { display: none; }

.alt-card {
  flex: 0 0 116px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.alt-card__photo {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 2px;
  /* overflow visible — yeşil aktiflik dot'u dışarı taşar */
}
.alt-card__photo img {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #2a2a2e;
  object-fit: cover;
  display: block;
}
.alt-card__online {
  position: absolute;
  top: 2px;
  right: -3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-green);
  border: 3px solid #1c1c20;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.55);
  z-index: 2;
}

.alt-card__name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.1px;
}
.alt-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-top: -2px;
}

.alt-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 4px 0 6px;
}
.alt-card__pill::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
}

.alt-card__cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(180deg, #ffd24a 0%, var(--coin) 100%);
  color: #1a1a1f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(255, 200, 58, 0.3);
  transition: transform 0.12s ease, box-shadow 0.18s ease;
}
.alt-card__cta:hover {
  box-shadow: 0 6px 20px rgba(255, 200, 58, 0.45);
}
.alt-card__cta:active { transform: scale(0.96); }

/* ----------------------------------------------------------------
   Dev panel (ekranın yanında)
---------------------------------------------------------------- */
.dev-panel {
  width: 240px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dev-panel h2 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.dev-panel button {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  transition: background 0.15s ease;
}
.dev-panel button:hover {
  background: rgba(255, 255, 255, 0.14);
}
.dev-panel p {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ----------------------------------------------------------------
   Küçük ekranlar — telefon ortala, dev panel altta
---------------------------------------------------------------- */
@media (max-width: 740px) {
  .stage {
    flex-direction: column;
    gap: 24px;
    padding: 16px;
  }
  .dev-panel {
    width: 100%;
    max-width: 402px;
  }
}
