:root {
  color-scheme: dark;
  --night: #050b14;
  --night-soft: #08121f;
  --silver: #e0eaf2;
  --muted: #b1c0cf;
  --blue: #72c9fa;
  --gold: #efd5a2;
  --line: #284357;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Manrope', Arial, sans-serif;
  --scroll-track: #07111d;
  --scroll-thumb: #385b75;
  --scroll-hover: #5187ac;
  --scroll-active: #78c8f4;
}
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) var(--scroll-track); }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-track { background: var(--scroll-track); }
*::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border: 2px solid var(--scroll-track); border-radius: 5px; }
*::-webkit-scrollbar-thumb:hover { background: var(--scroll-hover); }
*::-webkit-scrollbar-thumb:active { background: var(--scroll-active); }
html { scroll-behavior: smooth; scroll-padding-top: 95px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--night); color: var(--silver); font: 400 16px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { border: 0; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #a9e3ff; outline-offset: 6px; }
::selection { background: #397bb0; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: -90px; left: 20px; padding: 12px 20px; z-index: 100; background: #e1f1fc; color: #061321; font-weight: 600; }
.skip-link:focus { top: 15px; }
.container { position: relative; width: min(1200px, calc(100% - 200px)); margin-inline: auto; z-index: 2; }
.chapter { position: relative; isolation: isolate; scroll-margin-top: 0; overflow: hidden; }
h2 { font: 500 clamp(48px, 5.5vw, 80px)/.98 var(--display); letter-spacing: -.025em; text-wrap: balance; }
h3 { font: 500 30px/1.2 var(--display); }
.eyebrow { color: #a4c4dc; font-size: 12px; font-weight: 600; letter-spacing: .19em; line-height: 1.6; text-transform: uppercase; }
.section-description { color: var(--muted); font-size: 16px; line-height: 1.9; }
.scene { position: absolute; inset: -25px 0; z-index: -2; background-repeat: no-repeat; background-position: center; background-size: cover; will-change: transform; pointer-events: none; }
.scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night), transparent 12%, transparent 84%, var(--night)); }

/* All ornamental surfaces are supplied artwork. */
.ornate-button { display: inline-flex; width: 340px; height: 114px; max-width: 100%; align-items: center; justify-content: center; background: url('../halloween-button.webp') center/contain no-repeat; text-align: center; transition: filter .25s ease, transform .25s ease; }
.ornate-button > span { margin-top: 1px; padding: 0 38px; font: 500 24px/1.2 var(--display); color: #f1e8d9; text-shadow: 0 2px 4px #000; }
.ornate-button:hover { filter: brightness(1.2); transform: translateY(-2px); }
.ornate-button:active { transform: translateY(1px); filter: brightness(.92); }
.ornate-button--small { width: 194px; height: 65px; }
.ornate-button--small > span { padding: 0 24px; font-size: 19px; }
.ornament-divider { position: absolute; width: min(1448px, 100%); aspect-ratio: 1448 / 166; bottom: -5px; left: 50%; transform: translateX(-50%); background: url('../halloween-ui.webp') center bottom/100% auto no-repeat; pointer-events: none; z-index: 4; }
.relic { display: inline-block; flex: 0 0 auto; width: 100px; aspect-ratio: 1; background: url('../halloween-relics.webp') 0 0/200% 200% no-repeat; }
.relic--ticket { background-position: 100% 0; }
.relic--portal { background-position: 0 100%; }
.relic--chest { background-position: 100% 100%; }
.decor { position: absolute; width: 250px; aspect-ratio: 1; background: url('../halloween-decor.webp') 0 0/200% 200% no-repeat; pointer-events: none; z-index: 1; }
.decor--web-left { background-position: 0 0; }
.decor--bats { background-position: 100% 0; }
.decor--candles { background-position: 0 100%; }
.decor--web-right { background-position: 100% 100%; }
.loot-icon { display: block; width: 90px; aspect-ratio: 1; flex: 0 0 auto; background-image: url('../halloween-loot-a.webp'); background-repeat: no-repeat; background-size: 300% 200%; background-position: 0 0; }
.loot-icon--seed { background-position: 50% 0; }
.loot-icon--jewels { background-position: 100% 0; }
.loot-icon--ruud { background-position: 0 100%; }
.loot-icon--uriel { background-position: 50% 100%; }
.loot-icon--ability { background-position: 100% 100%; }
.loot-icon--miracle, .loot-icon--temple, .loot-icon--seal, .loot-icon--core, .loot-icon--garuda, .loot-icon--wc { background-image: url('../halloween-loot-b.webp'); }
.loot-icon--temple { background-position: 50% 0; }
.loot-icon--seal { background-position: 100% 0; }
.loot-icon--core { background-position: 0 100%; }
.loot-icon--garuda { background-position: 50% 100%; }
.loot-icon--wc { background-position: 100% 100%; }

/* Quiet, fixed navigation leaves the scene in the foreground. */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; transition: background .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(4, 11, 20, .94); box-shadow: 0 1px 0 rgba(108, 163, 200, .12); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 106px; width: min(1290px, calc(100% - 160px)); margin: auto; }
.brand { display: block; width: 150px; flex: 0 0 auto; }
.brand img { width: 150px; }
.main-nav { display: flex; align-items: center; gap: 45px; font-size: 14px; font-weight: 500; }
.main-nav > a:not(.ornate-button) { position: relative; padding: 15px 0; transition: color .2s ease; }
.main-nav > a:not(.ornate-button)::after { position: absolute; content: ''; bottom: 7px; left: 50%; width: 0; height: 1px; background: var(--blue); transition: width .2s ease, left .2s ease; }
.main-nav > a:not(.ornate-button):hover, .main-nav > a[aria-current] { color: #fff; }
.main-nav > a[aria-current]::after { width: 100%; left: 0; }
.menu-toggle { display: none; }
.chapter-nav { position: fixed; top: 50%; right: 28px; transform: translateY(-50%); z-index: 25; display: grid; gap: 7px; }
.chapter-nav a { position: relative; width: 46px; min-height: 48px; display: flex; align-items: center; gap: 11px; color: #8b9eb3; font-size: 10px; transition: color .2s ease; }
.chapter-nav__dot { position: relative; z-index: 1; display: block; width: 6px; height: 6px; border: 1px solid #7592ab; background: #091523; transform: rotate(45deg); transition: background .2s ease, box-shadow .2s ease; }
.chapter-nav__track { position: absolute; top: 25px; bottom: 25px; left: 2px; width: 1px; background: #263b4f; }
#chapter-progress { display: block; width: 1px; height: 0; background: #9bdcff; }
.chapter-nav a[aria-current] { color: #d4efff; }
.chapter-nav a[aria-current] .chapter-nav__dot { background: #9cdeff; border-color: #b9e8ff; box-shadow: 0 0 10px #6acaff; }
.chapter-nav__label { position: absolute; right: 59px; white-space: nowrap; padding: 5px 10px; color: #ddecf8; font-size: 12px; background: rgba(5, 13, 24, .9); opacity: 0; transform: translateX(5px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.chapter-nav a:hover .chapter-nav__label, .chapter-nav a:focus-visible .chapter-nav__label { opacity: 1; transform: translateX(0); }

/* Chapter 1 — the user-supplied character leads the scene. */
.hero { min-height: 900px; height: 100svh; max-height: 1100px; }
.hero__scene { background-image: url('../plano-de-fundo-p1-1-lp.jpg'); background-position: 58% top; }
.hero__scene::after { background: linear-gradient(180deg, rgba(4, 10, 19, .15), transparent 20%, transparent 78%, var(--night)); }
.hero__layout { height: 100%; }
.hero__content { width: 52%; max-width: 640px; padding-top: clamp(160px, 18vh, 230px); text-align: center; }
.hero__wordmark { width: 100%; }
.hero__tagline { margin-top: -9px; font: 400 clamp(28px, 2.5vw, 38px)/1.3 var(--display); letter-spacing: .025em; text-shadow: 0 2px 14px #030a15; }
.event-period { display: flex; align-items: center; justify-content: center; width: 268px; height: 90px; margin: 17px auto 6px; background: url('../halloween-button.webp') center/contain no-repeat; font: 500 18px/1 var(--display); letter-spacing: .12em; color: var(--gold); }
.event-period__dash { margin-inline: 9px; color: #b8c9da; }
.hero__description { color: #d0d9e2; max-width: 420px; margin: 2px auto 5px; font-size: 16px; line-height: 1.85; text-shadow: 0 2px 8px #000; }
.hero__cta { margin: 5px auto 0; }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 13px; min-height: 44px; color: #b4c5d5; transition: color .2s ease; }
.text-link > span { color: #e0eaf4; border-bottom: 1px solid #53728c; }
.text-link .icon { width: 17px; margin-left: 6px; }
.text-link:hover { color: #fff; }
.hero__download { display: flex; width: fit-content; margin: -4px auto 0; }
.hero__pumpkins { position: absolute; bottom: 90px; left: 24px; width: 155px; opacity: .93; z-index: 1; }
.hero__web { width: 230px; top: 63px; left: -58px; opacity: .32; }
.hero__bats { width: 160px; top: 130px; left: 44%; opacity: .6; animation: bat-drift 10s ease-in-out infinite; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 100px; transform: translateX(-50%); display: flex; align-items: center; flex-direction: column; padding: 7px 15px; gap: 6px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #adbed1; }
.scroll-cue .icon { width: 17px; height: 17px; animation: scroll-hint 2.5s ease-in-out infinite; }
.scroll-cue:hover { color: #fff; }

/* Chapter 2 — collectible artwork and a readable reward ledger. */
.harvest { padding: 90px 0 125px; min-height: 0; background: radial-gradient(ellipse at 28% 50%, #10233a 0, #091320 35%, var(--night) 69%); }
.section-heading { text-align: center; }
.section-heading > p { margin-top: 20px; color: var(--muted); font-size: 16px; }
.section-heading > p strong { color: #dce9f5; font-weight: 500; }
.harvest__layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; margin-top: 36px; }
.harvest__art { position: relative; min-width: 0; text-align: center; }
.harvest__pumpkins { width: 500px; max-width: 108%; margin-left: -4%; }
.harvest__ticket { position: absolute; width: 150px; right: -22px; bottom: 99px; transform: rotate(13deg); animation-delay: -3s; }
.harvest__art figcaption { margin-top: -17px; color: var(--gold); font: 500 25px/1.35 var(--display); }
.harvest__art figcaption span { color: #b7c6d7; font: 400 14px/1.8 var(--body); }
.harvest__rewards { align-self: center; padding-top: 14px; }
.harvest__rewards .eyebrow { margin: 0 0 15px 20px; }
.reward-ledger { width: 100%; }
.reward-ledger li { display: flex; align-items: center; gap: 25px; min-height: 90px; border-bottom: 1px solid rgba(91, 133, 167, .23); padding: 3px 12px; }
.reward-ledger li:last-child { border-bottom: 0; }
.reward-ledger li > span:last-child { font: 500 31px/1.2 var(--display); }
.reward-ledger .loot-icon, .reward-ledger .relic { width: 86px; }
.reward-ledger__ticket { color: var(--gold); }
.harvest__web { width: 255px; right: -70px; top: 90px; opacity: .4; }

/* Chapter 3 — the portal remains visible beside the event instructions. */
.event-map { min-height: 0; padding: 96px 0 118px; }
.event-map__scene { background-image: url('../halloween-map.webp'); background-position: center; }
.event-map__content { width: 52%; margin-left: auto; }
.event-map__content h2 { margin-top: 18px; }
.event-map__content .section-description { margin-top: 27px; max-width: 500px; }
.event-map__content strong { color: #dfebf4; }
.ticket-cost { display: flex; align-items: center; gap: 13px; margin: 12px 0 4px; }
.ticket-cost > .relic { width: 108px; margin-right: 5px; transform: rotate(-7deg); }
.ticket-cost__number { font: 500 82px/.95 var(--display); color: #eff5fa; }
.ticket-cost__label { font-size: 12px; line-height: 1.7; letter-spacing: .13em; text-transform: uppercase; color: #b7d4eb; }
.map-details { display: grid; grid-template-columns: 1fr 1.2fr; padding: 23px 0; margin-top: 5px; border-top: 1px solid rgba(124, 165, 194, .4); border-bottom: 1px solid rgba(124, 165, 194, .27); }
.map-details > div + div { border-left: 1px solid #2a4259; padding-left: 27px; }
.detail-label { display: block; color: #94adc3; font-size: 11px; line-height: 1.7; letter-spacing: .08em; text-transform: uppercase; }
.map-details strong { display: block; margin-top: 5px; font: 500 26px/1.35 var(--display); }
.map-details strong span { white-space: nowrap; }
.copy-coordinates { min-height: 77px; padding-top: 9px; }
.copy-coordinates button { display: inline-flex; align-items: center; min-height: 38px; gap: 8px; padding: 3px 0; background: transparent; color: #c2d9e9; font-size: 12px; transition: color .2s ease; }
.copy-coordinates button { min-width: 190px; }
.copy-coordinates button:disabled { opacity: .65; }
.copy-coordinates button .icon { width: 15px; height: 15px; }
.copy-coordinates button:hover { color: #fff; }
.copy-coordinates button:active { color: var(--blue); }
.copy-feedback { min-height: 22px; font-size: 11px; line-height: 1.5; color: #a9d9f6; }
.map-loot { margin-top: 14px; }
.map-loot h3 { font-size: 28px; }
.loot-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }
.loot-row li { display: flex; align-items: center; flex-direction: column; text-align: center; gap: 5px; }
.loot-row .loot-icon { width: 88px; max-width: 100%; }
.loot-row li > span:last-child { font-size: 12px; line-height: 1.55; color: #cddae5; }
.more-loot { margin-top: 18px; text-align: center; color: #8fa8be; font-size: 12px; }

/* Chapter 4 — one encounter, its access cost, and its rewards. */
.boss { min-height: 0; padding: 92px 0 118px; }
.boss__scene { background-image: url('../halloween-boss-v2.webp'); background-position: center top; bottom: 140px; }
.boss__scene::after { background: linear-gradient(180deg, var(--night), transparent 12%, transparent 75%, var(--night)); }
.boss__content { width: 48%; min-height: 560px; }
.boss__content h2 { margin-top: 20px; }
.boss__content .section-description { max-width: 425px; margin-top: 27px; }
.boss__stats { display: grid; grid-template-columns: 1fr 1.15fr; max-width: 475px; gap: 25px; margin-top: 35px; }
.boss__stats > div { display: flex; flex-direction: column; }
.boss__stats > div + div { border-left: 1px solid #3a5168; padding-left: 28px; }
.boss__stats dt { order: 2; color: #c3d6e5; font-size: 12px; line-height: 1.6; }
.boss__stats dd { order: 1; font: 500 76px/.95 var(--display); color: #f1f5f9; margin-bottom: 9px; white-space: nowrap; }
.boss__stats dd span { font-size: 43px; }
.boss__stats .boss__note { order: 3; color: #8fa9be; font: 400 11px/1.7 var(--body); margin: 4px 0 0; white-space: normal; }
.boss__cta { margin: 19px 0 0 -18px; width: 350px; height: 117px; }
.boss__cta > span { font-size: 23px; }
.boss__bats { width: 180px; top: 95px; left: 43%; opacity: .55; }
.spoils { position: relative; margin-top: 0; padding: 20px 0 8px; text-align: center; }
.spoils::before { content: ''; position: absolute; z-index: -1; inset: -15px -12vw -40px; background: linear-gradient(180deg, transparent, rgba(4, 12, 22, .94) 22%, #050b14); }
.spoils h3 { font-size: 37px; }
.loot-row--boss { max-width: 1000px; margin: 18px auto 0; gap: 18px; }
.loot-row--boss .loot-icon { width: 104px; }
.loot-row--boss li > span:last-child { font: 500 21px/1.2 var(--display); color: #dbe6ee; }

/* Footer and persistent motion controls. */
.site-footer { position: relative; padding: 18px 0 24px; z-index: 2; background: var(--night); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand--footer, .brand--footer img { width: 130px; }
.footer-inner > p { font: 400 19px/1.5 var(--display); color: #8ca3b8; }
.footer-inner nav { display: flex; gap: 26px; font-size: 12px; color: #aabacb; }
.footer-inner nav a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-inner nav a:hover { color: #fff; }
.motion-toggle { position: fixed; left: 20px; bottom: 16px; z-index: 35; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; min-height: 38px; background: rgba(4, 12, 22, .88); color: #a7c0d4; border: 1px solid #263e53; font-size: 10px; border-radius: 2px; transition: color .2s ease, border-color .2s ease; }
.motion-toggle .icon { width: 15px; height: 15px; }
.motion-toggle:hover:not(:disabled) { color: #e5f4ff; border-color: #78b2d5; }
.motion-toggle:disabled { opacity: .8; }
.back-to-top { position: fixed; right: 25px; bottom: 18px; z-index: 35; display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: rgba(5, 14, 25, .9); border: 1px solid #2e4960; color: #bad9ef; transition: border-color .2s ease, color .2s ease; }
.back-to-top:hover { color: #fff; border-color: #8cc3e4; }
#ambient-particles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; opacity: .65; }

.float-object { animation: float-object 7s ease-in-out infinite; }
.is-revealed { animation: reveal .8s cubic-bezier(.2, .7, .25, 1) both; }
@keyframes reveal { from { opacity: .4; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float-object { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes bat-drift { 0%, 100% { translate: 0 0; } 50% { translate: 10px -7px; } }
@keyframes scroll-hint { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(5px); opacity: 1; } }
.motion-paused { scroll-behavior: auto; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation: none !important; transition-duration: .01ms !important; }

@media (min-width: 1700px) {
  .container { width: min(1320px, calc(100% - 240px)); }
  .hero__content { padding-top: 190px; }
  .hero__scene { background-size: cover; }
  .hero__pumpkins { left: 65px; width: 180px; }
}
@media (min-width: 961px) and (max-width: 1600px) {
  /* Reserve a quiet outer margin for the permanently visible chapter names. */
  .container { width: calc(100% - 280px); margin-left: 80px; margin-right: 200px; }
}
@media (max-width: 1200px) {
  .container { width: calc(100% - 280px); }
  .header-inner { width: calc(100% - 100px); }
  .main-nav { gap: 30px; }
  .hero__content { width: 55%; padding-top: 180px; }
  .hero__tagline { font-size: 31px; }
  .hero__pumpkins { width: 125px; left: 6px; }
  .chapter-nav { right: 16px; }
  .harvest__layout { gap: 40px; }
  .harvest__ticket { width: 118px; right: -15px; bottom: 90px; }
  .reward-ledger li { gap: 15px; }
  .reward-ledger li > span:last-child { font-size: 28px; }
  .event-map__content { width: 54%; }
  .map-details { grid-template-columns: 1fr 1.15fr; }
  .map-details > div + div { padding-left: 17px; }
  .map-details strong { font-size: 23px; }
  .loot-row { gap: 6px; }
  .boss__content { width: 49%; }
  .boss__stats { gap: 16px; }
  .boss__stats > div + div { padding-left: 18px; }
  .footer-inner { gap: 20px; }
}
@media (max-width: 960px) {
  html { scroll-padding-top: 80px; }
  .container { width: calc(100% - 80px); margin-inline: auto; }
  .header-inner { width: calc(100% - 56px); min-height: 84px; }
  .brand, .brand img { width: 132px; }
  .menu-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 44px; height: 44px; background: transparent; }
  .menu-toggle span { display: block; height: 1px; width: 25px; background: #d8e9f5; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; inset: 84px 0 auto; padding: 20px 30px 25px; background: rgba(5, 13, 23, .98); border-bottom: 1px solid #31495d; flex-direction: column; gap: 2px; align-items: stretch; }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.ornate-button) { padding: 13px 10px; text-align: center; }
  .main-nav > a:not(.ornate-button)::after { display: none; }
  .main-nav .ornate-button { align-self: center; margin-top: 10px; }
  .chapter-nav { display: none; }
  .hero { min-height: 850px; }
  .hero__content { width: 58%; padding-top: 185px; }
  .hero__tagline { font-size: 29px; }
  .hero__description { font-size: 14px; }
  .hero__scene { background-position: 58% center; }
  .hero__bats { left: 42%; width: 120px; }
  .hero__pumpkins { bottom: 70px; width: 115px; }
  .scroll-cue { bottom: 90px; }
  .harvest { min-height: 840px; padding-top: 90px; }
  .harvest__layout { gap: 30px; }
  .harvest__rewards .eyebrow { margin-left: 0; font-size: 10px; }
  .reward-ledger li { min-height: 78px; gap: 12px; padding-inline: 0; }
  .reward-ledger .loot-icon, .reward-ledger .relic { width: 70px; }
  .reward-ledger li > span:last-child { font-size: 25px; }
  .harvest__art figcaption { font-size: 22px; }
  .harvest__art figcaption span { font-size: 12px; }
  .event-map { min-height: 1020px; padding-top: 100px; }
  .event-map__content { width: 58%; }
  .event-map__content .section-description { font-size: 14px; }
  .map-details { grid-template-columns: 1fr; gap: 15px; padding: 17px 0; }
  .map-details > div + div { border-left: 0; padding-left: 0; }
  .map-details > div { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: baseline; }
  .detail-label { font-size: 10px; min-width: 143px; }
  .map-details strong { font-size: 23px; margin-top: 0; }
  .map-loot h3 { font-size: 26px; }
  .loot-row .loot-icon { width: 75px; }
  .loot-row li > span:last-child { font-size: 11px; }
  .boss { min-height: 1050px; padding-top: 90px; }
  .boss__content { width: 54%; min-height: 610px; }
  .boss__content .section-description { font-size: 14px; }
  .boss__stats dd { font-size: 64px; }
  .boss__stats dd span { font-size: 34px; }
  .boss__stats .boss__note { font-size: 10px; }
  .boss__stats dt { font-size: 11px; }
  .boss__scene { background-position: 57% top; }
  .loot-row--boss .loot-icon { width: 96px; }
  .loot-row--boss li > span:last-child { font-size: 19px; }
  .footer-inner > p { display: none; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  body { font-size: 15px; }
  .container { width: calc(100% - 40px); }
  .header-inner { width: calc(100% - 32px); min-height: 76px; }
  .brand, .brand img { width: 118px; }
  .main-nav { top: 76px; }
  h2 { font-size: clamp(46px, 12vw, 62px); line-height: 1.02; }
  .eyebrow { font-size: 10px; letter-spacing: .17em; }
  .ornate-button { width: 320px; height: 107px; }
  .ornate-button > span { font-size: 23px; }
  .ornate-button--small { width: 210px; height: 70px; }
  .ornate-button--small > span { font-size: 20px; }
  .ornament-divider { width: 780px; max-width: none; height: 90px; aspect-ratio: auto; background-size: 780px auto; bottom: -2px; }
  .scene { inset: 0; will-change: auto; }
  .hero { min-height: 0; height: auto; max-height: none; padding-bottom: 110px; }
  .hero__scene { height: 500px; background-size: auto 500px; background-position: 71% top; }
  .hero__scene::after { background: linear-gradient(180deg, rgba(4, 10, 19, .08), transparent 60%, var(--night) 100%); }
  .hero__layout { height: auto; padding-top: 385px; }
  .hero__content { width: 100%; max-width: 450px; padding-top: 0; margin-inline: auto; }
  .hero__wordmark { width: 110%; max-width: none; margin-left: -5%; }
  .hero__tagline { font-size: 29px; margin-top: -6px; }
  .event-period { width: 245px; height: 82px; margin-top: 12px; margin-bottom: 5px; font-size: 17px; }
  .hero__description { font-size: 14px; line-height: 1.8; }
  .hero__cta { margin-top: 4px; }
  .hero__download { font-size: 12px; margin-top: -6px; }
  .hero__pumpkins { width: 105px; bottom: auto; top: 322px; left: -10px; }
  .hero__web { width: 150px; top: 61px; left: -45px; opacity: .5; }
  .hero__bats { width: 110px; left: 9%; top: 107px; }
  .scroll-cue { display: none; }
  .harvest { min-height: 0; padding: 65px 0 135px; }
  .section-heading > p { max-width: 285px; margin: 20px auto 0; font-size: 14px; }
  .harvest__layout { display: block; margin-top: 20px; }
  .harvest__art { max-width: 430px; margin: auto; }
  .harvest__pumpkins { width: 100%; max-width: 100%; margin-left: 0; }
  .harvest__ticket { width: 100px; right: -2px; bottom: 74px; }
  .harvest__art figcaption { margin-top: -4px; font-size: 25px; }
  .harvest__art figcaption span { font-size: 13px; }
  .harvest__rewards { padding-top: 45px; max-width: 400px; margin: auto; }
  .harvest__rewards .eyebrow { margin: 0 0 17px; text-align: center; font-size: 11px; }
  .reward-ledger li { min-height: 85px; gap: 25px; padding: 2px 8px; }
  .reward-ledger .loot-icon, .reward-ledger .relic { width: 78px; }
  .reward-ledger li > span:last-child { font-size: 29px; }
  .harvest__web { top: 30px; width: 150px; right: -45px; opacity: .35; }
  .event-map { min-height: 0; padding: 365px 0 135px; }
  .event-map__scene { height: 430px; background-size: auto 480px; background-position: 10% 0; }
  .event-map__scene::after { background: linear-gradient(180deg, var(--night), transparent 10%, transparent 62%, var(--night) 100%); }
  .event-map__content { width: 100%; max-width: 440px; margin-inline: auto; }
  .event-map__content h2 { margin-top: 18px; }
  .event-map__content .section-description { font-size: 15px; margin-top: 24px; }
  .ticket-cost { margin: 11px 0 9px; gap: 12px; }
  .ticket-cost > .relic { width: 110px; }
  .ticket-cost__number { font-size: 82px; }
  .ticket-cost__label { font-size: 11px; }
  .map-details { grid-template-columns: 1fr 1fr; gap: 14px; padding-block: 22px; }
  .map-details > div { display: block; }
  .map-details > div + div { padding-left: 16px; border-left: 1px solid #30475c; }
  .detail-label { min-width: 0; font-size: 9px; }
  .map-details strong { margin-top: 6px; font-size: 24px; }
  .map-details strong span { display: block; font-size: 23px; }
  .copy-coordinates { min-height: 80px; }
  .copy-coordinates button { min-height: 44px; font-size: 12px; }
  .copy-feedback { font-size: 11px; }
  .map-loot { margin-top: 8px; }
  .map-loot h3 { max-width: 300px; font-size: 29px; }
  .loot-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px 14px; margin-top: 22px; }
  .loot-row .loot-icon { width: 90px; }
  .loot-row li > span:last-child { font-size: 12px; max-width: 110px; }
  .more-loot { margin-top: 25px; text-align: left; font-size: 12px; }
  .boss { min-height: 0; padding: 440px 0 130px; }
  .boss__scene { height: 520px; bottom: auto; background-size: auto 520px; background-position: 70% 0; }
  .boss__scene::after { background: linear-gradient(180deg, var(--night), transparent 12%, transparent 65%, var(--night)); }
  .boss__content { width: 100%; min-height: 0; max-width: 440px; margin-inline: auto; }
  .boss__content h2 { margin-top: 18px; }
  .boss__content .section-description { max-width: 360px; font-size: 15px; margin-top: 24px; }
  .boss__stats { grid-template-columns: 1fr 1.2fr; gap: 20px; margin-top: 30px; }
  .boss__stats dd { font-size: 73px; }
  .boss__stats dd span { font-size: 37px; }
  .boss__stats dt { font-size: 12px; }
  .boss__stats .boss__note { font-size: 10px; }
  .boss__stats > div + div { padding-left: 22px; }
  .boss__cta { margin: 23px 0 0 -13px; width: 330px; height: 110px; }
  .boss__cta > span { font-size: 22px; }
  .boss__bats { width: 120px; left: 4%; top: 80px; }
  .spoils { margin-top: 25px; padding: 25px 0 0; border-top: 1px solid #263c50; }
  .spoils h3 { font-size: 34px; text-align: left; }
  .loot-row--boss { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 13px; margin-top: 20px; }
  .loot-row--boss .loot-icon { width: 100px; }
  .loot-row--boss li > span:last-child { font-size: 18px; max-width: 120px; }
  .site-footer { padding: 5px 0 76px; }
  .footer-inner { flex-direction: column; gap: 4px; }
  .brand--footer, .brand--footer img { width: 130px; }
  .footer-inner nav { gap: 28px; font-size: 12px; }
  .motion-toggle { left: 12px; bottom: 12px; font-size: 9px; padding: 7px 9px; min-height: 36px; }
  .back-to-top { right: 12px; bottom: 12px; width: 38px; height: 38px; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .hero__tagline { font-size: 26px; }
  .hero__description { font-size: 13px; }
  .ornate-button, .boss__cta { width: 296px; height: 99px; }
  .ornate-button--small { width: 210px; height: 70px; }
  .reward-ledger li { gap: 18px; }
  .reward-ledger li > span:last-child { font-size: 27px; }
  .boss__stats { gap: 15px; }
  .boss__stats > div + div { padding-left: 15px; }
  .boss__stats dd { font-size: 66px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
  * { scrollbar-color: auto; }
  .ornate-button, .event-period { border: 1px solid ButtonText; }
  .chapter-nav__dot { border-color: LinkText; }
  :focus-visible { outline-color: Highlight; }
  .scene, .decor, #ambient-particles { display: none; }
}

/* Independent artwork registered to the original 1672 x 941 scene coordinates. */
.hero__art-layers { position: absolute; pointer-events: none; }
.hero__art-layers img { position: absolute; max-width: none; height: auto; }
.hero__character { left: 45.02%; top: 13.07%; width: 48.46%; }
/* Separate pumpkins stay close to the character in the shared scene coordinates. */
.hero__character { z-index: 1; }
.hero__floating-pumpkin { z-index: 2; width: 17%; animation: hero-pumpkin-float 10s ease-in-out infinite; transform-origin: center; }
.hero__floating-pumpkin--left { left: 49.5%; top: 36%; animation-duration: 12s; animation-delay: -4s; }
.hero__floating-pumpkin--top { left: 75%; top: 20%; width: 15.5%; animation-delay: -2s; }
.hero__floating-pumpkin--bottom { left: 74.5%; top: 58%; width: 18%; animation-duration: 14s; animation-delay: -6s; }
@keyframes hero-pumpkin-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__floating-pumpkin { animation: none; }
}
/* Soft, static backlight behind the character silhouette. */
.hero__art-layers::before {
  content: ''; position: absolute; z-index: 0;
  left: 56%; top: 24%; width: 28%; height: 67%;
  background: radial-gradient(ellipse at 50% 42%, rgba(255, 174, 74, .17), rgba(91, 192, 246, .16) 42%, transparent 72%);
  filter: blur(22px); pointer-events: none;
}
.hero__character { filter: drop-shadow(0 0 12px rgba(115, 198, 250, .16)); }
/* Use the complete supplied divider, centered without cropping its ornament. */
.ornament-divider { width: min(1448px, 100%); height: 140px; max-width: 100%; aspect-ratio: auto; bottom: 0; background-image: url('../divisor de tela.png'); background-position: center; background-size: 100% auto; }
.hero__art-layers::before { left: 54%; top: 18%; width: 32%; height: 72%; background: radial-gradient(ellipse, rgba(116, 203, 255, .3), rgba(255, 176, 72, .15) 40%, transparent 72%); filter: blur(24px); }
.hero__character { transform: perspective(1000px) translate3d(var(--character-x, 0px), var(--character-y, 0px), 0) rotateY(var(--character-rotate, 0deg)); transition: transform .8s cubic-bezier(.2,.7,.2,1); transform-origin: 54% 58%; filter: drop-shadow(0 0 20px rgba(112, 201, 255, .28)); }
@media (min-width: 641px) { .hero__scene { bottom: 85px; } }
@media (max-width: 640px) { .ornament-divider { height: 72px; width: 100%; background-size: 170% auto; } }
.motion-paused .hero__character { transform: none; }
@media (prefers-reduced-motion: reduce) { .hero__character { transform: none; } }

/* Plain event dates beneath the campaign title. */
.event-period { display: flex; flex-direction: column; gap: 10px; width: auto; height: auto; margin: 26px auto 20px; padding: 0; background: none; border: 0; box-shadow: none; font-size: clamp(21px, 2vw, 28px); line-height: 1.3; }
.event-period__label { font: 500 12px/1.5 var(--body); letter-spacing: .14em; color: var(--muted); }
.event-period > strong { font-weight: 600; }
.event-period__dash { margin-inline: 5px; }

/* Readable navigation and a complete, contained opening composition. */
.site-header { background: rgba(5, 19, 34, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(114, 201, 250, .16); }
.main-nav > a:not(.ornate-button) { color: #e6f2fc; text-shadow: 0 1px 6px #0009; }
.hero { overflow: hidden; overflow: clip; }
.hero__scene { inset: 0; overflow: hidden; }
.hero__scene::after { background: linear-gradient(180deg, rgba(4,10,19,.12), transparent 24%, transparent 82%, var(--night) 100%); }
.hero__art-layers::before { left: 55%; top: 20%; width: 29%; height: 62%; filter: blur(18px); }
.event-period { gap: 12px; margin: 30px auto 26px; letter-spacing: normal; text-shadow: 0 2px 16px rgba(0,0,0,.85); }
.event-period__label { font: 600 clamp(16px, 1.3vw, 20px)/1.4 var(--body); letter-spacing: .06em; color: #e0eaf2; }
.event-period > strong { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.3vw, 20px); white-space: nowrap; font: 700 clamp(28px, 2.6vw, 42px)/1.25 var(--body); font-variant-numeric: lining-nums tabular-nums; font-feature-settings: 'lnum' 1, 'tnum' 1; letter-spacing: .03em; color: #f3dcac; }
.event-period__dash { margin: 0; font-weight: 400; color: #91c9e7; }
@media (max-width: 640px) {
 .hero__scene { height: 500px; }
 .hero__scene::after { background: linear-gradient(180deg, transparent 65%, var(--night)); }
 .event-period { margin: 26px auto 20px; }
 .event-period > strong { gap: 12px; font-size: clamp(26px, 7.2vw, 34px); }
}

/* Slim, translucent navigation and full-size opening artwork. */
.site-header { background: rgba(5, 19, 34, .58); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header.is-scrolled { background: rgba(5, 19, 34, .7); }
.header-inner { min-height: 70px; }
.brand, .brand img { width: 126px; }
.ornate-button--small { width: 174px; height: 58px; }
@media (max-width: 960px) {
 .header-inner { min-height: 64px; }
 .main-nav { top: 64px; }
 .current-chapter { top: 73px; }
}
@media (max-width: 640px) {
 .header-inner { min-height: 60px; }
 .brand, .brand img { width: 112px; }
 .main-nav { top: 60px; }
 .current-chapter { top: 69px; }
}

/* Requested event asset replacements. */
.hero__cta { background-image: url('../event-update/botao-principal-site.png'); height: 122px; }
.site-header .ornate-button--small { background-image: url('../event-update/botao-pequeno-clean.png'); height: 46px; background-size: 118% auto; }
.boss__cta { background-image: url('../event-update/botao-principal-site-p4.png'); height: 126px; }
.event-map__scene { background-image: url('../event-update/pagina-3-fundo.png');  }
.boss__scene { background-image: url('../event-update/fundo-pagina-4.png');  }
.harvest__rewards .loot-icon--bless { background-image: url('../event-update/bless-of-light-p2.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.harvest__rewards .loot-icon--seed { background-image: url('../event-update/seed-capsule-p2.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.harvest__rewards .loot-icon--jewels { background-image: url('../event-update/jewels-p2.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.harvest__rewards .loot-icon--ruud { background-image: url('../event-update/ruud-p2.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.harvest__rewards .relic--ticket { background-image: url('../event-update/halloween-ticket-p2.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.event-map .ticket-cost .relic--ticket { background-image: url('../event-update/halloween-ticket-p3.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.event-map .loot-icon--seed { background-image: url('../event-update/seed-capsule-p3.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.event-map .loot-icon--uriel { background-image: url('../event-update/uriel-feather-p3.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.event-map .loot-icon--ability { background-image: url('../event-update/ability-decision-p3.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.event-map .loot-icon--miracle { background-image: url('../event-update/miracle-coin-p3.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.event-map .loot-icon--temple { background-image: url('../event-update/temple-stones-p3.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.boss .loot-icon--seal { background-image: url('../event-update/levi-taurus-p4.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.boss .loot-icon--core { background-image: url('../event-update/core-design-updated.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.boss .loot-icon--garuda { background-image: url('../event-update/garuda-flame-garuda-feather.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.boss .loot-icon--ruud { background-image: url('../event-update/ruud-p4.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }
.boss .loot-icon--wc { background-image: url('../event-update/wc-p4.png'); background-size: contain; background-position: center; background-repeat: no-repeat; }

/* New supplied campaign artwork and slow lighting. */
.hero__content h1 { position: relative; isolation: isolate; }
.hero__content h1::before { content: ''; position: absolute; z-index: -1; inset: 3% -7%; background: radial-gradient(ellipse, rgba(80,188,255,.38), rgba(47,125,220,.12) 45%, transparent 72%); filter: blur(22px); pointer-events: none; }
.hero__wordmark { filter: drop-shadow(0 0 14px rgba(90,193,255,.28)); }
.site-header .ornate-button--small > span { padding: 0 20px; margin: 0; font-size: 18px; }
.hero__cta > span, .boss__cta > span { padding-inline: 48px; transform: translateY(4px); }
.harvest__collectible { position: relative; isolation: isolate; width: 100%; margin: 25px auto 20px; }
.harvest__collectible::before { content: ''; position: absolute; z-index: -1; inset: 3% -5%; border-radius: 50%; background: radial-gradient(ellipse, rgba(255,161,37,.37), rgba(245,114,20,.12) 48%, transparent 73%); filter: blur(27px); animation: harvest-light 9s ease-in-out infinite; pointer-events: none; }
.harvest__collection-image { width: 100%; height: auto; animation-duration: 11s; }
.harvest__art figcaption { margin-top: 12px; }
@keyframes harvest-light { 0%, 100% { opacity: .4; transform: scale(.94); } 50% { opacity: .9; transform: scale(1.04); } }
.event-map__content { text-shadow: 0 2px 10px rgba(0,0,0,.55); }
@media (max-width:640px) { .hero__cta { height: 112px; } .boss__cta { height: 112px; } .hero__cta > span, .boss__cta > span { font-size: 21px; } }
@media (prefers-reduced-motion:reduce) { .harvest__collectible::before { animation: none; opacity: .6; } }


/* Soft localized shade keeps the boss information legible over the moonlight. */
.boss__content { position: relative; isolation: isolate; }
.boss__content::before { content: ''; position: absolute; z-index: -1; inset: -45px -65px -25px; background: radial-gradient(ellipse at 45% 45%, rgba(2, 7, 15, .88) 0%, rgba(2, 7, 15, .74) 42%, rgba(2, 7, 15, .36) 66%, transparent 82%); filter: blur(22px); pointer-events: none; }
@media (max-width: 640px) { .boss__content::before { inset: -30px -24px; filter: blur(16px); } }

/* Local dark shading beneath the map instructions and rewards. */
.event-map__content { position: relative; isolation: isolate; }
.event-map__content::before { content: ''; position: absolute; z-index: -1; inset: -48px -65px -34px; background: radial-gradient(ellipse at 48% 45%, rgba(2,7,15,.94) 0%, rgba(2,7,15,.87) 45%, rgba(2,7,15,.6) 65%, transparent 84%); filter: blur(23px); pointer-events: none; }
.harvest__collectible { max-width: 510px; }
.harvest__collectible::before { inset: 8% 3%; background: radial-gradient(ellipse, rgba(237,115,175,.32), rgba(112,154,255,.15) 48%, transparent 73%); }
.harvest__collection-image { max-height: 540px; object-fit: contain; transform: perspective(1000px) translate3d(var(--harvest-x,0px), var(--harvest-y,0px), 0) rotateY(var(--harvest-tilt,0deg)); transition: transform .8s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 0 14px rgba(246,132,193,.2)); }
.motion-paused .harvest__collection-image { transform: none; }
@media (max-width:640px) { .event-map__content::before { inset: -30px -24px; filter: blur(16px); } .harvest__collection-image { max-height: 450px; } }
@media (prefers-reduced-motion:reduce) { .harvest__collection-image { transform: none; } }

/* A small Halloween pointer, with a brighter pumpkin on interactive controls. */
@media (hover: hover) and (pointer: fine) {
 html, body, body * { cursor: url('../halloween-cursor.svg') 3 2, auto; }
 a, a *, button, button *, [role="button"], [role="button"] * { cursor: url('../halloween-cursor-active.svg') 3 2, pointer; }
 input, textarea, [contenteditable="true"] { cursor: text; }
 button:disabled, [aria-disabled="true"] { cursor: not-allowed; }
}
/* Slow light behind each reward and ticket, separate from the sprite artwork. */
.loot-icon, .reward-ledger .relic, .ticket-cost .relic { position: relative; isolation: isolate; overflow: visible; }
.loot-icon::before, .reward-ledger .relic::before, .ticket-cost .relic::before { content: ''; position: absolute; z-index: -1; inset: 4%; border-radius: 50%; background: radial-gradient(ellipse, rgba(105,199,255,.48), rgba(74,147,247,.2) 43%, transparent 73%); filter: blur(10px); animation: item-light-pulse 7s ease-in-out infinite; pointer-events: none; }
li:nth-child(2n) .loot-icon::before { animation-delay: -2.5s; }
li:nth-child(3n) .loot-icon::before { animation-delay: -4.5s; }
@keyframes item-light-pulse { 0%, 100% { opacity: .28; transform: scale(.91); } 50% { opacity: .85; transform: scale(1.1); } }
/* Feather both sides of each chapter into the same dark atmosphere. */
.chapter::before, .chapter::after { content: ''; position: absolute; left: 0; right: 0; height: 150px; z-index: 1; pointer-events: none; }
.chapter::before { top: 0; background: linear-gradient(180deg, var(--night), rgba(5,11,20,.75) 20%, rgba(5,11,20,.25) 63%, transparent); }
.chapter::after { bottom: 0; background: linear-gradient(0deg, var(--night), rgba(5,11,20,.8) 20%, rgba(5,11,20,.3) 62%, transparent); }
.harvest::before, .harvest::after { height: 110px; }
.harvest__light { position: absolute; left: 10%; width: 80%; height: 1px; z-index: 3; background: linear-gradient(90deg, transparent, rgba(91,186,255,.32) 25%, rgba(155,225,255,.68) 50%, rgba(91,186,255,.32) 75%, transparent); pointer-events: none; }
.harvest__light::before { content: ''; position: absolute; inset: -16px 0; background: radial-gradient(ellipse, rgba(70,161,248,.16), transparent 72%); filter: blur(8px); }
.harvest__light--top { top: 2px; }
.harvest__light--bottom { bottom: 2px; }
@media (max-width:640px) { .chapter::before, .chapter::after { height: 100px; } .harvest__light { left: 5%; width: 90%; } }
@media (prefers-reduced-motion:reduce) { .loot-icon::before, .reward-ledger .relic::before, .ticket-cost .relic::before { animation: none; opacity: .55; } }
@media (forced-colors:active) { .chapter::before, .chapter::after, .harvest__light { display: none; } }

/* Sparse, muted Halloween silhouettes in the outer corners; only mist at seams. */
.harvest__light { display: none; }
.harvest__atmosphere { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 0% 16%, rgba(95,132,166,.045), transparent 27%), radial-gradient(ellipse at 100% 85%, rgba(95,132,166,.04), transparent 28%); }
.harvest__atmosphere::before, .harvest__atmosphere::after { content: ''; position: absolute; width: 240px; height: 200px; background: url('../harvest-corner-detail.svg') center/contain no-repeat; opacity: .16; }
.harvest__atmosphere::before { top: 58px; left: 12px; transform: rotate(-10deg); }
.harvest__atmosphere::after { bottom: 45px; right: -10px; transform: scaleX(-1) rotate(-8deg); opacity: .12; }
.harvest::before, .harvest::after { height: 145px; }
@media (max-width:640px) { .harvest__atmosphere::before, .harvest__atmosphere::after { width: 145px; height: 120px; opacity: .1; } .harvest__atmosphere::before { left: -22px; top: 24px; } .harvest__atmosphere::after { right: -24px; bottom: 25px; } }
@media (forced-colors:active) { .harvest__atmosphere { display: none; } }

/* A light, outlined event card with restrained Gothic detail. */
.event-period { position: relative; width: fit-content; max-width: 100%; min-width: min(350px, 100%); height: auto; padding: 20px 28px 22px; margin: 26px auto 22px; gap: 10px; border: 1px solid rgba(134,193,226,.4); border-radius: 3px; background: transparent; box-shadow: inset 0 0 22px rgba(89,168,224,.035), 0 0 18px rgba(50,123,184,.07); }
.event-period::before, .event-period::after { content: ''; position: absolute; width: 5px; height: 5px; border: 1px solid rgba(158,213,241,.7); background: #10253a; transform: rotate(45deg); }
.event-period::before { top: -4px; left: calc(50% - 3px); }
.event-period::after { bottom: -4px; left: calc(50% - 3px); }
.event-period__label { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: #c4d8e7; }
.event-period > strong { font-size: clamp(27px, 2.2vw, 36px); letter-spacing: .045em; gap: 15px; color: #f1d9ad; }
.hero__wordmark, .brand img { transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .65s ease; transform-origin: center; }
@media (hover:hover) and (pointer:fine) {
 .hero__content h1:hover .hero__wordmark { transform: translateY(-4px) rotate(-.8deg) scale(1.018); filter: drop-shadow(0 0 20px rgba(90,193,255,.4)); }
 .brand:hover img { transform: translateY(-2px) rotate(-.6deg); }
}
/* Carry the midnight blue through the spoils and the full-width ending. */
.boss { background: #081c30; }
.boss__scene { bottom: 0; }
.boss__scene::after { background: linear-gradient(180deg, var(--night), transparent 15%, rgba(8,28,48,.12) 60%, #081c30 100%); }
.spoils::before { background: linear-gradient(180deg, transparent, rgba(8,28,48,.72) 35%, #081c30); }
.boss::after { background: linear-gradient(0deg, #081c30, rgba(8,28,48,.65) 35%, transparent); }
.site-footer { background: #081c30; }
@media (max-width:640px) {
 .event-period { min-width: 0; width: min(340px, 100%); padding: 19px 16px 21px; }
 .event-period > strong { font-size: clamp(25px, 7vw, 31px); gap: 12px; }
 .event-period__label { font-size: 12px; }
 .boss__scene { bottom: auto; }
 .boss__scene::after { background: linear-gradient(180deg, var(--night), transparent 15%, rgba(8,28,48,.2) 62%, #081c30); }
}
.motion-paused .hero__wordmark, .motion-paused .brand img { transform: none !important; }
@media (prefers-reduced-motion:reduce) { .hero__wordmark, .brand img { transform: none !important; } }

/* A tiny bat leads into the harvest chapter. */
.scroll-cue__bat { width: 32px; height: 18px; fill: #a6c6dc; stroke: #cce9f6; stroke-width: .6; filter: drop-shadow(0 0 5px rgba(94,184,239,.22)); animation: scroll-hint 4s ease-in-out infinite; }
/* A restrained blue reward tray with faint Halloween corner detailing. */
.map-loot > .loot-row { position: relative; isolation: isolate; padding: 22px 16px 18px; background: rgba(6,23,41,.84); border: 1px solid rgba(119,173,210,.24); border-radius: 5px; box-shadow: inset 0 1px 0 rgba(183,221,246,.035), 0 12px 30px rgba(0,0,0,.14); }
.map-loot > .loot-row::before { content: ''; position: absolute; z-index: -1; top: 0; right: 0; width: 110px; height: 90px; background: url('../harvest-corner-detail.svg') center/contain no-repeat; opacity: .13; pointer-events: none; }
.map-loot > .loot-row::after { content: ''; position: absolute; bottom: -3px; left: 18px; width: 5px; height: 5px; border: 1px solid rgba(137,192,222,.45); background: #081b2e; transform: rotate(45deg); pointer-events: none; }
/* Deep, even midnight blue through the spoils and footer. */
.boss, .site-footer { background: #04101e; }
.boss__scene::after { background: linear-gradient(180deg, var(--night), transparent 16%, rgba(4,16,30,.12) 44%, rgba(4,16,30,.78) 73%, #04101e 100%); }
.spoils::before { display: none; }
.boss::after { height: 45%; background: linear-gradient(0deg, #04101e, rgba(4,16,30,.9) 35%, transparent); }
@media (max-width:640px) { .map-loot > .loot-row { padding: 20px 12px; gap: 20px 10px; } .boss__scene::after { background: linear-gradient(180deg, var(--night), transparent 15%, rgba(4,16,30,.3) 60%, #04101e); } }
