:root {
  --rose-900: #6b1038;
  --rose-800: #9b1d4d;
  --rose-700: #c2185b;
  --rose-600: #e91e63;
  --rose-500: #ec407a;
  --rose-400: #f48fb1;
  --rose-200: #f8bbd0;
  --rose-100: #fce4ec;
  --cream: #fff7f9;
  --ink: #2a1420;
  --muted: #7a5364;
  --line: #f3c7d6;
  --gold: #c9a227;
  --vip: #9c27b0;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(155, 29, 77, 0.12);
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #ffe4ef 0%, transparent 50%),
    radial-gradient(900px 400px at 100% 0%, #ffd6e8 0%, transparent 45%),
    var(--cream);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
img { max-width: 100%; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 28px;
  background: linear-gradient(90deg, #fff, #fff5f8);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ff6b9d, #c2185b);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(194, 24, 91, 0.28);
}
.brand h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.top-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.search {
  display: flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.search input {
  border: 0;
  padding: 10px 14px;
  min-width: 220px;
  outline: none;
}
.search button, .btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
}
.btn-rose {
  background: linear-gradient(180deg, #f06292, #c2185b);
  color: #fff;
}
.btn-ghost {
  background: #fff;
  color: var(--rose-800);
  border: 1px solid var(--line);
}
.btn-gold {
  background: linear-gradient(180deg, #f3d27a, #c9a227);
  color: #3b2a00;
}

.nav {
  display: flex;
  gap: 4px;
  padding: 8px 28px;
  background: #1b0d14;
  color: #fff;
  overflow-x: auto;
}
.nav a {
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 650;
  white-space: nowrap;
  opacity: 0.88;
}
.nav a:hover, .nav a.active { background: #c2185b; opacity: 1; }

.subnav {
  display: flex;
  gap: 16px;
  padding: 10px 28px;
  background: #fff0f5;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--rose-800);
  overflow-x: auto;
}

.layout {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 22px;
  padding: 22px 28px 60px;
  max-width: 1440px;
  margin: 0 auto;
}
.layout.two { grid-template-columns: 260px 1fr; }
.layout.one { grid-template-columns: 1fr; max-width: 1100px; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.panel h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.city-list { max-height: 72vh; overflow: auto; }
.city-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--rose-900);
}
.city-item:hover, .city-item.active { background: var(--rose-100); }
.city-item span { color: var(--rose-500); font-weight: 700; font-size: 0.8rem; }
.city-search { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.92), rgba(255,240,246,0.7)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(236,64,122,0.05) 18px 19px);
  border: 1px solid var(--line);
}
.hero h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
}
.chip.active { background: var(--rose-700); color: #fff; border-color: transparent; }

.promo {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.promo-card {
  border-radius: 18px;
  padding: 18px;
  color: #fff;
  min-height: 110px;
}
.promo-card.a { background: linear-gradient(135deg, #ec407a, #ad1457); }
.promo-card.b { background: linear-gradient(135deg, #ce93d8, #8e24aa); }

.stories {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 10px;
}
.story {
  flex: 0 0 auto;
  width: 76px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.avatar {
  width: 68px;
  height: 68px;
  margin: 0 auto 6px;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 200deg, #f48fb1, #c2185b, #f8bbd0, #ad1457);
}
.avatar i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #fff;
}
.story-add .avatar { background: #fce4ec; display: grid; place-items: center; font-size: 1.4rem; color: var(--rose-700); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(155, 29, 77, 0.08);
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-4px); }
.card-cover {
  height: 150px;
  position: relative;
}
.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #c2185b;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
}
.badge.gold { background: linear-gradient(90deg, #f3d27a, #c9a227); color: #3b2a00; }
.badge.vip { background: linear-gradient(90deg, #ce93d8, #7b1fa2); }
.card-body { padding: 12px; }
.card-body h4 { margin: 0 0 4px; font-size: 1rem; }
.meta { color: var(--muted); font-size: 0.78rem; }

.featured .card { border: 2px solid #f48fb1; }

.aside-card { margin-bottom: 14px; }
.feed-item { font-size: 0.82rem; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pkg {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  background: #fff;
}
.pkg.gold { outline: 2px solid #c9a227; }
.pkg.premium { outline: 2px solid #ec407a; }
.pkg.vip { outline: 2px solid #9c27b0; }
.pkg .price { font-family: var(--display); font-size: 2.2rem; margin: 8px 0; }
.pkg ul { padding-left: 18px; color: var(--muted); }

.auth {
  max-width: 440px;
  margin: 40px auto;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field input, .field select, .field textarea {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  display: none;
  z-index: 40;
}
.toast.show { display: block; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(42,20,32,.65);
  display: none;
  place-items: center;
  z-index: 45;
}
.modal.show { display: grid; }
.modal-box {
  width: min(520px, 92vw);
  background: #fff;
  border-radius: 20px;
  padding: 20px;
}

footer {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 1100px) {
  .layout { grid-template-columns: 1fr; }
  .promo, .packages { grid-template-columns: 1fr; }
  .city-list { max-height: 240px; }
}
