@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #FBF7F2;
  --ink: #2A1B2D;
  --ink-soft: #7A6B75;
  --pink: #E5407E;
  --pink-deep: #C22A64;
  --plum: #45214A;
  --green: #148A5C;
  --amber: #B7791F;
  --card: #FFFFFF;
  --line: #EFE4EA;
  --shadow: 0 2px 4px rgba(42,27,45,.04), 0 8px 24px -12px rgba(42,27,45,.14);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Outfit', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 400px at 85% -50px, #FBDCE8 0%, rgba(251,220,232,0) 60%),
    radial-gradient(700px 360px at -10% 120px, #F3E8F5 0%, rgba(243,232,245,0) 55%),
    var(--bg);
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 620px; margin: 0 auto; padding: 28px 18px 48px; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 8px 0 4px; animation: rise .5s ease both; }
.avatar {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 14px; border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--pink), var(--shadow);
}
.hero h1 { margin: 0; font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.handle {
  display: inline-block; margin-top: 4px; font-weight: 600; font-size: 14px;
  color: var(--pink-deep);
}
.handle:hover { text-decoration: underline; }
.tagline { margin: 8px auto 0; max-width: 34ch; color: var(--ink-soft); font-size: 15.5px; }
.disclosure { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-soft); }

.pill {
  display: inline-block; margin-top: 14px; padding: 9px 18px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow); transition: transform .15s ease;
}
.pill:hover { transform: translateY(-1px); }
.pill-deal { background: linear-gradient(135deg, var(--pink), #F76A58); color: #fff; border: none; }
.pill-sm { margin: 0; padding: 7px 14px; font-size: 13px; }

.socials { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--line); color: var(--plum);
  box-shadow: var(--shadow); transition: transform .15s ease, color .15s ease, border-color .15s ease;
}
.socials a:hover { transform: translateY(-2px); color: var(--pink-deep); border-color: #F3B9CE; }

/* ---------- sections & tiles ---------- */
section { margin-top: 26px; animation: rise .5s ease both; }
.sec-title { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.sec-title::before, .sec-title::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.tile {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 13px 16px; margin-bottom: 12px; box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.tile:hover { transform: translateY(-2px); border-color: #F3B9CE; box-shadow: 0 4px 8px rgba(42,27,45,.05), 0 16px 32px -12px rgba(229,64,126,.25); }
.tile:active { transform: translateY(0); }
.tile img { width: 54px; height: 54px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: #F7EFF3; }
.tile-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tile-title { font-weight: 700; font-size: 15.5px; line-height: 1.28; }
.tile-sub { font-size: 12.5px; color: var(--ink-soft); line-height: 1.3; }
.badge {
  flex-shrink: 0; align-self: center; font-size: 10px; font-weight: 800; letter-spacing: .06em;
  color: var(--green); background: #E5F6EE; border-radius: 999px; padding: 5px 9px; white-space: nowrap;
}
.tile-lg {
  background: linear-gradient(135deg, var(--plum), #6B2E67 55%, var(--pink-deep));
  border: none; color: #fff; padding: 18px;
}
.tile-lg .tile-title { font-size: 17px; }
.tile-lg .tile-sub { color: rgba(255,255,255,.85); }
.tile-lg .badge { background: rgba(255,255,255,.18); color: #FFD9E6; }
.tile-lg:hover { box-shadow: 0 18px 40px -14px rgba(69,33,74,.55); }
.tile-lg .badge::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #7CFFB2; margin-right: 6px; animation: pulse 1.6s ease-in-out infinite;
}
.chev { color: #D9C7D2; font-size: 22px; font-weight: 600; flex-shrink: 0; }
.tile-lg .chev { color: rgba(255,255,255,.7); }

/* ---------- top bar (deals page) ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.bar-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.bar-brand img { border-radius: 50%; border: 2px solid #fff; box-shadow: var(--shadow); }
.bar .pill { margin: 0; }

.deals-head { text-align: center; margin-bottom: 22px; animation: rise .5s ease both; }
.deals-head h1 { margin: 0 0 8px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.deals-head p { margin: 0; color: var(--ink-soft); font-size: 14.5px; max-width: 40ch; margin: 0 auto; }

/* ---------- deal cards ---------- */
.deal-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .deal-grid { grid-template-columns: 1fr 1fr; } }
.deal {
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease;
}
.deal:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -14px rgba(229,64,126,.3); }
.deal-img { position: relative; aspect-ratio: 1 / .82; background: #F7EFF3; }
.deal-img img { width: 100%; height: 100%; object-fit: cover; }
.disc {
  position: absolute; top: 10px; left: 10px; background: var(--green); color: #fff;
  font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; box-shadow: var(--shadow);
}
.deal-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.deal-body h3 { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.note { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.price-row { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 0; }
.price { color: var(--pink-deep); font-size: 21px; font-weight: 800; }
.was { color: #B49EAB; text-decoration: line-through; font-size: 13.5px; }
.open-hint { margin-top: auto; padding-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--green); }

.empty {
  background: var(--card); border: 1.5px dashed #E4CBD6; border-radius: var(--radius);
  padding: 34px 20px; text-align: center; color: var(--ink-soft);
}
.empty b { color: var(--ink); }

footer { margin-top: 34px; text-align: center; font-size: 12px; color: var(--ink-soft); }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
