:root{
  --bg:#080a0f;
  --surface:#11141b;
  --surface2:#171a22;
  --line:#242832;
  --text:#f7f7f8;
  --muted:#8f96a3;
  --purple:#8b35ff;
  --pink:#dc37d7;
  --orange:#ff7a2f;
  --green:#4ee381;
  --safe:env(safe-area-inset-bottom);
}

*{
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent;
}

html,body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body{
  min-height:100vh;
}

button,input,textarea{
  font:inherit;
}

button{
  color:inherit;
}

#app{
  width:100%;
  max-width:600px;
  margin:auto;
  min-height:100vh;
  background:
    radial-gradient(circle at 85% 4%,rgba(139,53,255,.13),transparent 27%),
    var(--bg);
}

.topbar{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 20px;
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(8,10,15,.88);
  backdrop-filter:blur(18px);
}

.brand{
  display:flex;
  gap:9px;
  align-items:center;
  font-size:19px;
  font-weight:800;
}

.brand span{
  background:linear-gradient(90deg,var(--pink),var(--orange));
  color:transparent;
  background-clip:text;
}

.brand-icon{
  color:var(--pink);
  font-size:28px;
  transform:rotate(-20deg);
}

.icon-btn{
  border:0;
  background:transparent;
  font-size:19px;
}

main{
  padding-bottom:105px;
}

.page{
  display:none;
  padding:5px 18px 30px;
}

.page.active{
  display:block;
  animation:appear .25s ease;
}

@keyframes appear{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:1;transform:none}
}

.hero{
  padding:30px 2px 24px;
}

.eyebrow,
.page-heading small,
.section-title small{
  font-size:11px;
  letter-spacing:1.5px;
  color:var(--muted);
  font-weight:800;
}

.hero h1{
  font-size:42px;
  line-height:1.04;
  letter-spacing:-1.8px;
  margin:8px 0 12px;
  max-width:390px;
}

.hero h1 span{
  background:linear-gradient(90deg,var(--pink),var(--orange));
  color:transparent;
  background-clip:text;
}

.hero p,
.page-heading p{
  color:var(--muted);
  margin:0;
  line-height:1.5;
}

.search-box{
  display:flex;
  height:64px;
  align-items:center;
  gap:10px;
  background:var(--surface);
  border:1px solid #292d37;
  border-radius:22px;
  padding:8px 10px 8px 18px;
  box-shadow:0 14px 35px rgba(0,0,0,.25);
}

.search-icon{
  font-size:24px;
}

.search-box input{
  flex:1;
  min-width:0;
  background:transparent;
  border:0;
  outline:0;
  color:white;
  font-size:15px;
}

.search-box input::placeholder{
  color:#6f7580;
}

.voice{
  width:47px;
  height:47px;
  border-radius:16px;
  border:0;
  background:linear-gradient(145deg,#7025ed,#dc38bc);
  font-size:20px;
}

.quick-actions{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:6px;
  margin:22px -3px 32px;
}

.quick-actions button{
  background:transparent;
  border:0;
  font-size:21px;
  padding:5px 0;
}

.quick-actions span{
  display:block;
  font-size:10px;
  margin-top:6px;
  color:#b5bac4;
}

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin-bottom:14px;
}

.section-title h2{
  margin:3px 0 0;
  font-size:21px;
}

.text-button{
  background:transparent;
  border:0;
  color:#c69cff;
  font-size:13px;
}

.cards{
  display:flex;
  gap:12px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  padding-bottom:10px;
}

.cards::-webkit-scrollbar{display:none}

.card{
  min-width:245px;
  background:var(--surface);
  border:1px solid #20242c;
  border-radius:20px;
  overflow:hidden;
  scroll-snap-align:start;
}

.card-image{
  height:145px;
  position:relative;
  background-size:cover;
  background-position:center;
}

.steak{
  background:
    radial-gradient(circle at 55% 50%,#a95b37 0 10%,#6d2e20 11% 22%,transparent 23%),
    linear-gradient(145deg,#301b17,#111);
}

.food{
  background:
    radial-gradient(circle at center,#df9c35,#754016 34%,#18110d 36%);
}

.event{
  background:
    radial-gradient(circle at 50% 35%,#9d2aff,transparent 12%),
    linear-gradient(150deg,#101c42,#48135e,#080a0f);
}

.live{
  position:absolute;
  left:10px;
  bottom:10px;
  background:rgba(10,16,12,.82);
  color:var(--green);
  padding:5px 8px;
  border-radius:10px;
  font-size:9px;
  font-weight:800;
}

.card-image button{
  position:absolute;
  right:10px;
  top:10px;
  width:34px;
  height:34px;
  border-radius:50%;
  border:0;
  background:rgba(0,0,0,.5);
}

.card-body{
  padding:14px;
}

.card-body small{
  color:#8f96a3;
  font-size:9px;
}

.card-body h3{
  margin:5px 0 3px;
  font-size:17px;
}

.card-body p{
  margin:0;
  color:#a1a6af;
  font-size:12px;
}

.card-footer{
  display:flex;
  justify-content:space-between;
  margin-top:14px;
  font-size:13px;
}

.card-footer span{
  color:#f4b44a;
}

.now-banner{
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:22px;
  padding:18px;
  background:linear-gradient(110deg,rgba(139,53,255,.13),rgba(255,122,47,.07));
  border:1px solid #272b35;
  border-radius:20px;
}

.now-banner strong span{
  color:var(--orange);
}

.now-banner p{
  margin:4px 0 0;
  font-size:12px;
  color:var(--muted);
}

.pulse{
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 8px rgba(78,227,129,.08);
}

.page-heading{
  padding:28px 2px 20px;
}

.page-heading h2{
  font-size:30px;
  letter-spacing:-1px;
  margin:6px 0 8px;
}

.filter-row{
  display:flex;
  gap:8px;
  overflow:auto;
  padding-bottom:15px;
}

.filter-row button{
  white-space:nowrap;
  background:#141821;
  border:1px solid #262b35;
  border-radius:20px;
  padding:9px 14px;
  font-size:12px;
}

.filter-row .selected{
  background:#5724c9;
}

.fake-map{
  height:480px;
  position:relative;
  overflow:hidden;
  border-radius:25px;
  border:1px solid #262b35;
  background:#0e1420;
}

.map-grid{
  position:absolute;
  inset:0;
  opacity:.35;
  background-image:
    linear-gradient(28deg,transparent 48%,#46505d 49%,#46505d 51%,transparent 52%),
    linear-gradient(100deg,transparent 48%,#323b48 49%,#323b48 51%,transparent 52%);
  background-size:90px 110px,120px 80px;
}

.you{
  position:absolute;
  left:48%;
  top:46%;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#285cff;
  box-shadow:0 0 0 14px rgba(40,92,255,.15);
}

.pin{
  position:absolute;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:14px 14px 14px 3px;
  background:#8b35ff;
  transform:rotate(-45deg);
}

.pin::first-letter{
  transform:rotate(45deg);
}

.p1{left:20%;top:25%;background:#ff6f35}
.p2{right:18%;top:19%;background:#e6387c}
.p3{right:20%;top:55%}
.p4{left:16%;top:63%;background:#2678ed}

.map-info{
  position:absolute;
  bottom:14px;
  left:14px;
  right:14px;
  background:rgba(13,16,22,.94);
  padding:16px;
  border-radius:16px;
}

.map-info span{
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:4px;
}

.publish-card{
  background:var(--surface);
  border:1px solid var(--line);
  padding:18px;
  border-radius:22px;
}

.publish-card label{
  display:block;
  margin:12px 0 8px;
  font-size:12px;
  font-weight:700;
}

textarea{
  width:100%;
  min-height:120px;
  resize:none;
  border:1px solid #2c303a;
  background:#0d1016;
  color:white;
  border-radius:16px;
  padding:14px;
  outline:0;
}

.type-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.type-grid button{
  background:#0d1016;
  border:1px solid #2a2e38;
  border-radius:14px;
  padding:14px 4px;
  font-size:20px;
}

.type-grid span{
  display:block;
  font-size:10px;
  margin-top:6px;
}

.location-button{
  width:100%;
  background:#0d1016;
  border:1px solid #2a2e38;
  border-radius:14px;
  text-align:left;
  padding:15px;
}

.primary{
  width:100%;
  border:0;
  border-radius:15px;
  padding:16px;
  margin-top:18px;
  font-weight:800;
  background:linear-gradient(90deg,#6d27e8,#9b2bea);
}

.alert-card{
  display:flex;
  align-items:center;
  gap:13px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  padding:15px;
  margin-bottom:10px;
}

.alert-card>div{
  font-size:25px;
}

.alert-card section{
  flex:1;
}

.alert-card p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:11px;
}

.profile{
  text-align:center;
  padding:40px 0 25px;
}

.avatar{
  margin:auto;
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:linear-gradient(145deg,var(--purple),var(--orange));
  font-size:30px;
  font-weight:900;
}

.profile h2{
  margin-bottom:5px;
}

.profile p{
  margin-top:0;
  color:var(--muted);
}

.menu-list{
  overflow:hidden;
  border-radius:20px;
  border:1px solid var(--line);
}

.menu-list button{
  width:100%;
  display:flex;
  gap:12px;
  border:0;
  border-bottom:1px solid var(--line);
  background:var(--surface);
  padding:17px;
  text-align:left;
}

.menu-list button:last-child{
  border-bottom:0;
}

.menu-list span{
  flex:1;
}

.bottom-nav{
  position:fixed;
  z-index:30;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:min(100%,600px);
  height:calc(74px + var(--safe));
  padding:7px 10px var(--safe);
  display:grid;
  grid-template-columns:repeat(5,1fr);
  background:rgba(12,14,20,.96);
  border-top:1px solid #252932;
  backdrop-filter:blur(20px);
}

.nav{
  border:0;
  background:transparent;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:3px;
  color:#747b87;
}

.nav span{
  font-size:22px;
}

.nav small{
  font-size:9px;
}

.nav.active{
  color:#b77cff;
}

.publish-nav span{
  width:52px;
  height:52px;
  margin-top:-23px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#6f27e8,#ad2bd2);
  color:white;
  font-size:30px;
  box-shadow:0 8px 25px rgba(139,53,255,.35);
}

@media(min-width:700px){
  body{
    background:#050609;
  }

  #app{
    border-left:1px solid #20232b;
    border-right:1px solid #20232b;
  }
}
