:root {
  --bg: #01040c;
  --panel: #06101e;
  --panel-2: #0a1527;
  --line: #12386a;
  --text: #f4f8ff;
  --muted: #b5c0d0;
  --green: #b9ff00;
  --green-2: #82d900;
  --gold: #f8ff4a;
  --blue: #006dff;
  --cyan: #00f0ff;
  --danger: #fb7185;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --neon-blue: 0 0 30px rgba(0, 109, 255, 0.5);
  --neon-green: 0 0 30px rgba(185, 255, 0, 0.38);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 8%, rgba(0, 109, 255, 0.24), transparent 26%),
    radial-gradient(circle at 16% 34%, rgba(185, 255, 0, 0.12), transparent 24%),
    linear-gradient(120deg, rgba(0, 109, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #01040c, #071120 54%, #02050b);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 70%);
  z-index: -1;
}

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(1, 4, 12, 0.76);
  border-bottom: 1px solid rgba(0, 240, 255, 0.18);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #f8fbff;
  background: linear-gradient(135deg, #006dff, #00f0ff 48%, #b9ff00);
  font-weight: 900;
  font-size: 0.86rem;
  box-shadow: var(--neon-blue), var(--neon-green);
}

.menu-toggle {
  position: relative;
  width: 46px;
  min-height: 46px;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 18, 38, 0.86), rgba(0, 5, 16, 0.88)),
    linear-gradient(135deg, rgba(0, 109, 255, 0.24), rgba(0, 240, 255, 0.12));
  border: 1px solid rgba(0, 240, 255, 0.42);
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(0, 109, 255, 0.34), inset 0 0 18px rgba(0, 240, 255, 0.12);
  backdrop-filter: blur(12px);
}

.menu-toggle span {
  width: 26px;
  height: 4px;
  display: block;
  border-radius: 99px;
  background: #f4f8ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.64);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
}

.menu {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 40;
  width: min(360px, 86vw);
  height: 100vh;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(2, 9, 22, 0.98), rgba(3, 15, 31, 0.98)),
    radial-gradient(circle at 80% 16%, rgba(0, 109, 255, 0.28), transparent 34%);
  border-left: 1px solid rgba(0, 240, 255, 0.22);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.5), -8px 0 34px rgba(0, 109, 255, 0.18);
  transform: none;
  transition: right 0.28s ease;
}

.menu-head {
  min-height: 46px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-close {
  width: 42px;
  min-height: 42px;
  padding: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.18);
  box-shadow: none;
}

.menu a {
  color: var(--muted);
  min-height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  border: 1px solid transparent;
}

.menu a:hover,
.menu a.active {
  color: var(--text);
  background: rgba(0, 109, 255, 0.14);
  border-color: rgba(0, 240, 255, 0.2);
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .menu {
  right: 0;
}

body.menu-open .menu-backdrop {
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

body[data-page="home"] .container {
  max-width: none;
  padding-top: 0;
  padding-right: 0;
  padding-left: 0;
}

body[data-page="home"] .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 25;
  height: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

body[data-page="home"] .nav {
  position: relative;
  max-width: 1672px;
  min-height: 0;
  height: 0;
  padding: 0;
}

body[data-page="home"] .brand {
  display: none;
}

body[data-page="home"] .menu-toggle {
  position: absolute;
  top: 28px;
  right: 34px;
  z-index: 36;
  width: 54px;
  min-height: 54px;
}

body[data-page="home"] #sorteios,
body[data-page="home"] .info-panel {
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

body[data-page="home"] #sorteios {
  position: relative;
  z-index: 2;
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 58px;
}

.hero-image-section {
  width: 100%;
  margin: 0;
  background: #01040c;
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 1672px;
  margin: 0 auto;
  line-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: #01040c;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.5), 0 0 54px rgba(0, 109, 255, 0.28);
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 24%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(1, 4, 12, 0), rgba(1, 4, 12, 0.44) 58%, #01040c 100%);
}

.hero-cover {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  display: block;
}

.hero-hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0);
  outline: 0;
}

.hero-hotspot:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.82), 0 0 0 7px rgba(185, 255, 0, 0.72);
}

.hero-hotspot-primary {
  left: 5%;
  top: 67.2%;
  width: 17.2%;
  height: 8.1%;
}

.hero-hotspot-secondary {
  left: 23.1%;
  top: 67.2%;
  width: 15.8%;
  height: 8.1%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 28px;
  align-items: center;
}

.hero-section {
  min-height: calc(100vh - 96px);
  padding: 28px 0 36px;
}

.eyebrow {
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(16, 255, 145, 0.38);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: 4.5rem;
  max-width: 780px;
  text-transform: uppercase;
  letter-spacing: 0;
}

h2 {
  font-size: 2.15rem;
}

h3 {
  font-size: 1.12rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.lead {
  font-size: 1.08rem;
  max-width: 720px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-badges span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  color: #dffcff;
  background: rgba(18, 146, 255, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

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

.button,
button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #06100c;
  background: linear-gradient(135deg, var(--green), #00f0ff);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(185, 255, 0, 0.18), 0 0 28px rgba(0, 240, 255, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(185, 255, 0, 0.28), 0 0 36px rgba(0, 109, 255, 0.24);
}

.button.secondary,
button.secondary {
  color: var(--text);
  background: rgba(0, 109, 255, 0.1);
  box-shadow: none;
  border: 1px solid rgba(0, 240, 255, 0.24);
}

.button.gold {
  background: var(--gold);
}

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 44px 0 18px;
}

body[data-page="home"] #sorteios .section-head {
  margin: 0 0 34px;
  gap: 28px;
}

body[data-page="home"] #sorteios .section-head > div {
  display: grid;
  gap: 14px;
}

body[data-page="home"] #sorteios .eyebrow {
  min-height: 34px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dfff7a;
  background:
    linear-gradient(180deg, rgba(185, 255, 0, 0.14), rgba(0, 240, 255, 0.06)),
    rgba(4, 13, 24, 0.92);
  border: 1px solid rgba(185, 255, 0, 0.42);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(185, 255, 0, 0.16), inset 0 0 18px rgba(185, 255, 0, 0.06);
}

body[data-page="home"] #sorteios .eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(185, 255, 0, 0.62), 0 0 16px rgba(185, 255, 0, 0.86);
  animation: liveDotPulse 1.25s ease-out infinite;
}

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

.raffle-card,
.winner-card,
.result-card,
.step-item,
.info-panel,
.buy-panel,
.pix-panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11, 23, 40, 0.94), rgba(5, 13, 25, 0.96)),
    linear-gradient(135deg, rgba(18, 146, 255, 0.2), rgba(16, 255, 145, 0.16));
  border: 1px solid rgba(34, 211, 238, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.raffle-card {
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: cardRise 0.7s ease both;
}

.raffle-card::before,
.winner-card::before,
.result-card::before,
.step-item::before,
.info-panel::before,
.buy-panel::before,
.pix-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(34, 211, 238, 0.12), transparent 58%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.raffle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 255, 145, 0.42);
  box-shadow: var(--shadow), var(--neon-green);
}

.raffle-card:hover::before,
.winner-card:hover::before,
.result-card:hover::before,
.step-item:hover::before,
.info-panel:hover::before,
.buy-panel:hover::before,
.pix-panel:hover::before {
  opacity: 1;
}

.raffle-card img,
.winner-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  background: #111827;
}

.card-body {
  padding: 22px;
}

.raffle-card h3 {
  font-size: 1.65rem;
  line-height: 1.14;
}

.raffle-card p {
  font-size: 1.08rem;
  line-height: 1.45;
}

.raffle-card .meta-row strong {
  font-size: 1.16rem;
}

.raffle-card .participate-button {
  position: relative;
  min-height: 52px;
  padding-right: 24px;
  padding-left: 24px;
  font-size: 1.02rem;
}

.raffle-card .participate-button.show-guide-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -20px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 12px solid #ff1f1f;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 8px rgba(255, 31, 31, 0.65));
  animation: guideArrowBlink 0.72s ease-in-out infinite;
}

.meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.pill.green {
  color: #04130e;
  background: linear-gradient(135deg, var(--green), #22d3ee);
}

.pill.gold {
  color: #171103;
  background: linear-gradient(135deg, var(--gold), #10ff91);
}

.progress {
  height: 12px;
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.progress > span {
  display: block;
  height: 100%;
  width: 0;
  max-width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--green));
  transition: width 1.8s ease;
  box-shadow: 0 0 18px rgba(16, 255, 145, 0.55);
}

.raffle-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.raffle-title {
  margin-top: 8px;
  font-size: 3.6rem;
}

.prize-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  box-shadow: var(--shadow), var(--neon-blue);
}

.hero-showcase {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  width: min(88%, 620px);
  aspect-ratio: 1.45;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(18, 146, 255, 0.28), transparent 58%),
    radial-gradient(circle at 72% 58%, rgba(16, 255, 145, 0.26), transparent 54%);
  filter: blur(12px);
  animation: pulseGlow 4.8s ease-in-out infinite;
  z-index: -2;
}

.hero-showcase::after {
  content: "";
  position: absolute;
  width: min(76%, 560px);
  aspect-ratio: 1.6;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  transform: perspective(900px) rotateX(58deg);
  bottom: 22px;
  background:
    linear-gradient(90deg, rgba(34, 211, 238, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(34, 211, 238, 0.12) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.55;
  z-index: -1;
}

.hero-logo {
  width: min(92%, 600px);
  filter: drop-shadow(0 0 28px rgba(18, 146, 255, 0.38));
  animation: logoFloat 5.8s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  width: min(230px, 44vw);
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(7, 18, 33, 0.82);
  border: 1px solid rgba(34, 211, 238, 0.22);
  box-shadow: var(--shadow), 0 0 22px rgba(18, 146, 255, 0.2);
  backdrop-filter: blur(14px);
  animation: boxFloat 6s ease-in-out infinite;
}

.floating-card strong {
  display: block;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.floating-card span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.45;
  font-size: 0.92rem;
}

.floating-card-one {
  top: 42px;
  right: 16px;
}

.floating-card-two {
  left: 0;
  bottom: 120px;
  animation-delay: -1.4s;
}

.floating-card-three {
  right: 28px;
  bottom: 56px;
  animation-delay: -2.6s;
}

.buy-panel,
.info-panel,
.pix-panel {
  padding: 20px;
}

.buy-panel {
  position: sticky;
  top: 92px;
}

.quantity-row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 8px;
  align-items: center;
}

.quantity-row input,
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  padding: 0 12px;
}

textarea {
  min-height: 110px;
  padding: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.packages {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.package-option {
  width: 100%;
  justify-content: space-between;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.package-option.active {
  color: #06100c;
  background: var(--green);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.modal.open {
  display: grid;
}

.modal-dialog {
  width: min(620px, 100%);
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 20px;
}

.icon-button {
  width: 40px;
  min-height: 40px;
  padding: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.notice {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(16, 255, 145, 0.28);
  background: rgba(16, 255, 145, 0.08);
  color: #d7fff2;
  line-height: 1.45;
}

.notice.gold {
  border-color: rgba(244, 201, 93, 0.35);
  background: rgba(244, 201, 93, 0.08);
  color: #fff4d0;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  min-width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--text);
  background: #121a26;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  display: none;
}

.toast.show {
  display: block;
}

.empty,
.loading {
  padding: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--muted);
}

.qr {
  width: 240px;
  height: 240px;
  object-fit: contain;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
}

.copy-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.footer {
  border-top: 1px solid rgba(34, 211, 238, 0.14);
  color: var(--muted);
  padding: 26px 20px;
  text-align: center;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

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

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

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

@keyframes liveDotPulse {
  0% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(185, 255, 0, 0.62), 0 0 16px rgba(185, 255, 0, 0.86);
  }
  70% {
    opacity: 0.72;
    transform: scale(0.92);
    box-shadow: 0 0 0 8px rgba(185, 255, 0, 0), 0 0 18px rgba(185, 255, 0, 0.72);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(185, 255, 0, 0), 0 0 16px rgba(185, 255, 0, 0.86);
  }
}

@keyframes guideArrowBlink {
  0%,
  100% {
    opacity: 0.25;
    transform: translate(-3px, -50%);
  }

  50% {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .raffle-title {
    font-size: 3rem;
  }

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

  .raffle-detail > main {
    display: contents;
  }

  .raffle-detail .prize-image {
    order: 1;
  }

  .raffle-detail .raffle-summary {
    order: 2;
  }

  .raffle-detail .buy-panel {
    order: 3;
  }

  .raffle-detail > main > .info-panel:not(.raffle-summary) {
    order: 4;
  }

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

  .buy-panel {
    position: static;
  }

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

@media (max-width: 640px) {
  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .raffle-title {
    font-size: 2.2rem;
  }

  .nav {
    align-items: center;
    flex-direction: row;
    padding: 12px 16px;
  }

  .menu {
    width: min(340px, 86vw);
  }

  .menu a {
    flex: none;
    text-align: left;
  }

  .container {
    padding: 22px 16px 48px;
  }

  .hero-image-section {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 0;
    margin-bottom: 0;
  }

  body[data-page="home"] .menu-toggle {
    top: 14px;
    right: 14px;
    width: 48px;
    min-height: 48px;
  }

  body[data-page="home"] .hero-image-wrap {
    height: 100svh;
    min-height: 560px;
    max-width: none;
  }

  body[data-page="home"] .hero-image-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("../assets/hero-gz-premios-mobile.png");
    background-position: top center;
    background-size: cover;
  }

  body[data-page="home"] .hero-image-wrap::after {
    height: 26%;
    background: linear-gradient(180deg, rgba(1, 4, 12, 0), rgba(1, 4, 12, 0.46) 60%, #01040c 100%);
  }

  body[data-page="home"] .hero-cover {
    height: 100%;
    object-fit: cover;
    object-position: left center;
    opacity: 0;
  }

  body[data-page="home"] .hero-hotspot-primary {
    left: 20px;
    top: 37.5%;
    width: 162px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #061000;
    background: linear-gradient(180deg, #d9ff00, #8df000);
    border: 1px solid rgba(218, 255, 0, 0.82);
    box-shadow: 0 0 22px rgba(185, 255, 0, 0.5), inset 0 -6px 12px rgba(79, 124, 0, 0.2);
  }

  body[data-page="home"] .hero-hotspot-secondary {
    left: 202px;
    top: 37.5%;
    width: 148px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4f8ff;
    background: rgba(1, 7, 18, 0.82);
    border: 1px solid rgba(0, 240, 255, 0.88);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.28), inset 0 0 14px rgba(0, 240, 255, 0.08);
  }

  body[data-page="home"] .hero-hotspot-primary::before,
  body[data-page="home"] .hero-hotspot-secondary::before {
    content: attr(aria-label);
    line-height: 1;
    font-size: 0.82rem;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero-hotspot-primary,
  .hero-hotspot-secondary {
    min-width: 64px;
    min-height: 44px;
  }

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

  body[data-page="home"] #sorteios {
    padding-top: clamp(340px, 57svh, 410px);
    pointer-events: none;
  }

  body[data-page="home"] #sorteios > * {
    pointer-events: auto;
  }

  body[data-page="home"] #sorteios .section-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
  }

  body[data-page="home"] #sorteios .section-head > div {
    min-width: 0;
    gap: 12px;
  }

  body[data-page="home"] #sorteios .section-head .button {
    align-self: flex-start;
    min-height: 44px;
    padding: 0 16px;
    white-space: nowrap;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .copy-field {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 430px;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .hero-showcase {
    align-content: center;
    gap: 10px;
  }
}
