:root {
  --primary: #ffc107;
  --primary-2: #ffe27a;
  --primary-3: #b98209;
  --bg: #070707;
  --bg-soft: #0d0d10;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --muted-2: rgba(255, 255, 255, 0.44);
  --glass: rgba(255, 255, 255, 0.075);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.15);
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --header-height: 92px;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 193, 7, 0.20), transparent 28%),
    radial-gradient(circle at 92% 14%, rgba(255, 226, 122, 0.10), transparent 26%),
    radial-gradient(circle at 70% 86%, rgba(255, 193, 7, 0.12), transparent 32%),
    linear-gradient(135deg, #050505 0%, #0d0d10 45%, #050505 100%);
  color: var(--text);
  padding-top: var(--header-height);
  overflow-x: hidden;
}

h1,
h2,
h3,
.hero h1,
.award-title,
.section-title,
.vote-title,
.brand-title {
  font-family: var(--font-display);
}

button,
input,
textarea,
select {
  font-family: inherit;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 72%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.045), transparent);
  transform: translateX(-65%);
  animation: pageSheen 9s ease-in-out infinite;
  opacity: 0.45;
}

@keyframes pageSheen {
  0%, 38% { transform: translateX(-65%); }
  70%, 100% { transform: translateX(65%); }
}

.ambient-orb {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.34;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.30), transparent 64%);
  animation: orbFloat 10s ease-in-out infinite;
}

.orb-one { top: 120px; left: -160px; }
.orb-two { right: -180px; bottom: 10%; animation-delay: -4s; opacity: 0.25; }

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(26px, -22px, 0) scale(1.08); }
}

.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 28px));
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(18,18,18,0.78), rgba(22,22,22,0.50));
  box-shadow: 0 18px 50px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), rgba(255,193,7,0.08));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 0 32px rgba(255,193,7,0.18);
  overflow: hidden;
}

.logo-img {
  filter: brightness(0) saturate(100);
  max-width: 82%;
  max-height: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #0a0a0a;
  background: linear-gradient(135deg, #fff7c8, var(--primary));
}

.brand-copy { min-width: 0; }
.brand-title {
  display: block;
  font-size: 0.96rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid rgba(255, 193, 7, 0.34);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 193, 7, 0.11);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 193, 7, 0.20);
  box-shadow: 0 14px 34px rgba(255, 193, 7, 0.15);
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - var(--header-height) - 58px);
  padding: 36px 0 52px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  animation: slideFadeIn 0.65s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: rgba(255,255,255,0.80);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.eyebrow i { color: var(--primary); }

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(2.65rem, 7.4vw, 6.7rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-weight: 900;
}

.hero h1 span {
  display: inline-block;
  background: linear-gradient(135deg, #fff7c8 0%, var(--primary) 34%, #ffb300 78%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 18px 35px rgba(255, 193, 7, 0.14));
}

.hero-lead {
  max-width: 660px;
  margin: 0 0 30px;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
}

.btn {
  appearance: none;
  border: none;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease, opacity 0.22s ease;
  user-select: none;
}

.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-primary {
  color: #090909;
  background: linear-gradient(135deg, #fff3b0 0%, var(--primary) 42%, #d99500 100%);
  box-shadow: 0 18px 42px rgba(255,193,7,0.24), inset 0 1px 0 rgba(255,255,255,0.55);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(255,193,7,0.34), inset 0 1px 0 rgba(255,255,255,0.65);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255,255,255,0.10);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  font-weight: 700;
}

.meta-pill i { color: var(--primary); }

.hero-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  animation: slideFadeIn 0.75s 0.08s ease both;
}

.award-orbit {
  position: absolute;
  inset: 8% 4%;
  border-radius: 999px;
  background: conic-gradient(from 120deg, transparent, rgba(255,193,7,0.18), transparent, rgba(255,255,255,0.10), transparent);
  filter: blur(0.2px);
  opacity: 0.9;
  animation: slowSpin 18s linear infinite;
}

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

.award-card {
  position: relative;
  overflow: hidden;
  width: min(360px, 100%);
  min-height: 420px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.award-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(120deg, transparent 36%, rgba(255,255,255,0.17), transparent 58%);
  transform: rotate(20deg) translateX(-28%);
  animation: cardSheen 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardSheen {
  0%, 48% { transform: rotate(20deg) translateX(-34%); opacity: 0; }
  62% { opacity: 1; }
  100% { transform: rotate(20deg) translateX(34%); opacity: 0; }
}

.award-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.award-chip {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.24);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.award-year {
  color: rgba(255,255,255,0.5);
  font-weight: 850;
  letter-spacing: -0.04em;
}

.trophy-box {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 56px auto 34px;
  display: grid;
  place-items: center;
  border-radius: 52px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255,255,255,0.95), rgba(255,226,122,0.92) 22%, rgba(255,193,7,0.52) 58%, rgba(255,193,7,0.12) 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 34px 80px rgba(255,193,7,0.23), inset 0 1px 0 rgba(255,255,255,0.8);
  animation: float 4.5s ease-in-out infinite;
  z-index: 2;
}

.trophy-box::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 62px;
  border: 1px solid rgba(255,193,7,0.25);
  filter: blur(0.3px);
}

.trophy-icon {
  color: #ffffff;
  font-size: 5.8rem;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.22));
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-13px) rotate(2deg); }
}

.award-title {
  position: relative;
  z-index: 2;
  margin: 0;
  text-align: center;
  font-size: 2.4rem;
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.award-subtitle {
  position: relative;
  z-index: 2;
  max-width: 290px;
  margin: 14px auto 0;
  color: rgba(255,255,255,0.62);
  text-align: center;
  line-height: 1.55;
  font-size: 0.92rem;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 205px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0,0,0,0.36), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(25px);
  animation: floatMini 5.2s ease-in-out infinite;
}

.floating-card.one { left: 0; top: 22%; }
.floating-card.two { right: -4px; bottom: 18%; animation-delay: -2.5s; }

@keyframes floatMini {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,193,7,0.13);
  color: var(--primary);
  border: 1px solid rgba(255,193,7,0.20);
  flex: 0 0 auto;
}

.floating-card strong { display: block; font-size: 0.92rem; }
.floating-card span { display: block; margin-top: 3px; color: rgba(255,255,255,0.50); font-size: 0.75rem; }

.glass-card {
  position: relative;
  overflow: hidden;
  width: min(760px, 100%);
  margin: 30px auto 52px;
  padding: clamp(24px, 5vw, 42px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.15);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.045)),
    radial-gradient(circle at 0% 0%, rgba(255,193,7,0.12), transparent 38%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.13);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  animation: slideFadeIn 0.45s ease both;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.10), transparent 28%, transparent 72%, rgba(255,255,255,0.05));
}

.card-inner { position: relative; z-index: 2; }

.step-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.section-desc {
  margin: 12px 0 28px;
  color: rgba(255,255,255,0.62);
  line-height: 1.6;
}

.btn-link-back {
  position: relative;
  z-index: 3;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.52);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.22s ease;
}

.btn-link-back:hover { color: var(--primary); transform: translateX(-2px); }

.btn-back-circle {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,0.075);
  cursor: pointer;
  z-index: 6;
  transition: 0.22s ease;
  backdrop-filter: blur(16px);
}

.btn-back-circle:hover {
  color: #090909;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateX(-2px);
}

.input-wrap { position: relative; }
.input-wrap i {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.42);
  pointer-events: none;
}

input[type="text"], input[type="search"] {
  width: 100%;
  min-height: 58px;
  padding: 0 16px 0 46px;
  color: #fff;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px;
  outline: none;
  font-size: 1rem;
  font-family: inherit;
  transition: 0.22s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

input[type="text"]::placeholder, input[type="search"]::placeholder { color: rgba(255,255,255,0.36); }
input[type="text"]:focus, input[type="search"]:focus {
  border-color: rgba(255,193,7,0.55);
  box-shadow: 0 0 0 4px rgba(255,193,7,0.11), inset 0 1px 0 rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.34);
}

.category-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 20px 0 16px;
}

.category-count {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 18px;
  color: rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  font-weight: 800;
  white-space: nowrap;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 12px;
  max-height: 430px;
  overflow-y: auto;
  padding: 4px 4px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,193,7,0.55) rgba(255,255,255,0.08);
}

.category-item {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.052);
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  transition: 0.22s ease;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 750;
}

.category-item::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255,193,7,0.10);
  flex: 0 0 auto;
  transition: 0.22s ease;
}

.category-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,193,7,0.42);
  background: rgba(255,193,7,0.11);
  box-shadow: 0 16px 42px rgba(0,0,0,0.20);
}

.category-item:hover::after { transform: translateX(2px); color: #0a0a0a; background: var(--primary); }

.suggestions-list {
  display: none;
  position: relative;
  z-index: 10;
  width: 100%;
  max-height: 230px;
  overflow-y: auto;
  margin-top: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8,8,8,0.64);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

.suggestion-item {
  padding: 15px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.88);
  transition: 0.2s ease;
  font-weight: 750;
  text-align: left;
}

.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { color: var(--primary); background: rgba(255,193,7,0.11); }

.selected-category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin: 28px auto 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,193,7,0.27);
  background: rgba(255,193,7,0.10);
  color: var(--primary);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-align: center;
}

.vote-title {
  margin: 16px 0 8px;
  text-align: center;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.vote-desc { text-align: center; margin: 0 auto 28px; color: rgba(255,255,255,0.62); line-height: 1.55; }

.toast-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: grid;
  gap: 10px;
  width: min(370px, calc(100vw - 32px));
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(14,14,14,0.78);
  box-shadow: 0 18px 54px rgba(0,0,0,0.42);
  backdrop-filter: blur(20px);
  animation: slideInToast 0.35s ease both;
  font-weight: 750;
}

.toast i { color: var(--primary); }
.toast.error i { color: #ff6767; }

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  background: rgba(0,0,0,0.74);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ticket {
  width: min(420px, 100%);
  overflow: hidden;
  border-radius: 32px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.07)),
    radial-gradient(circle at 50% 0%, rgba(255,193,7,0.25), transparent 42%);
  border: 1px solid rgba(15, 15, 15, 0.11);
  box-shadow: 0 34px 120px rgba(0,0,0,0.62);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(18px);
  animation: popIn 0.38s ease both;
}

.ticket-header {
  text-align: center;
  padding: 22px 20px;
  border-bottom: 1px dashed rgba(255,255,255,0.11);
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 900;
}

.ticket-body { padding: 34px 28px; text-align: center; }
.ticket-success {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  color: #071008;
  background: linear-gradient(135deg, #d7ffd9, #34d06a);
  box-shadow: 0 22px 42px rgba(52,208,106,0.22);
  font-size: 2rem;
}

.ticket h3 { margin: 0; font-size: 2rem; letter-spacing: -0.06em; }
.ticket p { color: rgba(255,255,255,0.66); line-height: 1.55; }
.ticket-footer {
  padding: 15px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.52);
  background: rgba(0,0,0,0.20);
}

.site-footer {
  text-align: center;
  padding: 36px 0 18px;
  color: rgba(255,255,255,0.34);
  font-size: 0.78rem;
}

@keyframes slideFadeIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInToast {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

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

[hidden] { display: none !important; }

@media (max-width: 900px) {
  body { padding-top: 88px; }
  .navbar { top: 10px; width: calc(100% - 20px); }
  .nav-cta span { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 26px; }
  .hero-stage { min-height: 520px; order: -1; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .floating-card.one { left: 8px; }
  .floating-card.two { right: 8px; }
}

@media (max-width: 620px) {
  :root { --header-height: 82px; }
  .container { padding: 18px 14px 38px; }
  .brand-title { font-size: 0.82rem; }
  .brand-sub { font-size: 0.55rem; letter-spacing: 0.16em; }
  .logo-wrap { width: 42px; height: 42px; }
  .hero h1 { font-size: clamp(2.45rem, 14vw, 4.25rem); }
  .hero-stage { min-height: 456px; }
  .award-card { min-height: 430px; border-radius: 34px; }
  .trophy-box { width: 154px; height: 154px; border-radius: 42px; margin-top: 48px; }
  .trophy-icon { font-size: 4.55rem; }
  .floating-card { width: 178px; padding: 12px; }
  .floating-card.two { bottom: 10%; }
  .hero-actions .btn { width: 100%; }
  .category-toolbar { grid-template-columns: 1fr; }
  .category-count { justify-content: flex-start; }
  .category-list { grid-template-columns: 1fr; max-height: 430px; }
  .glass-card { border-radius: 28px; }
  .btn-back-circle { top: 18px; left: 18px; }
  .toast-container { right: 16px; bottom: 16px; }
}

/* Utilities */
.btn-block { width: 100%; }
.mt-8 { margin-top: 8px; }
.mt-18 { margin-top: 18px; }
.mt-22 { margin-top: 22px; }
.text-center { text-align: center; }

#flowCard {
  max-height: calc(100dvh - var(--header-height) - 40px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#flowCard .card-inner {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Review/final confirmation card: larger desktop area */
#reviewCard {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100dvh - var(--header-height) - 40px);
  overflow: hidden;
}

#reviewCard .card-inner {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

#reviewCard .section-desc {
  margin-bottom: 20px;
}

#reviewCard #reviewList {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  flex: 1;
  min-height: 360px;
  max-height: none;
  overflow-y: auto;
  padding: 4px 10px 24px 4px;
}

#reviewCard #reviewList .category-item {
  min-height: 86px;
  align-items: center;
}

#reviewCard #reviewList .category-item strong {
  display: block;
  line-height: 1.15;
}

#reviewCard #reviewList .category-item small {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.62);
  line-height: 1.2;
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 620px) {
  #reviewCard {
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  #reviewCard .card-inner {
    display: block;
  }

  #reviewCard #reviewList {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: 58dvh;
  }
}

.category-toolbar {
  flex: 0 0 auto;
}

.category-list {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow-y: auto;

  padding: 4px 8px 32px 4px;
  scroll-padding-bottom: 48px;
}

/* Fix: manter o botão final visível na conferência */
#reviewCard {
  height: min(760px, calc(100dvh - var(--header-height) - 28px));
  max-height: calc(100dvh - var(--header-height) - 28px);
  margin-top: 16px;
  margin-bottom: 24px;
  overflow: hidden;
}

#reviewCard .card-inner {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

#reviewCard #reviewList {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding-bottom: 14px;
}

#reviewCard #btnFinalizeVotes {
  flex: 0 0 auto;
  margin-top: 14px;
  position: sticky;
  bottom: 0;
  z-index: 8;
  box-shadow: 0 -18px 38px rgba(0,0,0,0.34), 0 18px 42px rgba(255,193,7,0.24), inset 0 1px 0 rgba(255,255,255,0.55);
}

@media (max-width: 620px) {
  #reviewCard {
    height: auto;
    max-height: none;
    margin-top: 20px;
    margin-bottom: 32px;
    overflow: visible;
  }

  #reviewCard .card-inner {
    height: auto;
    display: block;
  }

  #reviewCard #reviewList {
    max-height: 58dvh;
    overflow-y: auto;
  }
}


/* Ajuste fino: escala menor, responsividade e performance */
:root {
  --header-height: 78px;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

html { -webkit-text-size-adjust: 100%; }
body {
  padding-top: calc(var(--header-height) + 4px);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
button, input, .category-item { touch-action: manipulation; }

body::before { background-size: 58px 58px; opacity: 0.7; }
body::after { opacity: 0.24; animation-duration: 14s; }
.ambient-orb { width: 330px; height: 330px; filter: blur(42px); opacity: 0.24; }

.navbar {
  top: 10px;
  width: min(1080px, calc(100% - 28px));
  min-height: 58px;
  padding: 9px 12px 9px 14px;
  gap: 12px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.logo-wrap { width: 42px; height: 42px; }
.brand { gap: 10px; }
.brand-title { font-size: 0.88rem; }
.brand-sub { font-size: 0.58rem; letter-spacing: 0.18em; }
.nav-cta { min-height: 39px; padding: 0 15px; font-size: 0.82rem; }

.container {
  width: min(1080px, 100%);
  padding: 14px 18px 38px;
}

.hero {
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.82fr);
  gap: 22px;
  min-height: calc(100vh - var(--header-height) - 42px);
  padding: 20px 0 34px;
}
.eyebrow { padding: 8px 12px; font-size: 0.70rem; gap: 8px; }
.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.35rem, 6.2vw, 5.25rem);
  line-height: 1;
}
.hero-lead {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.55;
}
.hero-actions { gap: 10px; margin-bottom: 18px; }
.hero-meta { gap: 8px; margin-top: 14px; }
.meta-pill { padding: 8px 10px; font-size: 0.75rem; }

.btn {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 15px;
  font-size: 0.88rem;
}
.btn-primary { box-shadow: 0 12px 28px rgba(255,193,7,0.18), inset 0 1px 0 rgba(255,255,255,0.52); }
.btn-primary:hover:not(:disabled), .btn-ghost:hover, .nav-cta:hover, .category-item:hover, .btn-back-circle:hover, .btn-link-back:hover {
  transform: translateY(-1px);
}

.hero-stage { min-height: 430px; }
.award-orbit { inset: 10% 8%; opacity: 0.58; }
.award-card {
  width: min(315px, 100%);
  min-height: 350px;
  padding: 22px;
  border-radius: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.award-chip { padding: 7px 10px; font-size: 0.67rem; }
.trophy-box {
  width: 145px;
  height: 145px;
  margin: 38px auto 26px;
  border-radius: 40px;
}
.trophy-box::after { inset: -14px; border-radius: 48px; }
.trophy-icon { font-size: 4.3rem; }
.award-title { font-size: 2rem; }
.award-subtitle { font-size: 0.82rem; line-height: 1.45; }
.floating-card {
  width: 178px;
  padding: 11px;
  border-radius: 18px;
  gap: 10px;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.float-icon { width: 36px; height: 36px; border-radius: 12px; }
.floating-card strong { font-size: 0.82rem; }
.floating-card span { font-size: 0.68rem; }

.glass-card {
  width: min(720px, 100%);
  margin: 20px auto 40px;
  padding: clamp(20px, 3.8vw, 32px);
  border-radius: 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  contain: layout paint;
}
.btn-link-back { margin-bottom: 12px; font-size: 0.82rem; }
.step-label { margin-bottom: 9px; font-size: 0.68rem; }
.section-title { font-size: clamp(1.65rem, 4.2vw, 2.65rem); }
.section-desc { margin: 10px 0 20px; line-height: 1.5; font-size: 0.92rem; }

input[type="text"], input[type="search"] {
  min-height: 50px;
  border-radius: 15px;
  font-size: 0.92rem;
}
.input-wrap i { left: 15px; }
.category-toolbar { gap: 10px; margin: 16px 0 12px; }
.category-count { min-height: 50px; padding: 0 12px; border-radius: 15px; font-size: 0.82rem; }
.category-list {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  padding: 3px 6px 24px 3px;
}
.category-item {
  min-height: 58px;
  padding: 12px;
  border-radius: 15px;
  gap: 9px;
  font-size: 0.84rem;
  line-height: 1.14;
}
.category-item::after { width: 24px; height: 24px; font-size: 0.72rem; }
.selected-category { margin-top: 18px; padding: 10px 13px; font-size: 0.86rem; }
.vote-title { font-size: clamp(1.55rem, 4.2vw, 2.45rem); }
.vote-desc { margin-bottom: 20px; font-size: 0.92rem; }
.suggestions-list { max-height: 205px; border-radius: 15px; backdrop-filter: blur(12px); }
.suggestion-item { padding: 12px 14px; font-size: 0.88rem; }
.toast { padding: 12px 14px; border-radius: 15px; backdrop-filter: blur(12px); }
.ticket { border-radius: 26px; }
.ticket-body { padding: 28px 24px; }
.ticket h3 { font-size: 1.65rem; }

#flowCard {
  max-height: calc(100dvh - var(--header-height) - 24px);
}
#reviewCard {
  width: min(1020px, calc(100vw - 28px));
  height: min(680px, calc(100dvh - var(--header-height) - 22px));
  max-height: calc(100dvh - var(--header-height) - 22px);
  margin-top: 12px;
  margin-bottom: 20px;
}
#reviewCard #reviewList {
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  min-height: 0;
  padding: 3px 8px 12px 3px;
}
#reviewCard #reviewList .category-item {
  min-height: 70px;
  padding: 12px;
}
#reviewCard #reviewList .category-item small {
  margin-top: 4px;
  font-size: 0.68rem;
  line-height: 1.15;
}
#reviewCard #btnFinalizeVotes { margin-top: 10px; }

@media (max-width: 900px) {
  :root { --header-height: 74px; }
  body { padding-top: calc(var(--header-height) + 2px); }
  .navbar { top: 8px; min-height: 56px; width: calc(100% - 18px); }
  .hero { gap: 16px; padding-top: 12px; }
  .hero-stage { min-height: 360px; }
  .award-card { width: min(290px, 86vw); min-height: 320px; }
  .floating-card { width: 156px; }
}

@media (max-width: 620px) {
  :root { --header-height: 68px; }
  body { padding-top: calc(var(--header-height) + 2px); }
  body::after, .award-card::before { display: none; }
  .ambient-orb { width: 240px; height: 240px; filter: blur(32px); opacity: 0.16; animation: none; }
  .container { padding: 10px 12px 30px; }
  .navbar {
    top: 7px;
    width: calc(100% - 14px);
    min-height: 52px;
    padding: 7px 9px 7px 10px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .logo-wrap { width: 38px; height: 38px; }
  .brand-title { font-size: 0.78rem; }
  .brand-sub { font-size: 0.48rem; letter-spacing: 0.12em; }
  .nav-cta { min-height: 36px; padding: 0 12px; }
  .hero {
    padding: 8px 0 24px;
    gap: 12px;
  }
  .hero-stage {
    min-height: 270px;
    transform: none;
  }
  .award-orbit, .floating-card { display: none; }
  .award-card {
    width: min(250px, 82vw);
    min-height: 250px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,0.075);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .award-chip { font-size: 0.58rem; }
  .trophy-box {
    width: 104px;
    height: 104px;
    margin: 24px auto 18px;
    border-radius: 30px;
    animation: none;
  }
  .trophy-icon { font-size: 3.15rem; }
  .award-title { font-size: 1.55rem; }
  .award-subtitle { font-size: 0.74rem; }
  .eyebrow { font-size: 0.63rem; padding: 7px 10px; }
  .hero h1 { font-size: clamp(2.05rem, 11.5vw, 3.2rem); margin: 14px 0 12px; }
  .hero-lead { font-size: 0.92rem; line-height: 1.5; margin-bottom: 16px; }
  .hero-actions { margin-bottom: 12px; }
  .meta-pill { width: auto; font-size: 0.68rem; padding: 7px 9px; }
  .glass-card {
    margin: 12px auto 28px;
    padding: 18px;
    border-radius: 22px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background:
      linear-gradient(145deg, rgba(255,255,255,0.105), rgba(255,255,255,0.052)),
      radial-gradient(circle at 0% 0%, rgba(255,193,7,0.10), transparent 36%);
  }
  .section-title { font-size: clamp(1.5rem, 8vw, 2.15rem); }
  .section-desc { font-size: 0.86rem; margin-bottom: 16px; }
  .btn { min-height: 45px; padding: 0 15px; border-radius: 14px; font-size: 0.84rem; }
  input[type="text"], input[type="search"] { min-height: 47px; font-size: 0.88rem; }
  .category-count { min-height: 42px; font-size: 0.78rem; }
  .category-list { gap: 8px; max-height: 56dvh; }
  .category-item { min-height: 52px; padding: 11px; font-size: 0.82rem; border-radius: 14px; }
  .toast-container { right: 10px; bottom: 10px; width: calc(100vw - 20px); }
  #flowCard { max-height: calc(100dvh - var(--header-height) - 14px); }
  #reviewCard {
    width: 100%;
    height: calc(100dvh - var(--header-height) - 16px);
    max-height: calc(100dvh - var(--header-height) - 16px);
    overflow: hidden;
  }
  #reviewCard .card-inner { height: 100%; display: flex; flex-direction: column; }
  #reviewCard #reviewList { max-height: none; flex: 1 1 auto; overflow-y: auto; }
}

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

/* Ajuste final: desktop sem scroll, escala menor e votação com 5 colunas */
@media (min-width: 769px) {
  html,
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  body {
    min-height: 100dvh;
    padding-top: calc(var(--header-height) + 2px);
  }

  .site-footer {
    display: none;
  }

  .navbar {
    top: 8px;
    min-height: 56px;
    padding: 8px 12px 8px 14px;
  }

  .logo-wrap {
    width: 40px;
    height: 40px;
  }

  .brand-title {
    font-size: 0.84rem;
  }

  .brand-sub {
    font-size: 0.55rem;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 15px;
  }

  .container {
    height: calc(100dvh - var(--header-height) - 2px);
    padding: 8px 18px 10px;
    overflow: hidden;
  }

  .hero {
    height: 100%;
    min-height: 0;
    padding: 4px 0 6px;
    grid-template-columns: minmax(0, 1.06fr) minmax(250px, 0.74fr);
    gap: 16px;
    align-content: center;
  }

  .eyebrow {
    padding: 7px 11px;
    font-size: 0.66rem;
  }

  .hero h1 {
    margin: 12px 0 10px;
    font-size: clamp(2.25rem, 4.85vw, 4.45rem);
    line-height: 0.98;
  }

  .hero-lead {
    max-width: 570px;
    margin-bottom: 14px;
    font-size: clamp(0.88rem, 1.25vw, 1rem);
    line-height: 1.45;
  }

  .hero-actions {
    margin-bottom: 12px;
  }

  .hero-meta {
    margin-top: 8px;
  }

  .meta-pill {
    padding: 7px 9px;
    font-size: 0.70rem;
  }

  .btn {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.84rem;
    border-radius: 14px;
  }

  .hero-stage {
    min-height: 0;
    height: 100%;
    max-height: calc(100dvh - var(--header-height) - 14px);
    transform: scale(0.88);
    transform-origin: center;
  }

  .award-card {
    width: min(295px, 100%);
    min-height: 330px;
    padding: 20px;
    border-radius: 22px;
  }

  .award-chip {
    padding: 6px 9px;
    font-size: 0.62rem;
  }

  .trophy-box {
    width: 132px;
    height: 132px;
    margin: 32px auto 22px;
    border-radius: 36px;
  }

  .trophy-icon {
    font-size: 3.9rem;
  }

  .award-title {
    font-size: 1.82rem;
  }

  .award-subtitle {
    margin-top: 10px;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .floating-card {
    width: 162px;
    padding: 10px;
    border-radius: 16px;
  }

  .floating-card strong {
    font-size: 0.76rem;
  }

  .floating-card span {
    font-size: 0.63rem;
  }

  .float-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .glass-card {
    margin: 0 auto;
    max-height: calc(100dvh - var(--header-height) - 14px);
    overflow: hidden;
  }

  #flowCard,
  #reviewCard {
    width: min(1120px, calc(100vw - 36px));
    height: calc(100dvh - var(--header-height) - 14px);
    max-height: calc(100dvh - var(--header-height) - 14px);
    padding: 18px 20px;
    margin: 0 auto;
  }

  #flowCard .card-inner,
  #reviewCard .card-inner {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  #flowCard .btn-link-back,
  #reviewCard .btn-link-back {
    margin-bottom: 8px;
  }

  #flowCard .step-label,
  #reviewCard .step-label {
    margin-bottom: 6px;
  }

  #flowCard .section-title,
  #reviewCard .section-title {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
  }

  #flowCard .section-desc,
  #reviewCard .section-desc {
    margin: 8px 0 12px;
    font-size: 0.84rem;
    line-height: 1.35;
  }

  #flowCard .category-toolbar {
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 8px;
    margin: 8px 0 10px;
  }

  #flowCard input[type="search"] {
    min-height: 42px;
  }

  #flowCard .category-count {
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  #flowCard .category-list,
  #reviewCard #reviewList {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 2px 6px 10px 2px;
    align-content: start;
  }

  #flowCard .category-item,
  #reviewCard #reviewList .category-item {
    min-height: 50px;
    padding: 9px 34px 9px 10px;
    border-radius: 13px;
    font-size: 0.76rem;
    line-height: 1.08;
    position: relative;
  }

  #flowCard .category-item::after,
  #reviewCard #reviewList .category-item::after {
    position: absolute;
    right: 8px;
    width: 22px;
    height: 22px;
    font-size: 0.64rem;
  }

  #reviewCard #reviewList .category-item {
    min-height: 58px;
  }

  #reviewCard #reviewList .category-item strong,
  #reviewCard #reviewList .category-item small {
    max-width: 100%;
  }

  #reviewCard #reviewList .category-item small {
    margin-top: 3px;
    font-size: 0.62rem;
    line-height: 1.1;
  }

  #flowCard #btnReviewSelections,
  #reviewCard #btnFinalizeVotes {
    flex: 0 0 auto;
    min-height: 42px;
    margin-top: 8px;
  }

  #stepVote {
    width: min(620px, calc(100vw - 36px));
    margin: 0 auto;
    padding: 22px;
  }
}

@media (min-width: 769px) and (max-height: 720px) {
  .hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.95rem);
  }

  .hero-lead {
    font-size: 0.86rem;
    line-height: 1.38;
  }

  .hero-stage {
    transform: scale(0.78);
  }

  .eyebrow,
  .hero-meta {
    display: none;
  }

  #flowCard,
  #reviewCard {
    padding: 14px 18px;
  }

  #flowCard .section-desc,
  #reviewCard .section-desc {
    display: none;
  }

  #flowCard .category-item,
  #reviewCard #reviewList .category-item {
    min-height: 46px;
  }
}

@media (max-width: 768px) {
  html,
  body {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

@media (min-width: 769px) and (max-width: 1040px) {
  #flowCard .category-list,
  #reviewCard #reviewList {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Correção: mantém todas as informações visíveis e suaviza troca de telas */
[data-step] {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition:
    opacity 0.30s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.30s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.30s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

[data-step].step-prep {
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.992);
  filter: blur(2px);
}

[data-step].step-exit {
  opacity: 0;
  transform: translate3d(0, -10px, 0) scale(0.995);
  filter: blur(2px);
  pointer-events: none;
}

[data-step].step-enter {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce), (max-width: 620px) {
  [data-step] {
    transition: none !important;
    filter: none !important;
  }
}

/* Correção visual desktop: sem sumir eyebrow, selos e descrição em telas baixas */
@media (min-width: 769px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(1080px, 100%);
    height: calc(100dvh - var(--header-height) - 2px);
    padding: 6px 18px 8px;
  }

  .hero {
    height: 100%;
    min-height: 0;
    padding: 2px 0 4px;
    gap: clamp(14px, 2vw, 24px);
    grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.76fr);
  }

  .hero-copy {
    align-self: center;
  }

  .eyebrow,
  .hero-meta,
  #flowCard .section-desc,
  #reviewCard .section-desc {
    display: flex !important;
  }

  .eyebrow {
    padding: 6px 10px;
    font-size: clamp(0.56rem, 0.85vw, 0.68rem);
    gap: 7px;
    letter-spacing: 0.105em;
  }

  .hero h1 {
    margin: 10px 0 9px;
    font-size: clamp(2.25rem, 5.15vw, 4.75rem);
    line-height: 0.98;
    max-width: 660px;
  }

  .hero-lead {
    display: block !important;
    max-width: 560px;
    margin-bottom: 12px;
    font-size: clamp(0.84rem, 1.15vw, 0.98rem);
    line-height: 1.42;
  }

  .hero-actions {
    margin-bottom: 10px;
    gap: 9px;
  }

  .hero-meta {
    margin-top: 8px;
    gap: 7px;
    flex-wrap: wrap;
  }

  .meta-pill {
    padding: 6px 8px;
    font-size: clamp(0.60rem, 0.8vw, 0.70rem);
    line-height: 1;
  }

  .btn {
    min-height: 42px;
    padding: 0 15px;
    font-size: 0.82rem;
  }

  .hero-stage {
    height: 100%;
    max-height: calc(100dvh - var(--header-height) - 8px);
    transform: scale(0.82);
    transform-origin: center right;
  }

  .award-card {
    width: min(286px, 100%);
    min-height: 316px;
    padding: 18px;
  }

  .trophy-box {
    width: 124px;
    height: 124px;
    margin: 28px auto 19px;
  }

  .trophy-icon {
    font-size: 3.65rem;
  }

  .award-title {
    font-size: 1.72rem;
  }

  .award-subtitle {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .floating-card {
    width: 158px;
    padding: 9px;
  }

  .floating-card strong { font-size: 0.74rem; }
  .floating-card span { font-size: 0.62rem; }
}

@media (min-width: 769px) and (max-height: 720px) {
  .navbar {
    top: 6px;
    min-height: 52px;
    padding: 7px 12px 7px 14px;
  }

  .logo-wrap {
    width: 38px;
    height: 38px;
  }

  .brand-title { font-size: 0.80rem; }
  .brand-sub { font-size: 0.50rem; }
  .nav-cta { min-height: 36px; padding: 0 14px; }

  .container {
    padding-top: 4px;
    padding-bottom: 6px;
  }

  .hero {
    align-items: center;
  }

  .eyebrow {
    display: inline-flex !important;
    padding: 5px 9px;
    font-size: 0.54rem;
  }

  .hero h1 {
    margin: 8px 0 8px;
    font-size: clamp(2rem, 4.35vw, 3.65rem);
    line-height: 0.97;
  }

  .hero-lead {
    display: block !important;
    max-width: 540px;
    margin-bottom: 10px;
    font-size: 0.82rem;
    line-height: 1.34;
  }

  .hero-actions {
    margin-bottom: 8px;
  }

  .hero-meta {
    display: flex !important;
    margin-top: 6px;
    gap: 6px;
  }

  .meta-pill {
    padding: 5px 7px;
    font-size: 0.58rem;
  }

  .btn {
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.78rem;
  }

  .hero-stage {
    transform: scale(0.68);
  }

  .award-card {
    min-height: 300px;
  }

  .trophy-box {
    width: 112px;
    height: 112px;
    margin: 24px auto 16px;
  }

  .award-title { font-size: 1.55rem; }
  .award-subtitle { font-size: 0.68rem; }

  #flowCard .section-desc,
  #reviewCard .section-desc {
    display: block !important;
    margin: 6px 0 10px;
    font-size: 0.78rem;
    line-height: 1.25;
  }
}

/* Modal/tela de categorias: 5 por linha no desktop sem cortar botão */
@media (min-width: 769px) {
  #flowCard,
  #reviewCard {
    width: min(1120px, calc(100vw - 36px));
    height: calc(100dvh - var(--header-height) - 12px);
    max-height: calc(100dvh - var(--header-height) - 12px);
    padding: 16px 18px 14px;
  }

  #flowCard .section-title,
  #reviewCard .section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  }

  #flowCard .category-toolbar {
    grid-template-columns: minmax(280px, 1fr) auto auto;
    gap: 8px;
    margin: 8px 0 9px;
  }

  #flowCard input[type="search"],
  #flowCard .category-count {
    min-height: 40px;
  }

  #flowCard .category-list,
  #reviewCard #reviewList {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 8px;
  }

  #flowCard .category-item,
  #reviewCard #reviewList .category-item {
    min-height: 48px;
    padding: 8px 33px 8px 10px;
    font-size: 0.74rem;
  }

  #flowCard #btnReviewSelections,
  #reviewCard #btnFinalizeVotes {
    min-height: 42px;
    margin-top: 8px;
  }
}

/* Patch final: responsividade mobile, transições suaves e categorias em 3 colunas */
[data-step] {
  transition:
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: opacity, transform, filter;
}

[data-step].step-prep {
  opacity: 0 !important;
  transform: translate3d(0, 18px, 0) scale(0.985) !important;
  filter: blur(3px) !important;
}

[data-step].step-exit {
  opacity: 0 !important;
  transform: translate3d(0, -14px, 0) scale(0.99) !important;
  filter: blur(3px) !important;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-step] {
    transition: none !important;
    filter: none !important;
  }
}

@media (min-width: 769px) {
  #flowCard,
  #reviewCard {
    width: min(980px, calc(100vw - 36px)) !important;
    height: calc(100dvh - var(--header-height) - 18px) !important;
    max-height: calc(100dvh - var(--header-height) - 18px) !important;
    padding: 18px 20px 14px !important;
    overflow: hidden !important;
  }

  #flowCard .card-inner,
  #reviewCard .card-inner {
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #flowCard .category-toolbar {
    grid-template-columns: minmax(280px, 1fr) auto auto !important;
    gap: 10px !important;
    margin: 10px 0 12px !important;
  }

  #flowCard .category-list,
  #reviewCard #reviewList {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 2px 8px 12px 2px !important;
    align-content: start !important;
  }

  #flowCard .category-item,
  #reviewCard #reviewList .category-item {
    min-height: 52px !important;
    padding: 10px 38px 10px 12px !important;
    border-radius: 14px !important;
    font-size: 0.80rem !important;
    line-height: 1.12 !important;
    position: relative !important;
  }

  #flowCard .category-item::after,
  #reviewCard #reviewList .category-item::after {
    right: 10px !important;
    width: 24px !important;
    height: 24px !important;
  }

  #flowCard #btnReviewSelections,
  #reviewCard #btnFinalizeVotes {
    flex: 0 0 auto !important;
    min-height: 44px !important;
    margin-top: 10px !important;
  }
}

@media (min-width: 769px) and (max-width: 1040px) {
  #flowCard .category-list,
  #reviewCard #reviewList {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 769px) and (max-height: 690px) {
  #flowCard,
  #reviewCard {
    padding: 14px 18px 12px !important;
  }

  #flowCard .section-title,
  #reviewCard .section-title {
    font-size: clamp(1.45rem, 2.6vw, 2rem) !important;
  }

  #flowCard .section-desc,
  #reviewCard .section-desc {
    margin: 5px 0 8px !important;
    font-size: 0.76rem !important;
  }

  #flowCard .category-toolbar {
    margin: 7px 0 8px !important;
  }

  #flowCard .category-item,
  #reviewCard #reviewList .category-item {
    min-height: 46px !important;
    font-size: 0.74rem !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100% !important;
    min-height: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  :root {
    --header-height: 58px;
  }

  body {
    padding-top: calc(var(--header-height) + 6px) !important;
  }

  body::after,
  .award-card::before {
    display: none !important;
  }

  .ambient-orb {
    animation: none !important;
    width: 220px !important;
    height: 220px !important;
    filter: blur(32px) !important;
    opacity: 0.14 !important;
  }

  .navbar {
    top: 7px !important;
    width: calc(100% - 18px) !important;
    min-height: 48px !important;
    padding: 6px 8px !important;
    border-radius: 999px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  .brand {
    gap: 8px !important;
  }

  .logo-wrap {
    width: 34px !important;
    height: 34px !important;
  }

  .brand-title {
    font-size: 0.72rem !important;
    line-height: 1 !important;
  }

  .brand-sub {
    font-size: 0.43rem !important;
    letter-spacing: 0.10em !important;
    margin-top: 2px !important;
  }

  .nav-cta {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    justify-content: center !important;
  }

  .nav-cta span {
    display: none !important;
  }

  .container {
    width: 100% !important;
    height: auto !important;
    min-height: calc(100dvh - var(--header-height)) !important;
    padding: 12px 14px 80px !important;
    overflow: visible !important;
  }

  .hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: calc(100dvh - var(--header-height) - 18px) !important;
    height: auto !important;
    padding: 10px 0 26px !important;
    gap: 14px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .hero-copy {
    order: 1 !important;
    width: 100% !important;
    max-width: 390px !important;
    text-align: center !important;
    align-self: center !important;
  }

  .eyebrow {
    display: inline-flex !important;
    max-width: 100% !important;
    padding: 6px 9px !important;
    font-size: 0.55rem !important;
    letter-spacing: 0.09em !important;
    gap: 6px !important;
  }

  .hero h1 {
    max-width: 360px !important;
    margin: 12px auto 10px !important;
    font-size: clamp(2.05rem, 10.8vw, 3.15rem) !important;
    line-height: 0.99 !important;
    letter-spacing: -0.05em !important;
  }

  .hero-lead {
    max-width: 350px !important;
    margin: 0 auto 14px !important;
    font-size: 0.84rem !important;
    line-height: 1.42 !important;
  }

  .hero-actions {
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  .hero-actions .btn {
    width: auto !important;
    min-height: 40px !important;
    padding: 0 13px !important;
    border-radius: 13px !important;
    font-size: 0.76rem !important;
  }

  .hero-meta {
    justify-content: center !important;
    gap: 6px !important;
    margin-top: 8px !important;
  }

  .meta-pill {
    padding: 6px 8px !important;
    font-size: 0.58rem !important;
    line-height: 1 !important;
  }

  .hero-stage {
    order: 2 !important;
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    display: block !important;
    transform: none !important;
    margin: 2px auto 0 !important;
  }

  .award-orbit,
  .floating-card {
    display: none !important;
  }

  .award-card {
    width: min(270px, 100%) !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 14px !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .award-top {
    margin-bottom: 10px !important;
  }

  .award-chip {
    padding: 5px 8px !important;
    font-size: 0.54rem !important;
  }

  .award-year {
    font-size: 0.86rem !important;
  }

  .trophy-box {
    width: 88px !important;
    height: 88px !important;
    margin: 8px auto 10px !important;
    border-radius: 26px !important;
    animation: none !important;
  }

  .trophy-box::after {
    inset: -9px !important;
    border-radius: 32px !important;
  }

  .trophy-icon {
    font-size: 2.75rem !important;
  }

  .award-title {
    font-size: 1.38rem !important;
    line-height: 0.95 !important;
  }

  .award-subtitle {
    max-width: 220px !important;
    margin: 7px auto 0 !important;
    font-size: 0.68rem !important;
    line-height: 1.3 !important;
  }

  .glass-card,
  #flowCard,
  #reviewCard,
  #stepVote,
  #onboardingCard {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto 22px !important;
    padding: 16px 14px !important;
    border-radius: 22px !important;
    overflow: visible !important;
  }

  #flowCard .card-inner,
  #reviewCard .card-inner {
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100dvh - var(--header-height) - 34px) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }

  .section-title {
    font-size: clamp(1.55rem, 8vw, 2.15rem) !important;
    line-height: 1 !important;
  }

  .section-desc {
    margin: 8px 0 14px !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
  }

  #flowCard .category-toolbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin: 10px 0 10px !important;
  }

  #flowCard input[type="search"],
  input[type="text"],
  input[type="search"] {
    min-height: 44px !important;
    border-radius: 14px !important;
    font-size: 0.84rem !important;
  }

  #flowCard .category-count {
    min-height: 38px !important;
    justify-content: flex-start !important;
    font-size: 0.74rem !important;
  }

  #flowCard .category-list,
  #reviewCard #reviewList {
    grid-template-columns: 1fr !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: min(54dvh, 430px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    gap: 8px !important;
    padding: 2px 4px 10px 2px !important;
  }

  #flowCard .category-item,
  #reviewCard #reviewList .category-item {
    min-height: 48px !important;
    padding: 10px 36px 10px 11px !important;
    border-radius: 13px !important;
    font-size: 0.78rem !important;
    line-height: 1.12 !important;
  }

  #flowCard #btnReviewSelections,
  #reviewCard #btnFinalizeVotes {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 8 !important;
    min-height: 42px !important;
    margin-top: 10px !important;
  }
}

@media (max-width: 380px) {
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .brand-title {
    font-size: 0.66rem !important;
  }

  .brand-sub {
    font-size: 0.39rem !important;
  }

  .hero h1 {
    max-width: 300px !important;
    font-size: clamp(1.85rem, 12.8vw, 2.5rem) !important;
  }

  .hero-lead {
    max-width: 300px !important;
    font-size: 0.76rem !important;
  }

  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-actions .btn {
    width: 100% !important;
  }

  .meta-pill {
    font-size: 0.52rem !important;
  }

  .award-card {
    width: min(235px, 100%) !important;
    padding: 12px !important;
  }

  .trophy-box {
    width: 76px !important;
    height: 76px !important;
  }

  .trophy-icon {
    font-size: 2.35rem !important;
  }

  .award-title {
    font-size: 1.18rem !important;
  }

  .award-subtitle {
    font-size: 0.62rem !important;
  }
}

/* Ajuste: centralização real das etapas no celular e transições suaves */
html {
  scroll-padding-top: calc(var(--header-height) + 18px);
}

[data-step] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

@media (max-width: 768px) {
  [data-step] {
    transition:
      opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.34s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: opacity, transform, filter;
  }

  [data-step].step-prep {
    opacity: 0 !important;
    transform: translate3d(0, 18px, 0) scale(0.985) !important;
    filter: blur(2px) !important;
  }

  [data-step].step-exit {
    opacity: 0 !important;
    transform: translate3d(0, -12px, 0) scale(0.99) !important;
    filter: blur(2px) !important;
    pointer-events: none !important;
  }

  [data-step].step-enter {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    filter: blur(0) !important;
  }

  #onboardingCard,
  #flowCard,
  #stepVote,
  #reviewCard {
    scroll-margin-top: calc(var(--header-height) + 18px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-step] {
    transition: none !important;
    filter: none !important;
  }
}

/* Ajuste: votação com mínimo de 20 e opção de continuar votando */
.review-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 10;
  padding-top: 10px;
  background: linear-gradient(180deg, rgba(20,20,20,0), rgba(20,20,20,0.82) 24%, rgba(20,20,20,0.96));
}

.review-actions .btn {
  min-height: 46px;
  margin-top: 0 !important;
}

#selectedCount + small {
  opacity: 0.72;
  font-size: 0.72rem;
  font-weight: 850;
  margin-left: 4px;
}

@media (max-width: 768px) {
  .review-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 8px;
  }

  .review-actions .btn {
    width: 100%;
    min-height: 44px;
  }
}
