/* ==========================================================================
   MagazineX — magazinex.co.za
   Model of the Year design system
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #14131a;
  --ink-soft: #3d3b46;
  --ink-faint: #77747f;
  --paper: #f6f2ea;
  --paper-dark: #ece5d8;
  --card: #ffffff;
  --line: #e0d8c8;
  --accent: #ff4d00;
  --accent-dark: #d63c00;
  --gold: #f0a828;
  --winner: #0e5c3f;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(20, 19, 26, 0.08);
  --shadow-md: 0 10px 30px rgba(20, 19, 26, 0.14);
  --shadow-lg: 0 24px 60px rgba(20, 19, 26, 0.22);
  --font-display: "Archivo Black", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
  --container: 1160px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: 4.5rem 0; }
.section--tint { background: var(--paper-dark); }

.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.section-head h2, .section-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-head p { margin-top: 0.8rem; color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 19, 26, 0.96);
  backdrop-filter: blur(8px);
  color: #f4f1ea;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.logo span { color: var(--accent); }
.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.main-nav ul { display: flex; gap: 0.4rem; }
.main-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #cfccc4;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.main-nav a.active { color: var(--accent); }

.nav-toggle { display: none; padding: 0.5rem; }
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #f4f1ea;
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 77, 0, 0.35); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border: 2px solid currentColor; color: inherit; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #f4f1ea;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url("../images/hero.jpg") center 35% / cover no-repeat;
  opacity: 0.55;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,19,26,0.95) 25%, rgba(20,19,26,0.35) 70%, rgba(20,19,26,0.15));
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 7rem;
  max-width: 620px;
}
.hero .eyebrow { color: var(--gold); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { margin: 1.2rem 0 2rem; font-size: 1.08rem; color: #d8d4ca; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-actions .btn--ghost { color: #f4f1ea; }
.hero-actions .btn--ghost:hover { background: #f4f1ea; color: var(--ink); border-color: #f4f1ea; }

/* ---------- Ticker strip ---------- */
.ticker {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.65rem 0;
}
.ticker span { display: inline-block; padding-right: 3rem; animation: ticker 22s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1.1;
}
.stat span { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Vote cards ---------- */
.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}
.vote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.vote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vote-card.is-picked { border: 2px solid var(--accent); }
.vote-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.vote-card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.vote-card h3 { font-size: 1.02rem; line-height: 1.25; }
.vote-card .spec { font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 0.7rem; }
.vote-card .btn { margin-top: auto; }
.vote-card .picked-note { color: var(--accent); font-weight: 700; font-size: 0.85rem; text-align: center; }

/* ---------- Results ---------- */
.results { margin-top: 2.5rem; }
.results-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.results-head h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
}
.results-head .hint { font-size: 0.82rem; color: var(--ink-faint); }
.result-row { margin-bottom: 0.9rem; }
.result-row .labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
}
.result-row .labels b { font-weight: 700; }
.result-row .labels .pct { color: var(--accent); font-weight: 700; }
.bar {
  height: 10px;
  background: var(--paper-dark);
  border-radius: 999px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff8a3d);
  border-radius: 999px;
  width: 0;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.result-row.is-leader .bar i { background: linear-gradient(90deg, var(--gold), #ffd166); }
.result-row.is-leader .labels .pct { color: var(--gold); }
.vote-note {
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-faint);
}
.vote-note.success { color: var(--winner); font-weight: 600; }

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--paper-dark);
  -webkit-text-stroke: 1.5px var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.photo-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.photo-card figure { position: relative; overflow: hidden; }
.photo-card figure { background: var(--paper-dark, #efeae4); }
.photo-card img { display: block; width: 100%; aspect-ratio: 3 / 4; height: auto; object-fit: contain; object-position: center; cursor: zoom-in; }
.photo-card .badge {
  position: absolute;
  top: 0.7rem; left: 0.7rem;
  background: rgba(20, 19, 26, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}
.photo-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
}
.photo-card-body h3 { font-size: 0.95rem; font-weight: 600; }
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.like-btn:hover { border-color: var(--accent); color: var(--accent); }
.like-btn.liked { background: var(--accent); border-color: var(--accent); color: #fff; }
.like-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* gallery preview on home */
.gallery-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery-preview figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.gallery-preview img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 14, 19, 0.92);
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.lightbox figcaption {
  position: absolute;
  bottom: 2rem; left: 0; right: 0;
  text-align: center;
  color: #e8e4da;
  font-weight: 600;
}
.lightbox-close {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  padding: 0.4rem 0.8rem;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.4rem;
  padding: 0.6rem 1rem;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-nav.prev { left: 0.6rem; }
.lightbox-nav.next { right: 0.6rem; }

/* ---------- Winner page ---------- */
.winner-hero {
  background: radial-gradient(ellipse at 20% 0%, #1d3a2d 0%, var(--ink) 60%);
  color: #f4f1ea;
}
.winner-hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  padding: 5.5rem 0;
}
.winner-hero .eyebrow { color: var(--gold); }
.winner-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.04;
  text-transform: uppercase;
}
.winner-hero h1 em { font-style: normal; color: var(--gold); }
.winner-hero p { margin-top: 1rem; color: #d8d4ca; max-width: 480px; }
.winner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.1rem;
}
.winner-photo img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.12);
}
.verdict-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.verdict-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.verdict-card .score {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--winner);
}
.verdict-card h3 { margin: 0.3rem 0 0.4rem; font-size: 1rem; }
.verdict-card p { font-size: 0.9rem; color: var(--ink-soft); }
.runner-up-list { border-top: 1px solid var(--line); }
.runner-up {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.runner-up img {
  width: 84px; height: 84px;
  object-fit: cover;
  border-radius: 12px;
}
.runner-up .rank {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink-faint);
  width: 2.2rem;
}
.runner-up h3 { font-size: 1rem; }
.runner-up span { font-size: 0.84rem; color: var(--ink-faint); }
.quote {
  background: var(--ink);
  color: #f4f1ea;
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.quote blockquote {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}
.quote blockquote::before { content: "\201C"; color: var(--gold); font-size: 2.2rem; display: block; }
.quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card .icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: rgba(255, 77, 0, 0.1);
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.contact-card .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.contact-card p, .contact-card a { font-size: 0.94rem; color: var(--ink-soft); }
.contact-card a { display: block; margin-top: 0.25rem; font-weight: 600; color: var(--accent); }
.contact-card a:hover { text-decoration: underline; }
.map-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: var(--ink);
  color: #f4f1ea;
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.map-cta h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.3rem; }
.map-cta p { color: #cfccc4; font-size: 0.92rem; margin-top: 0.3rem; }
.map-cta .btn { background: var(--accent); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent), #ff7a29);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.cta-band h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}
.cta-band p { margin: 0.7rem auto 1.6rem; max-width: 480px; color: rgba(255,255,255,0.9); }
.cta-band .btn { background: var(--ink); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b9b5ac;
  padding: 3.5rem 0 1.5rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer .logo { color: #f4f1ea; margin-bottom: 0.8rem; display: inline-block; }
.footer-about p { max-width: 320px; }
.footer-col h4 {
  color: #f4f1ea;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.4rem;
  font-size: 0.82rem;
  color: #8a877f;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .verdict-grid, .contact-grid { grid-template-columns: 1fr; }
  .winner-hero .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-preview { grid-template-columns: 1fr 1fr; }
  .gallery-preview figure:last-child { display: none; }
}

@media (max-width: 640px) {
  .main-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--ink);
    padding: 0.6rem 1.25rem 1.25rem;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav-open .main-nav { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0.2rem; }
  .main-nav a { padding: 0.8rem 1rem; font-size: 1rem; }
  .nav-toggle { display: block; }
  .hero-inner { padding: 4.5rem 0 5rem; }
  .section { padding: 3.2rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: 1fr; }
  .gallery-preview figure:last-child { display: block; }
  .quote { padding: 1.8rem 1.4rem; }
}

/* ==========================================================================
   White theme overrides
   ========================================================================== */
:root { --paper: #ffffff; --paper-dark: #f5f5f7; --line: #e6e6ea; }
body { background: #fff; }
.site-header { background: rgba(255,255,255,0.96); color: var(--ink); border-bottom: 1px solid var(--line); }
.main-nav a { color: var(--ink-soft); }
.main-nav a:hover { color: var(--ink); background: var(--paper-dark); }
.nav-toggle span { background: var(--ink); }
.hero { background: #fff; color: var(--ink); }
.hero-media { opacity: 1; }
.hero::after { background: linear-gradient(100deg, rgba(255,255,255,0.97) 30%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0.1)); }
.hero .eyebrow { color: var(--accent); }
.hero p { color: var(--ink-soft); }
.hero-actions .btn--ghost { color: var(--ink); }
.hero-actions .btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.map-cta { background: var(--paper-dark); color: var(--ink); }
.map-cta p { color: var(--ink-soft); }
.site-footer { background: var(--paper-dark); color: var(--ink-soft); border-top: 1px solid var(--line); }
.site-footer .logo, .footer-col h4 { color: var(--ink); }
.footer-grid { border-bottom-color: var(--line); }
.footer-bottom { color: var(--ink-faint); }
@media (max-width: 640px) { .main-nav { background: #fff; } }

/* Vote counter + bump */
.vote-card-body { position: relative; }
.vote-count { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 0.7rem; }
.vote-count b { color: var(--ink); font-size: 1.05rem; }
.vote-bump {
  position: absolute; right: 1rem; bottom: 3.2rem;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--accent);
  pointer-events: none; animation: mx-bump 0.9s ease-out forwards;
}
@keyframes mx-bump { 0% { opacity: 0; transform: translateY(10px) scale(0.8); } 20% { opacity: 1; transform: translateY(0) scale(1.1); } 100% { opacity: 0; transform: translateY(-40px) scale(1); } }

/* Prices & rewards */
.prize-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.prize-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.prize-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prize-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.prize-media img { width: 100%; height: 100%; object-fit: cover; }
.prize-rank { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: var(--ink); font-weight: 700; border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 0.85rem; }
.prize-body { padding: 1.4rem; }
.prize-body h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.2rem; margin-bottom: 0.5rem; }
.prize-body p { color: var(--ink-soft); font-size: 0.93rem; }
@media (max-width: 900px) { .prize-grid { grid-template-columns: 1fr; } }

/* Model portraits */
.vote-card img { aspect-ratio: 4 / 5 !important; height: auto !important; object-fit: cover; object-position: top; }
.photo-card img { object-position: center; }

/* Two models per row */
.vote-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1.5rem; max-width: 820px; margin-inline: auto; }


/* WhatsApp button */
.btn--whatsapp { background: #25D366; color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; margin-top: 0.6rem !important; }
.btn--whatsapp:hover { background: #1ebe5b; color: #fff; }
.vote-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Competitive questions */
.quiz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 820px; margin-inline: auto; }
.quiz-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.2rem; }
.quiz-card h3 { font-size: 1.05rem; margin-bottom: 0.8rem; }
.quiz-options { display: grid; gap: 0.6rem; }
.quiz-opt { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; text-align: left; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; overflow: hidden; }
.quiz-opt:hover:not(:disabled) { border-color: var(--accent); }
.quiz-opt:disabled { cursor: default; }
.quiz-opt.is-picked { border: 2px solid var(--accent); }
.quiz-pct { color: var(--accent); font-weight: 700; }
.quiz-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--paper-dark); }
.quiz-bar i { display: block; height: 100%; background: var(--accent); }
.quiz-foot { margin-top: 0.7rem; font-size: 0.8rem; color: var(--ink-faint); }
@media (max-width: 640px) { .quiz-grid { grid-template-columns: 1fr; } }

.wa-title { margin-top: 0.8rem; font-weight: 700; font-size: 0.9rem; text-align: center; color: var(--ink); }
.wa-title + .btn--whatsapp { margin-top: 0.4rem !important; }
.sponsored-link { text-align: center; margin-top: 1.5rem; }
.sponsored-link small { display:block; color: var(--ink-faint); margin-bottom: .4rem; }
