/* ═══════════════════════════════════════════════════════════
   SHARED TOKENS
═══════════════════════════════════════════════════════════ */
:root {
  --black:  #0a0a0a;
  --black2: #111111;
  --black3: #1a1a1a;
  --card-bg:#161616;
  --red:    #e8142a;
  --red-dk: #b80f20;
  --white:  #ffffff;
  --w70:    rgba(255,255,255,0.70);
  --w40:    rgba(255,255,255,0.40);
  --w20:    rgba(255,255,255,0.12);
  --w10:    rgba(255,255,255,0.08);
  --gold:   #d4a847;
  --gold2:  #f0c060;
  --silver: #a0aec0;
  --bronze: #cd7f32;
  --green:  #22c55e;
  --border: rgba(255,255,255,0.08);
  --r:      10px;
  --r-sm:   6px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════════════════════
   MOBILE LAYOUT CODE  (base — no media query)
═══════════════════════════════════════════════════════════ */

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, #1a0a00 0%, #200a05 40%, var(--black) 100%);
  padding: 28px 16px 24px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 440px; height: 220px;
  background: radial-gradient(ellipse, rgba(212,168,71,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-trophy { font-size: 48px; margin-bottom: 10px; display: block; }
.hero-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 38px; font-weight: 800; letter-spacing: -.5px; line-height: 1;
  margin-bottom: 10px;
}
.hero-title span { color: var(--gold); }
.hero-sub {
  font-size: 13px; color: var(--w70); margin-bottom: 20px; line-height: 1.6;
  max-width: 380px; margin-left: auto; margin-right: auto;
}

/* City quick-nav pills */
.city-nav {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 4px;
}
.city-nav a {
  background: var(--w10); border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 16px;
  font-size: 12px; font-weight: 600; color: var(--w70);
  transition: all .2s; display: inline-block;
}
.city-nav a:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* Section layout */
.section {
  padding: 20px 14px;
  max-width: 1200px; margin: 0 auto;
}
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px; letter-spacing: 1.5px;
  display: flex; align-items: center; gap: 8px;
}
.section-title .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.section-title .dot-red { background: var(--red); }
.see-all {
  font-size: 12px; color: var(--red); font-weight: 600;
}
.see-all:hover { text-decoration: underline; }

.city-section-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.city-flag-big { font-size: 28px; }
.city-section-name {
  font-family: 'Inter', sans-serif;
  font-size: 24px; font-weight: 800; letter-spacing: -.3px; line-height: 1.1;
}
.city-section-sub {
  font-size: 11px; color: var(--w40); margin-top: 2px;
}

.divider { height: 1px; background: var(--border); margin: 4px 14px; }

/* ─── SPONSORED ROW (mobile = horizontal scroll) ─── */
.sponsored-scroll {
  display: flex; gap: 10px; overflow-x: auto;
  padding-bottom: 4px; scrollbar-width: none;
}
.sponsored-scroll::-webkit-scrollbar { display: none; }
.sp-card {
  flex-shrink: 0; width: 188px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; cursor: pointer;
  transition: transform .2s, border-color .2s;
  display: block; color: inherit; position: relative;
}
.sp-card:hover { transform: translateY(-2px); border-color: rgba(212,168,71,.5); }
.sp-img {
  width: 100%; height: 120px; object-fit: cover; display: block;
  background: linear-gradient(135deg,#2a1a1a,#1a0a0a);
}
.sp-badge-row {
  position: absolute; top: 6px; left: 6px;
  display: flex; gap: 3px; flex-wrap: wrap;
}
.sp-body { padding: 9px 10px 11px; }
.sp-name {
  font-size: 12px; font-weight: 700; line-height: 1.2;
  margin-bottom: 3px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.sp-meta { font-size: 10px; color: var(--w40); margin-bottom: 5px; }
.sp-foot { display: flex; align-items: center; justify-content: space-between; }
.sp-rating {
  display: flex; align-items: center; gap: 2px;
  font-size: 11px; font-weight: 600;
}
.stars { color: var(--gold); font-size: 10px; }
.visits {
  font-size: 10px; color: var(--w40);
  background: var(--w10); padding: 2px 6px; border-radius: 10px;
}

/* ─── BADGES ─── */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 7px; border-radius: 4px;
  font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px;
  backdrop-filter: blur(4px); line-height: 1.5;
}
.b-sp  { background: linear-gradient(135deg, #d4a847, #f5d784, #d4a847); color: #1a1000; text-shadow: 0 1px 0 rgba(255,255,255,.25); box-shadow: 0 1px 4px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.3); }
.b-dl  { background: rgba(34,197,94,.92);  color: #000; }
.b-nw  { background: rgba(99,102,241,.92); color: #fff; }

/* ─── AWARD BANNER above card ─── */
.award-wrap { margin-bottom: 10px; }
.award-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(90deg, #2a1e00, #3a2800);
  border: 1px solid rgba(212,168,71,.3);
  border-radius: 6px; padding: 5px 12px;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--gold);
}
.award-label.silver {
  background: linear-gradient(90deg,#1a1e26,#252d36);
  border-color: rgba(160,174,192,.3);
  color: var(--silver);
}
.award-label.bronze {
  background: linear-gradient(90deg,#200e00,#2e1500);
  border-color: rgba(205,127,50,.3);
  color: var(--bronze);
}
.award-label.editor {
  background: linear-gradient(90deg,#1a001a,#2a002a);
  border-color: rgba(232,20,42,.3);
  color: #ff6b8a;
}

/* ─── EDITORIAL CARD (best-of listing) ─── */
.edit-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  transition: border-color .2s; display: block; color: inherit;
  margin-bottom: 12px;
}
.edit-card:hover { border-color: rgba(212,168,71,.4); }

/* Mobile: stacked (image top, content below) */
.edit-card-img {
  width: 100%; height: 190px; object-fit: cover; display: block;
  background: linear-gradient(135deg,#2a1a1a,#1a0a0a);
  position: relative;
}
.edit-card-img-wrap { position: relative; }
.edit-rank {
  position: absolute; top: 10px; left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 32px; line-height: 1;
  color: var(--gold); text-shadow: 0 2px 8px rgba(0,0,0,.8);
}
.edit-card-body { padding: 12px 14px 14px; }
.edit-cat {
  font-size: 10px; font-weight: 700; color: var(--w40);
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px;
}
.edit-name {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.1;
  margin-bottom: 6px;
}
.edit-tagline {
  font-size: 12px; color: var(--w70); line-height: 1.55;
  margin-bottom: 10px; font-style: italic;
  border-left: 2px solid var(--gold); padding-left: 10px;
}
.edit-tagline.red-line { border-left-color: var(--red); }
.edit-info {
  display: flex; flex-direction: column; gap: 5px;
  margin-bottom: 10px;
}
.edit-info-row {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 11px; color: var(--w70);
}
.edit-info-row .ico { font-size: 12px; flex-shrink: 0; margin-top: 1px; }
.edit-foot {
  display: flex; align-items: center; gap: 10px;
  padding-top: 10px; border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.edit-rating {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700;
}
.edit-rev { font-size: 11px; color: var(--w40); }
.edit-vis {
  font-size: 11px; color: var(--w40);
  background: var(--w10); padding: 2px 8px; border-radius: 10px;
  margin-left: auto;
}
.edit-card-badges {
  display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px;
}
.btn-view-listing {
  display: inline-block; background: var(--red); color: var(--white);
  border-radius: 6px; padding: 6px 14px; font-size: 11px; font-weight: 700;
  transition: background .2s;
}
.btn-view-listing:hover { background: var(--red-dk); }

/* Bottom nav */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--black2); border-top: 1px solid var(--border);
  display: flex; padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.bnav-item {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 2px; cursor: pointer;
  color: var(--w40); text-decoration: none; transition: color .2s;
}
.bnav-item.active { color: var(--red); }
.bi { font-size: 20px; }
.bl { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.bn-spacer { height: 70px; }


/* ═══════════════════════════════════════════════════════════
   DESKTOP LAYOUT CODE  (≥ 768px)
═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Hide mobile-only */
  .bottom-nav, .bn-spacer { display: none !important; }

  /* Hero */
  .hero { padding: 40px 24px 32px; }
  .hero-title { font-size: 56px; }
  .hero-trophy { font-size: 60px; }
  .hero-sub { font-size: 14px; }
  .city-nav a { padding: 8px 20px; font-size: 13px; }

  /* Sections */
  .section { padding: 28px 24px; }
  .divider { margin: 0 24px; }
  .section-title { font-size: 24px; }
  /* .city-section-name { font-size: 34px; } */

  /* Sponsored: DESKTOP = 2-col wide cards */
  .sponsored-scroll {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    overflow: visible;
  }
  .sp-card { width: auto; }
  .sp-img { height: 140px; }

  /* Editorial cards: DESKTOP = 2-col grid */
  .edit-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
  }
  .edit-card { margin-bottom: 0; }
  .edit-card-img { height: 220px; }
  .edit-name { font-size: 22px; }
}

@media (min-width: 1024px) {
  .sponsored-scroll { grid-template-columns: repeat(4, 1fr); }
  .edit-cards-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 479px) {
  .hero-title { font-size: 30px; }
  .hero-trophy { font-size: 40px; }
  .edit-card-img { height: 160px; }
}
