/* ---------- featured banner (Home) ---------- */
.banner{
  margin-top:14px;
  border-radius:var(--radius-lg);
  padding:18px;
  min-height:190px;
  display:flex; flex-direction:column; justify-content:flex-end;
  position:relative; overflow:hidden;
  background:
    linear-gradient(0deg, rgba(5,5,8,.92) 0%, rgba(5,5,8,.35) 55%, rgba(5,5,8,.05) 100%),
    linear-gradient(135deg,#3a1350,#7b2ff7 45%,#ff2d95 100%);
  box-shadow:0 14px 34px rgba(123,47,247,.28);
}
.banner::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.16), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(255,255,255,.10), transparent 40%);
  pointer-events:none;
}
.banner .tag{ align-self:flex-start; background:rgba(255,255,255,.18); color:#fff; margin-bottom:auto; }
.banner h2{ font-size:19px; margin-top:10px; }
.banner p{ font-size:12px; color:rgba(245,245,247,.75); margin-top:6px; line-height:1.5; }
.banner-footer{ display:flex; align-items:center; justify-content:space-between; margin-top:14px; }
.banner-date{ display:flex; align-items:center; gap:6px; font-size:11.5px; color:rgba(245,245,247,.85); }
.banner-date svg{ width:15px; height:15px; }

/* ---------- categories ---------- */
.cat-row{ display:flex; justify-content:space-between; margin-top:16px; }
.cat-item{ display:flex; flex-direction:column; align-items:center; gap:8px; cursor:pointer; background:none; border:none; }
.cat-circle{
  width:54px; height:54px; border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; transition:box-shadow .15s, transform .15s;
}
.cat-circle.c1{ background:linear-gradient(135deg,#ff2d95,#c2246f); }
.cat-circle.c2{ background:linear-gradient(135deg,#7b2ff7,#4d1ba3); }
.cat-circle.c3{ background:linear-gradient(135deg,#3fa9ff,#2a72ad); }
.cat-circle.c4{ background:linear-gradient(135deg,#2ee6a8,#1ea679); }
.cat-item span{ font-size:11px; color:var(--text-2); font-weight:600; }
.cat-item.active .cat-circle{ box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--pink), 0 6px 16px rgba(255,45,149,.4); transform:translateY(-2px); }
.cat-item.active span{ color:var(--text-1); }

/* ---------- event card ---------- */
.event-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  overflow:hidden;
  margin-top:14px;
  cursor:pointer;
  transition:transform .15s, border-color .15s;
}
.event-card:active{ transform:scale(.98); }
.event-card:hover{ border-color:#3a3a48; }

/* ---------- empty state ---------- */
.empty-state{
  display:none;
  flex-direction:column; align-items:center; text-align:center;
  padding:36px 20px; color:var(--text-3);
}
.empty-state.show{ display:flex; }
.empty-state svg{ width:30px; height:30px; margin-bottom:10px; opacity:.6; }
.empty-state p{ font-size:12.5px; }

/* ---------- explore map placeholder ---------- */
.map-placeholder{
  display:none;
  margin-top:14px; border-radius:var(--radius-lg);
  height:220px; align-items:center; justify-content:center; flex-direction:column; gap:8px;
  background:
    linear-gradient(rgba(123,47,247,.10), rgba(123,47,247,.10)),
    repeating-linear-gradient(0deg, #17171f 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, #17171f 0 1px, transparent 1px 28px),
    var(--card);
  border:1px solid var(--border);
  color:var(--text-3); text-align:center; padding:20px;
}
.map-placeholder.show{ display:flex; }
.map-placeholder svg{ width:26px; height:26px; color:var(--pink); }
.map-placeholder b{ color:var(--text-1); font-size:13px; }
.map-placeholder span{ font-size:11.5px; }

.event-cover{
  height:130px; position:relative;
  display:flex; align-items:flex-start; justify-content:space-between;
  padding:12px;
}
.event-cover.g1{ background:linear-gradient(135deg,#241a3d,#7b2ff7 70%,#ff2d95); }
.event-cover.g2{ background:linear-gradient(135deg,#1c2b3d,#3fa9ff 75%,#7b2ff7); }
.event-cover.g3{ background:linear-gradient(135deg,#2b1c1c,#c2246f 70%,#ffb545); }
.event-cover.g4{ background:linear-gradient(135deg,#132a26,#1ea679 70%,#2ee6a8); }
.date-badge{
  background:rgba(5,5,8,.55); backdrop-filter:blur(4px);
  border-radius:10px; padding:6px 9px; text-align:center; line-height:1.1;
}
.date-badge b{ display:block; font-size:15px; }
.date-badge span{ font-size:9px; color:var(--text-2); text-transform:uppercase; letter-spacing:.5px; }
.fav-btn{
  width:32px; height:32px; border-radius:50%;
  background:rgba(5,5,8,.55); backdrop-filter:blur(4px);
  display:flex; align-items:center; justify-content:center;
  color:#fff; cursor:pointer; border:none;
}
.fav-btn.favorited{ color:var(--pink); }
.fav-btn.favorited svg{ fill:var(--pink); }
.event-badges{ position:absolute; left:12px; bottom:12px; display:flex; gap:6px; }

.event-body{ padding:13px 14px 15px; }
.event-body h3{ font-size:14.5px; font-weight:700; }
.meta-row{ display:flex; align-items:center; gap:5px; margin-top:7px; color:var(--text-2); font-size:11.5px; }
.meta-row svg{ width:13px; height:13px; }
.meta-row + .meta-row{ margin-top:5px; }
.event-footer{ display:flex; align-items:center; justify-content:space-between; margin-top:12px; }
.price{ font-size:14px; font-weight:800; }
.price.free{ color:var(--green); }

/* ---------- explore trending header ---------- */
.toggle-pair{ display:flex; background:var(--card); border:1px solid var(--border); border-radius:999px; padding:3px; }
.toggle-pair button{
  border:none; background:none; color:var(--text-2); padding:6px 10px; border-radius:999px;
  display:flex; align-items:center; cursor:pointer;
}
.toggle-pair button.active{ background:var(--grad); color:#fff; }
.toggle-pair svg{ width:15px; height:15px; }

/* ---------- tickets ---------- */
.tab-pair{ display:flex; gap:8px; margin-top:16px; }
.tab-pair button{
  flex:1; padding:11px; border-radius:var(--radius-sm); font-size:13px; font-weight:700;
  background:var(--card); border:1px solid var(--border); color:var(--text-2); cursor:pointer;
}
.tab-pair button.active{ background:var(--grad); color:#fff; border:none; }

.ticket-card{
  margin-top:18px; border-radius:var(--radius-lg); overflow:hidden;
  background:var(--card); border:1px solid var(--border);
  box-shadow:0 14px 30px rgba(0,0,0,.35);
}
.ticket-banner{
  height:120px; padding:14px; position:relative;
  background:linear-gradient(135deg,#2a1030,#7b2ff7 55%,#ff2d95);
  display:flex; flex-direction:column; justify-content:space-between;
}
.ticket-banner .tag{ align-self:flex-start; background:rgba(255,255,255,.22); color:#fff; }
.ticket-banner h3{ font-size:16px; }
.ticket-info{ padding:16px; }
.ticket-info .meta-row{ font-size:12.5px; }
.seat-row{ display:flex; gap:10px; margin-top:12px; }
.seat-box{
  flex:1; background:var(--card-2); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:9px 12px;
}
.seat-box span{ display:block; font-size:9.5px; color:var(--text-3); text-transform:uppercase; letter-spacing:.5px; }
.seat-box b{ font-size:13.5px; }
.ticket-divider{
  position:relative; display:flex; align-items:center; margin:16px 0;
  border-top:1.5px dashed var(--border);
}
.ticket-divider::before, .ticket-divider::after{
  content:""; position:absolute; top:-9px; width:18px; height:18px; border-radius:50%;
  background:var(--page);
}
.ticket-divider::before{ left:-30px; }
.ticket-divider::after{ right:-30px; }

/* ---------- profile ---------- */
.profile-hero{ display:flex; flex-direction:column; align-items:center; margin-top:10px; }
.avatar-wrap{ position:relative; width:88px; height:88px; }
.avatar{
  width:88px; height:88px; border-radius:50%;
  background:linear-gradient(135deg,#ffb545,#ff2d95 50%,#7b2ff7);
  padding:3px;
}
.avatar-inner{
  width:100%; height:100%; border-radius:50%;
  background:linear-gradient(160deg,#3a2a1a,#c2246f 60%,#7b2ff7);
  border:3px solid var(--bg);
}
.verified-badge{
  position:absolute; bottom:2px; right:2px; width:24px; height:24px; border-radius:50%;
  background:var(--grad); border:3px solid var(--bg);
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.verified-badge svg{ width:12px; height:12px; }
.profile-name{ display:flex; align-items:center; gap:6px; margin-top:12px; font-size:17px; font-weight:800; }
.profile-name svg{ width:16px; height:16px; color:var(--pink); }
.profile-handle{ color:var(--text-2); font-size:12.5px; margin-top:3px; }
.profile-loc{ display:flex; align-items:center; gap:4px; color:var(--text-3); font-size:11.5px; margin-top:6px; }
.profile-loc svg{ width:13px; height:13px; }
.btn-edit{
  margin-top:14px; padding:9px 20px; border-radius:999px; font-size:12.5px; font-weight:700;
  background:var(--card); border:1px solid var(--border); color:var(--text-1);
  display:flex; align-items:center; gap:6px; cursor:pointer;
}
.btn-edit svg{ width:14px; height:14px; }

.stats-row{
  display:flex; margin-top:22px; background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:16px 0;
}
.stats-row div{ flex:1; text-align:center; border-right:1px solid var(--border); }
.stats-row div:last-child{ border-right:none; }
.stats-row b{ display:block; font-size:17px; }
.stats-row span{ font-size:11px; color:var(--text-2); margin-top:3px; display:block; }

.wallet-card{
  margin-top:16px; border-radius:var(--radius-lg); padding:18px;
  background:linear-gradient(135deg,#241a3d,#7b2ff7 60%,#ff2d95);
  display:flex; align-items:center; justify-content:space-between;
  position:relative; overflow:hidden;
}
.wallet-card::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 90% 0%, rgba(255,255,255,.18), transparent 50%);
}
.wallet-left{ display:flex; align-items:center; gap:12px; z-index:1; }
.wallet-icon{
  width:42px; height:42px; border-radius:12px; background:rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.wallet-left span{ display:block; font-size:11px; color:rgba(255,255,255,.75); }
.wallet-left b{ font-size:17px; color:#fff; }
.wallet-add{
  width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.22);
  display:flex; align-items:center; justify-content:center; color:#fff; z-index:1; cursor:pointer; border:none;
}

.menu-list{ margin-top:18px; background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; }
.menu-item{
  display:flex; align-items:center; gap:12px; padding:14px 16px;
  border-bottom:1px solid var(--border); cursor:pointer;
}
.menu-item:last-child{ border-bottom:none; }
.menu-icon{
  width:34px; height:34px; border-radius:10px; background:var(--card-2);
  display:flex; align-items:center; justify-content:center; color:var(--text-1);
}
.menu-item span{ flex:1; font-size:13.5px; font-weight:600; }
.menu-badge{
  background:var(--pink); color:#fff; font-size:10px; font-weight:700;
  border-radius:999px; padding:2px 7px; margin-right:4px;
}
.menu-item svg.chev{ color:var(--text-3); width:16px; height:16px; }

.btn-logout{
  width:100%; margin-top:20px; padding:14px; border-radius:999px; border:none;
  background:linear-gradient(135deg,#ff2d95,#c2246f); color:#fff; font-weight:700; font-size:13.5px;
  display:flex; align-items:center; justify-content:center; gap:8px; cursor:pointer;
  box-shadow:0 10px 22px rgba(255,45,149,.3);
}
.btn-logout svg{ width:16px; height:16px; }
