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

:root {
  --bg:     #08080a;
  --surface: #111115;
  --border: rgba(255,255,255,0.08);
  --text:   #f0ede8;
  --muted:  rgba(240,237,232,0.4);
  --accent: #00e5b8;
  --accent2: #00a882;
}

body {
  font-family: "Inter", -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

.wrap { max-width: 900px; margin: 0 auto; padding: 0 32px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 58vh;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

@media (max-width: 600px) {
  .hero { height: 48vh; min-height: 300px; }
  .hero-num { font-size: clamp(5rem, 28vw, 8rem); }
  .arroz-section { padding: 28px 0 44px; }
  .arroz-bar-container { margin: 44px 0 54px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://static.wixstatic.com/media/b12a39_c62df11570e341fba78cb5cbe4074d3d~mv2.jpg')
    center 30% / cover no-repeat;
  filter: brightness(0.22) saturate(0.5);
  z-index: 0;
}

/* tinte teal sobre la foto */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0,229,184,0.10) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
  pointer-events: none;
}

.hero-logo {
  position: absolute;
  top: 28px; right: 32px;
  height: 38px;
  z-index: 10;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.hero-body {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-num {
  font-size: clamp(8rem, 20vw, 16rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.00em;
  background: linear-gradient(160deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(0,229,184,0.3));
}

.hero-aniv {
  font-size: clamp(1rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero-sub {
  margin-top: 6px;
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  max-width: 380px;
  line-height: 1.7;
}

/* ─── ARROZ ─── */
.arroz-section {
  padding: 56px 0 80px;
  position: relative;
}

/* línea separadora sutil */
.arroz-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.arroz-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.arroz-bar-container {
  width: 100%;
  position: relative;
  margin: 70px 0 80px;
}

.arroz-bar-bg {
  width: 100%;
  height: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  position: relative;
  overflow: visible;
  border: 1px solid rgba(255,255,255,0.05);
}

.arroz-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent2), var(--accent));
  border-radius: 99px;
  width: 0;
  transition: width 1.2s cubic-bezier(.2,.6,.2,1);
  position: absolute;
  left: 0; top: 0; z-index: 1;
  box-shadow: 0 0 20px rgba(0,229,184,0.5), 0 0 60px rgba(0,229,184,0.15);
}

.arroz-bar-cortador {
  position: absolute;
  top: -8px;
  width: 3px;
  height: 36px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
  z-index: 3;
}

.actual-cortador {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(0,229,184,0.7);
}

.arroz-bar-cantidad-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 28px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.arroz-bar-cantidad-label-meta {
  top: auto;
  bottom: 28px;
}

.arroz-bar-cantidad-num {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.arroz-bar-cantidad-label-meta .arroz-bar-cantidad-num {
  color: rgba(255,255,255,0.45);
}

.arroz-bar-cantidad-kg {
  font-size: 0.45em;
  font-weight: 600;
  color: inherit;
  opacity: 0.7;
}

.arroz-bar-cantidad-txt {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 4px;
}

.arroz-bar-leyenda {
  text-align: center;
  margin-top: 4px;
}

.arroz-mensaje-meta {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  animation: none !important;
}

.arroz-mensaje-meta strong {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
  font-weight: 800;
}

/* ─── DONANTES ─── */
.donors-section { padding: 0 0 100px; }

.section-title {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.donors-podium-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.donors-podium { display: flex; justify-content: center; align-items: flex-end; gap: 24px; }
.podium-place { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.podium-figure { display: flex; flex-direction: column; align-items: center; }

.podium-avatar-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crown {
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 2px;
  z-index: 1;
}

.hanging-medal {
  font-size: 0.9rem;
  line-height: 1;
  margin-top: 2px;
  z-index: 1;
}
.podium-avatar { border-radius: 50%; overflow: hidden; background: #1a1a20; border: 2px solid var(--border); }
.place-1 .podium-avatar { width: 68px; height: 68px; border-color: #e5c14a; box-shadow: 0 0 16px rgba(229,193,74,0.35); }
.place-2 .podium-avatar { width: 52px; height: 52px; border-color: #9a9a9a; }
.place-3 .podium-avatar { width: 44px; height: 44px; border-color: #a06030; }
.podium-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.podium-info { text-align: center; }
.podium-name { font-size: 0.78rem; font-weight: 600; color: var(--text); max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium-amount { font-size: 0.74rem; color: var(--accent); font-weight: 700; }

.donors-container { max-height: 420px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.donors-list { display: flex; flex-direction: column; }

.donor-card { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.donor-card:last-child { border-bottom: none; }
.donor-rank { font-size: 0.75rem; font-weight: 700; color: var(--muted); width: 20px; text-align: right; flex-shrink: 0; }
.donor-avatar { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: #1a1a20; flex-shrink: 0; }
.donor-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.donor-info { flex: 1; min-width: 0; }
.donor-name { font-size: 0.9rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.donor-amount { font-size: 0.9rem; font-weight: 700; color: var(--accent); flex-shrink: 0; }
