:root {
  --ink: #e8eef2;
  --dim: #8b9aa3;
  --bg: #071018;
  --green: #34c759;
  --red: #ff3b30;
  --glass: rgba(255, 255, 255, 0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, #134e4a 0%, transparent 55%),
    var(--bg);
  color: var(--ink);
}

.stage {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 32px;
}

.phone {
  width: min(380px, 100%);
  aspect-ratio: 9 / 18.4;
  max-height: 86vh;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2f33, #0a0c0e);
  box-shadow:
    0 0 0 1px #3a4046,
    0 30px 80px rgba(0, 0, 0, 0.55);
  position: relative;
}

.island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}

.screen {
  height: 100%;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(20, 83, 77, 0.35), transparent 40%),
    #0c1216;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 24px 28px;
}

.status-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dim);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5a524;
  box-shadow: 0 0 8px #f5a524;
}

.dot.ok { background: var(--green); box-shadow: 0 0 8px var(--green); }
.dot.bad { background: var(--red); box-shadow: 0 0 8px var(--red); }

.label { margin: 36px 0 0; color: var(--dim); letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; }
h1 { margin: 8px 0 0; font-weight: 500; font-size: 36px; }
.timer { color: var(--dim); margin: 8px 0 0; font-size: 14px; }

.pad {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 18px);
  gap: 10px;
  opacity: 0.25;
}
.pad span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
}

.actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  gap: 12px;
}

.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  color: #fff;
}

.btn.ghost {
  flex: 1;
  background: var(--glass);
  border-radius: 14px;
  padding: 14px 8px;
}

.btn.ghost[disabled] { opacity: 0.35; cursor: default; }

.btn.call {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(52, 199, 89, 0.35);
}

.btn.call[disabled] { opacity: 0.4; }

.btn.hang {
  flex: 1;
  background: var(--red);
  border-radius: 14px;
  padding: 18px 8px;
  font-weight: 600;
}

.btn.hang[hidden] { display: none; }

.fine { margin: 18px 0 0; font-size: 12px; color: var(--dim); text-align: center; line-height: 1.4; }
.legal { margin-top: 18px; font-size: 12px; color: #6b7c84; }

@media (max-width: 420px) {
  .phone { aspect-ratio: auto; height: min(86vh, 720px); }
}
