/* New Year Fest 2027 — sunset / neon theme, colours sampled from the poster */
:root {
  --sky-top: #6f6ab4;
  --sky-mid: #b27db5;
  --sky-rose: #e08aa3;
  --sky-peach: #f5b98c;
  --sand: #f2d5b8;
  --night: #24173f;
  --night-2: #33215a;
  --hill: #5b3f7e;
  --ink: #2a1a3f;
  --white: #fff;
  --lime: #d4d23a;
  --hot: #ff5c93;
  --glow: 0 0 6px rgba(255,255,255,.9), 0 0 18px rgba(255,190,230,.85), 0 0 42px rgba(255,120,190,.55);
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --body: 'Montserrat', system-ui, sans-serif;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; font: 600 16px/1.55 var(--body); color: var(--white); background: var(--night);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------------------------------------------------------------- HERO */
/* Background art is the poster's own sunset-beach layer (Main.ai, no band or text) */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--sky-mid) url("../assets/hero_bg.jpg") 50% 58% / cover no-repeat; }
@media (max-width: 700px) { .hero { background-image: url("../assets/hero_bg_sm.jpg"); background-position: 50% 40%; } }
/* scrim: keeps white type readable over the bright horizon, fades into the page below */
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(54,30,90,.38), transparent 75%),
    linear-gradient(180deg, rgba(36,23,63,.25) 0%, transparent 30%, transparent 70%, var(--night) 100%); }
@keyframes breathe { 50% { scale: 1.06; opacity: .85; } }

.hero-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; min-height: 100svh;
  padding: max(28px, env(safe-area-inset-top)) 16px 56px; display: grid; place-items: center; align-content: center; text-align: center; }
.hero-copy { display: flex; flex-direction: column; align-items: center; width: 100%; }
.brand { width: clamp(84px, 12vw, 132px); height: auto; margin-bottom: clamp(22px, 3.6vw, 44px); filter: drop-shadow(0 4px 14px rgba(36,23,63,.45)); }
.eyebrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin: 0 0 8px; font: 900 clamp(17px, 3.2vw, 32px)/1.2 var(--body);
  letter-spacing: .04em; text-shadow: var(--glow); }
.title { margin: 0; width: min(100%, 900px, 62svh); } /* height cap keeps countdown + buttons above the fold on laptops */
.title img { width: 100%; height: auto; }
.count { margin-top: clamp(28px, 5vw, 48px); width: 100%; }
.count .lbl { font: 900 clamp(16px, 2.6vw, 26px)/1 var(--body); letter-spacing: .22em; text-shadow: var(--glow); }
.units { display: flex; justify-content: center; gap: clamp(8px, 2vw, 16px); margin-top: 14px; }
.units div { flex: 1 1 0; max-width: 140px; padding: clamp(10px, 2vw, 18px) 6px clamp(8px, 1.6vw, 14px); text-align: center; border-radius: 16px;
  background: rgba(36,23,63,.18); border: 2px solid rgba(255,255,255,.6); backdrop-filter: blur(3px); box-shadow: 0 0 22px rgba(255,140,200,.3); }
.units b { display: block; font: 400 clamp(40px, 10vw, 84px)/1 var(--display); font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(255,180,220,.7); }
.units small { font: 800 clamp(9px, 1.4vw, 12px)/1 var(--body); letter-spacing: .2em; opacity: .9; }
.done { font: 400 clamp(36px, 8vw, 72px)/1 var(--display); text-shadow: var(--glow); margin: 0; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(24px, 4vw, 36px); }


/* floating "scroll for more" cue: bottom-centre on phones, bottom-right on wide screens so it never covers the hero buttons */
.scroll-cue { position: fixed; z-index: 25; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); translate: -50% 0;
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 16px 12px; border-radius: 999px; text-decoration: none;
  font: 900 11px/1 var(--body); letter-spacing: .24em; color: #fff; background: rgba(36,23,63,.35); border: 2px solid rgba(255,255,255,.7);
  backdrop-filter: blur(4px); box-shadow: 0 0 18px rgba(255,140,200,.45); text-shadow: 0 0 8px rgba(255,180,220,.8);
  transition: opacity .35s, visibility .35s; }
.scroll-cue span { margin-right: -.24em; } /* cancel trailing letter-spacing so the word sits centred */
.scroll-cue i { width: 12px; height: 12px; border-right: 3px solid #fff; border-bottom: 3px solid #fff; rotate: 45deg; animation: cue 1.4s ease-in-out infinite; }
.scroll-cue:hover { background: rgba(36,23,63,.55); }
.scroll-cue.gone { opacity: 0; visibility: hidden; }
@keyframes cue { 0%, 100% { translate: 0 -3px; opacity: .5; } 50% { translate: 0 4px; opacity: 1; } }
@media (min-width: 900px) { .scroll-cue { left: auto; right: 28px; bottom: 28px; translate: none; } }

/* ---------------------------------------------------------------- BUTTONS / PILLS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; text-decoration: none;
  font: 900 14px/1 var(--body); letter-spacing: .06em; color: var(--ink); background: #fff; border: 3px solid #fff;
  box-shadow: 0 6px 0 var(--ink), 0 0 22px rgba(255,150,200,.6); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink), 0 0 28px rgba(255,150,200,.8); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn.ghost { background: rgba(36,23,63,.35); color: #fff; }
.btn.off { opacity: .6; cursor: not-allowed; background: transparent; color: #fff; box-shadow: none; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; font: 900 11px/1 var(--body); letter-spacing: .14em;
  background: var(--hot); color: #fff; text-transform: uppercase; }
.pill.lime { background: var(--lime); color: var(--ink); }

/* ---------------------------------------------------------------- NAV */
.nav { position: sticky; top: 0; z-index: 20; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  padding: 10px 16px; background: rgba(36,23,63,.82); backdrop-filter: blur(10px); border-bottom: 2px solid rgba(255,255,255,.15); }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; padding: 9px 14px; border-radius: 999px; text-decoration: none; font: 800 12px/1 var(--body); letter-spacing: .1em; opacity: .75; }
.nav a:hover, .nav a.on { opacity: 1; background: #fff; color: var(--ink); }
@media (min-width: 900px) { .nav { justify-content: center; } }

/* ---------------------------------------------------------------- SECTIONS */
main { background: linear-gradient(180deg, var(--night) 0%, var(--night-2) 50%, var(--night) 100%); }
.sec { position: relative; max-width: 980px; margin: 0 auto; padding: 72px 16px; }
.sec + .sec::before { content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky-rose), var(--sky-peach), transparent); opacity: .5; }
.sec-head { text-align: center; margin-bottom: 32px; }
.kicker { font: 900 12px/1 var(--body); letter-spacing: .28em; color: var(--sky-peach); }
.sec-title { margin: 10px 0 0; font: 400 clamp(46px, 11vw, 92px)/.95 var(--display); letter-spacing: .01em;
  color: transparent; -webkit-text-stroke: 2px #fff; filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 14px rgba(255,140,200,.8)); }
.sec-intro { max-width: 560px; margin: 14px auto 0; opacity: .85; font-weight: 600; }

.card { position: relative; border-radius: var(--radius); padding: 24px; margin-top: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 2px solid rgba(255,255,255,.22); }
.card h3 { margin: 10px 0 6px; font: 400 clamp(28px, 6vw, 40px)/1 var(--display); letter-spacing: .02em; }
.card p { margin: 0; opacity: .85; }
.tba { text-align: center; padding: 34px 24px;
  background: linear-gradient(180deg, rgba(111,106,180,.35), rgba(224,138,163,.25)); }

.days { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(6px, 2vw, 12px); }
.days li { text-align: center; padding: clamp(9px, 2.4vw, 16px) 4px; border-radius: 14px; color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--sand) 100%); box-shadow: 0 6px 0 var(--sky-rose); }
.days li:first-child { background: linear-gradient(180deg, var(--lime), #f3e98a); }
.days b { display: block; font: 400 clamp(18px, 5.4vw, 34px)/1 var(--display); white-space: nowrap; }
.days span { display: block; font: 900 clamp(8px, 2.2vw, 12px)/1.6 var(--body); letter-spacing: .08em; }
.days small { font: 800 clamp(7px, 1.9vw, 10px)/1 var(--body); letter-spacing: .08em; opacity: .65; }

.headliner { padding: 0; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 36px rgba(255,140,200,.35); }
.headliner .win { min-height: 220px; background: linear-gradient(180deg, var(--sky-top), var(--sky-rose) 70%, var(--sky-peach)); }
.headliner .win img { width: 100%; aspect-ratio: 16/11; object-fit: cover; object-position: 50% 25%; }
@media (min-width: 720px) { .headliner .win img { aspect-ratio: 16/9; } }
.headliner .tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(36,23,63,.92)); }
.headliner h3 { font-size: clamp(48px, 12vw, 88px); margin: 8px 0 0; text-shadow: var(--glow); }
.artists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.artist { padding: 12px; text-align: center; }
.artist .win { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-rose) 70%, var(--sky-peach)); }
.artist .win span { font: 400 clamp(48px, 12vw, 80px)/1 var(--display); color: transparent; -webkit-text-stroke: 2px #fff;
  filter: drop-shadow(0 0 8px #fff); animation: breathe 3s ease-in-out infinite; }
.artist h4 { margin: 10px 0 0; font: 900 clamp(11px, 2.4vw, 14px)/1.2 var(--body); letter-spacing: .14em; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cta { text-align: center; padding: 34px 24px; background: linear-gradient(135deg, var(--hot), #a265d0); border-color: #fff; }
.cta p { margin-bottom: 18px; }

/* ---------------------------------------------------------------- FOOTER */
footer { text-align: center; padding: 64px 16px max(48px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, var(--night) 0%, var(--hill) 60%, var(--sky-rose) 100%); }
footer .logo { margin: 0 auto 18px; height: auto; }
footer p { margin: 6px 0; }
footer .big { font: 400 clamp(36px, 9vw, 64px)/1 var(--display); text-shadow: var(--glow); }
footer .date { font: 900 18px/1.2 var(--body); letter-spacing: .06em; }
footer .btn { margin-top: 14px; }
footer small { display: block; margin-top: 26px; opacity: .75; font-size: 12px; }

/* ---------------------------------------------------------------- LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px; background: rgba(20,12,35,.92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92svh; width: auto; border-radius: 10px; }
.lightbox .x { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  font: 900 28px/1 var(--body); background: #fff; color: var(--ink); cursor: pointer; }

/* ---------------------------------------------------------------- REVEAL */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.days.rv li { opacity: 0; transform: translateY(16px) rotate(-2deg); transition: inherit; transition-delay: var(--d); }
.days.rv.in li { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .days.rv li { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- LIVE-MODE PIECES */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
button, input, textarea, select { font: inherit; color: inherit; }
.nav .cta { background: var(--lime); color: var(--ink); opacity: 1; }
.empty { text-align: center; opacity: .75; margin: 0; }

.days.tabs { display: grid; }
.days.tabs button { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; padding: clamp(9px, 2.4vw, 16px) 4px; border-radius: 14px; color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--sand) 100%); box-shadow: 0 6px 0 var(--sky-rose); transition: transform .15s, box-shadow .15s; }
.days.tabs button[aria-selected="true"] { background: linear-gradient(180deg, var(--lime), #f3e98a); transform: translateY(3px); box-shadow: 0 3px 0 var(--sky-rose); }
.days.tabs button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
/* .days.tabs inherits the sizes from .days b/span/small above */
.days.tabs.rv button { opacity: 0; transform: translateY(16px) rotate(-2deg); transition: opacity .7s, transform .7s; transition-delay: var(--d); }
.days.tabs.rv.in button { opacity: 1; transform: none; }
.days.tabs.rv.in button[aria-selected="true"] { transform: translateY(3px); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px dashed rgba(255,255,255,.2); }
.timeline > li:last-child { border-bottom: 0; }
.timeline .t { font: 400 20px/1.2 var(--display); color: var(--sky-peach); }
.timeline .it { display: block; font-weight: 800; }
.timeline .it + .it { margin-top: 6px; }
.timeline .note { display: block; font-weight: 600; opacity: .75; font-size: 14px; }
.timeline li.hi .t { color: var(--lime); }
.timeline li.hi .note { font: 400 18px/1.2 var(--display); color: var(--hot); opacity: 1; letter-spacing: .03em; text-transform: uppercase; }
.timeline ul { margin: 4px 0 0; padding-left: 18px; font-weight: 600; opacity: .85; }

.zoomable { all: unset; box-sizing: border-box; display: block; width: 100%; margin-top: 18px; cursor: zoom-in; border-radius: var(--radius); overflow: hidden;
  border: 4px solid #fff; position: relative; }
.zoomable img { width: 100%; height: auto; }
.zoomable .zoom-hint { position: absolute; right: 10px; bottom: 10px; padding: 6px 12px; border-radius: 99px; background: rgba(36,23,63,.8); font: 800 11px/1 var(--body); letter-spacing: .1em; }
.zoomable:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.headliner .when, .artist .when { margin: 6px 0 0; font: 800 13px/1.2 var(--body); letter-spacing: .06em; opacity: .9; }
.artist .win { overflow: hidden; }
.artist .win img { width: 100%; height: 100%; object-fit: cover; }
.artist:not(.mystery) .win span { font: 400 48px/1 var(--display); color: #fff; }

.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 4px 18px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: thin; }
.act { margin: 0; padding: 0; overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; }
.act .ph { position: relative; aspect-ratio: 4/3; background: linear-gradient(180deg, var(--sky-top), var(--sky-rose) 70%, var(--sky-peach)); }
.act .ph img { width: 100%; height: 100%; object-fit: cover; }
.act .num { position: absolute; left: 10px; top: 8px; font: 400 34px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px #fff; filter: drop-shadow(0 0 6px rgba(0,0,0,.4)); }
.act .body { padding: 16px; }
.act h3 { font-size: 26px; margin: 0 0 6px; }
.act .when { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.vtable ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.vtable li { display: flex; gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px dashed rgba(255,255,255,.2); }
.vtable .lot { flex: none; min-width: 44px; text-align: center; padding: 4px 8px; border-radius: 8px; background: var(--lime); color: var(--ink); font: 900 13px/1.2 var(--body); }
.vtable .vn { font-weight: 800; }
.vtable .vn small { display: block; font-weight: 600; opacity: .7; }
footer .soc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
footer .soc .pill { text-decoration: none; }

/* ---------------------------------------------------------------- FORM (daftar) */
.page-head { position: relative; text-align: center; padding: 18px 16px 34px; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 50%, var(--sky-rose) 85%, var(--sky-peach) 100%); }
.page-head .back { position: absolute; left: 12px; top: 12px; z-index: 1; padding: 8px 14px; border-radius: 99px; text-decoration: none;
  font: 800 12px/1 var(--body); letter-spacing: .08em; background: rgba(36,23,63,.45); border: 2px solid rgba(255,255,255,.7); }
.page-head .logo { width: 110px; height: auto; margin: 40px auto 6px; }
.page-head .kicker { color: #fff; text-shadow: var(--glow); }
.page-head h1 { margin: 10px 0 0; font: 400 clamp(46px, 14vw, 76px)/.95 var(--display); color: transparent; -webkit-text-stroke: 2px #fff;
  filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 14px rgba(255,140,200,.8)); }
.form { max-width: 560px; margin: 0 auto; padding: 22px 16px 60px; }
.form .card { margin-top: 0; margin-bottom: 14px; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: var(--lime); color: var(--ink); border-color: var(--lime); }
.notice .ic { font: 400 28px/1 var(--display); }
.notice p { opacity: 1; }
.field { padding: 18px; }
.field > label, .field > legend, .field .lbl { display: block; font: 400 20px/1.2 var(--display); letter-spacing: .03em; margin-bottom: 10px; }
.field .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--hot); color: #fff;
  font: 900 13px/1 var(--body); margin-right: 8px; vertical-align: 3px; }
.field .hint { display: block; font-size: 12px; opacity: .75; margin-top: 8px; }
fieldset.field { min-width: 0; }
fieldset.field legend { float: left; width: 100%; padding: 0; }
fieldset.field legend + * { clear: both; }
.input { width: 100%; padding: 13px 14px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; background: rgba(255,255,255,.95);
  color: var(--ink); font: 600 16px var(--body); }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 3px var(--hot); }
.input[aria-invalid="true"] { border-color: #ff6b6b; background: #fff1f1; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 14px 8px 12px; border-radius: 14px; border: 2px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.08); font: 400 20px/1.1 var(--display); cursor: pointer; transition: background .2s, transform .15s; }
.seg span small { display: block; font: 600 11px var(--body); opacity: .8; margin-top: 4px; }
.seg input:checked + span { background: #fff; color: var(--ink); transform: translateY(-2px); box-shadow: 0 0 18px rgba(255,150,200,.6); }
.seg input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.4; cursor: pointer; padding: 6px 0; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--hot); }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photos .ph { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid #fff; }
.photos .ph img { width: 100%; height: 100%; object-fit: cover; }
.photos .ph button { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--ink);
  font: 900 18px/1 var(--body); cursor: pointer; }
.photos .add { aspect-ratio: 1; border-radius: 12px; border: 2px dashed rgba(255,255,255,.7); background: rgba(255,255,255,.06); display: grid; place-items: center;
  text-align: center; font: 800 11px/1.3 var(--body); letter-spacing: .06em; cursor: pointer; padding: 6px; }
.photos .add:focus-within { outline: 3px solid var(--lime); outline-offset: 2px; }
.photos .add b { display: block; font: 400 32px/1 var(--display); }
.err { color: #ff9a9a; font-size: 13px; font-weight: 800; margin: 8px 0 0; display: none; }
.err.show { display: block; }
.form-error { background: #ffe1e1; color: #7a0c1e; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; display: none; font-weight: 800; }
.form-error.show { display: block; }
.submit { width: 100%; justify-content: center; font-size: 18px; min-height: 60px; cursor: pointer; }
.submit:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { text-align: center; padding: 34px 20px; }
.done .big { font: 400 46px/1 var(--display); margin: 6px 0 10px; text-shadow: var(--glow); }
.done .btn { margin-top: 18px; }
