:root {
  --bg: #050505;
  --panel: #101010;
  --panel-2: #181511;
  --card: #171717;
  --gold: #d8a83f;
  --gold-2: #f7d77b;
  --gold-dark: #7d5512;
  --text: #f8f4ea;
  --muted: #b7ab96;
  --line: rgba(216, 168, 63, 0.22);
  --danger: #d95050;
  --good: #33c481;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(216, 168, 63, 0.18), transparent 32rem),
    linear-gradient(145deg, #050505 0%, #13100a 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(23.4375rem, 1fr);
  gap: 4rem;
  align-items: center;
  justify-content: center;
  padding: 2rem clamp(1rem, 4vw, 5rem);
}

.desktop-panel {
  max-width: 33rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 3rem;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(145deg, #0b0b0b, #1e170b);
  color: var(--gold-2);
  font-weight: 900;
}

.brand-lockup p,
.brand-lockup span,
.desktop-copy h1,
.desktop-copy p {
  margin: 0;
}

.brand-lockup p {
  font-weight: 800;
}

.brand-lockup span {
  color: var(--muted);
  font-size: 0.9rem;
}

.desktop-copy h1 {
  max-width: 32rem;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.desktop-copy p {
  margin-top: 1.25rem;
  max-width: 31rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.phone-frame {
  justify-self: center;
  width: min(100%, 26rem);
  height: min(56rem, calc(100vh - 2rem));
  min-height: 46rem;
  overflow: hidden;
  border: 0.75rem solid #090909;
  border-radius: 2.3rem;
  background: var(--bg);
  box-shadow: var(--shadow);
}

#app,
.screen {
  height: 100%;
}

.screen {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(247, 215, 123, 0.07), transparent 16rem),
    var(--bg);
}

.screen-scroll {
  overflow-y: auto;
  padding: 1.1rem 1.15rem 6.2rem;
  scrollbar-width: thin;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.4rem;
  padding: 1rem 1.15rem 0.4rem;
}

.topbar h2 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.icon-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #111;
  color: var(--gold-2);
  font-size: 1.16rem;
}

.port-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.2rem;
  height: 2.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #090806;
  font-weight: 900;
}

.port-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.port-strip button {
  min-height: 2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #151515;
  color: var(--gold-2);
  padding: 0 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.badge {
  position: absolute;
  top: -0.3rem;
  right: -0.2rem;
  display: grid;
  place-items: center;
  min-width: 1.12rem;
  height: 1.12rem;
  border-radius: 999px;
  background: var(--danger);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.pay-btn {
  min-height: 3.15rem;
  border: 0;
  border-radius: 1rem;
  font-weight: 850;
}

.primary-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold), var(--gold-dark));
  color: #090806;
  box-shadow: 0 0.75rem 1.75rem rgba(216, 168, 63, 0.2);
}

.secondary-btn {
  width: 100%;
  border: 1px solid var(--line);
  background: #151515;
  color: var(--gold-2);
}

.ghost-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-2);
  padding: 0 1rem;
}

.pay-btn {
  display: grid;
  place-items: center;
  width: 100%;
  background: #0b0b0b;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.login-card {
  margin: auto 1.15rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background: linear-gradient(180deg, #15120d, #0b0b0b);
}

.login-card h1 {
  margin: 1rem 0 0.55rem;
  font-size: 2.2rem;
  line-height: 1;
}

.login-card p,
.hint,
.mini {
  color: var(--muted);
}

.login-card p {
  margin: 0 0 1.2rem;
  line-height: 1.55;
}

.login-logo {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1.4rem;
  background: linear-gradient(145deg, #0a0a0a, #251b0b);
  color: var(--gold-2);
  font-size: 1.4rem;
  font-weight: 950;
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 0.45rem;
  margin: 0.9rem 0;
}

.field label,
.section-label {
  color: var(--gold-2);
  font-size: 0.84rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #0b0b0b;
  color: var(--text);
  padding: 0.8rem 0.9rem;
  outline: none;
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

.location-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #0b0b0b;
}

.location-card b {
  color: var(--gold-2);
}

.location-card span {
  color: var(--muted);
}

.location-card .secondary-btn {
  margin-top: 0.35rem;
}

.suggestion-list {
  display: grid;
  gap: 0.45rem;
  max-height: 16rem;
  overflow-y: auto;
  margin: -0.35rem 0 0.9rem;
  padding-right: 0.15rem;
}

.suggestion-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 2.9rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #111;
  color: var(--text);
  padding: 0 0.75rem;
  text-align: left;
}

.suggestion-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-list b {
  color: var(--gold-2);
  font-size: 0.78rem;
}

.progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.15rem 0.6rem;
  color: var(--gold-2);
  font-weight: 800;
}

.progress {
  flex: 1;
  height: 0.52rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
}

.gender-grid {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  margin: 1.4rem 0;
}

.gender-choice {
  display: grid;
  place-items: center;
  width: 10.5rem;
  height: 10.5rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #151515;
  color: var(--muted);
}

.gender-choice.active {
  background: radial-gradient(circle at 30% 20%, var(--gold-2), var(--gold) 52%, var(--gold-dark));
  color: #080806;
}

.gender-choice strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.2rem;
}

.gender-symbol {
  font-size: 3.6rem;
  line-height: 1;
}

.upload-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.75rem;
  margin: 1rem 0;
}

.photo-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 7rem;
  border: 1.5px dashed var(--gold);
  border-radius: 1rem;
  color: var(--gold-2);
  background: rgba(216, 168, 63, 0.06);
  font-size: 1.7rem;
  font-weight: 800;
}

.photo-slot.primary {
  min-height: 14.5rem;
  border-style: solid;
  background:
    radial-gradient(circle at 50% 38%, rgba(247, 215, 123, 0.38) 0 2.65rem, transparent 2.75rem),
    linear-gradient(160deg, rgba(216, 168, 63, 0.2), rgba(255, 255, 255, 0.04));
}

.photo-slot.primary b {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--gold);
  color: #090806;
  font-size: 0.78rem;
}

.photo-person {
  width: 5.8rem;
  height: 7.2rem;
  border-radius: 3rem 3rem 1rem 1rem;
  background:
    radial-gradient(circle at 50% 24%, #f0d28a 0 1.55rem, transparent 1.6rem),
    radial-gradient(ellipse at 50% 88%, #8a631b 0 3.2rem, transparent 3.25rem);
  opacity: 0.9;
}

.side-slots {
  display: grid;
  gap: 0.75rem;
}

.full-row-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.full-row-slots .photo-slot {
  min-height: 6.5rem;
}

.photo-count {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-top: 0.7rem;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-2);
  background: #111;
  font-size: 0.86rem;
  font-weight: 850;
}

.alert {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem;
  border-radius: 0.9rem;
  background: rgba(217, 80, 80, 0.16);
  color: #ffd3d3;
  border: 1px solid rgba(217, 80, 80, 0.34);
  font-weight: 700;
}

.discover-card {
  position: relative;
  min-height: 34.5rem;
  overflow: hidden;
  border-radius: 1.55rem;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.profile-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--x, 28%) 56%, rgba(247, 215, 123, 0.65) 0 4rem, transparent 4.1rem),
    radial-gradient(circle at 42% 44%, rgba(255, 255, 255, 0.24), transparent 5rem),
    linear-gradient(145deg, var(--c1), var(--c2));
  filter: saturate(1.06);
}

.discover-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 42%, rgba(0, 0, 0, 0.68));
}

.discover-info,
.discover-actions {
  position: absolute;
  z-index: 1;
}

.discover-info {
  top: 1rem;
  left: 1rem;
  right: 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0 0.65rem;
  border-radius: 999px;
  background: rgba(216, 168, 63, 0.88);
  color: #090806;
  font-size: 0.78rem;
  font-weight: 900;
}

.discover-info h1 {
  margin: 0.55rem 0 0.2rem;
  font-size: 2rem;
  text-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.5);
}

.discover-info p {
  margin: 0.28rem 0;
  font-size: 1.04rem;
  font-weight: 750;
}

.discover-actions {
  left: 0;
  right: 0;
  bottom: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}

.round-action {
  display: grid;
  place-items: center;
  width: 4.2rem;
  height: 4.2rem;
  border: 0;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 900;
}

.round-action.skip {
  background: #f3efe6;
  color: #111;
}

.round-action.whatsapp {
  background: #25d366;
  color: white;
}

.round-action.like {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #090806;
}

.bottom-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.2rem;
  min-height: 5.4rem;
  padding: 0.45rem 0.55rem 0.55rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.96);
}

.nav-item {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.15rem;
  border: 0;
  border-radius: 0.75rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.74rem;
}

.nav-item span {
  font-size: 1.35rem;
}

.nav-item.active {
  color: var(--gold-2);
}

.card,
.premium-card,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 1.05rem;
  background: rgba(19, 19, 19, 0.94);
}

.premium-card {
  padding: 1.1rem;
  background:
    linear-gradient(135deg, rgba(247, 215, 123, 0.28), rgba(216, 168, 63, 0.08)),
    #0b0b0b;
}

.premium-card h2,
.premium-card p,
.card h3,
.card p {
  margin: 0;
}

.premium-card h2 {
  color: var(--gold-2);
  font-size: 1.7rem;
}

.premium-card p,
.card p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.stat-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 0.9rem 0;
}

.stat-card,
.admin-card {
  padding: 0.9rem;
}

.stat-card strong,
.admin-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.45rem;
  color: var(--gold-2);
}

.list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.list-row {
  display: grid;
  grid-template-columns: 2.7rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: #111;
}

.avatar {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  filter: blur(var(--blur, 0));
}

.list-row h3,
.list-row p {
  margin: 0;
}

.list-row p {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.mini-action {
  min-height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #090806;
  padding: 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.number-card {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: #111;
  color: var(--gold-2);
  text-align: center;
  font-size: 1.35rem;
  font-weight: 900;
}

.likes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.like-tile {
  position: relative;
  overflow: hidden;
  min-height: 10rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 45% 38%, rgba(255, 255, 255, 0.34), transparent 3rem),
    linear-gradient(145deg, var(--a1), var(--a2));
}

.like-tile.locked {
  filter: blur(0.18rem);
}

.like-tile strong {
  position: absolute;
  left: 0.8rem;
  bottom: 0.7rem;
  color: white;
  text-shadow: 0 0.2rem 0.7rem black;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 4rem 0.5rem 1rem;
  text-align: center;
}

.empty-illustration {
  display: grid;
  place-items: center;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 215, 123, 0.24), rgba(216, 168, 63, 0.05));
  font-size: 4rem;
}

.profile-head {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 0.35rem 0 1rem;
}

.profile-photo {
  position: relative;
  display: grid;
  place-items: center;
  width: 8.4rem;
  height: 8.4rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #2a2a2a 0 3.1rem, transparent 3.2rem),
    conic-gradient(var(--gold) 0 37%, rgba(255, 255, 255, 0.13) 37% 100%);
}

.profile-photo span {
  position: absolute;
  bottom: 0.25rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  color: #090806;
  font-weight: 900;
}

.menu-list {
  display: grid;
  gap: 0.7rem;
}

.menu-item {
  display: grid;
  grid-template-columns: 2.7rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: #111;
  color: inherit;
  text-align: left;
}

.menu-item b,
.menu-item span {
  display: block;
}

.menu-item span {
  color: var(--muted);
  margin-top: 0.18rem;
  font-size: 0.86rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  align-items: end;
  background: rgba(0, 0, 0, 0.55);
}

.sheet {
  max-height: 88%;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 1.7rem 1.7rem 0 0;
  background: #0b0b0b;
  padding: 1rem 1.15rem 1.2rem;
}

.sheet-grip {
  width: 4.5rem;
  height: 0.32rem;
  border-radius: 999px;
  margin: 0 auto 0.9rem;
  background: rgba(255, 255, 255, 0.22);
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.sheet h2,
.sheet p {
  margin: 0;
}

.sheet p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  margin: 0.8rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.tab {
  min-height: 3rem;
  border: 0;
  border-bottom: 0.18rem solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.tab.active {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}

.filter-stack {
  display: grid;
  gap: 1rem;
}

.check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  padding: 0 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.check {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  color: #090806;
}

.check.active {
  background: var(--gold);
}

.range-line {
  height: 0.44rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 12%, rgba(216, 168, 63, 0.22) 12%);
}

.admin-table {
  display: grid;
  gap: 0.55rem;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: 0.8rem;
  background: #101010;
  border: 1px solid var(--line);
}

.status {
  color: var(--good);
  font-weight: 850;
}

.status.warn {
  color: var(--gold-2);
}

.screen {
  position: relative;
}

@media (max-width: 820px) {
  .app-shell {
    display: block;
    padding: 0;
  }

  .desktop-panel {
    display: none;
  }

  .phone-frame {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }
}
