/* Staging Giveaway (page-staging-giveaway.php) and its terms. Shares tokens, buttons and .tag with the NexGen layer. */

.ngx .gv__head { max-width: 760px; margin-bottom: 28px; }
.ngx .gv__h { margin: 0 0 12px; font-family: var(--f-h); font-size: clamp(28px, 3.4vw, 46px); font-weight: 800; line-height: 1.05; text-transform: uppercase; }
.ngx .gv__p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--teal); }
.ngx .gvnote { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--mute); }
.ngx .gvnote a { font-weight: 800; color: var(--ink); border-bottom: 2px solid var(--lime); }

/* the hero already says it all: no Porto title band above it */
body.ngx-gvp .page-top { display: none; }

/* ---------- hero: prize, countdown, tickets sold ---------- */
.ngx .gvhero { padding: 50px 0 56px; }
.ngx .gvhero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 36px 56px; align-items: center; }
.ngx .gvhero__h { margin: 0 0 18px; font-family: var(--f-h); font-size: clamp(36px, 4.8vw, 68px); font-weight: 800; line-height: .98; text-transform: uppercase; }
.ngx .gvhero__h em { display: block; font-style: normal; color: var(--teal); }
.ngx .gvhero__lead { margin: 0 0 24px; max-width: 560px; font-size: 19px; line-height: 1.5; }
.ngx .gvhero__img { margin: 0; border-radius: 30px; overflow: hidden; box-shadow: 0 0 0 2px var(--ink), 12px 12px 0 0 var(--lime), 12px 12px 0 2px var(--ink); }
.ngx .gvhero__img img { display: block; width: 100%; height: auto; }

.ngx .gvcount { margin: 0 0 18px; }
.ngx .gvcount__l { margin: 0 0 8px; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.ngx .gvcount__n { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ngx .gvcount__n li { display: grid; justify-items: center; min-width: 74px; padding: 10px 8px; border-radius: 16px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ngx .gvcount__n b { font-family: var(--f-h); font-size: 28px; line-height: 1.1; color: var(--lime); letter-spacing: 0; }

.ngx .gvsold { margin: 0 0 22px; font-size: 17px; color: var(--teal); }
.ngx .gvsold b { font-family: var(--f-h); font-size: 30px; color: var(--ink); margin-right: 4px; }
.ngx .gvbar { margin: 0 0 26px; max-width: 460px; }
.ngx .gvbar__t { height: 14px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 2px var(--ink) inset; overflow: hidden; }
.ngx .gvbar__t span { display: block; height: 100%; border-radius: 999px; background: var(--lime); box-shadow: 0 0 0 2px var(--ink) inset; }
.ngx .gvbar p { margin: 8px 0 0; font-size: 14.5px; color: var(--teal); }
.ngx .gvbar b { color: var(--ink); }

/* ---------- instant wins (spot prizes): a small card under the prize picture, so it never competes with it ---------- */
.ngx .gvhero__side { display: grid; gap: 22px; min-width: 0; }
.ngx .gvinstant { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.ngx .gvinstant__img { display: block; width: 84px; height: 84px; object-fit: cover; border-radius: 14px; }
.ngx .gvinstant p { margin: 0; }
.ngx .gvinstant__k { font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.ngx .gvinstant__h { margin-top: 2px !important; font-weight: 800; font-size: 15px; line-height: 1.35; }
.ngx .gvinstant__h a { color: var(--ink); border-bottom: 2px solid var(--lime); }
.ngx .gvinstant__p { font-size: 13px; line-height: 1.45; color: var(--mute); }
.ngx .gvinstant__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.ngx .gvinstant__list li { padding: 3px 10px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; font-size: 12px; font-weight: 700; color: var(--teal); }
.ngx .gvinstant__list li.is-won { background: var(--lime); box-shadow: 0 0 0 1px var(--ink) inset; color: var(--ink); }
/* ---------- the choir from the shared link ---------- */
.ngx .gvchoir { padding: 0 0 50px; }
.ngx .gvchoir__in { padding: 30px 34px; border-radius: 28px; background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }
.ngx .gvchoir__h { margin: 0 0 8px; font-family: var(--f-h); font-size: clamp(26px, 3vw, 40px); font-weight: 800; text-transform: uppercase; line-height: 1.05; }
.ngx .gvchoir__p { margin: 0; font-size: 17px; }
.ngx .gvchoir .gvnote { color: var(--ink); }

/* ---------- entry form ---------- */
.ngx .gventer { padding: 50px 0 60px; background: var(--white); }
.ngx .gventer__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 34px 56px; align-items: start; }
.ngx .gventer__side { position: sticky; top: 110px; }
.ngx .gvprize { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.ngx .gvprize li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.ngx .gvprize svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--lime); }

.ngx .gvform { display: grid; gap: 18px; padding: 30px; border-radius: 30px; background: var(--paper); box-shadow: 0 0 0 2px var(--ink); }
.ngx .gvform__err { padding: 14px 18px; border-radius: 16px; background: #FDE8E6; box-shadow: 0 0 0 2px #B3261E inset; color: #7A1712; font-weight: 700; }
.ngx .gvform__err p { margin: 0; }
.ngx .gvform__err p + p { margin-top: 4px; }
.ngx .gvstep { display: grid; gap: 12px; margin: 0; padding: 22px; border: 0; border-radius: 22px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.ngx .gvstep legend { float: left; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 0; font-family: var(--f-h); font-size: 17px; font-weight: 700; line-height: 1.25; }
.ngx .gvstep legend b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 15px; }

.ngx .gvbundles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.ngx .gvb { position: relative; cursor: pointer; }
.ngx .gvb input, .ngx .gvans input { position: absolute; opacity: 0; pointer-events: none; }
.ngx .gvb__in { display: grid; gap: 4px; height: 100%; padding: 18px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 2px var(--line); transition: box-shadow .2s, background-color .2s, transform .3s var(--ease); }
.ngx .gvb:hover .gvb__in { transform: translateY(-2px); }
.ngx .gvb input:checked + .gvb__in { background: var(--lime-soft); box-shadow: 0 0 0 3px var(--ink); }
.ngx .gvb input:focus-visible + .gvb__in, .ngx .gvans input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 3px; }
.ngx .gvb__t { font-family: var(--f-h); font-size: 34px; font-weight: 800; line-height: 1; }
.ngx .gvb__t small { font-size: 14px; }
.ngx .gvb__n { font-weight: 700; color: var(--teal); }
.ngx .gvb__p { font-family: var(--f-h); font-size: 22px; font-weight: 800; }
.ngx .gvb__e { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 12.5px; font-weight: 800; }
.ngx .gvqty { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.ngx .gvqty input { width: 84px; }

.ngx .gvin, .ngx .gvqty input { padding: 13px 16px; border: 0; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 2px var(--line) inset; font: inherit; font-size: 16px; color: var(--ink); }
.ngx .gvin:focus, .ngx .gvqty input:focus { outline: none; box-shadow: 0 0 0 2px var(--ink) inset; }
.ngx .gvhint { margin: 0; font-size: 14px; color: var(--mute); }

.ngx .gvans { display: grid; gap: 10px; }
.ngx .gvans label { position: relative; cursor: pointer; }
.ngx .gvans span { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 2px var(--line); font-weight: 700; transition: box-shadow .2s, background-color .2s; }
.ngx .gvans span b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--ink) inset; font-family: var(--f-h); font-size: 13px; }
.ngx .gvans input:checked + span { background: var(--lime-soft); box-shadow: 0 0 0 3px var(--ink); }
.ngx .gvans input:checked + span b { background: var(--ink); color: var(--lime); }
.ngx .gvform--closed { background: var(--lime-soft); }

/* ---------- how it works ---------- */
.ngx .gvhow { padding: 60px 0; }
.ngx .gvhow__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ngx .gvhow__row li { padding: 24px; border-radius: 24px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.ngx .gvhow__row b { font-family: var(--f-h); font-size: 30px; }
.ngx .gvhow__row h3 { margin: 12px 0 8px; font-family: var(--f-h); font-size: 18px; font-weight: 700; text-transform: uppercase; line-height: 1.15; }
.ngx .gvhow__row p { margin: 0; font-size: 15px; line-height: 1.5; }

/* ---------- wall of fame teaser: tiers + leading choirs ---------- */
.ngx .gvwall { padding: 60px 0 80px; background: var(--ink); color: var(--white); }
.ngx .gvwall .tag, .ngx .gvwall .gv__p { color: var(--lime); }
.ngx .gvwall .gv__p { color: #cfd8c4; }
.ngx .gvtiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ngx .gvtier { display: grid; align-content: start; gap: 8px; padding: 14px 14px 22px; border-radius: 24px; background: #17392F; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.ngx .gvtier__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 8px; box-shadow: 0 12px 24px rgba(0, 0, 0, .35); }
.ngx .gvtier > :not(img) { margin-left: 8px; margin-right: 8px; }
.ngx .gvtier__n { font-family: var(--f-h); font-size: 30px; font-weight: 800; line-height: 1; }
.ngx .gvtier b { font-family: var(--f-h); font-size: 17px; text-transform: uppercase; line-height: 1.2; }
.ngx .gvtier p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #cfd8c4; }
/* card colours follow Nathan's record sleeves: green, red and gold, blue, black and silver */
.ngx .gvtier--1 { background: #1E4D2B; }
.ngx .gvtier--2 { background: linear-gradient(160deg, #5C1A12, #2B0D08); box-shadow: 0 0 0 2px #C9A24A inset; }
.ngx .gvtier--3 { background: linear-gradient(160deg, #173A7A, #0D1F45); }
.ngx .gvtier--4 { background: linear-gradient(160deg, #2A2A2A, #0F0F0F); box-shadow: 0 0 0 2px #C9CED6 inset; }
.ngx .gvtier--2 .gvtier__n { color: #E8C463; }
.ngx .gvtier--4 .gvtier__n { color: #D9DEE6; }
.ngx .gvtop__h { margin: 40px 0 14px; font-family: var(--f-h); font-size: 20px; text-transform: uppercase; }
.ngx .gvtop { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: gvtop; }
.ngx .gvtop li { display: grid; gap: 2px; padding: 14px 18px 14px 58px; position: relative; border-radius: 18px; background: #17392F; counter-increment: gvtop; }
.ngx .gvtop li::before { content: counter(gvtop); position: absolute; left: 16px; top: 14px; font-family: var(--f-h); font-size: 22px; color: var(--lime); }
.ngx .gvtop span { font-size: 13.5px; color: #cfd8c4; }
.ngx .gvtop em { font-style: normal; font-size: 13.5px; color: var(--lime); }

/* ---------- sponsor line, Wall of Fame popup, verify notice, new choir details ---------- */
.ngx .gvsponsor { margin: -12px 0 24px; max-width: 520px; padding: 12px 16px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 14.5px; line-height: 1.5; color: var(--teal); }
.ngx .gvsponsor b { color: var(--ink); }
.ngx .gvsponsor { display: flex; align-items: center; gap: 14px; }
.ngx .gvsponsor img { flex: none; width: 128px; height: auto; border-radius: 10px; }
.ngx .gvsponsor p { margin: 0; }
.ngx .gvlink { padding: 0; border: 0; background: none; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; border-bottom: 3px solid var(--lime); }
.ngx .gvlink:hover { background: var(--lime); }
.ngx .gvdlg { width: min(560px, calc(100vw - 32px)); padding: 30px; border: 0; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 10px 10px 0 0 var(--lime), 10px 10px 0 2px var(--ink); }
.ngx .gvdlg::backdrop { background: rgba(14, 42, 37, .55); }
.ngx .gvdlg p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; }
.ngx .gvdlg__x { position: absolute; right: 14px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 2px var(--ink) inset; font-size: 24px; line-height: 1; cursor: pointer; }
.ngx .gvdlg__t { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.ngx .gvdlg__t li { padding: 10px 12px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-weight: 700; font-size: 14.5px; }
.ngx .gvdlg__t b { font-family: var(--f-h); }
.ngx .gvverified { margin: 24px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--lime); box-shadow: 0 0 0 2px var(--ink) inset; font-weight: 800; }
.ngx .gvverified--no { background: #FDE8E6; box-shadow: 0 0 0 2px #B3261E inset; color: #7A1712; }
.ngx .gvprize__h { margin: 26px 0 0; font-family: var(--f-h); font-size: 20px; font-weight: 800; text-transform: uppercase; }
.ngx .gvprize__h + .gvprize { margin-top: 12px; }
.ngx .gvnew { border-radius: 14px; background: var(--paper); box-shadow: 0 0 0 2px var(--line) inset; }
.ngx .gvnew summary { padding: 13px 16px; font-weight: 800; cursor: pointer; }
.ngx .gvnew[open] summary { border-bottom: 1px solid var(--line); }
.ngx .gvnew .gvhint { padding: 12px 16px 0; }
.ngx .gvnew__f { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px 16px; }
.ngx .gvnew__f .gvin { background: var(--white); min-width: 0; }
.ngx select.gvin { appearance: auto; }

/* ---------- Wall of Fame holding page ---------- */
.ngx .gvwallhero .gvhero__lead a { font-weight: 800; color: var(--ink); border-bottom: 3px solid var(--lime); }
.ngx .gvwallhero .gvhero__h, .ngx .gvwallhero .gvhero__lead { max-width: 860px; }
.ngx .gvwalllist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ngx .gvwalllist li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: #17392F; }
.ngx .gvwalllist span { font-size: 13.5px; color: #cfd8c4; }
.ngx .gvwalllist em { font-style: normal; font-size: 13px; color: var(--lime); }

/* ---------- home page banner ---------- */
.ngx .gvband { padding: 18px 0 0; }
.ngx .gvband__in { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 14px 20px 14px 14px; border-radius: 24px; background: var(--ink); color: var(--white); text-decoration: none; background-image: radial-gradient(70% 140% at 100% 0%, rgba(219, 244, 80, .22), transparent 60%); transition: transform .35s var(--ease); }
.ngx .gvband__in:hover { transform: translateY(-2px); }
.ngx .gvband__img { display: block; width: 150px; height: 100px; object-fit: cover; border-radius: 16px; }
.ngx .gvband__txt { display: grid; gap: 4px; min-width: 0; }
.ngx .gvband__k { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.ngx .gvband__h { font-family: var(--f-h); font-size: clamp(18px, 2.2vw, 28px); font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.ngx .gvband__p { font-size: 14.5px; color: #cfd8c4; }
.ngx .gvband__in:hover .btn--lime { background: var(--white); }

/* ---------- terms ---------- */
.ngx .gvterms .prose h2 { font-size: 20px; }

@media (max-width: 1100px) {
  .ngx .gvhero__in, .ngx .gventer__in { grid-template-columns: 1fr; }
  .ngx .gventer__side { position: static; }
  .ngx .gvhow__row, .ngx .gvtiers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ngx .gvhero { padding: 28px 0 40px; }
  .ngx .gvhero__img { box-shadow: 0 0 0 2px var(--ink), 7px 7px 0 0 var(--lime), 7px 7px 0 2px var(--ink); }
  .ngx .gvcount__n li { min-width: 0; flex: 1; }
  .ngx .gvcount__n b { font-size: 22px; }
  .ngx .gvform { padding: 16px; border-radius: 24px; }
  .ngx .gvstep { padding: 16px; }
  .ngx .gvhow__row { grid-template-columns: 1fr; }
  .ngx .gvtier { aspect-ratio: auto; }
  .ngx .gvchoir__in { padding: 22px; }
  .ngx .gvband__in { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .ngx .gvband__img { width: 84px; height: 84px; }
  .ngx .gvband__cta { grid-column: 1 / -1; }
  .ngx .gvband__cta .btn { width: 100%; }
  .ngx .gvinstant { grid-template-columns: 64px minmax(0, 1fr); }
  .ngx .gvinstant__img { width: 64px; height: 64px; }
  .ngx .gvnew__f, .ngx .gvdlg__t { grid-template-columns: 1fr; }
  .ngx .gvdlg { padding: 24px 20px; }
}
