/* ================================================================
   FIYONK — "Arama sona erdi" ekranı
   402 × 874 saf UI. Status bar 62px boşluk. Light + amber.
   ================================================================ */

:root {
  --slate-950: #020618;
  --slate-700: #314158;
  --slate-600: #45556c;
  --slate-500: #62748e;
  --slate-400: #90a1b9;
  --slate-300: #cad5e2;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --amber-500: #ffb900;
  --amber-600: #fe9a00;
  --amber-soft: rgba(255, 185, 0, 0.14);
  --green-500: #00c950;
  --green-soft: rgba(0, 201, 80, 0.14);
  --white: #ffffff;

  --stage-bg: #e7eaf0;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--stage-bg);
  color: var(--slate-950);
  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;
}

/* ----------------------------------------------------------------
   Stage / phone frame
---------------------------------------------------------------- */
.stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}
.phone {
  position: relative;
  width: 402px;
  height: 874px;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}

/* ----------------------------------------------------------------
   Status bar
---------------------------------------------------------------- */
.status-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 62px;
  z-index: 50;
  padding: 18px 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--slate-950);
  font-size: 17px;
  font-weight: 600;
  background: var(--white);
  pointer-events: none;
}
.status-bar__time { letter-spacing: -0.3px; }
.status-bar__icons { display: flex; align-items: center; gap: 6px; }

/* ----------------------------------------------------------------
   App bar
---------------------------------------------------------------- */
.appbar {
  position: absolute;
  top: 62px; left: 0; right: 0;
  height: 56px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  z-index: 5;
}
.appbar__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--slate-950);
  letter-spacing: -0.2px;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease;
}
.icon-btn:hover { background: var(--slate-200); }
.icon-btn:active { transform: translateY(1px); }

/* ----------------------------------------------------------------
   Body container
---------------------------------------------------------------- */
.body {
  position: absolute;
  top: 118px; left: 0; right: 0; bottom: 0;
  padding: 4px 16px 20px;
}

/* ----------------------------------------------------------------
   Hero (avatar + name + id)
---------------------------------------------------------------- */
.hero {
  text-align: center;
  padding-top: 12px;
}
.hero__avatar {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto 12px;
}
.hero__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: var(--slate-200);
}
.hero__add {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--amber-500);
  color: var(--slate-950);
  border: 3px solid var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero__add:hover { background: var(--amber-600); }
.hero__name {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--slate-950);
}
.hero__username {
  margin: 0;
  font-size: 13px;
  color: var(--slate-400);
  font-weight: 500;
  letter-spacing: 0.1px;
}

/* ----------------------------------------------------------------
   Çağrı süresi kartı
---------------------------------------------------------------- */
.duration {
  margin-top: 20px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
}
.duration__time {
  font-size: 30px;
  font-weight: 800;
  color: var(--slate-950);
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
}
.duration__label {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-500);
}

/* ----------------------------------------------------------------
   Tüketim kartları
---------------------------------------------------------------- */
.usage {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.usage__card {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  padding: 14px 14px 12px;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.usage__row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.usage__coin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.usage__coin-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
}
.usage__coin-amount {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-950);
}
.usage__plus {
  color: var(--slate-400);
  font-weight: 600;
  font-size: 13px;
}
.usage__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: var(--slate-100);
  color: var(--slate-700);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.usage__label {
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   Action bar (mesaj + Ara)
---------------------------------------------------------------- */
.actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.actions__msg {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.actions__msg:hover { background: var(--slate-200); }
.actions__call {
  flex: 1;
  height: 52px;
  border-radius: 999px;
  background: var(--amber-500);
  color: var(--slate-950);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color .15s ease;
}
.actions__call:hover { background: var(--amber-600); }
.actions__call:active { transform: translateY(1px); }

/* ----------------------------------------------------------------
   Öneriler
---------------------------------------------------------------- */
.recos {
  margin-top: 22px;
}
.recos__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-950);
  letter-spacing: -0.2px;
}
.recos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ----------------------------------------------------------------
   Profile card (re-usable)
---------------------------------------------------------------- */
.profile-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: var(--slate-200);
  isolation: isolate;
}
.profile-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.profile-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 45%,
    rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.profile-card__badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  background: var(--amber-500);
  color: var(--slate-950);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.1px;
}
.profile-card__signal {
  position: absolute;
  top: 12px; right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.32);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.profile-card__signal .bar {
  width: 3px;
  background: var(--green-500);
  border-radius: 1px;
}
.profile-card__signal .bar:nth-child(1) { height: 4px; }
.profile-card__signal .bar:nth-child(2) { height: 6px; }
.profile-card__signal .bar:nth-child(3) { height: 8px; }
.profile-card__signal .bar:nth-child(4) { height: 10px; }
.profile-card__signal .bar--off { background: rgba(255, 255, 255, 0.45); }

.profile-card__info {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.profile-card__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.profile-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-card__country {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.profile-card__cta {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--amber-500);
  color: var(--slate-950);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 185, 0, 0.4);
  transition: background-color .15s ease;
}
.profile-card__cta:hover { background: var(--amber-600); }
.profile-card__cta:active { transform: translateY(1px); }
