:root {
  --ink: #15120d;
  --ink-soft: #5f5140;
  --paper: #f7ead2;
  --paper-strong: #ffffff;
  --paper-muted: #ead8b7;
  --line: rgba(21, 18, 13, 0.18);
  --line-strong: rgba(224, 176, 86, 0.34);
  --green: #16130f;
  --green-deep: #0d0c0a;
  --gold: #d9a441;
  --gold-dark: #8f5d18;
  --gold-soft: #ffe7a8;
  --coral: #b98a3a;
  --coral-soft: #f4e2c4;
  --mint: #f9edcc;
  --sky: #d7c39a;
  --rose: #ead2b0;
  --danger: #8f332c;
  --shadow: 0 28px 80px rgba(16, 11, 5, 0.32);
  --shadow-soft: 0 18px 42px rgba(16, 11, 5, 0.14);
  --container: min(1200px, calc(100% - 40px));
  --radius: 8px;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--font-main);
}

@font-face {
  font-family: "Roffelia";
  src:
    local("Roffelia"),
    local("Roffelia Regular"),
    url("assets/roffelia-font/roffelia-regular.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  color: var(--ink);
  background: linear-gradient(180deg, #f5ead9 0%, #fffaf0 46%, #efe2ca 100%);
  font-family: var(--font-main);
  line-height: 1.5;
  overflow-x: hidden;
}

body::selection {
  color: #111;
  background: var(--gold-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
}

main,
.raffle-stage,
.details-band,
.steps-band,
.site-footer {
  max-width: 100%;
  overflow-x: clip;
}

#inicio,
#numeros,
#pix,
#detalhes,
#cartaz {
  scroll-margin-top: 92px;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - 1200px) / 2));
  color: var(--ink);
  background: rgba(255, 249, 238, 0.78);
  border-bottom: 1px solid rgba(143, 93, 24, 0.08);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 249, 238, 0.94);
  box-shadow: 0 12px 34px rgba(21, 18, 13, 0.08);
  backdrop-filter: blur(18px);
}

.site-header:not(.is-scrolled):not(.is-open) .brand-copy,
.site-header:not(.is-scrolled):not(.is-open) .site-nav {
  text-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(143, 93, 24, 0.18);
  border-radius: var(--radius);
  color: #15120d;
  background: #dbbd9b;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.38), 0 10px 22px rgba(16, 11, 5, 0.12);
}

.brand-mark svg {
  display: block;
  width: 27px;
  height: 27px;
  overflow: visible;
}

.brand-mark img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(16, 11, 5, 0.22));
}

.brand-mark path:first-child,
.brand-mark circle {
  fill: currentColor;
}

.brand-mark path:not(:first-child) {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-family: "Montserrat", var(--font-main);
  line-height: 1.08;
  font-size: 1.05rem;
  font-weight: 900;
}

.brand small {
  color: currentColor;
  font-size: 0.75rem;
  opacity: 0.7;
}

.header-participate {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 760;
}

.drawer-heading {
  display: none;
}

.site-nav a {
  position: relative;
  border: 1px solid rgba(217, 164, 65, 0.62);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.08), rgba(217, 164, 65, 0.03)),
    #0b0907;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.08),
    0 9px 20px rgba(16, 11, 5, 0.16);
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:not(.nav-cta)::after {
  display: none;
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 170ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(255, 231, 168, 0.86);
  color: #ffeec2;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.14),
    0 12px 24px rgba(16, 11, 5, 0.2),
    0 0 16px rgba(217, 164, 65, 0.18);
  transform: translateY(-1px);
}

.nav-cta {
  border-color: rgba(217, 164, 65, 0.76);
  border-radius: var(--radius);
  padding: 10px 15px;
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.12), rgba(217, 164, 65, 0.05)),
    #050403;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.12),
    0 10px 24px rgba(16, 11, 5, 0.22),
    0 0 14px rgba(217, 164, 65, 0.18);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.notification-button {
  display: none;
}

.app-tabbar {
  display: none;
}

.floating-participate {
  display: none;
}

.raffle-stage {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  padding: 96px 0 64px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff8ed 0%, #fffaf2 48%, #efe0c4 100%);
}

.raffle-stage::before,
.raffle-stage::after {
  position: absolute;
  z-index: 0;
  width: 27rem;
  height: 27rem;
  border: 2px solid rgba(217, 164, 65, 0.36);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  display: none;
}

.raffle-stage::before {
  top: -18rem;
  left: -9rem;
  box-shadow: inset 0 0 0 1px rgba(143, 93, 24, 0.12);
}

.raffle-stage::after {
  top: 9rem;
  right: -18rem;
  box-shadow: inset 0 0 0 1px rgba(143, 93, 24, 0.14);
}

.raffle-workspace {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 20px;
  align-items: start;
}

.raffle-workspace > * {
  min-width: 0;
}

.hero-copy {
  position: relative;
  display: flex;
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: center;
  min-height: auto;
  padding: 24px 0 38px;
  text-align: center;
}

.hero-cap,
.hero-pretitle,
.hero-script,
.hero-rule {
  display: none;
}

.hero-poster {
  position: relative;
  order: 4;
  width: min(100%, 1059px);
  aspect-ratio: 1059 / 1024;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: 8px;
  background: #11100d;
  box-shadow: 0 24px 70px rgba(16, 11, 5, 0.22);
}

.hero-poster picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-poster-position, 50% 50%);
}

.campaign-lockup {
  position: relative;
  order: 5;
  width: min(760px, 88vw);
  margin: 12px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.campaign-lockup img {
  display: block;
  width: 100%;
  aspect-ratio: 1292 / 984;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 32px 48px rgba(16, 11, 5, 0.2));
}

.campaign-lockup picture {
  display: block;
}

.campaign-lockup::before {
  position: absolute;
  right: 18%;
  bottom: 2%;
  left: 18%;
  height: 14px;
  border-radius: 999px;
  background: rgba(21, 18, 13, 0.22);
  filter: blur(18px);
  content: "";
  transform: translateY(24px);
}

.price-badge {
  position: absolute;
  bottom: 14%;
  left: 4%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: clamp(118px, 15vw, 176px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 231, 168, 0.66);
  border-radius: 50%;
  padding: 14px;
  color: #fff7df;
  background:
    radial-gradient(circle at 42% 25%, rgba(255, 231, 168, 0.2), transparent 42%),
    linear-gradient(180deg, #211d18, #080706);
  box-shadow: 0 18px 36px rgba(16, 11, 5, 0.28), inset 0 0 0 1px rgba(217, 164, 65, 0.38);
  overflow: hidden;
  text-transform: uppercase;
}

.price-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  width: 100%;
  margin: 0;
  color: var(--gold);
  font-family: var(--font-main);
  font-weight: 950;
  line-height: 0.95;
  white-space: nowrap;
}

.price-currency {
  font-size: clamp(0.78rem, 1.25vw, 1.05rem);
}

.price-value {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}

.price-caption {
  margin-top: 6px;
  color: rgba(255, 248, 232, 0.78);
  font-size: clamp(0.5rem, 0.78vw, 0.68rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
  text-align: center;
}

.price-badge i {
  width: 42%;
  height: 1px;
  margin-top: 9px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.campaign-cap {
  display: inline-grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(217, 164, 65, 0.58);
  border-radius: 50%;
  color: var(--gold);
  background: linear-gradient(180deg, #17130e, #3a2a14);
  box-shadow: inset 0 0 0 1px rgba(255, 231, 168, 0.2);
}

.campaign-cap svg {
  width: 28px;
  height: 28px;
  overflow: visible;
}

.campaign-cap path:first-child,
.campaign-cap circle,
.campaign-rule path {
  fill: currentColor;
}

.campaign-cap path:not(:first-child) {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.campaign-topline {
  display: block;
  margin-top: 11px;
  color: #17130e;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1.05;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.campaign-lockup > strong {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  background: linear-gradient(180deg, #fff1ba 0%, #d9a441 42%, #8f5d18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Segoe Script", "Brush Script MT", "Lucida Handwriting", Georgia, serif;
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 0.98;
  filter: drop-shadow(0 2px 0 rgba(80, 46, 8, 0.28)) drop-shadow(0 10px 12px rgba(0, 0, 0, 0.22));
  -webkit-text-stroke: 0.35px rgba(92, 55, 11, 0.26);
  text-shadow: 0 3px 0 rgba(63, 36, 7, 0.18), 0 10px 18px rgba(0, 0, 0, 0.26);
  white-space: nowrap;
  -webkit-text-fill-color: transparent;
}

.price-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  width: 100%;
  margin: 0;
  color: var(--gold);
  background: none;
  background-clip: border-box;
  font-family: var(--font-main);
  font-weight: 950;
  line-height: 0.95;
  filter: none;
  text-shadow: none;
  white-space: nowrap;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
}

.price-line .price-currency,
.price-line .price-value {
  color: var(--gold);
  -webkit-text-fill-color: currentColor;
}

.campaign-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  width: min(100%, 230px);
  margin-top: 11px;
  color: var(--gold-dark);
}

.campaign-rule i {
  height: 1px;
  background: rgba(143, 93, 24, 0.48);
}

.campaign-rule svg {
  width: 15px;
  height: 15px;
}

.hero-cap {
  order: 1;
  display: inline-grid;
  place-items: center;
  width: clamp(38px, 5vw, 56px);
  height: clamp(38px, 5vw, 56px);
  margin-bottom: 8px;
  color: #15120d;
  filter: drop-shadow(0 8px 12px rgba(16, 11, 5, 0.14));
}

.hero-cap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-cap path:first-child,
.hero-cap circle {
  fill: currentColor;
}

.hero-cap path:not(:first-child) {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.hero-pretitle {
  order: 2;
  margin: 0;
  color: #22201b;
  font-size: clamp(1.65rem, 3.7vw, 3rem);
  font-weight: 380;
  letter-spacing: 0;
  line-height: 1.15;
  text-align: center;
}

.hero-script {
  position: relative;
  order: 3;
  display: inline-block;
  max-width: 100%;
  margin: 5px auto 0;
  padding-top: 0;
  color: var(--gold);
  background: none;
  font-family: "Montserrat", var(--font-main);
  font-size: clamp(3.2rem, 8.1vw, 6.8rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-transform: uppercase;
  filter: none;
  text-shadow: none;
  transform: none;
  transform-origin: center;
  white-space: nowrap;
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: var(--gold);
}

.hero-rule {
  order: 4;
  display: grid;
  grid-template-columns: minmax(52px, 1fr) auto minmax(52px, 1fr);
  gap: 13px;
  align-items: center;
  width: min(260px, 60vw);
  margin: 10px 0 14px;
  color: var(--gold);
}

.hero-rule i {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 164, 65, 0.8), transparent);
}

.hero-rule span {
  font-size: 1.1rem;
  line-height: 1;
}

.eyebrow {
  order: 1;
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1,
.tool-heading h2,
.detail-copy h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero-copy h1 {
  order: 4;
  display: grid;
  gap: 3px;
  max-width: 960px;
  font-weight: 950;
  color: #15120d;
  text-shadow: none;
  text-transform: uppercase;
}

.hero-title-kicker {
  display: block;
  font-size: clamp(1.15rem, 2.45vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.08;
}

.hero-product {
  display: block;
  font-size: clamp(4.2rem, 9.8vw, 8.5rem);
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.hero-product strong {
  color: var(--gold);
  font: inherit;
  letter-spacing: -0.055em;
  text-shadow: 0 10px 22px rgba(217, 164, 65, 0.18);
}

.hero-description {
  order: 8;
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  order: 7;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  width: min(100%, 760px);
  margin-top: 28px;
}

.hero-actions .button {
  min-width: min(100%, 320px);
  min-height: 58px;
  border-radius: 999px;
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-actions .button-primary::after {
  margin-left: 10px;
  content: "->";
}

.hero-facts {
  order: 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 900px);
  max-width: 900px;
  margin: -30px 0 0;
  position: relative;
  z-index: 1;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-facts div {
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 132px;
  min-width: 0;
  padding: 18px 14px 19px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.86), transparent 62%),
    rgba(255, 252, 246, 0.78);
  box-shadow: 0 18px 34px rgba(16, 11, 5, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
}

.fact-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border: 1px solid rgba(217, 164, 65, 0.72);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.5);
}

.fact-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.hero-facts dt {
  order: 2;
  margin: 0;
  color: #181511;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-facts dd {
  order: 1;
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.board-tool,
.checkout-tool {
  overflow: hidden;
  border: 1px solid rgba(143, 93, 24, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(21, 18, 13, 0.08);
  backdrop-filter: blur(20px);
}

.board-tool::before,
.checkout-tool::before {
  display: block;
  height: 2px;
  margin: -18px -18px 14px;
  background: linear-gradient(90deg, rgba(143, 93, 24, 0), #d9a441, rgba(143, 93, 24, 0));
  content: "";
}

.board-tool {
  padding: 18px;
}

.checkout-tool {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.tool-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: end;
}

.tool-heading .eyebrow {
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.tool-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 900;
}

.available-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: end;
  border: 1px solid rgba(217, 164, 65, 0.58);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.1), rgba(217, 164, 65, 0.04)),
    #100d09;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.12),
    0 10px 22px rgba(16, 11, 5, 0.14),
    0 0 14px rgba(217, 164, 65, 0.12);
}

.available-counter::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(217, 164, 65, 0.72);
  content: "";
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 18px 0 20px;
  overflow: visible;
  border: 1px solid rgba(143, 93, 24, 0.12);
  border-radius: 20px;
  padding: 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 232, 205, 0.54)),
    rgba(255, 248, 236, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 12px 30px rgba(16, 11, 5, 0.07);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: 999px;
  padding: 0 16px;
  color: #21180d;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 230, 199, 0.82)),
    #fff8eb;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 18px rgba(16, 11, 5, 0.08);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  border-color: rgba(217, 164, 65, 0.86);
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.12), rgba(217, 164, 65, 0.04)),
    #0b0907;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.14),
    0 10px 22px rgba(16, 11, 5, 0.18),
    0 0 16px rgba(217, 164, 65, 0.18);
}

.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-1px);
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 7px;
}

.number-button {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-width: 0;
  border: 1px solid rgba(143, 93, 24, 0.2);
  border-radius: 7px;
  color: var(--ink);
  background: linear-gradient(180deg, #fffaf0, #f0dfc0);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(5, 18, 15, 0.07);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.number-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.buyer-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: var(--danger);
  font-size: 0.55rem;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.number-button:hover,
.number-button:focus-visible {
  border-color: var(--gold);
  color: var(--green-deep);
  background: #fff2d0;
  box-shadow: 0 10px 22px rgba(217, 164, 65, 0.22);
  transform: translateY(-2px);
}

.number-button.is-selected {
  border-color: var(--gold-dark);
  color: #1d1608;
  background: linear-gradient(180deg, #fff0b5, #d9a441);
  box-shadow: inset 0 0 0 2px rgba(143, 93, 24, 0.28), 0 10px 22px rgba(217, 164, 65, 0.24);
}

.number-button.is-reserved,
.number-button.is-payment_reported,
.number-button.is-sold {
  color: rgba(23, 21, 17, 0.46);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.number-button.is-reserved {
  border-color: rgba(143, 93, 24, 0.28);
  background: #f1dfbe;
  gap: 3px;
  grid-template-rows: minmax(0, auto) auto;
  padding: 5px;
}

.number-button.is-payment_reported {
  color: #fff;
  border-color: #1d4ed8;
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  gap: 3px;
  grid-template-rows: minmax(0, auto) auto;
  padding: 5px;
}

.number-button.is-sold {
  border-color: rgba(23, 21, 17, 0.1);
  background: #d9cfbc;
  gap: 3px;
  grid-template-rows: minmax(0, auto) auto;
  padding: 5px;
}

.number-button.is-sold .number-value {
  font-size: 0.74rem;
}

.number-grid.is-empty {
  display: block;
}

.empty-filter {
  margin: 10px 0 0;
  border: 1px dashed rgba(23, 21, 17, 0.25);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.board-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 760;
}

.board-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.legend-dot.is-free {
  background: #fff9eb;
}

.legend-dot.is-selected {
  background: var(--gold);
}

.legend-dot.is-reserved {
  background: #f1dfbe;
}

.legend-dot.is-payment-reported {
  background: #2563eb;
}

.legend-dot.is-sold {
  background: #d9cfbc;
}

.button-payment-reported {
  color: #fff;
  border-color: #1d4ed8;
  background: #2563eb;
}

.button-payment-reported:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 820;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(143, 93, 24, 0.2);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fffaf0;
  outline: none;
  resize: vertical;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 164, 65, 0.2);
}

.selected-box {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(143, 93, 24, 0.18);
  border-radius: var(--radius);
  padding: 13px;
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 8px 20px rgba(5, 18, 15, 0.05);
}

.selected-box > span,
.pix-key span,
.total-row span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 32px;
  align-items: center;
}

.selected-list em {
  color: rgba(23, 21, 17, 0.55);
  font-style: normal;
  font-size: 0.9rem;
}

.selected-chip {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 32px;
  border-radius: 999px;
  color: var(--gold-soft);
  background: linear-gradient(180deg, #272019, #11100d);
  font-size: 0.86rem;
  font-weight: 900;
}

.selected-chip.is-held {
  color: var(--danger);
  background: var(--coral-soft);
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.payment-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(217, 81, 67, 0.2);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--danger);
  background: linear-gradient(180deg, #fff7f2, var(--coral-soft));
}

.payment-timer[hidden] {
  display: none;
}

.payment-timer span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.payment-timer strong {
  font-size: 1.35rem;
  font-weight: 950;
}

.total-row strong {
  color: var(--gold-dark);
  font-size: 1.4rem;
  line-height: 1;
}

.qr-panel {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  border: 1px solid rgba(143, 93, 24, 0.16);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 250, 240, 0.84);
  box-shadow: 0 10px 24px rgba(5, 18, 15, 0.06);
}

.qr-code {
  display: grid;
  place-items: center;
  width: 132px;
  min-height: 132px;
  border: 1px dashed rgba(143, 93, 24, 0.36);
  border-radius: 7px;
  color: rgba(23, 21, 17, 0.52);
  background: #fffaf0;
  overflow: hidden;
}

.qr-code svg {
  display: block;
  width: 100%;
  height: auto;
}

.qr-code span {
  padding: 12px;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.qr-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 760;
}

.pix-key {
  display: grid;
  gap: 4px;
  border-left: 4px solid var(--gold);
  border-radius: 0 7px 7px 0;
  padding: 8px 0 8px 12px;
  background: rgba(217, 164, 65, 0.12);
}

.pix-key strong {
  color: var(--ink);
  font-size: 0.92rem;
  word-break: break-word;
}

.checkout-actions {
  display: grid;
  gap: 9px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 22px rgba(5, 18, 15, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--gold-soft);
  border-color: rgba(217, 164, 65, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.12), rgba(217, 164, 65, 0.05)),
    #070604;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.12),
    0 10px 24px rgba(16, 11, 5, 0.18),
    0 0 14px rgba(217, 164, 65, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: #ffeec2;
  border-color: rgba(255, 231, 168, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.16), rgba(217, 164, 65, 0.07)),
    #050403;
}

.button-whatsapp {
  color: #fff;
  border-color: #12a66a;
  background: linear-gradient(180deg, #1fc779, #138a57);
}

.button-whatsapp:hover,
.button-whatsapp:focus-visible {
  background: #168748;
}

.button-ghost {
  color: var(--gold-soft);
  border-color: rgba(217, 164, 65, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.08), rgba(217, 164, 65, 0.03)),
    #0b0907;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.08),
    0 8px 18px rgba(16, 11, 5, 0.14);
}

.button:disabled,
.button.is-disabled {
  color: rgba(23, 21, 17, 0.45);
  border-color: rgba(23, 21, 17, 0.12);
  background: #e9e3d8;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.panel-status,
.firebase-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 820;
}

.firebase-status {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.details-band {
  padding: 86px 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 164, 65, 0.2), transparent 24rem),
    radial-gradient(circle at 100% 52%, rgba(21, 18, 13, 0.1), transparent 22rem),
    linear-gradient(180deg, rgba(255, 249, 235, 0.82), rgba(238, 224, 194, 0.72)),
    var(--paper);
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  gap: 42px;
  align-items: center;
}

.detail-copy .eyebrow {
  color: var(--gold-dark);
}

.detail-copy h2 {
  max-width: 560px;
  font-size: 4.15rem;
  font-weight: 900;
}

.detail-copy p:not(.eyebrow) {
  max-width: 570px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.raffle-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.raffle-meta li {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 138px;
  border: 1px solid rgba(217, 164, 65, 0.78);
  border-radius: var(--radius);
  padding: 22px 20px 18px;
  color: #fffaf0;
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.08), rgba(143, 93, 24, 0.04)),
    #1c180f;
  box-shadow: 0 20px 48px rgba(16, 11, 5, 0.2), inset 0 0 0 1px rgba(255, 231, 168, 0.08);
}

.raffle-meta span {
  color: #ffd978;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.raffle-meta strong {
  align-self: end;
  color: #fffaf0;
  font-size: 1.05rem;
  line-height: 1.18;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.poster-frame {
  justify-self: end;
  width: min(100%, 420px);
  margin: 0;
  border: 1px solid rgba(217, 164, 65, 0.62);
  border-radius: var(--radius);
  padding: 9px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(217, 164, 65, 0.16), rgba(255, 255, 255, 0.04)),
    #0d0c0a;
  box-shadow: 0 24px 70px rgba(16, 11, 5, 0.26), inset 0 0 0 1px rgba(255, 231, 168, 0.12);
}

.poster-frame img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.poster-frame figcaption {
  margin: 10px 4px 3px;
  font-size: 0.82rem;
  font-weight: 760;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.step-card {
  min-height: 210px;
  border: 1px solid rgba(143, 93, 24, 0.18);
  border-radius: var(--radius);
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(217, 164, 65, 0.1), transparent 12rem),
    #fffaf0;
  box-shadow: var(--shadow-soft);
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--gold-soft);
  background: linear-gradient(180deg, #262018, #0f0d0a);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(217, 164, 65, 0.5);
}

.step-card h3 {
  margin: 28px 0 9px;
  font-size: 1.2rem;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
}

.site-footer {
  padding: 26px 0;
  color: #fff;
  background:
    radial-gradient(circle at 88% 50%, rgba(217, 164, 65, 0.18), transparent 18rem),
    linear-gradient(90deg, rgba(217, 164, 65, 0.16), rgba(255, 231, 168, 0.04)),
    var(--green-deep);
  box-shadow: inset 0 1px 0 rgba(217, 164, 65, 0.34);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-note {
  display: grid;
  gap: 4px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-align: right;
}

.creator-credit {
  color: rgba(255, 255, 255, 0.88);
}

.creator-credit strong {
  color: var(--gold-soft);
  font-weight: 900;
}

.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-enabled .raffle-stage .hero-copy.reveal {
  opacity: 1;
  transform: none;
}

.admin-page {
  min-height: 100svh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff7e8 0%, #f6fff7 58%, #eef8ff 100%);
}

.admin-shell {
  display: grid;
  gap: 18px;
  width: min(1040px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 44px;
}

.admin-hero {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 200, 87, 0.24), rgba(217, 255, 241, 0.58) 54%, rgba(200, 236, 255, 0.5)),
    #fffdf8;
  box-shadow: var(--shadow-soft);
}

.admin-back-link {
  width: max-content;
  color: var(--ink-soft);
  font-weight: 800;
  text-decoration: none;
}

.admin-back-link:hover {
  color: var(--gold-dark);
}

.admin-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: 2.7rem;
  font-weight: 950;
  line-height: 1.02;
}

.admin-lede {
  max-width: 680px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.admin-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-trust-list span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.admin-trust-list span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  content: "";
}

.admin-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow-soft);
}

.admin-panel[data-admin-orders] {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.admin-panel h1,
.admin-panel h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.05;
}

.admin-login-copy {
  display: grid;
  gap: 5px;
  margin-bottom: 16px;
}

.admin-login-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

.google-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 360px);
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  color: var(--ink);
  background: #fffdf8;
  box-shadow: 0 10px 24px rgba(5, 18, 15, 0.08);
  cursor: pointer;
  font-weight: 900;
}

.google-login-button:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.google-login-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.google-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #4285f4;
  background: #fff;
  font-weight: 950;
}

.admin-status {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.admin-session-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow-soft);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.admin-user div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-user strong,
.admin-user span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user span {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.admin-session-status {
  flex: 1 1 100%;
  order: 3;
  margin: 0;
}

.admin-orders-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.admin-orders-heading h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.05;
}

.admin-count {
  flex: 0 0 auto;
  border: 1px solid rgba(7, 94, 84, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--green);
  background: var(--mint);
  font-size: 0.84rem;
  font-weight: 900;
}

.order-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 12px;
  margin-top: 18px;
}

.order-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 16px;
  background: #fffdf8;
  box-shadow: var(--shadow-soft);
}

.order-card.is-expired {
  border-color: rgba(217, 81, 67, 0.3);
  background: #fff8f5;
}

.order-card.is-payment-reported {
  border-color: #60a5fa;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.admin-order-group + .admin-order-group {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.admin-order-group h3 {
  margin: 0 0 1rem;
}

.order-status-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.65rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  color: #1e3a8a;
  background: #dbeafe;
  font-size: 0.78rem;
  font-weight: 800;
}

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.order-card-header div {
  display: grid;
  gap: 3px;
}

.order-card-header strong {
  font-size: 1.1rem;
}

.order-card-header span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.order-card-header b {
  color: var(--green);
  font-size: 1.2rem;
}

.order-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.order-numbers-label {
  flex: 1 1 100%;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.order-number-chip,
.order-numbers-empty {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.88rem;
  font-weight: 950;
}

.order-number-chip {
  color: var(--danger);
  background: var(--coral-soft);
}

.order-numbers-empty {
  color: var(--ink-soft);
  background: #f1eadf;
}

.order-countdown {
  margin: 0;
  border: 1px solid rgba(217, 81, 67, 0.22);
  border-radius: var(--radius);
  padding: 9px 10px;
  color: var(--danger);
  background: #fff1ed;
  font-size: 0.92rem;
  font-weight: 900;
}

.order-countdown.is-expired {
  border-color: rgba(217, 81, 67, 0.34);
  background: #ffe9e4;
}

.order-payment-hint {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  color: var(--ink);
  background: #fff8e8;
  font-size: 0.9rem;
  font-weight: 700;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ticket-proof-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(217, 164, 65, 0.35);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--gold-soft);
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.08), rgba(217, 164, 65, 0.03)),
    #100d08;
  box-shadow:
    inset 0 0 0 1px rgba(255, 231, 168, 0.08),
    0 16px 34px rgba(16, 11, 5, 0.18);
}

.ticket-proof-panel[hidden] {
  display: none;
}

.ticket-proof-panel h2,
.ticket-proof-panel p {
  margin: 0;
}

.ticket-proof-panel p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 246, 223, 0.78);
  line-height: 1.5;
}

.ticket-proof-count {
  display: inline-grid;
  place-items: center;
  width: max-content;
  min-height: 30px;
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 999px;
  margin-top: 8px;
  padding: 0 10px;
  color: #ffe7a8;
  background: rgba(217, 164, 65, 0.1);
  font-size: 0.78rem;
  font-weight: 950;
}

.ticket-proof-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px;
}

.ticket-proof-empty {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed rgba(217, 164, 65, 0.34);
  border-radius: var(--radius);
  padding: 16px;
  color: rgba(255, 246, 223, 0.78);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  font-weight: 850;
}

.ticket-cancelled-box {
  border: 1px solid rgba(217, 81, 67, 0.24);
  border-radius: var(--radius);
  background: rgba(217, 81, 67, 0.06);
}

.ticket-cancelled-box[hidden] {
  display: none;
}

.ticket-cancelled-box summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  color: #ffe7a8;
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.ticket-cancelled-box summary::-webkit-details-marker {
  display: none;
}

.ticket-cancelled-box summary::before {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: 50%;
  color: #ffe7a8;
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.ticket-cancelled-box[open] summary::before {
  content: "-";
}

.ticket-cancelled-box summary span {
  flex: 1;
}

.ticket-cancelled-box summary strong {
  border: 1px solid rgba(217, 81, 67, 0.3);
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffd4ce;
  background: rgba(217, 81, 67, 0.12);
  font-size: 0.75rem;
  white-space: nowrap;
}

.ticket-cancelled-list {
  border-top: 1px solid rgba(217, 81, 67, 0.2);
  padding: 12px;
}

.ticket-proof-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(217, 164, 65, 0.32);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(5, 4, 3, 0.72);
}

.ticket-proof-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.ticket-proof-card-header strong {
  color: #fff3d1;
  font-size: 1.05rem;
}

.ticket-proof-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  min-width: 0;
}

.ticket-proof-card-header span,
.ticket-proof-meta span {
  color: rgba(255, 246, 223, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
}

.ticket-proof-state {
  width: max-content;
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 999px;
  padding: 3px 8px;
  color: #ffe7a8;
  background: rgba(217, 164, 65, 0.12);
  font-size: 0.68rem !important;
  font-weight: 950 !important;
  text-transform: uppercase;
}

.ticket-proof-card code {
  overflow-wrap: anywhere;
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: 8px;
  padding: 10px;
  color: #ffe7a8;
  background: rgba(255, 231, 168, 0.08);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.ticket-proof-qr {
  display: grid;
  place-items: center;
  min-height: 124px;
  border: 1px solid rgba(217, 164, 65, 0.24);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.ticket-proof-qr svg {
  display: block;
  width: min(100%, 136px);
  height: auto;
  border-radius: 4px;
}

.ticket-proof-qr span {
  color: rgba(255, 246, 223, 0.62);
  font-size: 0.82rem;
  font-weight: 900;
}

.ticket-proof-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.ticket-proof-actions .button {
  min-height: 40px;
  padding: 0 10px;
  font-size: 0.78rem;
}

.ticket-cancel-button {
  color: #ffd4ce;
  border-color: rgba(217, 81, 67, 0.42);
}

.ticket-proof-card.is-cancelled {
  opacity: 0.78;
}

.ticket-proof-card.is-legacy .ticket-proof-state {
  color: #ffe7a8;
  border-color: rgba(255, 231, 168, 0.32);
  background: rgba(255, 231, 168, 0.09);
}

.ticket-proof-card.is-cancelled .ticket-proof-state {
  color: #ffd4ce;
  border-color: rgba(217, 81, 67, 0.36);
  background: rgba(217, 81, 67, 0.12);
}

.validation-page {
  min-height: 100svh;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(217, 164, 65, 0.18), transparent 32rem),
    linear-gradient(180deg, #fff8ea 0%, #f3ead9 100%);
}

.validation-shell {
  display: grid;
  place-items: center;
  min-height: 100svh;
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0;
}

.validation-card {
  display: grid;
  gap: 16px;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(217, 164, 65, 0.34);
  border-radius: 12px;
  padding: clamp(18px, 4vw, 34px);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 22px 60px rgba(16, 11, 5, 0.16);
}

.validation-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--ink);
  text-decoration: none;
  font-weight: 950;
}

.validation-brand span:last-child {
  display: grid;
  gap: 2px;
}

.validation-brand small {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.validation-card h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.98;
}

.validation-copy {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.validation-form {
  display: grid;
  gap: 9px;
}

.validation-form label {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.validation-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  min-width: 0;
}

.validation-form input {
  min-width: 0;
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(143, 93, 24, 0.24);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.validation-form input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.18);
}

.validation-status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 850;
}

.validation-status[data-mode="success"] {
  color: var(--green);
}

.validation-status[data-mode="warning"],
.validation-status[data-mode="error"] {
  color: var(--danger);
}

.validation-result {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(217, 164, 65, 0.36);
  border-radius: var(--radius);
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 231, 168, 0.1), rgba(217, 164, 65, 0.04)),
    #100d08;
  color: #fff7df;
}

.validation-result[hidden] {
  display: none;
}

.validation-badge {
  width: max-content;
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 999px;
  padding: 7px 11px;
  color: #ffe7a8;
  background: rgba(217, 164, 65, 0.12);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.validation-result dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.validation-result dl div {
  border: 1px solid rgba(217, 164, 65, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.validation-result dt {
  color: rgba(255, 246, 223, 0.68);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.validation-result dd {
  margin: 7px 0 0;
  color: #fff7df;
  font-size: 1rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.validation-result p {
  margin: 0;
  color: rgba(255, 246, 223, 0.76);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal,
  .reveal-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1120px) {
  .raffle-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  }

  .hero-copy {
    display: flex;
    gap: 0;
    grid-column: 1 / -1;
    align-items: center;
  }

  .hero-poster {
    width: min(100%, 1059px);
  }

  .campaign-lockup {
    width: min(700px, 86vw);
    margin: 8px auto 0;
  }

  .hero-copy h1,
  .hero-description {
    max-width: 720px;
  }

  .checkout-tool {
    position: static;
  }
}

@media (max-width: 860px) {
  :root {
    --container: calc(100% - 30px);
  }

  .validation-shell {
    display: block;
    width: 100%;
    align-items: start;
    padding: 16px 14px;
  }

  .validation-card {
    width: 100%;
    max-width: calc(100vw - 28px);
    margin: 0 auto;
  }

  .validation-form div,
  .validation-result dl,
  .ticket-proof-actions {
    grid-template-columns: 1fr;
  }

  #inicio,
  #numeros,
  #pix,
  #detalhes,
  #cartaz {
    scroll-margin-top: 78px;
  }

  body {
    padding-bottom: calc(108px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #f5ead9 0%, #fffaf0 52%, #efe2ca 100%);
  }

  .site-header {
    justify-content: space-between;
    gap: 10px;
    min-height: 62px;
    padding: 8px 14px;
    color: var(--ink);
    background: rgba(255, 249, 238, 0.96);
    box-shadow: 0 8px 18px rgba(21, 18, 13, 0.06);
    backdrop-filter: none;
  }

  .site-header.is-scrolled,
  .site-header.is-open {
    color: var(--ink);
    background: rgba(255, 249, 238, 0.98);
    box-shadow: 0 8px 18px rgba(21, 18, 13, 0.06);
    backdrop-filter: none;
  }

  .brand {
    display: inline-flex;
    max-width: calc(100vw - 28px);
  }

  .brand-copy {
    min-width: 0;
  }

  .brand strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-participate {
    display: none;
  }

  .header-participate::after {
    display: none;
    content: none;
  }

  .header-participate span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-toggle {
    display: none;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 2px auto;
    border-radius: 999px;
    background: currentColor;
  }

  .site-header.is-open .menu-toggle,
  .site-header.is-scrolled .menu-toggle {
    color: var(--gold-soft);
  }

  .notification-button {
    display: none;
  }

  .notification-button svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.3;
  }

  .notification-button span {
    position: absolute;
    top: -4px;
    right: -3px;
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    border: 2px solid #0d0c0a;
    border-radius: 999px;
    color: #111;
    background: linear-gradient(180deg, #ffe7a8, #d9a441);
    font-size: 0.76rem;
    font-weight: 950;
    line-height: 1;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .drawer-heading {
    display: grid;
    gap: 4px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(217, 164, 65, 0.26);
    padding-bottom: 16px;
  }

  .drawer-heading span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .drawer-heading strong {
    color: #fff8e8;
    font-size: 1.35rem;
    line-height: 1.05;
  }

  .site-nav a,
  .nav-cta {
    border: 1px solid rgba(217, 164, 65, 0.2);
    border-radius: var(--radius);
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-cta {
    color: #15120d;
    background: linear-gradient(180deg, #ffe7a8, #d9a441 56%, #b57922);
  }

  .app-tabbar {
    position: fixed;
    z-index: 32;
    right: auto;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 50%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: min(374px, calc(100% - 24px));
    min-height: 78px;
    border: 1px solid rgba(217, 164, 65, 0.58);
    border-radius: 24px;
    padding: 7px;
    color: rgba(255, 248, 232, 0.68);
    background:
      linear-gradient(180deg, rgba(255, 231, 168, 0.1), rgba(217, 164, 65, 0.03)),
      rgba(9, 7, 5, 0.94);
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.34),
      inset 0 0 0 1px rgba(255, 231, 168, 0.08),
      0 0 18px rgba(217, 164, 65, 0.1);
    backdrop-filter: none;
    overflow: visible;
    transform: translate3d(-50%, 0, 0);
    will-change: transform;
  }

  .app-tabbar a,
  .app-tabbar button {
    display: grid;
    place-items: center;
    gap: 5px;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 17px;
    min-height: 60px;
    padding: 5px 2px 4px;
    color: inherit;
    background: rgba(255, 248, 232, 0.025);
    font: inherit;
    text-align: center;
    outline: none;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
  }

  .app-tabbar svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .app-tabbar span {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.73rem;
    font-weight: 780;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-tabbar a.is-active,
  .app-tabbar a:focus-visible,
  .app-tabbar button:focus-visible {
    border-color: rgba(217, 164, 65, 0.68);
    color: var(--gold-soft);
    background:
      linear-gradient(180deg, rgba(255, 231, 168, 0.12), rgba(217, 164, 65, 0.04)),
      #0b0907;
    box-shadow:
      inset 0 0 0 1px rgba(255, 231, 168, 0.12),
      0 8px 18px rgba(0, 0, 0, 0.2),
      0 0 14px rgba(217, 164, 65, 0.16);
    transform: translateY(-2px);
  }

  @media (hover: hover) and (pointer: fine) {
    .app-tabbar a:hover,
    .app-tabbar button:hover {
      border-color: rgba(217, 164, 65, 0.68);
      color: var(--gold-soft);
      background:
        linear-gradient(180deg, rgba(255, 231, 168, 0.12), rgba(217, 164, 65, 0.04)),
        #0b0907;
      box-shadow:
        inset 0 0 0 1px rgba(255, 231, 168, 0.12),
        0 8px 18px rgba(0, 0, 0, 0.2),
        0 0 14px rgba(217, 164, 65, 0.16);
      transform: translateY(-2px);
    }
  }

  .app-tabbar a.is-active svg {
    filter: drop-shadow(0 0 8px rgba(217, 164, 65, 0.5));
  }

  .raffle-stage {
    overflow: visible;
    min-height: auto;
    padding: 62px 0 0;
    background: linear-gradient(180deg, #f5ead9 0%, #fffaf0 56%, #efe2ca 100%);
  }

  .raffle-workspace,
  .details-layout,
  .steps-list,
  .raffle-meta {
    grid-template-columns: 1fr;
  }

  .raffle-workspace {
    width: 100%;
    gap: 0;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    gap: 0;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .hero-poster {
    width: 100vw;
    max-width: none;
    aspect-ratio: 1059 / 1024;
    margin-inline: calc(50% - 50vw);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-poster img {
    object-position: 50% 47%;
  }

  .campaign-lockup {
    order: 5;
    width: min(100%, 520px);
    margin: 8px auto 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .campaign-lockup::before {
    display: block;
    right: 16%;
    left: 16%;
  }

  .campaign-lockup img {
    width: 100%;
    height: auto;
    aspect-ratio: 1292 / 984;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
  }

  .hero-cap {
    width: 38px;
    height: 38px;
    margin-bottom: 4px;
  }

  .hero-pretitle {
    font-size: clamp(1.55rem, 7vw, 2.25rem);
  }

  .hero-script {
    margin: 2px auto 0;
    padding-top: clamp(8px, 2.8vmin, 16px);
    font-size: clamp(2.7rem, 10.8vmin, 4rem);
    letter-spacing: -0.015em;
  }

  .hero-copy h1 {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
    overflow-wrap: anywhere;
  }

  .hero-title-kicker {
    font-size: clamp(0.86rem, 3.35vw, 1.15rem);
    letter-spacing: 0.11em;
  }

  .hero-product {
    font-size: clamp(3.3rem, 13vw, 5.1rem);
  }

  .hero-description {
    width: min(100%, 330px);
    max-width: 100%;
    margin-top: 14px;
    margin-inline: auto;
    overflow-wrap: anywhere;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 16px;
  }

  .hero-actions .button {
    min-width: min(100%, 300px);
    min-height: 54px;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 560px);
    max-width: 100%;
    gap: 8px;
    margin: -8px auto 0;
    margin-inline: auto;
  }

  .checkout-tool {
    grid-template-columns: 1fr;
  }

  .board-tool,
  .checkout-tool {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
    border-color: rgba(143, 93, 24, 0.14);
    color: var(--ink);
    background: rgba(255, 253, 247, 0.94);
    box-shadow: 0 16px 38px rgba(21, 18, 13, 0.08);
  }

  .tool-heading .eyebrow,
  .available-counter,
  .selected-box > span,
  .pix-key span,
  .total-row span,
  .field,
  .qr-panel p,
  .board-legend,
  .firebase-status {
    color: var(--ink-soft);
  }

  .tool-heading h2,
  .panel-status,
  .pix-key strong {
    color: var(--ink);
  }

  .available-counter {
    color: var(--gold-soft);
  }

  .number-button,
  .field input,
  .field textarea,
  .selected-box,
  .qr-panel,
  .qr-code,
  .button-ghost {
    border-color: rgba(143, 93, 24, 0.18);
    color: var(--ink);
    background: rgba(255, 250, 240, 0.86);
  }

  .field input::placeholder,
  .field textarea::placeholder,
  .selected-list em {
    color: rgba(23, 21, 17, 0.55);
  }

  .number-button:hover,
  .number-button:focus-visible {
    color: #17130e;
  }

  .number-button.is-reserved {
    color: rgba(23, 21, 17, 0.46);
    background: #f1dfbe;
  }

  .number-button.is-sold {
    color: rgba(23, 21, 17, 0.42);
    background: #d9cfbc;
  }

  .total-row {
    border-color: var(--line);
  }

  .total-row strong {
    color: var(--gold-dark);
  }

  .checkout-tool .field,
  .checkout-tool .selected-box,
  .checkout-tool .total-row,
  .checkout-tool .qr-panel {
    grid-column: 1 / -1;
  }

  .number-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }

  .poster-frame {
    justify-self: start;
    width: min(100%, 420px);
  }

  .details-band {
    color: var(--ink);
    background:
      linear-gradient(180deg, rgba(255, 249, 235, 0.86), rgba(238, 224, 194, 0.72)),
      var(--paper);
  }

  .detail-copy .eyebrow {
    color: var(--gold-dark);
  }

  .detail-copy p:not(.eyebrow),
  .step-card p,
  .poster-frame figcaption {
    color: var(--ink-soft);
  }

  .step-card,
  .poster-frame {
    border-color: rgba(143, 93, 24, 0.18);
    color: var(--ink);
    background: rgba(255, 253, 247, 0.86);
    box-shadow: 0 18px 42px rgba(21, 18, 13, 0.08);
  }
}

@media (orientation: portrait) {
  .campaign-lockup img {
    aspect-ratio: 1292 / 984;
    object-fit: cover;
    object-position: center;
  }
}

@media (orientation: portrait) and (min-width: 861px) and (max-width: 1120px) {
  .hero-copy {
    display: flex;
    gap: 0;
    align-items: center;
  }

  .campaign-lockup {
    width: min(620px, 82vw);
    margin: 8px auto 0;
  }
}

@media (max-width: 580px) {
  :root {
    --container: calc(100% - 24px);
  }

  .site-header {
    min-height: 64px;
    padding: 9px 12px;
  }

  .site-nav {
    top: 0;
  }

  .brand {
    gap: 9px;
    max-width: calc(100vw - 24px);
  }

  .brand-mark {
    width: 48px;
    height: 48px;
  }

  .brand-mark img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    display: none;
  }

  .header-participate {
    right: 10px;
    width: 112px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.64rem;
  }

  .header-participate::after {
    display: none;
  }

  .header-participate span {
    padding: 0 8px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .notification-button {
    display: none;
  }

  .raffle-stage {
    padding-top: 64px;
    padding-bottom: 0;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-poster {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    height: auto;
    aspect-ratio: 470 / 1024;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-script {
    padding-top: clamp(8px, 2.6vmin, 14px);
    font-size: clamp(2.35rem, 10.2vmin, 3.15rem);
  }

  .hero-product {
    font-size: clamp(2.95rem, 12.6vw, 4.35rem);
  }

  .campaign-lockup {
    padding: 0;
  }

  .price-badge {
    bottom: 10%;
    left: 2%;
    width: 112px;
    padding: 9px;
  }

  .price-currency {
    font-size: 0.64rem;
  }

  .price-value {
    font-size: 1.42rem;
  }

  .price-caption {
    margin-top: 5px;
    font-size: 0.48rem;
  }

  .price-badge i {
    margin-top: 7px;
  }

  .hero-actions {
    display: none;
  }

  .floating-participate {
    position: fixed;
    z-index: 34;
    top: auto;
    right: 12px;
    left: auto;
    bottom: calc(104px + env(safe-area-inset-bottom));
    display: grid;
    place-items: center;
    width: 68px;
    height: 46px;
    color: #fff7df;
    overflow: visible;
    filter: drop-shadow(0 14px 22px rgba(16, 11, 5, 0.34));
  }

  .floating-participate img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: rotate(-7deg);
    transform-origin: center;
  }

  .campaign-topline {
    font-size: 1.22rem;
  }

  .campaign-lockup > strong {
    font-size: 3.25rem;
  }

  .tool-heading h2 {
    font-size: 1.75rem;
  }

  .detail-copy h2 {
    font-size: 2.35rem;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-facts div {
    min-height: 106px;
    padding: 11px 5px 12px;
  }

  .fact-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
  }

  .fact-icon svg {
    width: 19px;
    height: 19px;
  }

  .hero-facts dt {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .hero-facts dd {
    margin-bottom: 4px;
    font-size: 0.63rem;
  }

  .board-tool,
  .checkout-tool {
    padding: 14px;
  }

  .board-tool::before,
  .checkout-tool::before {
    margin: -14px -14px 14px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -14px;
    margin-left: -14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 7px 14px 8px;
    scroll-padding-inline: 14px;
  }

  .filter-button {
    min-height: 42px;
    padding: 0 15px;
  }

  .qr-panel {
    grid-template-columns: 1fr;
  }

  .qr-code {
    width: 100%;
    min-height: auto;
  }

  .tool-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .available-counter {
    justify-self: start;
    width: max-content;
  }

  .number-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .number-button {
    min-height: 46px;
    font-size: 0.86rem;
  }

  .checkout-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 52px;
    white-space: nowrap;
  }

  .details-band {
    padding: 58px 0;
  }

  .step-card {
    min-height: auto;
  }

  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-note {
    text-align: left;
  }

  .admin-shell {
    width: min(920px, calc(100% - 20px));
    padding: 14px 0 24px;
  }

  .admin-hero {
    padding: 16px;
  }

  .admin-hero h1 {
    font-size: 2.05rem;
  }

  .admin-panel,
  .admin-session-card,
  .ticket-proof-panel,
  .order-card {
    padding: 14px;
  }

  .google-login-button {
    width: 100%;
  }

  .admin-session-card,
  .admin-orders-heading {
    display: grid;
  }

  .admin-session-card .button {
    width: 100%;
  }

  .order-card-header {
    display: grid;
  }

  .order-actions .button {
    width: 100%;
  }

  .payment-timer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  :root {
    --container: calc(100% - 18px);
  }

  .hero-script {
    padding-top: clamp(7px, 2.4vmin, 12px);
    font-size: clamp(2.05rem, 9.8vmin, 2.65rem);
  }

  .hero-product {
    font-size: clamp(2.55rem, 12vw, 3.45rem);
  }

  .campaign-lockup > strong {
    font-size: 2.75rem;
  }

  .tool-heading h2,
  .admin-panel h2,
  .admin-orders-heading h2 {
    font-size: 1.5rem;
  }

  .board-tool .tool-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .board-tool .available-counter {
    justify-self: start;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.74rem;
  }

  .filter-bar {
    gap: 7px;
    margin-top: 14px;
  }

  .filter-button {
    min-height: 39px;
    padding: 0 13px;
    font-size: 0.76rem;
  }

  .number-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .app-tabbar {
    right: auto;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 50%;
    width: min(330px, calc(100% - 16px));
    min-height: 74px;
    gap: 5px;
    border-radius: 22px;
    padding: 6px;
    transform: translateX(-50%);
  }

  .app-tabbar a,
  .app-tabbar button {
    min-height: 58px;
    gap: 4px;
    border-radius: 16px;
    padding: 4px 0 3px;
  }

  .app-tabbar svg {
    width: 23px;
    height: 23px;
  }

  .app-tabbar span {
    font-size: 0.66rem;
    line-height: 1;
  }

  .brand strong {
    font-size: 0.86rem;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-mark img {
    width: 39px;
    height: 39px;
  }

  .header-participate {
    right: 8px;
    width: 106px;
    height: 34px;
    padding: 0 9px;
    font-size: 0.6rem;
  }

  .header-participate::after {
    display: none;
  }

  .header-participate span {
    padding: 0 7px;
  }

  .floating-participate {
    top: auto;
    right: 8px;
    left: auto;
    bottom: calc(98px + env(safe-area-inset-bottom));
    width: 60px;
    height: 40px;
  }

  .floating-participate img {
    transform: rotate(-7deg);
  }

  .admin-shell {
    width: min(920px, calc(100% - 16px));
  }

  .admin-hero h1 {
    font-size: 1.82rem;
  }
}
