:root {
  --ink: #151226;
  --pink: #ff2e63;
  --cyan: #08d9d6;
  --yellow: #fff45c;
  --violet: #7c3cff;
  --green: #00d2a8;
  --orange: #ff9f1c;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(21, 18, 38, 0.24);
  --button-shadow: 0 12px 0 rgba(21, 18, 38, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 244, 92, 0.72), transparent 24rem),
    radial-gradient(circle at 88% 2%, rgba(8, 217, 214, 0.44), transparent 24rem),
    linear-gradient(135deg, #fff7ad 0%, #ff5c8a 33%, #7c3cff 66%, #00d2a8 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

.site-header,
.hero,
.mini-wheels,
.challenge-zone,
.articles-section,
.rss-section,
.faq-section,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
}

.brand {
  color: var(--white);
  font-size: clamp(1.45rem, 6vw, 2.25rem);
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 3px 18px rgba(21, 18, 38, 0.26);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.creator-badge,
.travel-link {
  border-radius: 999px;
  font-weight: 950;
  white-space: nowrap;
}

.creator-badge {
  border: 2px solid var(--white);
  background: var(--ink);
  color: var(--white);
  padding: 7px 11px;
  font-size: 0.78rem;
}

.travel-link {
  display: none;
  background: var(--white);
  padding: 10px 15px;
  box-shadow: var(--button-shadow);
}

.hero {
  display: grid;
  gap: 22px;
  padding: 8px 0 28px;
}

.hero-panel,
.main-wheel-card,
.mini-card,
.challenge-card,
.footer {
  border: 4px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: clamp(22px, 6vw, 34px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.5)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.32) 0 10px, transparent 10px 20px);
  backdrop-filter: blur(14px);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  margin: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--yellow);
  padding: 8px 13px;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.section-kicker {
  background: transparent;
  color: var(--pink);
  padding: 0;
}

.section-kicker.light {
  color: rgba(255, 255, 255, 0.82);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 15vw, 6.3rem);
  line-height: 0.9;
  font-weight: 950;
}

.hero-copy {
  margin-bottom: 24px;
  color: rgba(21, 18, 38, 0.72);
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 800;
  line-height: 1.45;
}

.station-form label {
  display: block;
  margin-bottom: 8px;
  color: rgba(21, 18, 38, 0.72);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.search-wrap {
  position: relative;
}

#stationInput {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: 999px;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 950;
  box-shadow: var(--button-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

#stationInput:focus {
  transform: translateY(-3px);
  box-shadow: 0 16px 0 rgba(21, 18, 38, 0.18);
}

#stationInput[readonly] {
  cursor: wait;
}

.station-help {
  margin: 14px 0 0;
  color: rgba(21, 18, 38, 0.62);
  font-size: 0.84rem;
  font-weight: 750;
}

.station-help code {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: 2px 6px;
}

.mode-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.mode-toggle input {
  width: 24px;
  height: 24px;
  accent-color: var(--pink);
}

.mode-toggle label {
  display: block;
  margin: 0;
  text-transform: none;
  cursor: pointer;
}

.mode-toggle strong,
.mode-toggle span {
  display: block;
}

.mode-toggle strong {
  font-size: 0.98rem;
  color: var(--ink);
}

.mode-toggle span {
  margin-top: 2px;
  color: rgba(21, 18, 38, 0.62);
  font-size: 0.84rem;
  font-weight: 850;
}

.suggestions {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 10px);
  z-index: 20;
  display: none;
  overflow: hidden;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.suggestions.open {
  display: block;
}

.suggestion-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(21, 18, 38, 0.1);
  background: var(--white);
  padding: 14px 16px;
  text-align: left;
}

.suggestion-button:hover,
.suggestion-button:focus {
  background: var(--yellow);
}

.suggestion-button strong,
.suggestion-button span {
  font-weight: 950;
}

.suggestion-button span {
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 6px 9px;
  font-size: 0.78rem;
}

.primary-button,
.secondary-button,
.copy-button,
.share-button,
.download-button {
  min-height: 56px;
  border: 4px solid var(--ink);
  border-radius: 999px;
  padding: 13px 20px;
  color: var(--ink);
  font-weight: 950;
  box-shadow: var(--button-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-button {
  width: 100%;
  margin-top: 20px;
  background: var(--pink);
  color: var(--white);
}

.primary-button:disabled {
  background: rgba(255, 255, 255, 0.62);
  color: rgba(21, 18, 38, 0.36);
  box-shadow: none;
}

.primary-button:not(:disabled):hover,
.secondary-button:hover,
.copy-button:hover,
.share-button:hover,
.download-button:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
}

.primary-button:not(:disabled):active,
.secondary-button:active,
.copy-button:active,
.share-button:active,
.download-button:active {
  transform: translateY(6px);
  box-shadow: none;
}

.main-wheel-card {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  padding: clamp(18px, 5vw, 28px);
  backdrop-filter: blur(12px);
}

.card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.card-heading h2,
.mini-card h2,
.challenge-card h2,
.section-title h2 {
  margin: 4px 0 0;
  font-size: clamp(1.45rem, 6vw, 2.25rem);
  line-height: 1;
  font-weight: 950;
}

.result-chip {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--yellow);
  padding: 9px 13px;
  font-size: 0.9rem;
  font-weight: 950;
}

.result-chip.live {
  background: var(--green);
  color: var(--ink);
}

.live-status {
  margin: -4px 0 18px;
  border: 3px solid rgba(21, 18, 38, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  padding: 11px 13px;
  color: rgba(21, 18, 38, 0.68);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
}

.live-status.is-live {
  border-color: rgba(0, 210, 168, 0.55);
  background: rgba(0, 210, 168, 0.16);
  color: var(--ink);
}

.live-status.is-fallback {
  border-color: rgba(255, 159, 28, 0.55);
  background: rgba(255, 244, 92, 0.22);
}

.wheel-stage {
  position: relative;
  display: grid;
  place-items: center;
  margin-inline: auto;
}

.wheel-stage-large {
  width: min(76vw, 390px);
  height: min(76vw, 390px);
}

.wheel-stage-small {
  width: 178px;
  height: 178px;
}

.pointer {
  position: absolute;
  top: -5px;
  left: 50%;
  z-index: 3;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left: 17px solid transparent;
  border-right: 17px solid transparent;
  border-top: 34px solid var(--ink);
  filter: drop-shadow(0 4px 0 rgba(255, 255, 255, 0.75));
}

.small-pointer {
  top: -3px;
  border-left-width: 12px;
  border-right-width: 12px;
  border-top-width: 25px;
}

.wheel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 10px solid var(--ink);
  border-radius: 50%;
  --label-radius: min(27vw, 124px);
  box-shadow:
    0 18px 70px rgba(21, 18, 38, 0.24),
    inset 0 0 0 10px rgba(255, 255, 255, 0.72);
  transform: rotate(0deg);
  transition: transform 3.4s cubic-bezier(0.12, 0.82, 0.18, 1);
}

.wheel-small {
  border-width: 8px;
}

.wheel-large.wheel-without-labels::before {
  content: "";
  position: absolute;
  inset: 22%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.92) 0 31%, rgba(255, 255, 255, 0.34) 32% 100%);
  box-shadow: inset 0 0 0 2px rgba(21, 18, 38, 0.08);
}

.wheel::after {
  content: "";
  position: absolute;
  inset: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  border: 8px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 22px rgba(21, 18, 38, 0.2);
  transform: translate(-50%, -50%);
}

.wheel-small::after {
  width: 42px;
  height: 42px;
  border-width: 6px;
}

.wheel-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 70px;
  padding: 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: var(--label-size, 0.68rem);
  font-weight: 950;
  text-align: center;
  line-height: 1;
  transform-origin: center center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 3px 10px rgba(21, 18, 38, 0.14);
  pointer-events: none;
}

.wheel-small .wheel-label {
  display: none;
}

.wheel-without-labels .wheel-label {
  display: none;
}

.big-result {
  margin: 20px 0 0;
  border-radius: 22px;
  background: var(--ink);
  color: var(--white);
  padding: 17px;
  font-size: clamp(1.3rem, 6vw, 2rem);
  font-weight: 950;
  line-height: 1.08;
  text-align: center;
  animation: pop 420ms ease both;
}

.result-detail {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.58em;
  line-height: 1.25;
}

.mini-wheels {
  display: grid;
  gap: 18px;
  padding: 18px 0 28px;
}

.mini-card,
.challenge-card,
.footer {
  border-color: var(--ink);
  background: var(--white);
  padding: clamp(18px, 5vw, 28px);
}

.mini-card,
.challenge-card {
  scroll-margin-block: 24vh;
}

.mini-layout {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.mini-result {
  border-radius: 20px;
  background: #f7f4ff;
  padding: 18px;
  text-align: center;
}

.mini-result span,
.challenge-grid span {
  display: block;
  color: rgba(21, 18, 38, 0.55);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.mini-result strong {
  display: block;
  margin-top: 5px;
  font-size: 2rem;
  line-height: 1;
}

.challenge-zone {
  padding: 6px 0 34px;
}

.challenge-card {
  position: relative;
  overflow: hidden;
  animation: rise 460ms ease both;
}

.challenge-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--yellow);
}

.challenge-card > * {
  position: relative;
}

.challenge-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.challenge-grid div {
  border: 2px solid var(--ink);
  border-radius: 18px;
  background: #f7f4ff;
  padding: 13px;
}

.challenge-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
}

.challenge-sentence {
  margin: 18px 0 0;
  border-radius: 22px;
  background: var(--ink);
  color: var(--white);
  padding: 17px;
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1.35;
}

.button-row {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.secondary-button {
  background: var(--yellow);
}

.copy-button {
  background: var(--cyan);
}

.share-button,
.download-button {
  display: inline-grid;
  place-items: center;
  background: var(--pink);
  color: var(--white);
  text-align: center;
}

.copy-feedback {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 950;
}

.empty-card {
  border: 4px dashed rgba(255, 255, 255, 0.82);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.28);
  color: var(--white);
  padding: 26px;
  font-size: 1.25rem;
  font-weight: 950;
  text-align: center;
  backdrop-filter: blur(10px);
}

.articles-section {
  padding: 18px 0 38px;
}

.rss-section {
  padding: 0 0 38px;
}

.faq-section {
  padding: 0 0 38px;
}

.section-title h2 {
  color: var(--white);
  font-size: clamp(2rem, 9vw, 3.4rem);
}

.article-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.rss-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.rss-card,
.rss-status {
  display: block;
  border: 4px solid var(--ink);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  padding: 20px;
  box-shadow: var(--button-shadow);
}

.rss-card {
  transition: transform 180ms ease, background 180ms ease;
}

.rss-card:hover {
  transform: translateY(-4px);
  background: var(--cyan);
}

.rss-card span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--violet);
  color: var(--white);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.rss-card h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
  line-height: 1.05;
}

.rss-card p,
.rss-status {
  margin: 0;
  color: rgba(21, 18, 38, 0.68);
  font-weight: 800;
  line-height: 1.4;
}

.faq-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  align-items: start;
}

.faq-card {
  border: 4px solid var(--ink);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--button-shadow);
  overflow: hidden;
  transition: transform 220ms ease, background 220ms ease, opacity 180ms ease;
}

.faq-card[open] {
  background: var(--white);
}

.faq-grid.has-open .faq-card:not(.is-open) {
  display: none;
}

.faq-card.is-open {
  grid-column: 1 / -1;
  animation: faqFullWidth 260ms ease both;
}

.faq-card:hover {
  transform: translateY(-3px);
}

.faq-card summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.12;
  cursor: pointer;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  justify-self: end;
  width: 32px;
  height: 32px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 25px;
  text-align: center;
  transform: translateY(-2px);
}

.faq-card[open] summary::after {
  content: "-";
  background: var(--cyan);
}

.faq-card p {
  margin: 0;
  border-top: 3px solid rgba(21, 18, 38, 0.08);
  padding: 0 16px 18px;
  color: rgba(21, 18, 38, 0.74);
  font-weight: 780;
  line-height: 1.5;
}

.faq-card.is-open p {
  animation: faqAnswerIn 240ms ease 60ms both;
}

.faq-badge {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 950;
}

.faq-card:nth-child(2n) .faq-badge {
  background: var(--violet);
}

.faq-card:nth-child(3n) .faq-badge {
  background: var(--green);
}

.faq-card:nth-child(4n) .faq-badge {
  background: var(--orange);
  color: var(--ink);
}

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 18, 38, 0.72);
  backdrop-filter: blur(10px);
}

.share-modal-panel {
  position: relative;
  width: min(460px, 100%);
  max-height: min(92vh, 920px);
  overflow: auto;
  border: 4px solid var(--ink);
  border-radius: 28px;
  background: var(--white);
  padding: 18px;
  box-shadow: var(--shadow);
  animation: rise 280ms ease both;
}

.share-modal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.share-modal-heading h2 {
  margin: 4px 0 0;
  font-size: 1.45rem;
  line-height: 1;
}

.share-modal-copy {
  margin: 8px 0 0;
  color: rgba(21, 18, 38, 0.66);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.modal-close {
  width: 44px;
  height: 44px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-size: 1.65rem;
  font-weight: 950;
  line-height: 1;
}

.story-preview {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto 16px;
  border: 4px solid var(--ink);
  border-radius: 22px;
  background: var(--ink);
  box-shadow: 0 12px 32px rgba(21, 18, 38, 0.22);
}

.modal-open {
  overflow: hidden;
}

.article-card {
  display: block;
  border: 4px solid var(--ink);
  border-radius: 24px;
  background: var(--white);
  padding: 20px;
  box-shadow: var(--button-shadow);
  transition: transform 180ms ease, background 180ms ease;
}

.article-card:hover {
  transform: translateY(-4px);
  background: var(--yellow);
}

.article-card span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
  line-height: 1.05;
}

.article-card p {
  margin: 0;
  color: rgba(21, 18, 38, 0.68);
  font-weight: 750;
  line-height: 1.4;
}

.footer {
  margin-bottom: 30px;
}

.footer strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 950;
}

.footer p {
  margin: 5px 0 0;
  color: rgba(21, 18, 38, 0.68);
  font-weight: 800;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.footer nav a {
  border-radius: 999px;
  background: var(--yellow);
  padding: 9px 13px;
  font-size: 0.9rem;
  font-weight: 950;
}

.footer nav a:nth-child(2) {
  background: var(--cyan);
}

.footer nav a:nth-child(3) {
  background: var(--pink);
  color: var(--white);
}

.footer .disclaimer {
  margin-top: 18px;
  border-top: 2px solid rgba(21, 18, 38, 0.1);
  padding-top: 14px;
  font-size: 0.92rem;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 18px auto 38px;
}

.legal-card {
  border: 4px solid var(--ink);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(22px, 5vw, 42px);
  box-shadow: var(--shadow);
}

.legal-card h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.6rem, 10vw, 5rem);
}

.legal-card h2 {
  margin: 28px 0 8px;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.legal-card p {
  color: rgba(21, 18, 38, 0.76);
  font-size: 1.02rem;
  font-weight: 760;
  line-height: 1.55;
}

.legal-card a {
  color: var(--pink);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.hidden {
  display: none !important;
}

.is-pulsing {
  animation: pulse 520ms ease infinite alternate;
}

.flow-focus {
  animation: flowGlow 900ms ease both;
  box-shadow:
    0 0 0 8px rgba(255, 244, 92, 0.56),
    0 22px 70px rgba(21, 18, 38, 0.26);
}

.confetti-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
}

.confetti {
  position: absolute;
  top: -18px;
  width: 9px;
  height: 15px;
  border-radius: 3px;
  animation: confettiFall 1100ms ease-out forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.7);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--confetti-x), 230px, 0) rotate(560deg) scale(1);
  }
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes flowGlow {
  0% {
    transform: translateY(10px) scale(0.985);
  }
  45% {
    transform: translateY(-4px) scale(1.012);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes faqFullWidth {
  from {
    opacity: 0.86;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (min-width: 620px) {
  .travel-link {
    display: inline-flex;
  }

  .primary-button {
    width: auto;
  }

  .mini-layout {
    grid-template-columns: auto 1fr;
  }

  .mini-result {
    text-align: left;
  }

  .challenge-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .button-row {
    display: flex;
  }

  .secondary-button,
  .copy-button {
    min-width: 190px;
  }

  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .rss-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 430px) {
  .wheel {
    --label-radius: min(27vw, 134px);
  }

  .wheel-label {
    width: 78px;
  }
}

@media (min-width: 940px) {
  .hero {
    grid-template-columns: 0.96fr 1.04fr;
    align-items: center;
  }

  .mini-wheels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
