body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont;
  background:#fafafa;
}
.header{
  padding:16px;
  font-size:22px;
  font-weight:600;
}
.circles{
  display:flex;
  gap:10px;
  padding:10px;
  overflow-x:auto;
}
.circles span{
  background:#fff;
  padding:8px 14px;
  border-radius:20px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
}
.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  padding:12px;
}
.card{
  background:#fff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(0,0,0,.1);
}
.card img{
  width:100%;
  height:220px;
  object-fit:cover;
}
.meta{
  padding:10px;
}
.cta{
  position:fixed;
  bottom:0;
  width:100%;
  background:#fff;
  padding:12px;
  box-shadow:0 -2px 10px rgba(0,0,0,.15);
}
.cta a{
  display:block;
  text-align:center;
  background:#000;
  color:#fff;
  padding:14px;
  border-radius:30px;
  text-decoration:none;
}
/* ===== GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 16px;
}

/* ===== CARD ===== */
.card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  background: #000;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== OVERLAY ===== */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.65) 0%,
    rgba(0,0,0,.15) 40%,
    rgba(0,0,0,0) 70%
  );
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.overlay .info {
  color: #fff;
}

.overlay .name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

/* ===== BADGE ===== */
.badge {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 12px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
}

.badge.golden {
  background: linear-gradient(135deg,#c9a24d,#f3d27a);
  color:#000;
}

.badge.starter {
  background: rgba(255,255,255,.25);
}

.badge.luxury {
  background: linear-gradient(135deg,#111,#444);
}

/* ===== CIRCLES / DISCOVER ===== */
.circles {
  display: flex;
  justify-content: space-around;
  padding: 16px 12px 6px;
}

.circle {
  text-align: center;
  width: 64px;
}

.circle span {
  width: 52px;
  height: 52px;
  background: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 6px;
}

.circle small {
  font-size: 11px;
  color: #444;
}

/* ===== HEADER ===== */
.header h1 {
  font-size: 32px;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 14px;
  color: #666;
}

/* ===== CTA ===== */
.cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  padding: 14px;
}

.cta-btn {
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.75),transparent 60%);
  display:flex;
  align-items:flex-end;
  padding:14px;
}

.name{
  font-family: Inter, system-ui, sans-serif;
  color:#fff;
  font-weight:700;
  font-size:15px;
}

.badge{
  margin-top:6px;
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:11px;
  background:rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  color:#fff;
}
.join-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:999;
}

.join-modal.hidden{
  display:none;
}

.join-box{
  background:#fff;
  padding:22px;
  border-radius:18px;
  width:90%;
  max-width:320px;
  text-align:center;
}

.join-actions{
  display:flex;
  gap:12px;
  margin-top:18px;
}

.join-actions button{
  flex:1;
  padding:10px;
  border-radius:10px;
  border:none;
  cursor:pointer;
}

.join-actions .primary{
  background:#111827;
  color:#fff;
}
.circles { display:flex; gap:14px; justify-content:space-between; padding:10px 16px; }
.circle { border:0; background:#f3f4f6; border-radius:999px; padding:12px 14px; cursor:pointer; }
.circle.active { background:#111827; color:#fff; }
.circle-ico { font-size:18px; display:block; line-height:1; }
.circle-name { display:block; margin-top:6px; font-size:12px; }

.join-modal{ position:fixed; inset:0; background:rgba(0,0,0,.45); display:flex; align-items:center; justify-content:center; z-index:99999; }
.join-modal.hidden{ display:none; }
.join-box{ background:#fff; padding:22px; border-radius:18px; width:min(92vw, 340px); text-align:center; }
.join-actions{ display:flex; gap:12px; margin-top:18px; }
.join-actions button{ flex:1; padding:10px; border-radius:10px; border:0; cursor:pointer; }
.join-actions .primary{ background:#111827; color:#fff; }
