/* ============================================================
   NETÓN VEGA — AMA VOTE SITE
   Aesthetic: Dark corridos — matte black, aged gold, raw earth
   ============================================================ */

:root {
  --black:      #0a0908;
  --dark:       #111010;
  --mid:        #1c1a18;
  --border:     #2a2723;
  --gold:       #c9a227;
  --gold-light: #e5c060;
  --gold-dim:   #7a6118;
  --cream:      #f0e8d8;
  --cream-dim:  #a89880;
  --red:        #8b1a1a;
  --red-light:  #c0392b;
  --white:      #faf8f4;

  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Crimson Pro', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- NOISE TEXTURE OVERLAY ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ---- LANGUAGE BAR ---- */
.lang-bar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(10,9,8,0.9);
  border-bottom-left-radius: 6px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--cream-dim);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--gold);
}

.lang-sep { color: var(--border); font-size: 0.8rem; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,162,39,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(139,26,26,0.12) 0%, transparent 60%),
    var(--black);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--black));
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.award-badge {
  display: inline-block;
  border: 1px solid var(--gold-dim);
  padding: 0.4rem 1.2rem;
  margin-bottom: 2rem;
  animation: fadeDown 0.8s ease both;
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 300;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 14rem);
  line-height: 0.85;
  color: var(--white);
  letter-spacing: -0.02em;
  animation: fadeUp 0.9s ease 0.1s both;
}

.name-vega {
  color: var(--gold);
  display: block;
  -webkit-text-stroke: 2px var(--gold);
  text-shadow: 0 0 60px rgba(201,162,39,0.3);
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 2vw, 1rem);
  letter-spacing: 0.3em;
  color: var(--cream-dim);
  margin-top: 1.5rem;
  font-weight: 300;
  animation: fadeUp 0.9s ease 0.2s both;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: var(--gold-dim);
  margin: 1.5rem auto;
  animation: expand 0.8s ease 0.4s both;
}

.hero-desc {
  font-style: italic;
  color: var(--cream-dim);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto;
  animation: fadeUp 0.9s ease 0.3s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold-dim);
  font-size: 1.2rem;
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
}

/* ---- COUNTER STRIP ---- */
.counter-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1rem;
  flex-wrap: wrap;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
  gap: 0.3rem;
}

.counter-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.05em;
}

.counter-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--cream-dim);
  font-weight: 300;
  text-transform: uppercase;
}

.counter-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* ---- VOTE SECTION ---- */
.vote-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  position: relative;
}

.step-card {
  background: var(--dark);
  border: 1px solid var(--border);
  padding: 3rem 2.5rem;
  position: relative;
  margin-bottom: 2rem;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.step-num {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--border);
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  pointer-events: none;
}

.step-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.step-desc {
  color: var(--cream-dim);
  font-size: 1rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* ---- METHOD GRID ---- */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) { .method-grid { grid-template-columns: 1fr; } }

.method-card {
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  position: relative;
  text-align: center;
}

.method-card:hover {
  border-color: var(--gold-dim);
  background: rgba(201,162,39,0.04);
  transform: translateY(-2px);
}

.method-card.selected {
  border-color: var(--gold);
  background: rgba(201,162,39,0.07);
}

.method-icon {
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.method-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.method-desc {
  font-size: 0.9rem;
  color: var(--cream-dim);
  font-style: italic;
  margin-bottom: 1rem;
}

.method-badge {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  background: var(--gold);
  color: var(--black);
  padding: 0.2rem 0.6rem;
  font-weight: 700;
  display: inline-block;
}

.method-badge-alt {
  background: var(--red);
  color: var(--cream);
}

/* ---- INSTAGRAM FLOW ---- */
.ig-status-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
}

.ig-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dim);
  overflow: hidden;
  flex-shrink: 0;
}

.ig-avatar img { width: 100%; height: 100%; object-fit: cover; }

.ig-info { display: flex; flex-direction: column; gap: 0.2rem; }

.ig-handle {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--cream);
  font-style: italic;
}

.ig-votes-display {
  font-size: 0.85rem;
  color: var(--gold);
}

/* ---- BUTTONS ---- */
.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-row-stack {
  flex-direction: column;
  align-items: stretch;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ama { background: var(--red); color: var(--white); }
.btn-ama:hover { background: var(--red-light); }

.btn-ghost {
  background: transparent;
  color: var(--cream-dim);
  border: 1px solid var(--border);
  padding: 0.85rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold); }

/* ---- VOTE PANEL ---- */
.vote-panel { margin-top: 2rem; }

.vote-progress-wrap { margin-bottom: 1.5rem; }

.vote-progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.vote-progress-bar {
  height: 4px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.vote-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

.btn-vote {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold) 50%, var(--gold-light) 100%);
  background-size: 200% 200%;
  border: none;
  padding: 1.2rem;
  cursor: pointer;
  transition: background-position 0.3s, transform 0.1s;
  animation: goldPulse 3s ease-in-out infinite;
}

.btn-vote:hover { background-position: right center; transform: scale(1.01); }
.btn-vote:active { transform: scale(0.99); }
.btn-vote:disabled { opacity: 0.4; cursor: not-allowed; animation: none; }

.btn-vote-inner {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--black);
  letter-spacing: 0.08em;
}

.vote-reminder {
  text-align: center;
  font-size: 0.85rem;
  color: var(--cream-dim);
  font-style: italic;
  margin-top: 1rem;
}

/* ---- AMA STEPS ---- */
.ama-steps {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ama-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: var(--cream-dim);
  font-size: 1rem;
}

.ama-step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}

/* ---- LOG VOTES ---- */
.log-vote-area {
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: var(--mid);
}

.log-vote-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--cream-dim);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.log-vote-row {
  display: flex;
  gap: 0.5rem;
}

.vote-input {
  flex: 1;
  background: var(--dark);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.vote-input:focus { border-color: var(--gold-dim); }

.btn-log {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-log:hover { background: var(--gold-light); }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gold);
  color: var(--black);
  padding: 0.75rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 200;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  border-radius: 2px;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ---- LEADERBOARD ---- */
.leaderboard-section {
  background: var(--dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 1.5rem;
}

.leaderboard-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.section-sub {
  font-style: italic;
  color: var(--cream-dim);
  font-size: 1rem;
}

.leaderboard-table-wrap {
  max-width: 700px;
  margin: 0 auto;
  overflow-x: auto;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-heading);
}

.leaderboard-table thead tr {
  border-bottom: 1px solid var(--gold-dim);
}

.leaderboard-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 400;
  text-transform: uppercase;
}

.leaderboard-table td {
  padding: 1rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--cream);
  vertical-align: middle;
}

.leaderboard-table tr:first-child td { color: var(--gold); font-weight: 600; }
.leaderboard-table tr:hover td { background: rgba(201,162,39,0.03); }

.lb-rank {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream-dim);
}
.lb-rank-1 { color: var(--gold); }
.lb-rank-2 { color: #c0c0c0; }
.lb-rank-3 { color: #cd7f32; }

.lb-handle { font-style: italic; }
.lb-votes { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); }
.lb-streak { font-size: 0.85rem; color: var(--cream-dim); }

.leaderboard-cta {
  text-align: center;
  max-width: 500px;
  margin: 2rem auto 0;
  font-style: italic;
  color: var(--cream-dim);
  font-size: 0.95rem;
}

/* ---- SHARE SECTION ---- */
.share-section {
  text-align: center;
  padding: 5rem 1.5rem;
  background: var(--black);
}

.share-desc {
  font-style: italic;
  color: var(--cream-dim);
  margin: 0.75rem auto 2.5rem;
  max-width: 380px;
}

.share-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.share-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,162,39,0.05); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--mid);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-legal {
  font-size: 0.85rem;
  color: var(--cream-dim);
  font-style: italic;
  max-width: 500px;
  margin: 0 auto 0.5rem;
}

.footer-api-note {
  font-size: 0.8rem;
  color: var(--border);
  max-width: 500px;
  margin: 0 auto;
}

.footer-api-note code {
  font-family: monospace;
  color: var(--gold-dim);
}

/* ---- UTILITY ---- */
.hidden { display: none !important; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes expand {
  from { width: 0; opacity: 0; }
  to   { width: 60px; opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); }
  50%       { box-shadow: 0 0 20px 4px rgba(201,162,39,0.25); }
}

@keyframes voteFlash {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.97); background: var(--gold-light); }
  100% { transform: scale(1); }
}

.vote-flash { animation: voteFlash 0.25s ease; }

/* ---- RESPONSIVE ---- */

/* ---- HASHTAG BOX ---- */
.hashtag-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--mid);
  border: 2px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.hashtag-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.5vw, 1.6rem);
  color: var(--gold);
  letter-spacing: 0.04em;
  word-break: break-all;
  flex: 1;
}
.btn-copy-hashtag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
  min-height: 44px;
}
.btn-copy-hashtag:hover { background: var(--gold-light); }

/* ================================================================
   RESPONSIVE — MOBILE FIRST
   ================================================================ */

/* ---- Base touch improvements (all screens) ---- */
button, a, .method-card {
  -webkit-tap-highlight-color: transparent;
}
.btn-primary, .btn-ghost, .btn-vote, .btn-log, .btn-copy-hashtag,
.share-btn, .lang-btn {
  min-height: 44px; /* Apple HIG touch target */
}

/* Prevent iOS input zoom (needs font-size >= 16px on inputs) */
.vote-input {
  font-size: 16px;
}

/* ---- 768px — Tablet ---- */
@media (max-width: 768px) {
  /* Hero */
  .hero { padding: 5rem 1.5rem 3rem; }
  .hero-nominee-img-wrap { max-width: 260px; }
  .hero-desc { font-size: 1rem; }

  /* Counter strip */
  .counter-item { padding: 0 2rem; }

  /* Vote section */
  .vote-section { padding: 3rem 1rem; }
  .step-card { padding: 2rem 1.5rem; }

  /* Leaderboard */
  .leaderboard-section { padding: 3rem 1rem; }
  .leaderboard-table th,
  .leaderboard-table td { padding: 0.75rem 0.5rem; font-size: 0.85rem; }
  .lb-votes { font-size: 1.1rem; }

  /* Share */
  .share-section { padding: 3rem 1rem; }
  .share-btns { gap: 0.75rem; }
}

/* ---- 520px — Large mobile ---- */
@media (max-width: 520px) {
  /* Method grid: single column */
  .method-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding: 4.5rem 1.25rem 2.5rem; min-height: auto; }
  .hero-name { line-height: 0.9; }
  .award-badge { margin-bottom: 1.25rem; }
  .hero-nominee-img-wrap { max-width: 220px; margin: 1rem auto; }
  .hero-nominations { gap: 0.3rem; }
  .nomination-pill { font-size: 0.7rem; padding: 0.3rem 0.75rem; }

  /* Counter strip: compact */
  .counter-strip { padding: 1.25rem 0.5rem; }
  .counter-item { padding: 0 1rem; }
  .counter-num { font-size: 2rem; }
  .counter-label { font-size: 0.55rem; }
  .counter-divider { height: 28px; }

  /* Step cards */
  .step-card { padding: 1.75rem 1.1rem; }
  .step-num { font-size: 3.5rem; top: 1rem; right: 1rem; }
  .step-title { font-size: 1.3rem; }

  /* Hashtag box: stack vertically */
  .hashtag-box { flex-direction: column; align-items: stretch; text-align: center; padding: 1rem; }
  .hashtag-text { font-size: 1rem; }
  .btn-copy-hashtag { width: 100%; justify-content: center; }

  /* AMA steps */
  .ama-steps li { gap: 0.75rem; }
  .ama-step-num { font-size: 1.4rem; width: 1.5rem; }

  /* Log vote row */
  .log-vote-row { flex-direction: column; }
  .vote-input { width: 100%; }
  .btn-log { width: 100%; justify-content: center; }

  /* Buttons */
  .btn-row { flex-direction: column; }
  .btn-primary, .btn-ghost, .btn-ama { width: 100%; text-align: center; }

  /* IG status box */
  .ig-status-box { flex-direction: column; text-align: center; padding: 1rem; }
  .ig-info { align-items: center; }

  /* Vote progress */
  .vote-progress-label { font-size: 0.65rem; }

  /* Leaderboard: scrollable on very small screens */
  .leaderboard-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .leaderboard-table { min-width: 360px; }
  .leaderboard-section { padding: 2.5rem 0.75rem; }
  .leaderboard-header { margin-bottom: 2rem; }

  /* Share */
  .share-btns { flex-direction: column; align-items: stretch; max-width: 280px; margin: 0 auto; }
  .share-btn { justify-content: center; }

  /* Footer */
  .site-footer { padding: 2rem 1.25rem; }
  .footer-name { font-size: 1.5rem; }
}

/* ---- 375px — Small iPhone ---- */
@media (max-width: 375px) {
  .hero-nominee-img-wrap { max-width: 180px; }
  .nomination-pill { font-size: 0.65rem; letter-spacing: 0.06em; }
  .step-card { padding: 1.5rem 1rem; }
  .hashtag-text { font-size: 0.9rem; }
  .counter-num { font-size: 1.75rem; }
}

/* ---- Landscape mobile ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 3rem 2rem 2rem; }
  .hero-nominee-img-wrap { max-width: 140px; }
  .scroll-indicator { display: none; }
}

/* Mobile: compact nominee image */
@media (max-width: 520px) {
  .hero-nominee-img-wrap { max-width: 120px; margin: 0.75rem auto; }
}

/* Mobile: compact nominee image */
@media (max-width: 520px) {
  .hero-nominee-img-wrap { max-width: 120px; margin: 0.75rem auto; }
}
@media (max-width:520px){.hero .hero-content .hero-nominee-img-wrap{max-width:120px;margin:0.75rem auto;}}
