:root {
  --bg-0: #07111f;
  --bg-1: #0b1728;
  --bg-2: #102136;
  --surface: rgba(17, 31, 51, 0.72);
  --surface-strong: rgba(23, 41, 66, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.055);
  --line: rgba(178, 210, 240, 0.16);
  --line-strong: rgba(125, 209, 255, 0.36);
  --text: #f3f8ff;
  --muted: #9eb2ca;
  --muted-strong: #c3d4e8;
  --primary: #7dd3fc;
  --primary-strong: #38bdf8;
  --primary-deep: #2563eb;
  --navy-glow: rgba(37, 99, 235, 0.34);
  --cyan-glow: rgba(56, 189, 248, 0.28);
  --gold: #f8c95a;
  --gold-soft: rgba(248, 201, 90, 0.15);
  --success: #34d399;
  --success-bg: rgba(52, 211, 153, 0.12);
  --error: #fb7185;
  --error-bg: rgba(251, 113, 133, 0.13);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.24);
  --radius: 28px;
  --radius-sm: 18px;
  --score-target: 96%;
}

@property --score-progress {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Anuphan", "Prompt", "LINE Seed Sans TH", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at 78% 2%, rgba(37, 99, 235, 0.26), transparent 34%),
    radial-gradient(circle at 55% 88%, rgba(125, 211, 252, 0.09), transparent 30%),
    linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 44%, var(--bg-2) 100%);
  background-size: 120% 120%, 118% 118%, 130% 130%, 100% 100%;
  animation: page-gradient-flow 18s ease-in-out infinite alternate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

button,
input,
textarea {
  font: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 850;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.28);
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: #06111f;
  background: linear-gradient(135deg, #dff8ff, var(--primary), var(--primary-deep));
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.34);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.top-nav a {
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.top-nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 112px);
  padding: 48px 0 30px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 7.3vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h1::after {
  content: "";
  display: block;
  width: min(240px, 60%);
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--primary), rgba(125, 211, 252, 0));
}

.hero-description {
  max-width: 690px;
  margin-bottom: 30px;
  color: var(--muted-strong);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-link,
.secondary-link,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-link {
  padding: 0 25px;
  color: #03111f;
  background: linear-gradient(135deg, #dff7ff, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 38px rgba(56, 189, 248, 0.26);
}

.secondary-link {
  padding: 0 23px;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.primary-link:hover,
.secondary-link:hover,
.submit-button:hover {
  transform: translateY(-2px);
}

.primary-link:hover {
  box-shadow: 0 22px 48px rgba(56, 189, 248, 0.34);
}

.secondary-link:hover {
  border-color: var(--line-strong);
  background: rgba(125, 211, 252, 0.1);
}

.hero-score,
.panel,
.stat-item,
.rating-row,
.review-card,
.empty-state {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045)),
    var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.hero-score {
  position: relative;
  display: grid;
  --spotlight-x: 50%;
  --spotlight-y: 44%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  gap: 18px;
  align-content: center;
  min-height: 628px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius);
  overflow: hidden;
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0);
  transform-style: preserve-3d;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.4),
    0 0 72px rgba(56, 189, 248, 0.16);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 260ms ease, border-color 260ms ease;
  will-change: transform;
}

.hero-score.is-pointer-active {
  border-color: rgba(125, 211, 252, 0.34);
  transform: perspective(1100px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-7px);
  box-shadow:
    0 34px 92px rgba(0, 0, 0, 0.46),
    0 0 92px rgba(56, 189, 248, 0.22);
}

.hero-score::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 18%, rgba(125, 211, 252, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(125, 211, 252, 0.38), rgba(37, 99, 235, 0.1), rgba(255, 255, 255, 0.06));
  opacity: 0.5;
  pointer-events: none;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  padding: 1px;
}

.hero-score::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(125, 211, 252, 0.1);
  background:
    linear-gradient(90deg, rgba(125, 211, 252, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(125, 211, 252, 0.036) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.58;
  pointer-events: none;
  animation: holo-grid-drift 12s linear infinite;
}

.score-spotlight,
.score-ambient {
  position: absolute;
  pointer-events: none;
}

.score-spotlight {
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(125, 211, 252, 0.24), rgba(37, 99, 235, 0.09) 24%, transparent 48%);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
}

.hero-score.is-pointer-active .score-spotlight {
  opacity: 1;
}

.score-ambient {
  z-index: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.5;
}

.ambient-one {
  top: 12%;
  left: 12%;
  background: rgba(56, 189, 248, 0.18);
  animation: ambient-float-one 14s ease-in-out infinite;
}

.ambient-two {
  right: 3%;
  bottom: 18%;
  background: rgba(37, 99, 235, 0.2);
  animation: ambient-float-two 16s ease-in-out infinite;
}

.score-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.score-card-top .eyebrow {
  margin-bottom: 0;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  color: #dff8ff;
  background: rgba(56, 189, 248, 0.1);
  font-size: 0.76rem;
  font-weight: 850;
}

.score-ring {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(326px, 74vw);
  aspect-ratio: 1;
  place-items: center;
  isolation: isolate;
  margin: 8px auto 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(5, 14, 27, 0.96) 0 51%, transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(104, 216, 255, 0.1) 54%, transparent 58%),
    radial-gradient(circle at 50% 50%, transparent 66%, rgba(180, 240, 255, 0.14) 67%, transparent 69%);
  box-shadow:
    0 0 0 1px rgba(180, 235, 255, 0.14) inset,
    0 22px 42px rgba(0, 0, 0, 0.34),
    0 0 46px rgba(56, 189, 248, 0.32),
    0 0 120px rgba(37, 99, 235, 0.28);
  transition: transform 240ms ease, filter 240ms ease, box-shadow 240ms ease;
}

.score-ring.is-drawing .rating-progress {
  filter: url("#ratingGlow");
}

.score-ring:hover {
  filter: saturate(1.08);
  transform: translateY(-3px) scale(1.012);
  box-shadow:
    0 0 0 1px rgba(180, 235, 255, 0.2) inset,
    0 24px 48px rgba(0, 0, 0, 0.36),
    0 0 64px rgba(56, 189, 248, 0.42),
    0 0 130px rgba(37, 99, 235, 0.32);
}

.score-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 2;
  border-radius: inherit;
  border: 1px solid rgba(216, 245, 255, 0.17);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 30%),
    radial-gradient(circle at 50% 78%, rgba(37, 99, 235, 0.18), transparent 42%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -18px 32px rgba(3, 10, 24, 0.36);
  pointer-events: none;
}

.score-ring::after {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle, rgba(56, 189, 248, 0.34), rgba(37, 99, 235, 0.13) 45%, transparent 70%);
  filter: blur(12px);
  opacity: 0.82;
  pointer-events: none;
}

.rating-svg {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.rating-outer-line,
.rating-track,
.rating-progress,
.rating-scanner {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.rating-outer-line {
  stroke: rgba(191, 244, 255, 0.16);
  stroke-width: 1.2;
  stroke-dasharray: 0.6 4.2;
  animation: ring-data-flow 18s linear infinite;
}

.rating-track {
  stroke: rgba(148, 163, 184, 0.22);
  stroke-width: 16;
  stroke-linecap: round;
}

.rating-progress {
  stroke: url("#ratingGradient");
  stroke-width: 16;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: url("#ratingGlow");
  transition: stroke-dashoffset 180ms linear;
}

.rating-progress-trail {
  stroke-width: 22;
  opacity: 0.18;
  filter: blur(1px);
}

.rating-scanner {
  stroke: rgba(214, 251, 255, 0.82);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 7 93;
  filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.9));
  animation: scanner-dash 2.65s linear infinite;
}

.hero-score.is-pointer-active .rating-scanner {
  animation-duration: 1.8s;
}

.hero-score.is-pointer-active .ring-sweep {
  animation-duration: 3.4s;
}

.ring-aura,
.ring-orbit,
.ring-sweep,
.orbit-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ring-aura {
  inset: -22px;
  z-index: -1;
  background:
    radial-gradient(circle, rgba(125, 211, 252, 0.22), rgba(37, 99, 235, 0.11) 46%, transparent 72%);
  filter: blur(8px);
  animation: neon-pulse 3.8s ease-in-out infinite;
}

.ring-orbit {
  z-index: 3;
  border: 1px solid rgba(191, 244, 255, 0.15);
  box-shadow: inset 0 0 18px rgba(56, 189, 248, 0.07);
}

.ring-orbit-outer {
  inset: 1px;
  border-style: dashed;
  animation: orbit-spin 18s linear infinite;
}

.ring-orbit-inner {
  inset: 37px;
  border-color: rgba(125, 211, 252, 0.11);
  animation: orbit-spin 14s linear infinite reverse;
}

.hero-score.is-pointer-active .ring-orbit-outer,
.hero-score.is-pointer-active .orbit-particle {
  animation-duration: 11s;
}

.hero-score.is-pointer-active .ring-orbit-inner {
  animation-duration: 9s;
}

.ring-sweep {
  inset: 0;
  z-index: 4;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(219, 249, 255, 0.76) 69%, rgba(56, 189, 248, 0.44) 72%, transparent 80% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 54px), #000 calc(100% - 50px), #000 calc(100% - 22px), transparent calc(100% - 18px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 54px), #000 calc(100% - 50px), #000 calc(100% - 22px), transparent calc(100% - 18px));
  opacity: 0.62;
  animation: radar-sweep 4.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.orbit-particle {
  z-index: 7;
  inset: 10px;
  animation: orbit-spin 9.5s linear infinite;
}

.orbit-particle::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bff7ff;
  box-shadow:
    0 0 10px rgba(191, 247, 255, 0.9),
    0 0 22px rgba(56, 189, 248, 0.56);
  transform: translateX(-50%);
  animation: particle-brightness 2.4s ease-in-out infinite;
}

.particle-two {
  inset: 28px;
  animation-duration: 13s;
  animation-direction: reverse;
}

.particle-two::before {
  width: 5px;
  height: 5px;
  animation-delay: -0.8s;
}

.particle-three {
  inset: 48px;
  animation-duration: 16s;
  animation-delay: -2.8s;
}

.particle-three::before {
  width: 4px;
  height: 4px;
  background: #67e8f9;
  animation-delay: -1.35s;
}

.particle-four {
  inset: 2px;
  animation-duration: 21s;
  animation-direction: reverse;
  animation-delay: -4s;
}

.particle-four::before {
  width: 3px;
  height: 3px;
  background: #e0fbff;
  opacity: 0.75;
  animation-delay: -1.8s;
}

.score-ring-inner {
  position: relative;
  z-index: 5;
  display: grid;
  width: calc(100% - 92px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 28%, rgba(158, 230, 255, 0.2), transparent 34%),
    radial-gradient(circle at 50% 74%, rgba(37, 99, 235, 0.16), transparent 47%),
    linear-gradient(180deg, rgba(10, 25, 44, 0.98), rgba(4, 13, 25, 0.98));
  box-shadow:
    inset 0 1px 20px rgba(125, 211, 252, 0.06),
    inset 0 -20px 36px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(125, 211, 252, 0.08);
  overflow: hidden;
}

.score-ring-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.12) 32%, transparent 46%),
    radial-gradient(circle at 50% 50%, rgba(125, 211, 252, 0.08), transparent 48%);
  opacity: 0.58;
  animation: inner-light-sweep 5.8s ease-in-out infinite;
}

.score-ring-inner::after {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, rgba(125, 211, 252, 0.12) 0 1px, transparent 1px 9px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(125, 211, 252, 0.045) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  opacity: 0.28;
  mix-blend-mode: screen;
  transform: translateY(-8%);
  animation: holo-scan-lines 4.6s linear infinite;
  pointer-events: none;
}

.score-value {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  line-height: 1;
  animation: score-value-enter 700ms cubic-bezier(0.16, 1, 0.3, 1) 240ms both;
}

.score-number {
  display: inline-block;
  color: var(--text);
  font-family: "Prompt", "Anuphan", "LINE Seed Sans TH", system-ui, sans-serif;
  font-size: clamp(4.35rem, 11vw, 6.65rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    0 0 24px rgba(125, 211, 252, 0.3),
    0 0 62px rgba(37, 99, 235, 0.18);
}

.score-number.is-complete {
  animation: score-complete-pop 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.score-max {
  position: absolute;
  left: calc(50% + clamp(60px, 12vw, 84px));
  top: 50%;
  color: #bdefff;
  font-family: "Prompt", "Anuphan", "LINE Seed Sans TH", system-ui, sans-serif;
  font-size: clamp(0.94rem, 2vw, 1.22rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.28);
  transform: translateY(-30%);
}

.score-detail {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  text-align: center;
}

.score-detail strong {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.3;
}

.score-detail p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.stars-display {
  position: relative;
  display: inline-flex;
  justify-content: center;
  gap: 5px;
  width: fit-content;
  margin: 0 auto;
  color: var(--gold);
  font-size: 1.22rem;
  line-height: 1;
  overflow: hidden;
  text-shadow:
    0 0 12px rgba(248, 201, 90, 0.34),
    0 0 28px rgba(248, 201, 90, 0.12);
  animation: star-glow 3.2s ease-in-out infinite;
}

.stars-display::after {
  content: "";
  position: absolute;
  inset: -20% -35%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.5) 48%, transparent 62%);
  opacity: 0;
  transform: translateX(-72%);
  animation: star-shimmer 4.4s ease-in-out infinite;
}

.stars-display span {
  display: inline-block;
  opacity: 0;
  transform: translateY(6px) scale(0.82);
  animation: star-ignite 520ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 0) * 110ms + 520ms);
}

.stars-display:hover span {
  color: #ffe08a;
  text-shadow:
    0 0 12px rgba(248, 201, 90, 0.6),
    0 0 30px rgba(248, 201, 90, 0.24);
  transform: translateY(-2px);
}

.score-bars {
  position: relative;
  z-index: 1;
  margin-top: 4px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
  margin-bottom: 26px;
}

.stat-item {
  min-width: 0;
  padding: 22px;
  border-radius: var(--radius-sm);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(28, 48, 76, 0.8);
}

.stat-item span {
  display: block;
  color: var(--text);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 940;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.stat-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 22px;
  align-items: start;
  padding: 28px 0;
}

.panel {
  border-radius: var(--radius);
}

.review-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading.compact {
  margin-bottom: 2px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.26;
  letter-spacing: 0;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label,
.rating-field legend {
  color: var(--muted-strong);
  font-size: 0.94rem;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(178, 210, 240, 0.18);
  border-radius: 18px;
  color: var(--text);
  background: rgba(6, 17, 31, 0.66);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(195, 212, 232, 0.5);
}

input {
  min-height: 52px;
  padding: 0 16px;
}

textarea {
  min-height: 132px;
  padding: 15px 16px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(125, 211, 252, 0.72);
  background: rgba(8, 22, 39, 0.86);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.13);
}

.image-upload-group {
  gap: 12px;
}

.profile-upload-group {
  gap: 10px;
}

.profile-upload-zone {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  overflow: hidden;
  border: 1px dashed rgba(125, 211, 252, 0.28);
  border-radius: 20px;
  color: var(--muted-strong);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.075), rgba(37, 99, 235, 0.045)),
    rgba(6, 17, 31, 0.52);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.profile-upload-zone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 36%, rgba(180, 235, 255, 0.14) 50%, transparent 64% 100%);
  opacity: 0;
  transform: translateX(-72%);
  transition: opacity 180ms ease;
  pointer-events: none;
}

.profile-upload-zone:hover,
.profile-upload-zone:focus-visible,
.profile-upload-zone.is-dragging {
  border-color: rgba(125, 211, 252, 0.72);
  background:
    radial-gradient(circle at 16% 24%, rgba(125, 211, 252, 0.15), transparent 36%),
    rgba(8, 22, 39, 0.8);
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.07),
    0 0 30px rgba(56, 189, 248, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.profile-upload-zone:hover::before,
.profile-upload-zone:focus-visible::before,
.profile-upload-zone.is-dragging::before {
  opacity: 1;
  animation: upload-light-sweep 1.5s ease-in-out infinite;
}

.profile-avatar-preview {
  position: relative;
  z-index: 1;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #03111f;
  background: linear-gradient(135deg, #dff8ff, var(--primary), var(--primary-deep));
  font-weight: 950;
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.07),
    0 0 26px rgba(56, 189, 248, 0.2);
}

.profile-avatar-preview img,
.profile-preview-card img,
.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-upload-zone strong {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
}

.profile-upload-zone p {
  position: relative;
  z-index: 1;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.profile-preview {
  min-height: 0;
}

.profile-preview-card {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  max-width: 100%;
  padding: 9px 10px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
  animation: preview-enter 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.profile-preview-card img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.profile-preview-card span {
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-remove-button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(5, 14, 27, 0.76);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.profile-remove-button:hover {
  background: rgba(251, 113, 133, 0.84);
  box-shadow: 0 0 22px rgba(251, 113, 133, 0.24);
  transform: translateY(-1px) scale(1.04);
}

.upload-dropzone {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 118px;
  padding: 18px;
  overflow: hidden;
  border: 1px dashed rgba(125, 211, 252, 0.36);
  border-radius: 20px;
  color: var(--muted-strong);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(37, 99, 235, 0.06)),
    rgba(6, 17, 31, 0.58);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.upload-dropzone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 35%, rgba(180, 235, 255, 0.18) 48%, transparent 62% 100%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity 180ms ease;
  pointer-events: none;
}

.upload-dropzone:hover,
.upload-dropzone:focus-visible,
.upload-dropzone.is-dragging {
  border-color: rgba(125, 211, 252, 0.78);
  background:
    radial-gradient(circle at 18% 20%, rgba(125, 211, 252, 0.18), transparent 34%),
    rgba(8, 22, 39, 0.82);
  box-shadow:
    0 0 0 4px rgba(56, 189, 248, 0.08),
    0 0 34px rgba(56, 189, 248, 0.14);
  transform: translateY(-2px);
  outline: none;
}

.upload-dropzone:hover::before,
.upload-dropzone:focus-visible::before,
.upload-dropzone.is-dragging::before {
  opacity: 1;
  animation: upload-light-sweep 1.5s ease-in-out infinite;
}

.upload-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 18px;
  background: rgba(125, 211, 252, 0.1);
  box-shadow: inset 0 1px 18px rgba(125, 211, 252, 0.08), 0 0 24px rgba(56, 189, 248, 0.14);
}

.upload-icon svg {
  width: 28px;
  height: 28px;
}

.upload-icon path {
  fill: none;
  stroke: #a7efff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.upload-dropzone strong {
  display: block;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
}

.upload-dropzone p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.image-preview-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.image-preview-item {
  position: relative;
  min-height: 108px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  animation: preview-enter 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.image-preview-item img {
  display: block;
  width: 100%;
  height: 108px;
  object-fit: cover;
}

.image-preview-meta {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #eaf8ff;
  background: rgba(5, 14, 27, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.image-remove-button {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(5, 14, 27, 0.76);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.image-remove-button:hover {
  background: rgba(251, 113, 133, 0.84);
  box-shadow: 0 0 22px rgba(251, 113, 133, 0.28);
  transform: translateY(-1px) scale(1.04);
}

.rating-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.star-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.star-button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(178, 210, 240, 0.16);
  border-radius: 16px;
  color: rgba(195, 212, 232, 0.42);
  background: rgba(255, 255, 255, 0.05);
  font-size: 1.52rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.star-button:hover,
.star-button.is-preview,
.star-button.is-selected {
  color: var(--gold);
  border-color: rgba(248, 201, 90, 0.46);
  background: var(--gold-soft);
  box-shadow: 0 0 24px rgba(248, 201, 90, 0.16);
}

.star-button:hover {
  transform: translateY(-2px) scale(1.04);
}

.star-button:active {
  transform: translateY(0) scale(0.98);
}

.star-button:focus-visible,
.submit-button:focus-visible,
.primary-link:focus-visible,
.secondary-link:focus-visible,
.top-nav a:focus-visible,
.profile-remove-button:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.34);
  outline-offset: 3px;
}

.character-count {
  color: var(--muted);
  font-size: 0.84rem;
  text-align: right;
}

.notice {
  display: none;
  min-height: 46px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.94rem;
  font-weight: 750;
}

.notice.is-visible {
  display: flex;
}

.notice.is-error {
  color: #ffd0d8;
  background: var(--error-bg);
  border: 1px solid rgba(251, 113, 133, 0.22);
}

.notice.is-success {
  color: #c8ffec;
  background: var(--success-bg);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.notice.is-shaking {
  animation: shake 260ms ease;
}

.submit-button {
  width: 100%;
  min-height: 56px;
  border: 0;
  color: #03111f;
  background: linear-gradient(135deg, #dff8ff, var(--primary), var(--primary-deep));
  box-shadow: 0 18px 34px rgba(56, 189, 248, 0.22);
}

.submit-button:hover {
  box-shadow: 0 24px 46px rgba(56, 189, 248, 0.3);
}

.featured-review {
  padding: clamp(22px, 4vw, 30px);
}

.featured-card {
  display: grid;
  gap: 16px;
}

.reviewer-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #03111f;
  background: linear-gradient(135deg, #dff8ff, var(--primary), var(--primary-deep));
  font-weight: 950;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.22);
}

.avatar.avatar-image {
  color: transparent;
  background: rgba(6, 17, 31, 0.72);
}

.avatar.avatar-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.reviewer-meta {
  min-width: 0;
}

.reviewer-meta strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-date {
  color: var(--muted);
  font-size: 0.86rem;
}

.verified-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 999px;
  color: #baf7df;
  background: rgba(52, 211, 153, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
}

.verified-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.12);
}

.review-text {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.78;
}

.review-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.review-image-thumb {
  position: relative;
  min-height: 78px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 14px;
  background: rgba(6, 17, 31, 0.66);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.review-image-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, transparent 34%, rgba(5, 14, 27, 0.06) 70%),
    linear-gradient(120deg, transparent 38%, rgba(255, 255, 255, 0.14) 48%, transparent 58%);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 180ms ease;
}

.review-image-thumb:hover {
  border-color: rgba(125, 211, 252, 0.58);
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.14);
  transform: translateY(-2px);
}

.review-image-thumb:hover::after {
  opacity: 1;
  animation: upload-light-sweep 1.2s ease;
}

.review-image-thumb img {
  display: block;
  width: 100%;
  height: 78px;
  object-fit: cover;
}

.rating-bars {
  display: grid;
  gap: 10px;
}

.rating-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 64px;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border-radius: 16px;
  box-shadow: none;
}

.rating-label {
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 850;
}

.bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.bar-fill {
  height: 100%;
  width: var(--bar-width);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-deep));
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.32);
  transform: scaleX(0);
  transform-origin: left center;
  animation: bar-fill-reveal 900ms cubic-bezier(0.16, 1, 0.3, 1) 680ms forwards;
  transition: width 280ms ease;
}

.rating-row:nth-child(2) .bar-fill {
  animation-delay: 760ms;
}

.rating-row:nth-child(3) .bar-fill {
  animation-delay: 840ms;
}

.rating-row:nth-child(4) .bar-fill {
  animation-delay: 920ms;
}

.rating-row:nth-child(5) .bar-fill {
  animation-delay: 1000ms;
}

.rating-count {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: right;
}

.reviews-section {
  padding: 34px 0 64px;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: grid;
  gap: 14px;
  min-height: 252px;
  padding: 22px;
  border-radius: var(--radius-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: rgba(28, 48, 76, 0.78);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.28),
    0 0 34px rgba(56, 189, 248, 0.09);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border-style: dashed;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-align: center;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.image-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.16), transparent 44%),
    rgba(3, 10, 20, 0.74);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  width: min(920px, 94vw);
  max-height: 86vh;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(8, 22, 39, 0.86);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.5),
    0 0 70px rgba(56, 189, 248, 0.16);
  transform: translateY(12px) scale(0.96);
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.image-modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-panel img {
  display: block;
  width: 100%;
  max-height: calc(86vh - 24px);
  border-radius: 16px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.24);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(5, 14, 27, 0.72);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.modal-close:hover {
  background: rgba(56, 189, 248, 0.24);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.24);
  transform: rotate(8deg) scale(1.04);
}

@keyframes score-progress-draw {
  0% {
    --score-progress: 0%;
  }
  100% {
    --score-progress: var(--score-target);
  }
}

@keyframes page-gradient-flow {
  0% {
    background-position: 0% 0%, 100% 0%, 45% 100%, 0 0;
  }
  100% {
    background-position: 12% 8%, 88% 12%, 56% 88%, 0 0;
  }
}

@keyframes holo-grid-drift {
  to {
    background-position: 42px 0, 0 42px;
  }
}

@keyframes ambient-float-one {
  0%,
  100% {
    transform: translate3d(-8%, -5%, 0) scale(0.96);
  }
  50% {
    transform: translate3d(12%, 8%, 0) scale(1.08);
  }
}

@keyframes ambient-float-two {
  0%,
  100% {
    transform: translate3d(8%, 5%, 0) scale(1);
  }
  50% {
    transform: translate3d(-10%, -7%, 0) scale(1.1);
  }
}

@keyframes ring-data-flow {
  to {
    stroke-dashoffset: -100;
  }
}

@keyframes scanner-dash {
  0% {
    stroke-dashoffset: 102;
    opacity: 0.24;
  }
  18%,
  78% {
    opacity: 0.9;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.28;
  }
}

@keyframes radar-sweep {
  0% {
    transform: rotate(0deg);
    opacity: 0.28;
  }
  18%,
  72% {
    opacity: 0.7;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.32;
  }
}

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

@keyframes particle-brightness {
  0%,
  100% {
    opacity: 0.54;
    transform: translateX(-50%) scale(0.75);
  }
  42% {
    opacity: 1;
    transform: translateX(-50%) scale(1.15);
  }
}

@keyframes neon-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.025);
  }
}

@keyframes inner-light-sweep {
  0%,
  100% {
    opacity: 0.34;
    transform: translateX(-14%) rotate(0deg);
  }
  48%,
  56% {
    opacity: 0.76;
    transform: translateX(16%) rotate(8deg);
  }
}

@keyframes holo-scan-lines {
  0% {
    background-position: 0 0, 0 0, 0 0;
    opacity: 0.2;
  }
  50% {
    opacity: 0.34;
  }
  100% {
    background-position: 0 26px, 12px 0, 0 12px;
    opacity: 0.22;
  }
}

@keyframes score-value-enter {
  from {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes score-complete-pop {
  0% {
    transform: scale(1);
    text-shadow:
      0 0 24px rgba(125, 211, 252, 0.3),
      0 0 62px rgba(37, 99, 235, 0.18);
  }
  45% {
    transform: scale(1.045);
    text-shadow:
      0 0 18px rgba(255, 255, 255, 0.58),
      0 0 48px rgba(125, 211, 252, 0.48),
      0 0 88px rgba(37, 99, 235, 0.26);
  }
  100% {
    transform: scale(1);
    text-shadow:
      0 0 24px rgba(125, 211, 252, 0.3),
      0 0 62px rgba(37, 99, 235, 0.18);
  }
}

@keyframes star-glow {
  0%,
  100% {
    filter: saturate(1);
  }
  50% {
    filter: saturate(1.2);
  }
}

@keyframes star-shimmer {
  0%,
  58% {
    opacity: 0;
    transform: translateX(-72%);
  }
  70% {
    opacity: 0.68;
  }
  84%,
  100% {
    opacity: 0;
    transform: translateX(72%);
  }
}

@keyframes star-ignite {
  0% {
    opacity: 0;
    transform: translateY(6px) scale(0.82);
    filter: blur(2px);
  }
  62% {
    opacity: 1;
    transform: translateY(-2px) scale(1.08);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}


@keyframes bar-fill-reveal {
  to {
    transform: scaleX(1);
  }
}

@keyframes upload-light-sweep {
  from {
    transform: translateX(-75%);
  }
  to {
    transform: translateX(75%);
  }
}

@keyframes preview-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  30% {
    transform: translateX(-6px);
  }
  60% {
    transform: translateX(6px);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    gap: 12px;
  }

  .top-nav {
    max-width: 62%;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-score {
    min-height: auto;
  }

  .review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
    display: grid;
    width: min(100% - 24px, 1180px);
    min-height: 0;
  }

  .top-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    width: 100%;
    gap: 8px;
    font-size: 0.82rem;
  }

  .top-nav a {
    min-height: 42px;
    padding: 10px 8px;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
  }

  .section-shell,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    gap: 18px;
    padding: 26px 0 24px;
  }

  h1 {
    font-size: clamp(2.38rem, 14vw, 3.7rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-score {
    padding: 20px;
    border-radius: 24px;
  }

  .score-card-top {
    align-items: flex-start;
  }

  .score-ring {
    width: min(246px, 72vw);
  }

  .score-ring-inner {
    width: calc(100% - 66px);
  }

  .score-number {
    font-size: clamp(3.85rem, 17vw, 5.2rem);
  }

  .score-max {
    left: calc(50% + clamp(52px, 17vw, 68px));
    font-size: clamp(0.86rem, 4vw, 1rem);
  }

  .upload-dropzone,
  .profile-upload-zone {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .upload-dropzone {
    min-height: 146px;
  }

  .upload-icon,
  .profile-avatar-preview {
    margin: 0 auto;
  }

  .image-preview-list,
  .review-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-strip {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 18px;
  }

  .content-grid {
    padding-top: 18px;
  }

  .review-form,
  .featured-review {
    border-radius: 22px;
  }

  .star-picker {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .star-button {
    width: 100%;
    min-width: 0;
  }

  .rating-row {
    grid-template-columns: 60px minmax(0, 1fr) 54px;
    gap: 8px;
    padding: 10px;
  }

  .review-list {
    grid-template-columns: 1fr;
  }
}
