/* ═══════════════════════════════════════════════════════════════════
   WRAPPED — Jahres-Rückblick
   ═══════════════════════════════════════════════════════════════════ */

.wrapped-view {
  max-width: 760px;
}

.wrapped-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.wrapped-header h2 {
  flex: 1;
  margin: 0;
  font-size: 1.4rem;
}

/* ── Hero card ─────────────────────────────────────────────── */
.wrapped-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1508 0%, #2e1e08 50%, #1a1205 100%);
  border: 1px solid rgba(232, 145, 10, 0.35);
  border-radius: var(--radius);
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 60px rgba(232, 145, 10, 0.07) inset;
  animation: wrapped-in 0.5s ease both;
}

/* faded year watermark in background */
.wrapped-hero::before {
  content: attr(data-year);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 9rem;
  font-weight: 700;
  color: rgba(232, 145, 10, 0.055);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

/* decorative amber glow top-center */
.wrapped-hero::after {
  content: '';
  position: absolute;
  top: -30px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 120px;
  background: radial-gradient(ellipse, rgba(232,145,10,0.2), transparent 70%);
  pointer-events: none;
}

.wrapped-hero-number {
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 50px rgba(232, 145, 10, 0.45);
  position: relative;
}

.wrapped-hero-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-top: 0.75rem;
  position: relative;
}

.wrapped-hero-year {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232, 145, 10, 0.1);
  border: 1px solid rgba(232, 145, 10, 0.22);
  padding: 0.3rem 1.1rem;
  border-radius: var(--radius-pill);
  position: relative;
}

/* ── Stats grid ────────────────────────────────────────────── */
.wrapped-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.wrapped-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.375rem 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  opacity: 0;
  animation: wrapped-in 0.45s ease forwards;
}

.wrapped-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 70px; height: 70px;
  background: radial-gradient(circle at top right, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.wrapped-card:hover {
  border-color: var(--border-warm);
  box-shadow: var(--shadow-warm);
  transform: translateY(-2px);
}

/* Highlight cards (top beer / brewery) */
.wrapped-highlight {
  background: linear-gradient(145deg, #1c1508, #281a07);
  border-color: rgba(232, 145, 10, 0.28);
}
.wrapped-highlight:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(232, 145, 10, 0.15);
}
.wrapped-highlight .wrapped-stat-val {
  color: var(--accent-light);
}

/* Staggered entry */
.wrapped-card:nth-child(1) { animation-delay: 0.08s; }
.wrapped-card:nth-child(2) { animation-delay: 0.16s; }
.wrapped-card:nth-child(3) { animation-delay: 0.24s; }
.wrapped-card:nth-child(4) { animation-delay: 0.32s; }
.wrapped-card:nth-child(5) { animation-delay: 0.40s; }
.wrapped-card:nth-child(6) { animation-delay: 0.48s; }
.wrapped-card:nth-child(7) { animation-delay: 0.56s; }
.wrapped-card:nth-child(8) { animation-delay: 0.64s; }

@keyframes wrapped-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Card content */
.wrapped-icon {
  font-size: 1.6rem;
  display: block;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.wrapped-stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.wrapped-stat-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  word-break: break-word;
}
.wrapped-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* ── Wrapped: Mobile ───────────────────────────────────────── */
@media (max-width: 480px) {
  .wrapped-grid { grid-template-columns: 1fr 1fr; }
  .wrapped-hero { padding: 2rem 1.25rem 1.75rem; }
  .wrapped-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .wrapped-header h2 { font-size: 1.25rem; }
}
@media (max-width: 360px) {
  .wrapped-grid { grid-template-columns: 1fr; }
}

/* Share message */
#wrapped-share-msg {
  margin-top: 1.25rem;
  text-align: center;
}

/* Pro gate */
.pro-gate {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pro-gate-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.pro-gate h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.pro-gate p {
  color: var(--text-muted);
}

