/* Azeroth Party – the site. The brand's look: midnight blue, gold, ember and arcane, rays and
   confetti, and "sticker" surfaces with a dark outline and a hard offset shadow like the logo's
   letters. Fonts: Lilita One (headings) and Nunito (text), self-hosted (SIL OFL 1.1). */

@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url(fonts/lilita-one-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(fonts/nunito-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(fonts/nunito-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url(fonts/nunito-latin-900-normal.woff2) format("woff2"); }

:root {
  --night: #0E1838;
  --deep: #080F26;
  --dusk: #1D2F66;
  --gold: #FFC63A;
  --gold-hi: #FFE89A;
  --gold-lo: #F0921E;
  --ember: #FF5B47;
  --arcane: #2FD3C4;
  --green: #7CD448;
  --violet: #9B6BFF;
  --paper: #FFF4DC;
  --muted: #A8B4D6;
  --shadow: #1A1145;
  --line: rgba(255, 244, 220, 0.12);
  --radius: 20px;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--deep);
  color: var(--paper);
  font: 700 17px/1.6 Nunito, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 3px solid var(--arcane); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* Headings: Lilita in gold with the logo's dark rim and drop. */
h1, h2, h3, .display {
  font-family: "Lilita One", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.display, h2 {
  color: var(--gold);
  background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 52%, var(--gold-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 0 var(--shadow));
}
h2 { font-size: clamp(36px, 5vw, 58px); }
h3 { font-size: 26px; color: var(--paper); }

.label {
  display: inline-flex; align-items: center; gap: 10px;
  font: 900 13px/1 Nunito, sans-serif; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ember);
}
.label::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--ember); transform: rotate(45deg); }
.lead { color: var(--muted); font-size: 19px; max-width: 640px; }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; }
.section-head.center { justify-items: center; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* Party letters: each its own colour, tipped a little. */
.party { display: inline-flex; -webkit-text-fill-color: initial; }
.party span { display: inline-block; -webkit-text-fill-color: currentColor; }
.party span:nth-child(5n+1) { color: var(--ember); transform: rotate(-6deg); }
.party span:nth-child(5n+2) { color: var(--gold); transform: translateY(-4px) rotate(3deg); }
.party span:nth-child(5n+3) { color: var(--arcane); transform: rotate(-3deg); }
.party span:nth-child(5n+4) { color: var(--green); transform: translateY(-3px) rotate(5deg); }
.party span:nth-child(5n+5) { color: var(--violet); transform: rotate(-4deg); }

/* Buttons: chunky, like a game button. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 14px; border: 3px solid var(--deep);
  font: 900 17px/1 Nunito, sans-serif; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 0 var(--shadow); transition: transform .12s ease, box-shadow .12s ease, filter .12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--shadow); filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--shadow); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); color: var(--deep); }
.btn-gold:hover { color: var(--deep); }
.btn-line { background: rgba(14, 24, 56, 0.7); color: var(--paper); border-color: rgba(255, 244, 220, 0.25); box-shadow: 0 6px 0 rgba(8, 15, 38, .8); }
.btn-line:hover { color: var(--paper); border-color: var(--gold); }
.btn-sm { padding: 10px 16px; font-size: 15px; border-radius: 12px; box-shadow: 0 4px 0 var(--shadow); }
.btn[aria-disabled="true"] { cursor: default; }
.btn .soon { font: 900 11px/1 Nunito; letter-spacing: .14em; text-transform: uppercase; background: var(--deep); color: var(--gold); padding: 5px 7px; border-radius: 6px; }

/* The bar on top. */
.top { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .25s, border-color .25s; border-bottom: 1px solid transparent; }
.top.solid, .top.scrolled { background: rgba(8, 15, 38, 0.86); backdrop-filter: blur(12px); border-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--paper); text-decoration: none; font-weight: 800; font-size: 15px; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--gold); }

/* Rays and confetti behind the hero and the closing call. */
.burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.burst::before {
  content: ""; position: absolute; left: 50%; top: 42%; width: 240vmax; height: 240vmax; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(29, 47, 102, .55) 0 7.5deg, transparent 7.5deg 15deg);
  -webkit-mask: radial-gradient(circle closest-side, #000 0, transparent 34%);
  mask: radial-gradient(circle closest-side, #000 0, transparent 34%);
  animation: turn 120s linear infinite;
}
@keyframes turn { to { rotate: 360deg; } }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* Hero. */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 110px 0 80px; isolation: isolate; }
.hero .shot { position: absolute; inset: 0; z-index: -2; }
.hero .shot img { width: 100%; height: 100%; object-fit: cover; }
.hero .shot::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 40%, rgba(14, 24, 56, .55), rgba(8, 15, 38, .92) 70%),
    linear-gradient(180deg, rgba(8, 15, 38, .6) 0%, transparent 25%, transparent 60%, var(--deep) 100%);
}
.hero .burst { z-index: -1; }
.hero-body { display: grid; justify-items: center; text-align: center; gap: 26px; }
.hero-logo { width: min(560px, 88vw); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); animation: pop .8s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { opacity: 0; transform: scale(.86) translateY(14px); } }
.claim { font: 400 clamp(28px, 4vw, 44px)/1.1 "Lilita One"; color: var(--paper); text-shadow: 0 4px 0 var(--shadow); }
.claim em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 20px; max-width: 680px; color: #D5DCF0; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.fan { font-size: 14px; color: var(--muted); }
.fan b { color: var(--paper); }

/* The strip of numbers. */
.facts { position: relative; z-index: 2; margin-top: -48px; }
.facts ul {
  list-style: none; padding: 26px 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  background: var(--night); border: 3px solid var(--deep); border-radius: var(--radius); box-shadow: 0 8px 0 var(--shadow), 0 30px 60px rgba(0, 0, 0, .35);
}
.facts li { display: grid; justify-items: center; text-align: center; gap: 2px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font: 400 46px/1 "Lilita One"; }
.facts li:nth-child(1) b { color: var(--gold); }
.facts li:nth-child(2) b { color: var(--ember); }
.facts li:nth-child(3) b { color: var(--arcane); }
.facts li:nth-child(4) b { color: var(--green); }
.facts span { color: var(--muted); font-size: 15px; }

section { padding: 110px 0; position: relative; }
.band { background: linear-gradient(180deg, var(--deep), var(--night) 18%, var(--night) 82%, var(--deep)); }

/* Stickers: the surfaces of the site. */
.sticker { background: var(--night); border: 3px solid var(--deep); border-radius: var(--radius); box-shadow: 0 8px 0 var(--shadow); }
.band .sticker { background: #13204A; }

/* A round, step by step. */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { padding: 28px 24px 26px; display: grid; align-content: start; gap: 12px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
  font: 400 30px/1 "Lilita One"; color: var(--deep); border: 3px solid var(--deep); box-shadow: 0 4px 0 var(--shadow);
  transform: rotate(-6deg);
}
.step:nth-child(1)::before { background: var(--gold); }
.step:nth-child(2)::before { background: var(--ember); transform: rotate(4deg); }
.step:nth-child(3)::before { background: var(--arcane); }
.step:nth-child(4)::before { background: var(--violet); transform: rotate(5deg); }
.step p { color: var(--muted); font-size: 16px; }
.step p b { color: var(--paper); }

/* The board: a picture and its spaces. */
.board { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.board figure { overflow: hidden; padding: 0; }
.board figure img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.board figcaption { padding: 14px 20px; color: var(--muted); font-size: 15px; display: flex; justify-content: space-between; gap: 12px; }
.board figcaption b { color: var(--paper); }
.spaces { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.spaces li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 12px 14px; }
.spaces img { width: 56px; height: 56px; }
.spaces b { display: block; font: 400 20px/1.1 "Lilita One"; }
.spaces span { color: var(--muted); font-size: 14px; line-height: 1.4; display: block; }

/* Minigames. */
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.game { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; transition: transform .2s ease; }
.game:hover { transform: translateY(-4px) rotate(-.4deg); }
.game .pic { position: relative; }
.game .pic img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-bottom: 3px solid var(--deep); }
.game .tag {
  position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 10px; border: 3px solid var(--deep);
  font: 900 12px/1 Nunito; letter-spacing: .16em; text-transform: uppercase; color: var(--deep); box-shadow: 0 3px 0 var(--shadow);
}
.game:nth-child(1) .tag { background: var(--arcane); }
.game:nth-child(2) .tag { background: var(--ember); }
.game:nth-child(3) .tag { background: var(--gold); }
.game:nth-child(4) .tag { background: var(--green); }
.game .text { padding: 22px 24px 26px; display: grid; gap: 10px; }
.game p { color: var(--muted); font-size: 16px; }
.teams { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.chip { padding: 10px 16px; border-radius: 999px; background: var(--night); border: 2px solid var(--line); font-weight: 800; font-size: 15px; }
.chip b { color: var(--gold); }

/* Moons, gold and items. */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { padding: 28px 26px; display: grid; align-content: start; gap: 12px; }
.card .icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; border: 3px solid var(--deep); box-shadow: 0 4px 0 var(--shadow); }
.card .icon svg { width: 34px; height: 34px; }
.card p, .card li { color: var(--muted); font-size: 16px; }
.card ul { padding-left: 18px; display: grid; gap: 6px; }
.card li b { color: var(--paper); }

/* Boards to come. */
.boards { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.board-card { overflow: hidden; position: relative; min-height: 260px; display: grid; align-content: end; }
.board-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.board-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 15, 38, .95)); }
.board-card .text { position: relative; z-index: 1; padding: 22px; display: grid; gap: 4px; }
.board-card .text span { color: var(--muted); font-size: 15px; }
.board-card.soon { background: repeating-linear-gradient(135deg, #111D45 0 18px, #0F1A3E 18px 36px); display: grid; place-items: center; text-align: center; }
.board-card.soon::after { display: none; }
.board-card.soon .q { font: 400 84px/1 "Lilita One"; color: var(--dusk); filter: drop-shadow(0 4px 0 var(--deep)); }
.badge { justify-self: start; padding: 6px 10px; border-radius: 8px; font: 900 11px/1 Nunito; letter-spacing: .16em; text-transform: uppercase; background: var(--gold); color: var(--deep); border: 2px solid var(--deep); }
.board-card.soon .badge { justify-self: center; background: var(--dusk); color: var(--paper); }

/* Start: what you need. */
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.need { padding: 26px; display: grid; gap: 10px; }
.need b { font: 400 22px/1.1 "Lilita One"; }
.need p { color: var(--muted); font-size: 16px; }

/* Questions. */
.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; font: 400 21px/1.25 "Lilita One"; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; font: 400 30px/1 "Lilita One"; color: var(--gold); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* Closing call. */
.closing { text-align: center; overflow: hidden; isolation: isolate; }
.closing .burst { z-index: -1; }
.closing .burst::before { top: 50%; }
.closing .wrap { display: grid; justify-items: center; gap: 22px; }
.closing img.mark { width: 120px; height: auto; transform: rotate(-8deg); filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .4)); }

/* Footer. */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; background: var(--deep); }
footer .wrap { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; justify-content: flex-end; }
footer nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
footer nav a:hover { color: var(--paper); }
footer .legal { grid-column: 1 / -1; color: #7682A6; font-size: 13px; max-width: 760px; }
footer .brand img { height: 32px; }

/* Legal pages: a reading column. */
.page { padding: 140px 0 90px; }
.page article { max-width: 760px; display: grid; gap: 14px; }
.page h1 { font-size: clamp(40px, 6vw, 60px); color: var(--gold); text-shadow: 0 4px 0 var(--shadow); margin-bottom: 10px; }
.page h2 { font-size: 26px; margin-top: 18px; filter: none; }
.page p, .page li { color: #D5DCF0; }
.page ul { padding-left: 22px; display: grid; gap: 8px; }

/* Appear on scroll (only with script; without it everything is simply there). */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .rise.seen { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board { grid-template-columns: minmax(0, 1fr); }
  .boards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boards .board-card:first-child { grid-column: 1 / -1; }
  .three, .needs { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .top .btn { margin-left: auto; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  section { padding: 80px 0; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .facts li:nth-child(3) { border-left: 0; }
  .steps, .games, .spaces, .boards { grid-template-columns: minmax(0, 1fr); }
  .brand img { height: 30px; }
  .top .btn .soon { display: none; }
  footer .wrap { grid-template-columns: minmax(0, 1fr); }
  footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .burst::before, .hero-logo { animation: none; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .btn, .game { transition: none; }
}
/* The closing call's rays fade out at the top and bottom of their section (no hard edge). */
.closing .burst {
  -webkit-mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
/* Board badges: "Spielbar" in the brand's ready-green, "In Arbeit" muted (above the caption's colour). */
.board-card .text .badge { background: var(--green); color: var(--deep); box-shadow: 0 3px 0 var(--shadow); }
.board-card.soon .text .badge { background: var(--dusk); color: var(--paper); }
/* Controls: real key caps (raised, dark rim, a hard shadow below like the buttons), the action
   underneath, groups side by side. */
.keys { display: flex; flex-wrap: wrap; gap: 14px 22px; margin-top: 6px; padding-top: 16px; border-top: 1px dashed var(--line); }
.key { display: grid; justify-items: start; gap: 7px; font: 900 12px/1 Nunito; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.caps { display: flex; gap: 5px; }
kbd {
  min-width: 34px; height: 34px; padding: 0 9px; display: inline-grid; place-items: center;
  font: 400 17px/1 "Lilita One"; letter-spacing: .02em; text-transform: none; color: var(--deep);
  background: linear-gradient(180deg, #FFFBF0 0%, var(--paper) 55%, #E9D9B4 100%);
  border: 2px solid var(--deep); border-radius: 9px; box-shadow: inset 0 -3px 0 rgba(8, 15, 38, .18), 0 4px 0 var(--shadow);
}
kbd.wide { min-width: 96px; font-size: 15px; }
.game:nth-child(1) .key:first-child kbd { background: linear-gradient(180deg, #8AF0E6, var(--arcane)); }
.game:nth-child(2) .key:first-child kbd { background: linear-gradient(180deg, #FF9A8C, var(--ember)); }
.game:nth-child(3) .key:first-child kbd { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.game:nth-child(4) .key:first-child kbd { background: linear-gradient(180deg, #B7EE93, var(--green)); }

/* Pictures open large: a dark stage, the picture whole with the sticker rim, its words under it,
   round chunky buttons. */
img.zoom { cursor: zoom-in; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: var(--paper); overflow: hidden; }
.lightbox::backdrop { background: rgba(8, 15, 38, .94); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .25s ease-out; }
.lightbox figure { margin: 0; width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 18px;
  padding: 64px 96px; box-sizing: border-box; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain;
  border: 3px solid var(--deep); border-radius: var(--radius); box-shadow: 0 10px 0 var(--shadow), 0 40px 90px rgba(0, 0, 0, .6); cursor: default; }
.lightbox figcaption { max-width: 760px; text-align: center; color: var(--muted); font-size: 16px; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  border: 3px solid var(--deep); background: var(--night); color: var(--gold); font: 400 32px/1 "Lilita One"; cursor: pointer;
  box-shadow: 0 5px 0 var(--shadow); transition: transform .12s, background .12s; }
.lb-btn:hover { background: var(--dusk); transform: translateY(-2px); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }
.lb-open { overflow: hidden; }
@keyframes lb-in { from { opacity: 0; } }
@media (max-width: 560px) {
  .lightbox figure { padding: 64px 12px 96px; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; translate: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}
/* Pictures cannot be dragged or picked out (a long press neither). */
img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
/* A list point without a token: the words take the whole line. */
.spaces li:not(:has(img)) { grid-template-columns: minmax(0, 1fr); }
