@font-face {
  font-family: "HeirofLight";
  src: url("./fonts/HeirofLightOTFBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --font-display: "HeirofLight", "Times New Roman", serif;
  --font-body: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --ivory: #f8efe7;
  --ivory-soft: rgba(248, 239, 231, 0.82);
  --gold: #dcb884;
  --gold-soft: rgba(220, 184, 132, 0.44);
  --plum-950: #1d101d;
  --plum-900: #2b1729;
  --plum-850: #39203a;
  --wine-700: #74445e;
  --panel-bg: rgba(42, 22, 38, 0.72);
  --panel-bg-soft: rgba(71, 38, 61, 0.44);
  --panel-border: rgba(220, 184, 132, 0.46);
  --panel-border-soft: rgba(220, 184, 132, 0.2);
  --shadow-xl: 0 30px 70px rgba(13, 7, 13, 0.38);
  --shadow-lg: 0 16px 34px rgba(14, 7, 13, 0.28);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --result-accent: #dcb884;
  --result-soft: rgba(248, 239, 231, 0.82);
  --result-text: #fff7f1;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ivory);
}

a,
button {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.fortune-body {
  position: relative;
  min-height: 100dvh;
  background-color: var(--plum-950);
  background-image: var(--page-background);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-home {
  --page-background:
    radial-gradient(circle at 50% 12%, rgba(128, 87, 111, 0.24), transparent 22%),
    linear-gradient(180deg, #21111d 0%, #140a13 100%);
}

.page-choose,
.page-loading {
  --page-background:
    radial-gradient(circle at 50% 14%, rgba(122, 78, 105, 0.34), transparent 22%),
    linear-gradient(180deg, #261420 0%, #140b15 100%);
}

.page-result {
  --page-background: url("./images/backgrounds/q_3.jpg");
}

.fortune-body::before,
.fortune-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.fortune-body::before {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 247, 237, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(31, 15, 28, 0.28), rgba(15, 6, 14, 0.62));
}

.fortune-body::after {
  opacity: 0.26;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 247, 237, 0.2) 0 1.4px, transparent 2.6px),
    radial-gradient(circle at 78% 24%, rgba(220, 184, 132, 0.18) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 68% 78%, rgba(255, 247, 237, 0.18) 0 1px, transparent 2.2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 38%, transparent 62%, rgba(255, 255, 255, 0.03));
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 428px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-card {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -12px 40px rgba(0, 0, 0, 0.14),
    var(--shadow-xl);
  background: none;
}

.panel-card::before,
.panel-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--panel-border);
  border-radius: calc(var(--radius-xl) - 12px);
  pointer-events: none;
}

.panel-card::after {
  inset: 22px;
  border-color: var(--panel-border-soft);
}

.panel-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.panel-corner {
  position: absolute;
  width: 36px;
  height: 36px;
}

.panel-corner::before,
.panel-corner::after {
  content: "";
  position: absolute;
  background: linear-gradient(180deg, rgba(245, 223, 176, 0.96), rgba(174, 133, 83, 0.72));
}

.panel-corner::before {
  width: 24px;
  height: 2px;
}

.panel-corner::after {
  width: 2px;
  height: 24px;
}

.panel-corner-tl {
  top: 18px;
  left: 18px;
}

.panel-corner-tr {
  top: 18px;
  right: 18px;
}

.panel-corner-br {
  right: 18px;
  bottom: 18px;
}

.panel-corner-bl {
  bottom: 18px;
  left: 18px;
}

.panel-corner-tl::before,
.panel-corner-bl::before {
  left: 0;
}

.panel-corner-tr::before,
.panel-corner-br::before {
  right: 0;
}

.panel-corner-tl::after,
.panel-corner-tr::after {
  top: 0;
}

.panel-corner-bl::after,
.panel-corner-br::after {
  bottom: 0;
}

.panel-corner-tl::after,
.panel-corner-bl::after {
  left: 0;
}

.panel-corner-tr::after,
.panel-corner-br::after {
  right: 0;
}

.cover-arch {
  position: absolute;
  top: 16px;
  left: 50%;
  width: calc(100% - 92px);
  height: 96px;
  transform: translateX(-50%);
  border: 2px solid rgba(220, 184, 132, 0.42);
  border-bottom: 0;
  border-radius: 200px 200px 0 0 / 120px 120px 0 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cover-arch span {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(244, 224, 192, 0.64);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cover-arch-small {
  height: 84px;
}

.cover-blooms {
  display: none;
}

.home-panel,
.choose-panel,
.result-panel {
  display: flex;
  flex-direction: column;
  padding: 102px 18px 18px;
}

.home-panel {
  justify-content: flex-end;
  padding: 16px 18px calc(env(safe-area-inset-bottom, 12px) + 36px);
  background-image:
    linear-gradient(180deg, rgba(31, 14, 25, 0.04), rgba(18, 8, 15, 0.26)),
    linear-gradient(180deg, rgba(255, 247, 236, 0.04), rgba(71, 39, 58, 0.08)),
    url("./images/backgrounds/q_1.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1a0e18;
  position: relative;
  overflow: hidden;
}

.result-panel {
  background-image:
    linear-gradient(180deg, rgba(31, 14, 25, 0.1), rgba(18, 8, 15, 0.4)),
    url("./images/backgrounds/q_3.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1a0e18;
}

.home-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(220,184,132,0.15), transparent 60%);
  animation: pulse-glow 4s ease-in-out infinite alternate;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.display-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.choose-head {
  text-align: center;
}

.home-cta {
  margin-top: auto;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(220, 184, 132, 0.36);
  background:
    linear-gradient(135deg, rgba(121, 52, 102, 0.94), rgba(189, 76, 129, 0.96));
  color: var(--ivory);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 16px 28px rgba(21, 9, 19, 0.24), 0 0 16px rgba(189, 76, 129, 0.4);
  position: relative;
  overflow: hidden;
  animation: float-btn 3s ease-in-out infinite;
}

.primary-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: sweep-shine 3s ease-in-out infinite;
}

.primary-link:hover,
.primary-link:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.fortune-preview,
.mood-section,
.pick-section {
  position: relative;
  z-index: 1;
}

.choose-panel {
  padding-top: 76px;
  background-image:
    linear-gradient(180deg, rgba(33, 17, 30, 0.2), rgba(19, 9, 16, 0.7)),
    linear-gradient(180deg, rgba(60, 31, 51, 0.26), rgba(24, 11, 21, 0.78)),
    url("./images/backgrounds/q_2.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 245, 234, 0.04),
    inset 0 0 60px rgba(17, 7, 13, 0.34),
    0 28px 60px rgba(8, 4, 8, 0.38);
}

.choose-head {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.choose-title {
  font-size: clamp(1.72rem, 7.8vw, 2.18rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.choose-guide {
  margin: 0;
  color: var(--ivory-soft);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.fortune-preview {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding: 20px 16px;
  border-radius: 16px;
  background: rgba(255, 247, 237, 0.03);
  border: 1px solid rgba(220, 184, 132, 0.15);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

.fortune-inline {
  margin: 0;
  padding: 0;
  text-align: center;
  text-wrap: pretty;
}

.fortune-inline-main {
  color: var(--result-accent);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.fortune-inline-soft {
  color: var(--ivory-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.mood-section {
  margin-top: 32px;
}

.mood-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 10px;
}

.mood-tab {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(220, 184, 132, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(46, 23, 40, 0.28);
  color: var(--ivory-soft);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    background-color 150ms ease,
    color 150ms ease;
}

.mood-tab.is-active {
  border-color: rgba(220, 184, 132, 0.56);
  background:
    linear-gradient(180deg, rgba(220, 184, 132, 0.22), rgba(220, 184, 132, 0.08)),
    rgba(68, 33, 54, 0.4);
  color: var(--ivory);
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 237, 0.08),
    0 0 18px rgba(220, 184, 132, 0.12);
}

.mood-note {
  margin: 12px 0 0;
  color: var(--ivory-soft);
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

.pick-section {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 16px;
  margin-top: 32px;
}

.pick-heading {
  margin: 0 0 8px;
  color: var(--ivory);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.pick-deck {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  margin-top: 0;
  padding: 0 6px;
}

.pick-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 122px;
  min-height: 198px;
  padding: 16px 8px;
  border-radius: 20px;
  background-image:
    linear-gradient(180deg, rgba(29, 16, 29, 0.08), rgba(29, 16, 29, 0.2)),
    url("./images/backgrounds/card.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid rgba(220, 184, 132, 0.26);
  color: var(--ivory);
  text-decoration: none;
  box-shadow: 0 18px 28px rgba(12, 6, 12, 0.32);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.pick-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 247, 237, 0.16);
  border-radius: 14px;
}

.pick-card::after {
  content: "♕";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 235, 204, 0.64);
  font-size: 1.25rem;
}

.pick-card-left {
  transform: rotate(-10deg) translateY(10px);
  margin-right: -24px;
}

.pick-card-center {
  z-index: 2;
  transform: translateY(-4px);
}

.pick-card-right {
  transform: rotate(10deg) translateY(10px);
  margin-left: -24px;
}

.pick-card:hover,
.pick-card:focus-visible {
  border-color: rgba(220, 184, 132, 0.48);
  box-shadow: 0 22px 34px rgba(12, 6, 12, 0.38);
  outline: none;
}

.pick-card-left:hover,
.pick-card-left:focus-visible {
  transform: rotate(-10deg) translateY(2px);
}

.pick-card-center:hover,
.pick-card-center:focus-visible {
  transform: translateY(-10px);
}

.pick-card-right:hover,
.pick-card-right:focus-visible {
  transform: rotate(10deg) translateY(2px);
}

.pick-card-mark {
  position: relative;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(32, 18, 30, 0.44);
  color: rgba(255, 242, 223, 0.92);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.page-choose[data-mode="anger"] .pick-card {
  box-shadow: 0 20px 32px rgba(53, 14, 37, 0.4);
}

.page-choose[data-mode="comfort"] .pick-card {
  box-shadow: 0 20px 32px rgba(32, 24, 61, 0.38);
}

.page-choose[data-mode="laugh"] .pick-card {
  box-shadow: 0 20px 32px rgba(65, 20, 47, 0.38);
}

.result-panel {
  justify-content: center;
  padding-top: 90px;
}

.theme-anger {
  --result-accent: #f1be8b;
}

.theme-comfort {
  --result-accent: #eadfc7;
}

.theme-laugh {
  --result-accent: #f3c9d9;
}

.result-loader {
  position: relative;
  z-index: 1;
  margin: auto 0;
  color: var(--ivory-soft);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.result-card {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.result-message-card {
  width: 100%;
  max-width: 330px;
  margin: 0 auto 56px;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.result-message-card > * {
  opacity: 0;
  animation: fade-slide-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.result-message-card .result-kicker { animation-delay: 0.1s; }
.result-message-card .result-media {
  animation: zoom-glow-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.25s;
  opacity: 1;
}
.result-message-card .result-title { animation-delay: 0.4s; }
.result-message-card .result-caption { animation-delay: 0.5s; }
.result-message-card .result-signature { animation-delay: 0.6s; }

.result-kicker {
  margin: 0;
  color: var(--result-accent);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(220, 184, 132, 0.4);
}

.result-media {
  display: grid;
  place-items: center;
  width: min(100%, 264px);
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(220, 184, 132, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(10, 5, 10, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 24px rgba(6, 3, 6, 0.18);
}

.result-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 258px;
  max-height: min(30dvh, 258px);
  max-height: min(30svh, 258px);
  object-fit: contain;
  border-radius: 10px;
}

.result-title {
  margin: 0;
  max-width: 310px;
  color: var(--result-text);
  font-size: clamp(1.24rem, 5.3vw, 1.62rem);
  line-height: 1.5;
  letter-spacing: -0.025em;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.result-caption {
  margin: 0;
  max-width: 302px;
  color: var(--result-soft);
  font-size: 0.88rem;
  line-height: 1.72;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.result-signature {
  margin: 2px 0 0;
  display: grid;
  gap: 4px;
  color: var(--result-accent);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.result-signature span {
  color: rgba(248, 239, 231, 0.62);
}

.result-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.again-button,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.again-button {
  border: 1px solid rgba(220, 184, 132, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ivory);
}

.secondary-link {
  border: 1px solid rgba(220, 184, 132, 0.18);
  background: rgba(16, 8, 15, 0.2);
  color: var(--ivory-soft);
}

.audio-dock {
  position: fixed;
  top: calc(env(safe-area-inset-top, 12px) + 12px);
  right: max(14px, calc(50vw - 214px + 14px));
  z-index: 30;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.music-toggle,
.lyrics-toggle {
  border: 1px solid rgba(220, 184, 132, 0.36);
  background: rgba(54, 29, 47, 0.78);
  color: var(--ivory);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(17, 7, 13, 0.2);
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, background-color 150ms ease;
}

.music-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.15rem;
}

.music-toggle.is-playing {
  background: rgba(189, 76, 129, 0.82);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 15px rgba(189, 76, 129, 0.4);
}

.lyrics-toggle {
  min-width: 44px;
  height: 28px;
  padding: 0 10px;
  border-radius: 99px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.music-toggle:hover,
.lyrics-toggle:hover {
  transform: scale(1.05);
  background: rgba(71, 38, 61, 0.9);
}

.music-toggle:active,
.lyrics-toggle:active {
  transform: scale(0.95);
}

.lyrics-dialog {
  padding: 0;
  border: 0;
  background: transparent;
  width: min(90vw, 400px);
}

.lyrics-dialog::backdrop {
  background: rgba(14, 7, 13, 0.62);
  backdrop-filter: blur(4px);
}

.lyrics-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, #2b1729, #1d101d);
  box-shadow: var(--shadow-xl);
  display: grid;
  gap: 16px;
  max-height: 70dvh;
}

.lyrics-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
}

.lyrics-content {
  margin: 0;
  padding: 10px;
  color: var(--ivory-soft);
  font-size: 0.88rem;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-y: auto;
  text-align: center;
}

.lyrics-close {
  margin-top: 8px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
  font-weight: 700;
  transition: background 150ms ease;
}

.lyrics-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

@keyframes float-btn {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes sweep-shine {
  0% { left: -150%; }
  50%, 100% { left: 150%; }
}

@keyframes pulse-glow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

@keyframes fade-slide-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoom-glow-in {
  from { opacity: 0; transform: scale(0.96); filter: brightness(0.5) blur(4px); }
  to { opacity: 1; transform: scale(1); filter: brightness(1) blur(0); }
}

/* Loader Styles */
.loader-shell {
  justify-content: center;
  align-items: center;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  animation: fade-slide-up 0.8s ease-out;
}

.loader-visual {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 4px solid rgba(220, 184, 132, 0.1);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

.loader-ring-inner {
  inset: 12px;
  border-width: 2px;
  border-top-color: var(--plum-850);
  border-right-color: var(--gold-soft);
  animation-duration: 2s;
  animation-direction: reverse;
}

.loader-icon {
  font-size: 2.4rem;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(220, 184, 132, 0.6);
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

.full-loader {
  color: var(--ivory-soft);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
  max-width: 280px;
  word-break: keep-all;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 428px) {
  .page-shell {
    padding: 10px 12px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
