@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800;900&display=swap");

:root {
  --green: #087d4c;
  --deep-green: #06452f;
  --yellow: #fedd00;
  --blue: #123a78;
  --ink: #171d2b;
  --muted: #687284;
  --line: #e4e8ed;
  --surface: #ffffff;
  --soft: #f7faf8;
  --danger: #b42318;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

button,
a,
input,
select,
textarea {
  min-width: 0;
}

.app-shell,
.admin-shell,
.result-shell {
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto;
}

.app-shell {
  padding: 0;
}

.hero {
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: start;
  gap: clamp(12px, 2.2vh, 26px);
  padding-top: 88px;
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(23, 29, 43, 0.05);
}

.site-header-inner {
  width: min(1460px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.brand-row {
  display: flex;
  align-items: center;
  color: var(--ink);
  font-weight: 950;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 202px;
  height: auto;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 44px;
  color: var(--deep-green);
  background: transparent;
  border-radius: 0;
  border-bottom: 0;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: 0;
  font-style: italic;
}

.brand-name {
  display: grid;
  gap: 1px;
  font-size: 1.08rem;
  line-height: 1;
}

.brand-name small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 42px);
}

.site-nav a {
  color: var(--ink);
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
}

.header-button {
  min-width: 220px;
  min-height: 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: clamp(28px, 5.8vw, 84px);
  align-items: center;
  min-height: 0;
  padding: clamp(14px, 2vh, 24px) min(8vw, 108px) 0;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--deep-green);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(2.65rem, min(4.7vw, 7vh), 4.55rem);
  font-weight: 950;
}

h1 span {
  display: block;
  color: var(--green);
}

h2 {
  font-size: clamp(1.7rem, 5vw, 3.3rem);
}

h3 {
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.hero-text,
.confirmation-text,
#resultDetails {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vh, 1.12rem);
  line-height: 1.48;
}

.hero-facts {
  display: grid;
  grid-template-columns: minmax(210px, 250px) minmax(270px, 360px);
  gap: clamp(14px, 1.8vw, 20px);
  margin: clamp(16px, 2.6vh, 30px) 0 clamp(14px, 2.2vh, 24px);
  width: min(100%, 640px);
}

@keyframes softEntrance {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes featureFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes shirtLayerEntrance {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 20px)) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes shirtPremiumFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(-0.4deg) scale(1);
  }

  35% {
    transform: translateY(calc(-50% - 7px)) rotate(0.55deg) scale(1.01);
  }

  70% {
    transform: translateY(calc(-50% + 2px)) rotate(-0.2deg) scale(1.004);
  }
}

.countdown {
  width: min(100%, 640px);
  margin: 0 0 clamp(14px, 2vh, 22px);
  padding: clamp(15px, 2vh, 18px);
  border: 1px solid #d8e7df;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 252, 249, 0.98));
  box-shadow: 0 18px 44px rgba(23, 29, 43, 0.06);
  animation: softEntrance 0.62s ease 0.16s both;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(8, 125, 76, 0.1), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(155, 255, 0, 0.12), transparent 24%);
  pointer-events: none;
}

.countdown:hover {
  transform: translateY(-3px);
  border-color: #c9e3da;
  box-shadow: 0 22px 54px rgba(8, 125, 76, 0.11);
}

.countdown-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  position: relative;
  z-index: 1;
}

.countdown-heading strong {
  color: var(--deep-green);
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eaf7f0;
  border: 1px solid #cfe8da;
  font-size: 0.86rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  position: relative;
  z-index: 1;
}

.countdown-grid span {
  display: grid;
  place-items: center;
  min-height: clamp(62px, 7.2vh, 72px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #dbece3;
  box-shadow: inset 0 -1px 0 rgba(8, 125, 76, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.countdown:hover .countdown-grid span {
  background: #fff;
  border-color: #c7e3d6;
  box-shadow: inset 0 -2px 0 rgba(8, 125, 76, 0.16), 0 10px 24px rgba(8, 125, 76, 0.06);
}

.countdown-grid span:hover {
  transform: translateY(-2px);
}

.countdown-grid strong {
  color: var(--deep-green);
  font-size: clamp(1.55rem, 3.3vh, 2.15rem);
  line-height: 1;
  font-weight: 950;
}

.countdown-grid small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.countdown p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.hero-facts > span,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: clamp(76px, 8.6vh, 92px);
  padding: 17px 18px;
  border: 1px solid #dfe8e3;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 249, 0.98));
  color: var(--ink);
  font-weight: 950;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(23, 29, 43, 0.055);
  animation: softEntrance 0.58s ease both;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-facts > span::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(0, 128, 78, 0.95), rgba(0, 128, 78, 0));
  transition: right 0.24s ease, opacity 0.24s ease;
}

.hero-facts > span:nth-child(1) {
  animation-delay: 0.04s;
}

.hero-facts > span:nth-child(2) {
  animation-delay: 0.12s;
}

.hero-facts > span:hover {
  transform: translateY(-4px);
  border-color: #c7e2d6;
  background: #fff;
  box-shadow: 0 24px 58px rgba(8, 125, 76, 0.13);
}

.hero-facts > span:hover::after {
  right: 40%;
  opacity: 0.95;
}

.hero-facts > span > span {
  display: grid;
  gap: 3px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  min-width: 0;
  line-height: 1.25;
}

.hero-facts small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.fact-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #e5f4ed;
  border: 1px solid #cbe8d9;
  color: var(--green);
  flex: 0 0 46px;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.hero-facts > span:hover .fact-icon {
  transform: translateY(-1px) scale(1.06);
  background: var(--green);
  color: #fff;
}

.fact-icon svg {
  width: 26px;
  height: 26px;
}

.fact-icon svg,
.secure-note svg,
.chance-pill svg,
.how-it-works svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact-icon svg {
  width: 26px;
  height: 26px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  min-width: 190px;
  padding: 14px 22px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button {
  background: linear-gradient(135deg, var(--green), #05663f);
  color: var(--surface);
  box-shadow: 0 20px 42px rgba(8, 125, 76, 0.28);
}

.primary-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.42s ease;
}

.primary-button:hover::before {
  transform: translateX(120%);
}

.hero-button {
  min-width: 300px;
  min-height: clamp(54px, 6.3vh, 60px);
  justify-content: space-between;
  gap: 22px;
  padding: 15px 18px 15px 24px;
}

.button-arrow {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: clamp(10px, 1.8vh, 16px) 0 0;
  color: #8992a0;
  font-weight: 800;
}

.secure-note svg {
  width: 22px;
  height: 22px;
  color: var(--green);
}

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

.primary-button:hover {
  box-shadow: 0 24px 56px rgba(8, 125, 76, 0.34);
}

.primary-button:hover .button-arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.24);
}

.secondary-button {
  background: var(--surface);
  color: var(--deep-green);
  border: 1px solid var(--line);
}

.shirt-visual {
  min-height: 0;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
}

.shirt-card {
  position: relative;
  width: min(100%, 560px);
  height: min(54vh, 520px);
  min-height: 410px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  padding: clamp(16px, 2.3vh, 24px);
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 74px rgba(23, 29, 43, 0.06);
  overflow: hidden;
  animation: softEntrance 0.68s ease 0.2s both;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.shirt-card:hover {
  transform: translateY(-5px);
  border-color: #c7e2d6;
  box-shadow: 0 30px 86px rgba(8, 125, 76, 0.14);
}

.shirt-halo {
  position: absolute;
  width: clamp(280px, 38vh, 380px);
  height: clamp(280px, 38vh, 380px);
  border-radius: 50%;
  background: #e7f2ed;
  top: 33%;
  left: 50%;
  transform: translateX(-50%);
}

.shirt-card p {
  margin: auto 0 0;
  color: var(--deep-green);
  font-weight: 900;
}

.shirt-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
  isolation: isolate;
}

.shirt-feature-board {
  position: absolute;
  z-index: 1;
  right: 7%;
  top: 50%;
  width: min(54%, 330px);
  min-height: clamp(210px, 29vh, 278px);
  display: grid;
  align-content: center;
  gap: clamp(7px, 1.2vh, 10px);
  padding: clamp(16px, 2.2vw, 24px) clamp(30px, 4vw, 44px) clamp(16px, 2.2vw, 24px) clamp(102px, 11.5vw, 130px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 50%, rgba(255,255,255,0.12), transparent 28%),
    linear-gradient(145deg, #087d4c, #066b42);
  color: #ffffff;
  font-family: "Poppins", Inter, ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 22px 52px rgba(6, 69, 47, 0.22);
  transform: translateY(-50%);
}

.shirt-feature-board span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.58em;
  width: fit-content;
  max-width: 100%;
  min-height: clamp(22px, 3.1vh, 30px);
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 18px rgba(6, 45, 32, 0.12);
  font-size: clamp(0.72rem, min(1.24vw, 1.86vh), 0.94rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
  animation: featureFloat 3.4s ease-in-out infinite;
}

.shirt-feature-board span:nth-child(2) {
  animation-delay: 0.35s;
}

.shirt-feature-board span:nth-child(3) {
  animation-delay: 0.7s;
}

.shirt-feature-board span:nth-child(4) {
  animation-delay: 1.05s;
}

.shirt-feature-board span:nth-child(5) {
  animation-delay: 1.4s;
}

.shirt-feature-board span:nth-child(6) {
  animation-delay: 1.75s;
}

.shirt-feature-board span::before {
  content: "";
  width: 0.42em;
  height: 0.42em;
  flex: 0 0 0.42em;
  border-radius: 50%;
  background: currentColor;
}

.official-shirt-image {
  position: absolute;
  z-index: 3;
  left: 1%;
  top: 50%;
  display: block;
  width: min(62%, 355px);
  height: auto;
  max-height: min(46vh, 445px);
  object-fit: contain;
  transform: translateY(-50%);
  filter: drop-shadow(0 24px 30px rgba(23, 29, 43, 0.2));
  animation:
    shirtLayerEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s both,
    shirtPremiumFloat 5.6s ease-in-out 1.15s infinite;
  transition: transform 0.34s ease, filter 0.34s ease;
}

.shirt-card:hover .official-shirt-image {
  transform: translateY(calc(-50% - 5px)) scale(1.025);
  filter: drop-shadow(0 30px 34px rgba(8, 85, 55, 0.22));
}

.prize-preview .official-shirt-image {
  position: relative;
  left: auto;
  top: auto;
  width: min(100%, 430px);
  height: 100%;
  max-height: min(45vh, 440px);
  justify-self: center;
  margin-left: 0;
  transform: none;
  animation: shirtEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s both;
}

.shirt {
  position: relative;
  z-index: 1;
  width: clamp(215px, min(25vw, 33vh), 310px);
  aspect-ratio: 310 / 370;
  height: auto;
  background: var(--yellow);
  clip-path: polygon(20% 0, 36% 0, 43% 9%, 57% 9%, 64% 0, 80% 0, 100% 22%, 84% 39%, 77% 31%, 77% 100%, 23% 100%, 23% 31%, 16% 39%, 0 22%);
  border-bottom: 12px solid #0d5f40;
  box-shadow:
    inset 0 -28px 0 rgba(8, 125, 76, 0.14),
    0 30px 35px rgba(23, 29, 43, 0.18);
}

.shirt-neck {
  position: absolute;
  left: 50%;
  top: 0;
  width: 24.5%;
  height: 13%;
  transform: translateX(-50%);
  border-radius: 0 0 40px 40px;
  background: var(--deep-green);
}

.shirt-shoulder {
  position: absolute;
  top: 27.5%;
  width: 23%;
  height: 4.8%;
  background: var(--deep-green);
}

.shirt-shoulder.left {
  left: 16px;
  transform: rotate(38deg);
}

.shirt-shoulder.right {
  right: 16px;
  transform: rotate(-38deg);
}

.shirt-logo,
.shirt-crest {
  position: absolute;
  z-index: 2;
  color: var(--deep-green);
  font-weight: 950;
}

.shirt-logo {
  top: 32%;
  left: 29%;
  font-style: italic;
}

.shirt-crest {
  top: 29%;
  right: 22%;
  display: grid;
  place-items: center;
  width: 18.5%;
  height: 17.3%;
  border: 4px solid var(--blue);
  border-radius: 46% 46% 42% 42%;
  color: var(--blue);
  font-size: 0.62rem;
  background: rgba(255, 255, 255, 0.24);
}

.shirt-pattern {
  position: absolute;
  inset: 15% 11% 10%;
  opacity: 0.16;
  background:
    repeating-linear-gradient(45deg, #ffffff 0 2px, transparent 2px 18px),
    repeating-linear-gradient(-45deg, #ffffff 0 2px, transparent 2px 18px);
}

.chance-pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #c9e3da;
  border-radius: 999px;
  background: #f2faf7;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.shirt-card:hover .chance-pill {
  transform: translateY(-2px);
  border-color: #aad9c4;
  background: #ecf9f2;
}

.chance-pill svg {
  width: 20px;
  height: 20px;
}

.how-it-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 min(8vw, 108px) clamp(10px, 1.8vh, 18px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(23, 29, 43, 0.04);
  animation: softEntrance 0.62s ease 0.28s both;
}

.how-it-works div {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: clamp(66px, 8.5vh, 82px);
  padding: 14px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.how-it-works div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 125, 76, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.how-it-works div:hover {
  transform: translateY(-3px);
  background: #fbfefc;
  box-shadow: 0 18px 42px rgba(8, 125, 76, 0.1);
}

.how-it-works div:hover::before {
  opacity: 1;
}

.how-it-works div + div {
  border-left: 1px solid var(--line);
}

.how-it-works svg {
  width: 34px;
  height: 34px;
  color: var(--green);
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
  transition: transform 0.22s ease, color 0.22s ease;
}

.how-it-works div:hover svg {
  transform: scale(1.08);
  color: var(--deep-green);
}

.how-it-works span {
  display: grid;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.how-it-works strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.how-it-works small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.landing-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 86px) 0;
  scroll-margin-top: 112px;
}

body:not(.funnel-mode) .landing-section,
body:not(.funnel-mode) footer {
  display: none;
}

.landing-section + .landing-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.landing-section h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.landing-section h3 {
  color: var(--ink);
  font-size: 1.08rem;
}

.landing-section p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.steps-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.steps-cards article,
.section-note,
.prize-preview,
.draw-info-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 29, 43, 0.04);
}

.steps-cards article {
  padding: 20px;
}

.steps-cards span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #ddf2e7;
  color: var(--deep-green);
  font-weight: 950;
}

.section-note {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 18px 20px;
}

.section-note strong {
  color: var(--deep-green);
}

.section-note p {
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 750;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.muted-copy {
  color: var(--muted);
}

.prize-preview {
  min-height: 430px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 58%, #fff4a8 0 43%, transparent 44%),
    #fff;
  overflow: hidden;
}

.prize-preview .shirt {
  width: clamp(210px, 24vw, 290px);
}

.prize-shirt-image {
  width: min(100%, 380px);
  max-height: 420px;
}

.draw-info-card {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.draw-info-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.draw-info-card strong {
  color: var(--deep-green);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.draw-info-card p {
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 900;
}

.draw-info-card .secondary-button {
  width: max-content;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 16px 54px 16px 18px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details p {
  margin: 0;
  padding: 0 18px 18px;
}

.funnel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 100dvh;
  min-height: 0;
  max-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 0;
  padding: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(8, 125, 76, 0.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7faf8 100%);
  overflow: hidden;
}

.funnel-header {
  min-height: clamp(82px, 10.5vh, 104px);
  display: grid;
  grid-template-columns: 220px minmax(520px, 1fr) 240px;
  align-items: center;
  gap: 24px;
  padding: clamp(10px, 1.6vh, 16px) max(22px, calc((100vw - 1460px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 36px rgba(23, 29, 43, 0.07);
}

.funnel-header .brand-logo {
  width: 170px;
}

.funnel-secure {
  justify-self: end;
  margin: 0;
  color: var(--muted);
  white-space: nowrap;
}

.progress {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(34px, 5vw, 82px);
}

.progress::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 13%;
  right: 13%;
  height: 2px;
  background: var(--line);
}

.aside-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.progress-step {
  position: relative;
  z-index: 1;
  min-width: 92px;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.92rem;
  text-align: center;
}

.progress-step strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef0f3;
  color: var(--ink);
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
}

.progress-step.active {
  color: var(--deep-green);
}

.progress-step.active strong,
.progress-step.done strong {
  background: var(--deep-green);
  color: var(--surface);
  box-shadow: 0 0 0 1px var(--deep-green);
}

.progress-step.done {
  color: var(--deep-green);
}

/* legacy fallback only for old progress markup */
.progress:not(:has(strong)) {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.progress:not(:has(strong)) .progress-step {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.92rem;
  text-align: center;
}

.progress:not(:has(strong)) .progress-step.active,
.progress:not(:has(strong)) .progress-step.done {
  background: var(--deep-green);
  color: var(--surface);
}

.step-panel,
.result-card {
  padding: clamp(22px, 5vw, 48px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(6, 63, 45, 0.12);
}

.register-panel {
  width: min(1180px, calc(100% - 40px));
  height: min(640px, calc(100dvh - clamp(122px, 16vh, 150px)));
  min-height: 0;
  align-self: center;
  justify-self: center;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 0;
  margin: clamp(12px, 1.8vh, 22px) 0;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
}

.engagement-panel {
  width: min(720px, calc(100% - 40px));
  min-height: min(520px, calc(100dvh - clamp(132px, 17vh, 164px)));
  align-self: center;
  justify-self: center;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  margin: clamp(12px, 1.8vh, 22px) 0;
  text-align: center;
}

.engagement-panel h2 {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, min(3vw, 4.5vh), 2.6rem);
  line-height: 1.12;
}

.engagement-panel p:not(.eyebrow) {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.engagement-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--deep-green);
  color: #fff;
  box-shadow: 0 0 0 8px #eef7f2;
  font-size: 1.3rem;
  font-weight: 950;
}

.engagement-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.engagement-actions .primary-button,
.engagement-actions .secondary-button {
  min-width: 220px;
  justify-content: center;
}

.register-aside {
  display: grid;
  align-content: center;
  gap: clamp(12px, 1.7vh, 18px);
  padding: clamp(22px, min(2.5vw, 3.4vh), 36px);
  background:
    radial-gradient(circle at 20% 16%, rgba(8, 125, 76, 0.1), transparent 34%),
    linear-gradient(180deg, #f6faf8, #f9fbfa);
  border-right: 1px solid var(--line);
}

.step-chip {
  width: max-content;
  margin: 0;
  padding: 8px 13px;
  border-radius: 999px;
  background: #ddf2e7;
  color: var(--deep-green);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.register-aside h2 {
  max-width: 300px;
  color: var(--ink);
  font-size: clamp(2rem, min(3.1vw, 5.4vh), 3rem);
}

.register-aside h2 span {
  display: block;
  color: var(--green);
}

.register-aside > p:not(.step-chip) {
  max-width: 280px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(0.98rem, 1.65vh, 1.1rem);
  line-height: 1.45;
}

.aside-line {
  width: 34px;
  height: 3px;
  background: var(--green);
}

.aside-card {
  display: grid;
  gap: clamp(12px, 1.65vh, 18px);
  margin-top: 4px;
  padding: clamp(14px, 1.9vh, 18px);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 52px rgba(23, 29, 43, 0.06);
}

.aside-card div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.aside-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ddf2e7;
  color: var(--deep-green);
  flex: 0 0 auto;
}

.aside-icon svg {
  width: 22px;
  height: 22px;
}

.aside-card span {
  display: grid;
  gap: 5px;
}

.aside-card strong {
  color: var(--ink);
  font-size: 1rem;
}

.aside-card small {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 850;
}

.register-form-area {
  padding: clamp(20px, min(2.7vw, 3.5vh), 34px);
  overflow: auto;
}

.register-form-area > p {
  margin: 8px 0 clamp(14px, 2.2vh, 22px);
  color: var(--muted);
  font-size: 1.05rem;
}

.register-form-area .form-grid {
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.45vh, 14px) 20px;
  margin-top: 0;
}

.full-field {
  grid-column: 1 / -1;
}

.register-submit {
  width: 100%;
  min-height: 50px;
  justify-content: center;
  gap: 18px;
  background: #004225;
}

.step-panel .primary-button,
.step-panel .secondary-button {
  margin-top: 18px;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 900;
}

label span {
  color: var(--muted);
  font-weight: 800;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
  color: var(--deep-green);
  font-weight: 900;
}

.address-fieldset {
  display: grid;
  gap: 10px;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.45vh, 14px) 20px;
}

.address-grid label {
  min-width: 0;
}

.cep-field {
  grid-column: span 4;
}

.address-grid label:nth-child(2) {
  grid-column: span 8;
}

.number-field {
  grid-column: span 3;
}

.complement-field {
  grid-column: span 9;
}

.address-grid label:nth-child(5),
.address-grid label:nth-child(6),
.address-grid label:nth-child(7) {
  grid-column: span 4;
}

.number-field,
.complement-field {
  grid-row: 2;
}

.address-grid label:nth-child(5),
.address-grid label:nth-child(6),
.address-grid label:nth-child(7) {
  grid-row: 3;
}

.address-grid label:nth-child(2) {
  grid-row: 1;
}

.cep-field {
  grid-row: 1;
}

.address-grid label:nth-child(5) {
  grid-column: 1 / span 4;
}

.address-grid label:nth-child(6) {
  grid-column: 5 / span 4;
}

.address-grid label:nth-child(7) {
  grid-column: 9 / span 4;
}

.cep-feedback {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
}

.cep-feedback[data-type="success"] {
  color: var(--green);
}

.cep-feedback[data-type="error"] {
  color: var(--danger);
}

.cep-feedback[data-type="loading"] {
  color: var(--blue);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 13px 16px;
  outline: 0;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .funnel-header {
    grid-template-columns: 180px minmax(470px, 1fr) 210px;
    gap: 16px;
  }

  .funnel-header .brand-logo {
    width: 150px;
  }

  .progress {
    gap: 24px;
  }

  .progress-step {
    min-width: 82px;
  }

  .funnel-secure {
    font-size: 0.84rem;
  }

  .register-panel {
    width: min(1080px, calc(100% - 28px));
    grid-template-columns: 320px minmax(0, 1fr);
  }
}

input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 151, 57, 0.12);
}

.feedback {
  min-height: 24px;
  color: var(--danger);
  font-weight: 800;
}

.summary-box {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.confirmation-panel {
  width: min(720px, calc(100% - 40px));
  align-self: center;
  justify-self: center;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(28px, 5vw, 52px);
}

.confirmation-panel h2 {
  color: var(--deep-green);
  font-size: clamp(2rem, min(5vw, 7vh), 3.7rem);
}

.confirmation-panel .confirmation-text {
  margin: 0;
}

.confirmation-panel .summary-box {
  width: min(100%, 560px);
  justify-items: center;
  margin-top: 4px;
}

.home-return-button {
  min-width: min(100%, 300px);
}

.success-animation {
  position: relative;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}

.success-ring {
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #ddf2e7;
  animation: successPulse 1.8s ease-out infinite;
}

.success-animation svg {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  overflow: visible;
}

.success-animation circle,
.success-animation path {
  fill: none;
  stroke: var(--deep-green);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-animation circle {
  stroke-dasharray: 290;
  stroke-dashoffset: 290;
  animation: drawCircle 0.7s ease forwards;
}

.success-animation path {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawCheck 0.55s ease 0.55s forwards;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes successPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.75;
  }
  70% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

.summary-box p {
  margin: 0;
  line-height: 1.45;
}

.hidden {
  display: none !important;
}

footer {
  width: 100%;
  margin: 0;
  padding: 18px max(20px, calc((100vw - 1460px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: #0f1412;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  width: min(1460px, 100%);
  min-height: 44px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-content div {
  display: grid;
  gap: 3px;
}

.footer-content strong {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.2;
}

.footer-content a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(155, 255, 0, 0.22);
  border-radius: 999px;
  color: #9bff00;
  font-weight: 900;
  text-decoration: none;
  background: rgba(155, 255, 0, 0.06);
}

.footer-content span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  font-weight: 750;
}

body.funnel-mode {
  overflow: hidden;
}

body.funnel-mode .funnel {
  height: calc(100dvh - 86px);
}

body.funnel-mode footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  min-height: 58px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.admin-page {
  background:
    radial-gradient(circle at 16% 8%, rgba(8, 125, 76, 0.08), transparent 28%),
    #f6f8f7;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 18%, rgba(8, 125, 76, 0.12), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f5f8f6 100%);
}

.login-shell {
  width: min(100%, 460px);
}

.login-card {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 6vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 70px rgba(23, 29, 43, 0.09);
}

.login-card .brand-logo {
  width: 190px;
}

.login-card h1 {
  font-size: clamp(2rem, 8vw, 3.1rem);
}

.login-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.5;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.login-form .primary-button {
  width: 100%;
  margin-top: 4px;
}

.admin-shell {
  padding: 18px 0 28px;
}

.admin-topbar {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-topbar .brand-logo {
  width: 168px;
}

.admin-topbar-actions,
.admin-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-topbar-actions button {
  min-width: 0;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 12px;
}

.admin-hero > div:first-child,
.draw-card,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 29, 43, 0.05);
}

.admin-hero > div:first-child {
  padding: clamp(18px, 2.8vw, 30px);
}

.admin-hero h1 {
  max-width: 840px;
  font-size: clamp(1.75rem, 3.2vw, 3rem);
}

.admin-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.draw-card {
  display: grid;
  gap: 8px;
  align-content: center;
  padding: 18px;
}

.draw-card-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.draw-card strong {
  color: var(--deep-green);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.draw-card small,
.draw-card p,
.admin-panel-header p,
.empty-state {
  color: var(--muted);
  font-weight: 750;
}

.draw-card .primary-button {
  width: 100%;
  margin-top: 8px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.metrics div {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metrics span {
  display: block;
  color: var(--deep-green);
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.metrics p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.draw-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 850;
}

.draw-summary strong {
  color: var(--deep-green);
  margin-right: 6px;
}

.draw-summary span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--soft);
}

.draw-summary b {
  color: var(--ink);
}

.admin-panel {
  margin-top: 12px;
  padding: 14px;
}

.admin-panel-header {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(420px, auto);
  align-items: end;
  gap: 14px;
  margin-bottom: 12px;
}

.admin-panel-header h2 {
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
}

.admin-panel-header p {
  margin: 6px 0 0;
}

.admin-tools input,
.admin-tools select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font-weight: 850;
}

.admin-tools input {
  width: min(320px, 100%);
}

.admin-tools select {
  min-width: 132px;
}

.admin-result {
  min-height: 24px;
  margin-bottom: 14px;
  color: var(--deep-green);
  font-weight: 900;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
}

.pagination-bar div {
  display: flex;
  gap: 8px;
}

.pagination-bar button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.pagination-bar button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
}

th:nth-child(1),
td:nth-child(1) {
  width: 22%;
}

th:nth-child(2),
td:nth-child(2) {
  width: 27%;
}

th:nth-child(3),
td:nth-child(3) {
  width: 19%;
}

th:nth-child(4),
td:nth-child(4) {
  width: 18%;
}

th:nth-child(5),
td:nth-child(5) {
  width: 14%;
}

th,
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--deep-green);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0;
  background: var(--soft);
}

td {
  color: var(--ink);
}

.status-list {
  display: grid;
  gap: 5px;
}

.participant-cell,
.contact-cell,
.review-cell {
  display: grid;
  gap: 6px;
}

.participant-cell strong,
.contact-cell strong {
  color: var(--ink);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.participant-cell small,
.contact-cell span,
.contact-cell a {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-cell a {
  width: max-content;
  max-width: 100%;
  color: var(--green);
  text-decoration: none;
  font-weight: 900;
}

.contact-cell a:hover {
  text-decoration: underline;
}

.instagram-missing {
  color: var(--muted);
  font-weight: 900;
}

.progress-cell {
  min-width: 0;
}

.step-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.step-pill.done {
  color: var(--deep-green);
  background: #ddf2e7;
}

.step-pill.pending {
  color: #725b12;
  background: #fff4cc;
}

.status-ok {
  color: var(--green);
  font-weight: 900;
}

.status-wait {
  color: var(--muted);
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.admin-badge.ok {
  color: var(--deep-green);
  background: #ddf2e7;
}

.admin-badge.wait {
  color: #725b12;
  background: #fff4cc;
}

.admin-badge.danger {
  color: #8a1f14;
  background: #ffe1de;
}

.audit-list {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.audit-details {
  margin-top: 4px;
}

.audit-details summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  list-style-position: inside;
}

.audit-details[open] {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.audit-list small {
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff4cc;
  color: #725b12;
  font-weight: 900;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.admin-actions button {
  min-height: 30px;
  padding: 5px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-actions button:hover {
  border-color: var(--green);
  color: var(--deep-green);
}

.duplicates-list {
  display: grid;
  gap: 12px;
}

.duplicate-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.duplicate-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.duplicate-heading strong {
  color: var(--ink);
  font-size: 1rem;
}

.duplicate-heading span {
  color: var(--deep-green);
  font-weight: 900;
}

.duplicate-card small {
  color: var(--muted);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.duplicate-participants {
  display: grid;
  gap: 8px;
}

.duplicate-participants > div {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.duplicate-participants b {
  color: var(--ink);
}

.duplicate-participants span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.draw-history {
  display: grid;
  gap: 10px;
}

.draw-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.draw-history-item div {
  display: grid;
  gap: 3px;
}

.draw-history-item span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.draw-history-item strong {
  color: var(--ink);
  font-size: 1.1rem;
}

.draw-history-item small {
  color: var(--muted);
  font-weight: 800;
}

.result-shell {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 28px 0;
}

.draw-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 12%, rgba(8, 125, 76, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f8f6 100%);
}

.draw-stage {
  min-height: 100vh;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 32px 0;
}

.draw-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.draw-stage-header .brand-logo {
  width: clamp(172px, 20vw, 236px);
}

.draw-stage-header div {
  text-align: right;
}

.draw-stage-header h1 {
  color: var(--ink);
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.draw-live-card {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 70px rgba(6, 63, 45, 0.13);
}

.draw-live-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.draw-live-summary div {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  text-align: center;
}

.draw-live-summary span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.draw-live-summary strong {
  color: var(--deep-green);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1;
}

.draw-machine {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid #d8e7df;
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  overflow: hidden;
}

.draw-machine::before,
.draw-machine::after {
  display: none;
}

.draw-machine::before {
  top: 0;
  background: linear-gradient(180deg, #fff, rgba(255,255,255,0));
}

.draw-machine::after {
  bottom: 0;
  background: linear-gradient(0deg, #fff, rgba(255,255,255,0));
}

.draw-machine-label {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.draw-reel {
  position: relative;
  min-height: clamp(104px, 15vh, 138px);
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: #f7faf8;
  border: 1px solid #e0ebe5;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.draw-reel::before,
.draw-reel::after {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  z-index: 5;
  width: min(18%, 150px);
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.draw-reel::before {
  left: 0;
  background: linear-gradient(90deg, #f7faf8 0%, rgba(247,250,248,0.74) 55%, transparent 100%);
}

.draw-reel::after {
  right: 0;
  background: linear-gradient(270deg, #f7faf8 0%, rgba(247,250,248,0.74) 55%, transparent 100%);
}

.draw-reel-track {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 calc(50% - 170px);
  will-change: transform;
}

.draw-slide-card {
  width: 320px;
  min-height: 88px;
  flex: 0 0 320px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px 22px;
  border: 1px solid #d7e8df;
  border-radius: 8px;
  background: #ffffff;
  color: var(--deep-green);
  box-shadow: 0 10px 24px rgba(6, 63, 45, 0.07);
  text-align: center;
  opacity: 0.72;
}

.draw-slide-card strong {
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.draw-slide-card span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.draw-slide-card.is-placeholder {
  width: min(100%, 360px);
  flex-basis: min(100%, 360px);
  min-height: 74px;
  background: #ffffff;
  border-color: #d7e8df;
  color: var(--deep-green);
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 950;
  opacity: 1;
  box-shadow: none;
}

.draw-slide-card.is-final {
  border-color: rgba(8, 125, 76, 0.42);
  background:
    radial-gradient(circle at 50% 0%, rgba(160,255,40,0.13), transparent 58%),
    linear-gradient(180deg, rgba(8,125,76,0.98), rgba(6,69,47,0.98));
  color: #ffffff;
  opacity: 1;
}

.draw-slide-card.is-final span {
  color: rgba(255,255,255,0.78);
}

.draw-reel-marker {
  position: absolute;
  inset: 10px calc(50% - 170px);
  z-index: 4;
  border: 1px solid rgba(8, 125, 76, 0.32);
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}

.draw-reel-marker::before,
.draw-reel-marker::after {
  display: none;
}

.draw-reel-marker::before {
  top: -2px;
  border-top: 12px solid var(--green);
  filter: drop-shadow(0 0 8px rgba(8,125,76,0.35));
}

.draw-reel-marker::after {
  bottom: -2px;
  border-bottom: 12px solid var(--green);
  filter: drop-shadow(0 0 8px rgba(8,125,76,0.35));
}

.draw-reel.spinning {
  animation: reelTension 0.34s linear infinite;
}

.draw-reel.spinning .draw-slide-card {
  filter: saturate(0.92) blur(0.15px);
}

.draw-reel.winner-reveal {
  animation: winnerPop 0.72s ease both;
}

.draw-reel.winner-reveal .draw-slide-card.is-final {
  transform: scale(1.02);
  box-shadow:
    0 0 0 1px rgba(160,255,40,0.28),
    0 26px 70px rgba(0,0,0,0.32),
    0 0 60px rgba(160,255,40,0.18);
}

.draw-reel.no-eligible {
  justify-content: center;
  min-height: 92px;
  background: #f8faf9;
}

.draw-reel.no-eligible::before,
.draw-reel.no-eligible::after,
.draw-reel.no-eligible .draw-reel-marker,
.draw-reel.no-eligible + .draw-reel-marker {
  display: none;
}

.draw-reel.no-eligible .draw-reel-track {
  width: 100%;
  justify-content: center;
  padding: 0;
}

.draw-machine p,
.draw-live-feedback {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
  text-align: center;
}

.draw-live-button {
  width: min(420px, 100%);
  justify-self: center;
  min-height: 58px;
  font-size: 1rem;
}

.draw-live-feedback strong {
  color: var(--deep-green);
}

.winner-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(6, 18, 13, 0.34);
  backdrop-filter: blur(8px);
}

.winner-modal.hidden {
  display: none;
}

.winner-modal-card {
  position: relative;
  width: min(620px, 100%);
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(8, 125, 76, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(160,255,40,0.16), transparent 36%),
    #ffffff;
  box-shadow: 0 34px 90px rgba(6, 63, 45, 0.24);
  text-align: center;
  animation: modalRise 0.58s cubic-bezier(.16,.9,.22,1) both;
  overflow: hidden;
}

.winner-burst {
  position: absolute;
  inset: -120px;
  background:
    conic-gradient(from 0deg, transparent 0 8%, rgba(8,125,76,0.1) 9% 10%, transparent 11% 22%, rgba(160,255,40,0.12) 23% 24%, transparent 25% 100%);
  animation: burstSpin 7s linear infinite;
  pointer-events: none;
}

.winner-modal-card > *:not(.winner-burst) {
  position: relative;
  z-index: 1;
}

.winner-modal-card h2 {
  color: var(--deep-green);
  font-size: clamp(2rem, 6vw, 3.8rem);
  line-height: 1.02;
}

.winner-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.winner-data p {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.winner-data strong {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.winner-data span,
.winner-data a {
  color: var(--ink);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.winner-data a {
  color: var(--green);
  text-decoration: none;
}

.winner-check-note {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.55;
}

.winner-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.winner-modal-actions .primary-button,
.winner-modal-actions .secondary-button {
  width: 100%;
}

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

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

@keyframes reelPulse {
  0% { transform: translateY(-2px); filter: blur(0.4px); }
  100% { transform: translateY(2px); filter: blur(0); }
}

@keyframes reelTension {
  0% { filter: saturate(1.05); }
  50% { filter: saturate(1.35) brightness(1.05); }
  100% { filter: saturate(1.05); }
}

@keyframes winnerPop {
  0% { transform: scale(0.96); box-shadow: 0 0 0 rgba(8, 125, 76, 0); }
  55% { transform: scale(1.025); box-shadow: 0 24px 70px rgba(8, 125, 76, 0.28); }
  100% { transform: scale(1); box-shadow: 0 18px 50px rgba(8, 125, 76, 0.22); }
}

.result-card {
  width: min(720px, 100%);
  text-align: center;
}

.result-card h1 {
  margin: 0 auto 24px;
  font-size: clamp(2.1rem, 6vw, 4.2rem);
}

.result-label {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

#resultWinner {
  display: block;
  margin: 8px 0 10px;
  color: var(--green);
  font-size: clamp(2rem, 7vw, 4.6rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .app-shell,
  .admin-shell,
  .result-shell {
    width: min(100% - 28px, 1120px);
  }

  .site-header-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-nav {
    gap: 18px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
    gap: 28px;
    padding-left: 22px;
    padding-right: 22px;
  }

  .admin-hero,
  .admin-panel-header {
    grid-template-columns: 1fr;
  }

  .admin-tools {
    width: 100%;
  }

  .admin-tools input {
    flex: 1 1 260px;
  }

  table {
    min-width: 860px;
  }
}

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

@media (max-width: 760px) {
  .app-shell,
  .admin-shell,
  .result-shell {
    width: min(100% - 22px, 1120px);
  }

  .app-shell {
    width: 100%;
  }

  .site-header {
    min-height: 72px;
  }

  .site-header-inner {
    width: min(100% - 22px, 1120px);
    min-height: 72px;
    grid-template-columns: auto auto;
    gap: 10px;
    padding: 8px 0;
  }

  .site-nav {
    display: none;
  }

  .site-header .brand-logo {
    width: clamp(132px, 38vw, 170px);
  }

  .header-button {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .hero {
    height: auto;
    min-height: 100svh;
    max-height: none;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: visible;
    padding-top: 72px;
    padding-bottom: 0;
  }

  .hero-grid,
  .metrics,
  .how-it-works,
  .steps-cards,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    width: min(100% - 22px, 1120px);
    margin: 0 auto;
    padding: 12px 0 0;
    gap: 22px;
  }

  .hero-copy {
    order: 2;
    text-align: center;
    display: grid;
    justify-items: center;
  }

  .shirt-visual {
    order: 1;
    height: auto;
    min-height: 0;
  }

  h1 {
    max-width: 9.8ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.35rem, 12.4vw, 3.35rem);
    line-height: 1.04;
  }

  .hero-copy .eyebrow,
  .hero-text,
  .secure-note,
  .countdown,
  .hero-facts,
  .hero-button {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .eyebrow {
    text-align: center;
  }

  .hero-text {
    max-width: 32rem;
    text-align: center;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .hero-facts > span {
    justify-content: flex-start;
    text-align: left;
  }

  .countdown-heading {
    align-items: center;
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .countdown {
    padding: 13px;
    width: 100%;
    text-align: center;
  }

  .countdown-grid {
    gap: 7px;
  }

  .countdown-grid span {
    min-height: 58px;
  }

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

  .secure-note {
    justify-content: center;
    text-align: center;
  }

  .shirt-card {
    height: auto;
    min-height: 0;
    grid-template-rows: auto auto;
    padding: 18px;
  }

  .shirt-showcase {
    min-height: 340px;
    display: block;
  }

  .shirt-feature-board {
    right: 4%;
    top: 50%;
    width: 67%;
    min-height: 188px;
    padding: 14px 22px 14px 96px;
    border-radius: 24px;
    gap: 6px;
  }

  .shirt-feature-board span {
    font-size: clamp(0.64rem, 3.1vw, 0.84rem);
    min-height: 24px;
    max-width: 100%;
  }

  .official-shirt-image {
    left: 0;
    top: 50%;
    width: min(63%, 235px);
    height: auto;
    max-height: none;
    object-position: center;
    margin: 0;
    transform: translateY(-50%);
  }

  .shirt {
    width: 220px;
    height: 265px;
  }

  .shirt-halo {
    width: 280px;
    height: 280px;
    top: 128px;
  }

  .shirt-logo {
    top: 86px;
    left: 64px;
  }

  .shirt-crest {
    top: 78px;
    right: 48px;
    width: 48px;
    height: 52px;
  }

  .how-it-works {
    width: min(100% - 22px, 1120px);
    margin: 0 auto 18px;
  }

  .how-it-works div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .landing-section {
    width: min(100% - 22px, 1120px);
    padding: 44px 0;
    scroll-margin-top: 92px;
    text-align: center;
  }

  .landing-section h2 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .section-heading,
  .split-section > div,
  .steps-cards article,
  .section-note,
  .clean-list {
    text-align: center;
  }

  .clean-list {
    padding-left: 0;
    list-style-position: inside;
  }

  .steps-cards {
    gap: 10px;
  }

  .split-section {
    gap: 20px;
  }

  .prize-preview {
    min-height: 340px;
  }

  .draw-info-card .secondary-button {
    width: 100%;
  }

  .progress {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    justify-content: stretch;
    overflow: visible;
    padding: 0 2px 6px;
  }

  .progress::before {
    top: 18px;
    left: 11%;
    right: 11%;
  }

  .progress-step {
    min-width: 0;
    width: 100%;
    gap: 7px;
    font-size: clamp(0.72rem, 2.7vw, 0.8rem);
    line-height: 1.1;
    white-space: nowrap;
  }

  .progress-step strong {
    width: 36px;
    height: 36px;
    border-width: 3px;
    font-size: 0.82rem;
  }

  .address-grid {
    grid-template-columns: 1fr;
  }

  .cep-field,
  .address-grid label:nth-child(2),
  .address-grid label:nth-child(3),
  .address-grid label:nth-child(4),
  .address-grid label:nth-child(5),
  .address-grid label:nth-child(6),
  .address-grid label:nth-child(7),
  .number-field,
  .complement-field {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .funnel-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 24px 10px;
    overflow: hidden;
  }

  .funnel {
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
  }

  body.funnel-mode {
    overflow: auto;
  }

  body.funnel-mode .funnel {
    height: auto;
  }

  body.funnel-mode footer {
    position: static;
  }

  .funnel-header .brand-logo {
    width: min(176px, 54vw);
  }

  .funnel-secure {
    justify-self: start;
    width: 100%;
    justify-content: flex-start;
    padding-top: 4px;
    border-top: 1px solid rgba(223, 230, 225, 0.75);
    font-size: clamp(0.72rem, 2.7vw, 0.82rem);
    white-space: normal;
  }

  .register-panel {
    width: min(100% - 22px, 1120px);
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    margin: 22px auto;
  }

  .register-aside {
    padding: 28px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .register-aside h2 {
    font-size: clamp(2.4rem, 14vw, 3.5rem);
  }

  .aside-card {
    gap: 16px;
    padding: 18px;
  }

  .register-form-area {
    padding: 24px 18px;
  }

  .register-form-area .form-grid {
    grid-template-columns: 1fr;
  }

  .full-field {
    grid-column: auto;
  }

  .admin-topbar,
  .admin-hero,
  .admin-panel-header {
    align-items: stretch;
    flex-direction: column;
  }

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

  .admin-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-tools input,
  .admin-tools select {
    width: 100%;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
  }

  thead {
    display: none;
  }

  #participantsTable {
    display: grid;
    gap: 12px;
  }

  #participantsTable tr {
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
  }

  #participantsTable td {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  #participantsTable td:last-child {
    border-bottom: 0;
  }

  #participantsTable td::before {
    content: attr(data-label);
    color: var(--deep-green);
    font-size: 0.72rem;
    font-weight: 950;
    text-transform: uppercase;
  }

  .participant-cell,
  .contact-cell,
  .review-cell,
  .progress-cell {
    min-width: 0;
  }

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

  .draw-history-item {
    align-items: stretch;
    flex-direction: column;
  }

  .draw-stage {
    width: min(100% - 22px, 1120px);
    align-content: start;
    padding: 20px 0;
  }

  .draw-stage-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .draw-stage-header div {
    text-align: left;
  }

  .draw-live-summary {
    grid-template-columns: 1fr;
  }

  .draw-live-summary div {
    min-height: 78px;
  }

  .draw-reel {
    min-height: 108px;
    font-size: clamp(1.5rem, 9vw, 2.5rem);
  }

  .draw-reel-track {
    padding: 0 calc(50% - 140px);
  }

  .draw-slide-card {
    width: 280px;
    flex-basis: 280px;
  }

  .draw-reel-marker {
    inset: 9px calc(50% - 154px);
  }

  .winner-data,
  .winner-modal-actions {
    grid-template-columns: 1fr;
  }

  .admin-topbar-actions .secondary-button,
  .admin-tools .secondary-button,
  .step-panel .primary-button,
  .step-panel .secondary-button {
    width: 100%;
  }

  .pagination-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-bar div,
  .pagination-bar button {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .site-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .header-button {
    max-width: 100%;
  }

  #participantsTable td {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .step-pills {
    gap: 5px;
  }

  .draw-summary span,
  .draw-summary strong {
    width: 100%;
  }

  .winner-modal {
    padding: 12px;
  }
}
