/* ============================================================
   CSS Variables — Brand Spec
   ============================================================ */
:root {
  --bg:      #FFF8F0;
  --surface: #FFFFFF;
  --fg:      #5C4033;
  --muted:   #8B7355;
  --accent:  #FFA07A;
  --primary: #FFB6C1;
  --rose:    #E8B4B8;
  --soft:    #FFD9D9;
  --border:  #F0D5C0;
  --glow:    rgba(255,182,193,0.45);

  --font-display: 'ZCOOL KuaiLe', 'LXGW WenKai', cursive;
  --font-body:    'Noto Sans SC', 'PingFang SC', -apple-system, sans-serif;
  --font-mono:    'Courier New', monospace;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-full: 999px;
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   Canvas — floating hearts background
   ============================================================ */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   Password Lock Screen
   ============================================================ */
.lock-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(160deg, #FFB6C1 0%, #FFD9D9 30%, #FFF8F0 60%, #FFFFFF 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), visibility 0.8s;
}
.lock-screen.unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.lock-dog {
  font-size: 80px;
  animation: lockBounce 1.5s ease-in-out infinite;
  margin-bottom: 8px;
}
@keyframes lockBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.lock-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--fg);
  margin-bottom: 6px;
}
.lock-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.lock-input-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.lock-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2.5px solid var(--primary);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--fg);
  transition: all 0.2s;
}
.lock-dot.filled {
  background: var(--primary);
  border-color: var(--primary);
}
.lock-numpad {
  display: grid;
  grid-template-columns: repeat(3, 64px);
  gap: 10px;
  margin-bottom: 12px;
}
.lock-num {
  width: 64px; height: 56px;
  border-radius: 16px;
  border: 2px solid var(--border);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  transition: all 0.15s;
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.lock-num:active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(0.93);
}
.lock-num.del {
  font-size: 14px;
  color: var(--muted);
}
.lock-error {
  font-size: 13px;
  color: #E88;
  min-height: 20px;
  transition: opacity 0.3s;
}
.lock-error.shake {
  animation: shake 0.5s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

/* ============================================================
   Main Content Wrapper
   ============================================================ */
.main-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 20px 120px;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 0 40px;
  position: relative;
}
.hero-dogs {
  font-size: 64px;
  margin-bottom: 16px;
  animation: heroFloat 3s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-10px) rotate(-2deg); }
  70% { transform: translateY(-6px) rotate(2deg); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 44px);
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 12px;
}
.hero-title .heart {
  display: inline-block;
  color: var(--primary);
  animation: heartBeat 1.2s ease-in-out infinite;
}
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
}
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.hero-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}
.hero-scroll-arrow {
  font-size: 20px;
}

/* ============================================================
   Timer + Progress Ring
   ============================================================ */
.timer-section {
  text-align: center;
  padding: 50px 0 60px;
}
.timer-label {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--muted);
  margin-bottom: 20px;
}
.timer-digits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}
.timer-num {
  font-family: var(--font-mono);
  font-size: clamp(36px, 9vw, 52px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 4px 16px var(--glow);
  min-width: 72px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.timer-num.bump {
  transform: scale(1.08);
}
.timer-unit {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.08em;
}
.timer-sep {
  font-size: 32px;
  color: var(--primary);
  font-weight: 300;
  align-self: flex-start;
  margin-top: 6px;
}

/* Progress Ring */
.progress-ring-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
}
.progress-ring {
  transform: rotate(-90deg);
  width: 200px; height: 200px;
}
.progress-ring .bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}
.progress-ring .fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s ease;
}
.progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.progress-pct {
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
}
.progress-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.progress-milestones {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.milestone {
  position: absolute;
  font-size: 11px;
  color: var(--muted);
  transform: translate(-50%, -50%);
}
.milestone::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--rose);
  border-radius: 50%;
  margin: 0 auto 2px;
}
.milestone.done { color: var(--accent); }
.milestone.done::before { background: var(--accent); }

.progress-glow {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
}
.progress-glow.visible { opacity: 1; }

/* Celebration overlay */
.celebrate {
  position: fixed;
  inset: 0;
  z-index: 8888;
  pointer-events: none;
  display: none;
}
.celebrate.active { display: block; }
.confetti {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 3px;
  animation: confettiFall linear forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ============================================================
   Section common
   ============================================================ */
.section {
  padding: 50px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-header {
  text-align: center;
  margin-bottom: 32px;
}
.section-icon {
  font-size: 40px;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--fg);
  margin-bottom: 4px;
}
.section-sub {
  font-size: 14px;
  color: var(--muted);
}

/* ============================================================
   Photo Gallery
   ============================================================ */
.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.filter-chip {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.filter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--soft), var(--primary));
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.gallery-item:active {
  transform: scale(0.96);
}
.gallery-item .placeholder-img {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
  gap: 6px;
}
.gallery-item .placeholder-img .date-tag {
  font-size: 11px;
  opacity: 0.8;
}
.gallery-item .caption-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  color: #fff;
  padding: 20px 10px 8px;
  font-size: 13px;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-content {
  width: 90vw; max-width: 400px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--soft), var(--primary));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 60px;
  position: relative;
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.lightbox-nav.prev { left: 8px; }
.lightbox-nav.next { right: 8px; }
.lightbox-info {
  position: absolute;
  bottom: 16px;
  background: rgba(0,0,0,0.5);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  color: #fff;
  font-size: 13px;
}

/* ============================================================
   Love Timeline
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 36px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--primary) 0px,
    var(--primary) 6px,
    transparent 6px,
    transparent 14px
  );
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.timeline-dot {
  position: absolute;
  left: -29px;
  top: 4px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 2.5px solid var(--primary);
  display: grid;
  place-items: center;
  font-size: 14px;
  z-index: 1;
}
.timeline-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 4px 16px rgba(255,182,193,0.15);
}
.timeline-date {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}
.timeline-event {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}
.timeline-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============================================================
   Love Letter (Typewriter)
   ============================================================ */
.letter-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: 0 4px 20px rgba(255,182,193,0.12);
  position: relative;
  overflow: hidden;
}
.letter-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--rose), var(--accent));
}
.letter-text {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 2;
  color: var(--fg);
  min-height: 120px;
}
.letter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}
.letter-sign {
  text-align: right;
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
  opacity: 0;
  transition: opacity 0.6s;
}
.letter-sign.show { opacity: 1; }

/* ============================================================
   Flip Cards — 100 Reasons
   ============================================================ */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.reason-card {
  perspective: 800px;
  height: 140px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.reason-inner {
  width: 100%; height: 100%;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  transform-style: preserve-3d;
}
.reason-card.flipped .reason-inner {
  transform: rotateY(180deg);
}
.reason-front, .reason-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
}
.reason-front {
  background: linear-gradient(135deg, var(--primary), var(--rose));
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  flex-direction: column;
  gap: 4px;
}
.reason-front .reason-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
}
.reason-back {
  background: var(--surface);
  color: var(--fg);
  font-size: 14px;
  line-height: 1.6;
  transform: rotateY(180deg);
  border: 2px solid var(--border);
  box-shadow: 0 4px 16px rgba(255,182,193,0.15);
}

/* ============================================================
   Interactive Easter Eggs
   ============================================================ */
.click-heart {
  position: fixed;
  pointer-events: none;
  z-index: 8000;
  font-size: 28px;
  animation: heartFly 1.2s ease-out forwards;
}
@keyframes heartFly {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-120px) scale(1.6); }
}

.thermometer-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: 0 4px 20px rgba(255,182,193,0.12);
  text-align: center;
}
.thermo-label {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg);
  margin-bottom: 4px;
}
.thermo-value {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.thermo-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--soft), var(--primary), var(--accent));
  outline: none;
  cursor: pointer;
}
.thermo-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
}

/* Secret easter egg */
.secret-input {
  margin-top: 24px;
  text-align: center;
}
.secret-input input {
  width: 200px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  font-size: 14px;
  font-family: var(--font-body);
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}
.secret-input input:focus {
  border-color: var(--primary);
}
.secret-reveal {
  margin-top: 12px;
  padding: 16px;
  background: linear-gradient(135deg, var(--soft), var(--primary));
  border-radius: var(--radius-md);
  color: var(--fg);
  font-size: 16px;
  font-weight: 500;
  display: none;
}
.secret-reveal.show { display: block; }

/* ============================================================
   Future / Countdown
   ============================================================ */
.future-countdowns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.countdown-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(255,182,193,0.1);
  display: flex;
  align-items: center;
  gap: 16px;
}
.countdown-emoji {
  font-size: 36px;
  flex-shrink: 0;
}
.countdown-info { flex: 1; }
.countdown-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}
.countdown-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.countdown-date {
  font-size: 12px;
  color: var(--muted);
}

/* Wishlist */
.wishlist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wish-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: 0 2px 10px rgba(255,182,193,0.08);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}
.wish-item:active { background: var(--soft); }
.wish-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: all 0.2s;
}
.wish-item.done .wish-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.wish-item.done .wish-text {
  text-decoration: line-through;
  color: var(--muted);
}
.wish-text {
  font-size: 15px;
  color: var(--fg);
}

/* ============================================================
   Promise / Closing
   ============================================================ */
.promise {
  text-align: center;
  padding: 20px 0;
}
.promise-text {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg);
  line-height: 1.8;
}
.promise-heart {
  display: inline-block;
  font-size: 32px;
  animation: heartBeat 1.4s ease-in-out infinite;
  margin: 0 4px;
}

/* ============================================================
   Music Player
   ============================================================ */
.music-player {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.music-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.music-btn:active { transform: scale(0.9); }
.music-btn.playing {
  animation: musicSpin 3s linear infinite;
}
@keyframes musicSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.music-label {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.music-hint {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: var(--fg);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  z-index: 5001;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.music-hint.show { opacity: 1; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  text-align: center;
  padding: 40px 0 60px;
}
.footer-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
}
.footer-heart {
  display: inline-block;
  color: var(--primary);
  animation: heartBeat 1.5s ease-in-out infinite;
}

/* ============================================================
   Responsive — Desktop
   ============================================================ */
@media (min-width: 768px) {
  .main-content {
    max-width: 520px;
  }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
