:root {
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.78);
  --btn-bg: #fff;
  --btn-text: #1c1c1c;
  --bg-start: #f3b07d;
  --bg-mid: #e8b7c4;
  --bg-end: #c9a8d8;
  --bg-overlay: 0;
  --bg-photo: none;
  --shadow: 0 10px 28px rgba(90, 50, 40, 0.12);
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 80% at 8% 12%, var(--bg-start) 0%, transparent 55%),
    radial-gradient(90% 70% at 92% 18%, var(--bg-end) 0%, transparent 50%),
    radial-gradient(80% 70% at 78% 88%, var(--bg-mid) 0%, transparent 52%),
    radial-gradient(90% 80% at 18% 92%, var(--bg-start) 0%, transparent 48%),
    linear-gradient(160deg, var(--bg-start) 0%, var(--bg-mid) 42%, var(--bg-end) 100%);
  background-attachment: fixed;
}

body.has-bg-photo {
  background:
    linear-gradient(rgba(0, 0, 0, var(--bg-overlay)), rgba(0, 0, 0, var(--bg-overlay))),
    var(--bg-photo) center / cover no-repeat,
    linear-gradient(160deg, var(--bg-start) 0%, var(--bg-mid) 42%, var(--bg-end) 100%);
  background-attachment: fixed;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.bio {
  width: min(100%, 360px);
  text-align: center;
}

.avatar-wrap {
  width: 112px;
  height: 112px;
  margin: 0 auto 18px;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
  box-shadow: 0 8px 24px rgba(80, 40, 30, 0.16);
}

.name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.verified {
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.verified svg {
  display: block;
  width: 18px;
  height: 18px;
}

.tagline {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
}

.links {
  display: grid;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 48px;
  border-radius: 18px;
  background: var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: var(--btn-text);
}

.btn-icon svg {
  width: 22px;
  height: 22px;
}

.btn-icon--bell svg {
  transform-origin: 50% 8%;
  animation: bell-ring 2.4s ease-in-out infinite;
}

@keyframes bell-ring {
  0%, 50%, 100% { transform: rotate(0deg); }
  4% { transform: rotate(16deg); }
  8% { transform: rotate(-14deg); }
  12% { transform: rotate(12deg); }
  16% { transform: rotate(-10deg); }
  20% { transform: rotate(8deg); }
  24% { transform: rotate(-5deg); }
  28% { transform: rotate(3deg); }
  32% { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-icon--bell svg {
    animation: none;
  }
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(90, 50, 40, 0.16);
}

.btn:active {
  transform: translateY(0);
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin-top: 36px;
}

.social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.social svg {
  width: 32px;
  height: 32px;
}

.social:hover {
  transform: translateY(-2px);
}

@media (max-width: 420px) {
  .page {
    padding: 36px 22px;
    align-items: flex-start;
  }

  .bio {
    padding-top: 28px;
  }
}

.coming-soon {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.coming-soon[hidden] {
  display: none !important;
}

.coming-soon__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 16, 14, 0.42);
  backdrop-filter: blur(8px);
}

.coming-soon__card {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  padding: 26px 22px 20px;
  border-radius: 22px;
  background: #fff;
  color: #1c1c1c;
  text-align: center;
  box-shadow: 0 22px 48px rgba(40, 18, 14, 0.24);
  animation: coming-soon-in 0.22s ease;
}

.coming-soon__kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a06b55;
}

.coming-soon__card h2 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

.coming-soon__card p:last-of-type {
  margin: 0 0 18px;
  color: #5c524e;
  font-size: 0.92rem;
  line-height: 1.45;
}

.coming-soon__ok {
  min-width: 120px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: #1c1c1c;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.coming-soon__ok:hover {
  background: #333;
}

body.coming-soon-open {
  overflow: hidden;
}

@keyframes coming-soon-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon__card,
  .coffee-dial.is-tick strong,
  .coffee-total strong.is-tick {
    animation: none;
  }
}

.coffee-card {
  width: min(100%, 360px);
  padding-top: 22px;
  text-align: center;
  box-shadow: 0 22px 48px rgba(15, 18, 22, 0.22);
}

.coffee-card .coming-soon__kicker {
  color: #6b7280;
}

.coffee-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6b7280;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.coffee-x:hover {
  background: #f3f4f6;
  color: #111827;
}

.coffee-lead {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 0.92rem;
}

.coffee-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.coffee-spin {
  width: 52px;
  height: 52px;
  border: 1px solid #eadfd8;
  border-radius: 50%;
  background: #fff;
  color: #1c1c1c;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(80, 40, 24, 0.08);
}

.coffee-spin--plus {
  background: #1c1c1c;
  border-color: #1c1c1c;
  color: #fff;
}

.coffee-dial {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 20%, #fff8f1, #f3e4d6 62%, #e8d2c0);
  box-shadow:
    inset 0 1px 0 #fff,
    0 14px 28px rgba(90, 40, 20, 0.16);
}

.coffee-dial span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a06b55;
}

.coffee-dial strong {
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.coffee-dial.is-tick strong,
.coffee-total strong.is-tick {
  animation: coffee-tick 0.28s ease;
}

.coffee-picks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.coffee-picks button {
  display: grid;
  gap: 3px;
  min-height: 56px;
  padding: 10px 4px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f8fafc;
  color: #111827;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.coffee-picks button:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.coffee-picks b {
  font-size: 1.12rem;
  font-weight: 600;
}

.coffee-picks small {
  color: #6b7280;
  font-size: 0.68rem;
}

.coffee-picks button.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
  box-shadow: none;
}

.coffee-picks button.is-active small {
  color: rgba(255, 255, 255, 0.72);
}

.coffee-btn {
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: #111827;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.16s ease;
}

.coffee-btn:hover {
  background: #1f2937;
  transform: none;
  box-shadow: none;
}

.coffee-btn:active {
  background: #0b1220;
  transform: none;
}

.coffee-btn--mini {
  width: auto;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.coffee-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #111827;
  color: #d1d5db;
  font-size: 0.88rem;
  text-align: left;
}

.coffee-total strong {
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

@keyframes coffee-tick {
  0% { transform: translateY(8px) scale(0.86); opacity: .45; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.coffee-pay {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  text-align: left;
}

.coffee-pay[hidden] {
  display: none !important;
}

.coffee-pay-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.coffee-account {
  margin: 0 0 10px;
  font-weight: 600;
}

.coffee-iban {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f8fafc;
}

.coffee-iban code {
  flex: 1;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #111827;
  overflow-wrap: anywhere;
}

.coffee-iban button {
  flex-shrink: 0;
}

.coffee-hint {
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1.4;
}
