/* Wosinelaxu — Aurora Room
   aurora.css — soft nordic night, rounded surfaces */

:root {
  --wx-deep: #0a1420;
  --wx-panel: #10202e;
  --wx-panel-2: #16293a;
  --wx-mint: #4ade80;
  --wx-lilac: #a78bfa;
  --wx-text: #e7f2f7;
  --wx-dim: #8ba3b5;
  --wx-line: #1e3648;
  --wx-round: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--wx-deep);
  color: var(--wx-text);
  font: 16px/1.75 "Trebuchet MS", Verdana, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.18; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
a { color: var(--wx-mint); }
img { max-width: 100%; display: block; }

.wx-shell { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }

.wx-pill-label {
  display: inline-block;
  background: rgba(74, 222, 128, .12);
  border: 1px solid rgba(74, 222, 128, .35);
  color: var(--wx-mint);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.wx-pill-label--lilac {
  background: rgba(167, 139, 250, .12);
  border-color: rgba(167, 139, 250, .38);
  color: var(--wx-lilac);
}

/* ---------- Centred pill navigation ---------- */
.wx-nav { padding: 20px 0; position: sticky; top: 0; z-index: 60; background: rgba(10, 20, 32, .9); backdrop-filter: blur(8px); }

.wx-nav__in {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.wx-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wx-brand img { width: 46px; height: 46px; border-radius: 14px; }
.wx-brand b { color: var(--wx-text); font-size: 1.28rem; display: block; line-height: 1.1; }
.wx-brand em { font-style: normal; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--wx-lilac); }

.wx-tabs {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--wx-panel);
  border: 1px solid var(--wx-line);
  border-radius: 999px;
  flex-wrap: wrap;
  justify-content: center;
}

.wx-tabs a {
  display: block;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--wx-dim);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
}

.wx-tabs a:hover { color: var(--wx-text); background: var(--wx-panel-2); }
.wx-tabs a[aria-current="page"] { background: var(--wx-mint); color: #06281a; }

/* ---------- Buttons ---------- */
.wx-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--wx-mint);
  color: #06281a;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  border: 2px solid var(--wx-mint);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}

.wx-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(74, 222, 128, .26); }

.wx-btn--lilac { background: var(--wx-lilac); border-color: var(--wx-lilac); color: #1d1233; }
.wx-btn--lilac:hover { box-shadow: 0 10px 26px rgba(167, 139, 250, .28); }

.wx-btn--hollow { background: transparent; color: var(--wx-text); border-color: var(--wx-line); }
.wx-btn--hollow:hover { border-color: var(--wx-mint); color: var(--wx-mint); box-shadow: none; }

.wx-btn:disabled { background: #2c4356; border-color: #2c4356; color: #7c93a4; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Hero, centred with floating cards ---------- */
.wx-top {
  text-align: center;
  padding: 68px 0 76px;
  position: relative;
  background:
    radial-gradient(1000px 420px at 50% -10%, rgba(74, 222, 128, .18), transparent 65%),
    radial-gradient(760px 380px at 82% 30%, rgba(167, 139, 250, .16), transparent 62%);
}

.wx-top h1 { max-width: 17ch; margin-inline: auto; }
.wx-top p { color: var(--wx-dim); max-width: 54ch; margin-inline: auto; font-size: 1.05rem; }
.wx-top__row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

.wx-top__art {
  margin-top: 46px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--wx-line);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .48);
}

.wx-top__art img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.wx-floats { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: -34px; position: relative; z-index: 4; }

.wx-float {
  background: var(--wx-panel);
  border: 1px solid var(--wx-line);
  border-radius: 16px;
  padding: 14px 22px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .4);
}

.wx-float b { display: block; font-size: 1.4rem; color: var(--wx-mint); line-height: 1.2; }
.wx-float span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wx-dim); }

/* ---------- Sections ---------- */
.wx-zone { padding: 72px 0; }
.wx-zone--panel { background: var(--wx-panel); }
.wx-head-block { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.wx-head-block p { color: var(--wx-dim); }

/* ---------- Steps ---------- */
.wx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }

.wx-step {
  background: var(--wx-panel-2);
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-round);
  padding: 28px 24px;
  text-align: center;
}

.wx-step__badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(167, 139, 250, .16);
  color: var(--wx-lilac);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin: 0 auto 14px;
}

.wx-step__badge--mark { width: 54px; height: 54px; border-radius: 18px; }
.wx-step__badge--mark svg { width: 30px; height: 30px; display: block; }

.wx-step p { color: var(--wx-dim); font-size: .94rem; margin-bottom: 0; }

/* ---------- Games 2x2 ---------- */
.wx-games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.wx-game {
  background: var(--wx-panel-2);
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-round);
  padding: 30px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.wx-game__icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(74, 222, 128, .12);
  display: grid;
  place-items: center;
}

.wx-game__icon svg { width: 30px; height: 30px; display: block; }

.wx-game p { color: var(--wx-dim); font-size: .94rem; margin-bottom: 8px; }

.wx-game__state { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wx-lilac); font-weight: 700; }

/* ---------- Stats strip ---------- */
.wx-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  background: linear-gradient(120deg, rgba(74,222,128,.1), rgba(167,139,250,.1));
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-round);
  padding: 30px;
  text-align: center;
}

.wx-strip b { display: block; font-size: 1.9rem; color: var(--wx-text); line-height: 1.15; }
.wx-strip span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wx-dim); }

/* ---------- Community split ---------- */
.wx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }

.wx-split img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--wx-round);
  border: 1px solid var(--wx-line);
}

/* ---------- FAQ ---------- */
.wx-faq { max-width: 780px; margin-inline: auto; }

.wx-faq details {
  background: var(--wx-panel-2);
  border: 1px solid var(--wx-line);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

.wx-faq summary { cursor: pointer; font-weight: 700; color: var(--wx-text); list-style: none; }
.wx-faq summary::-webkit-details-marker { display: none; }
.wx-faq summary::after { content: "+"; float: right; color: var(--wx-mint); font-size: 1.2rem; line-height: 1; }
.wx-faq details[open] summary::after { content: "\2013"; }
.wx-faq p { color: var(--wx-dim); margin: 12px 0 0; font-size: .95rem; }

/* ---------- Memory game ---------- */
.wx-board-wrap {
  background: var(--wx-panel-2);
  border: 1px solid var(--wx-line);
  border-radius: 26px;
  padding: 32px 26px;
  text-align: center;
}

.wx-scoreline { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }

.wx-score {
  background: var(--wx-panel);
  border: 1px solid var(--wx-line);
  border-radius: 14px;
  padding: 12px 20px;
  min-width: 112px;
}

.wx-score span { display: block; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wx-dim); }
.wx-score b { font-size: 1.45rem; color: var(--wx-mint); }

.wx-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 82px));
  gap: 12px;
  justify-content: center;
  margin-bottom: 22px;
}

.wx-tile {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  border: 1px solid var(--wx-line);
  background: linear-gradient(150deg, #1c3346, #142534);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: transparent;
  transition: transform .18s, background .2s;
  padding: 0;
}

.wx-tile svg { width: 60%; height: 60%; display: block; fill: currentColor; opacity: 0; transition: opacity .16s; }
.wx-tile.is-face svg,
.wx-tile.is-done svg { opacity: 1; }

.wx-tile:hover { transform: translateY(-3px); }
.wx-tile.is-face { background: rgba(167, 139, 250, .2); color: var(--wx-text); }
.wx-tile.is-done { background: rgba(74, 222, 128, .22); color: var(--wx-text); cursor: default; transform: none; }

#wx-status { min-height: 1.7rem; color: var(--wx-lilac); font-weight: 600; margin: 0 0 18px; }

.wx-rules-note { text-align: left; border-top: 1px solid var(--wx-line); padding-top: 20px; margin-top: 8px; }
.wx-rules-note p { color: var(--wx-dim); font-size: .93rem; }

/* ---------- Forms ---------- */
.wx-form { display: grid; gap: 16px; text-align: left; }

.wx-form label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wx-dim); font-weight: 700; margin-bottom: 6px; }

.wx-form input,
.wx-form textarea,
.wx-form select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid var(--wx-line);
  background: var(--wx-deep);
  color: var(--wx-text);
  font: inherit;
}

.wx-form input:focus,
.wx-form textarea:focus,
.wx-form select:focus { outline: 2px solid var(--wx-mint); outline-offset: 1px; }

.wx-note-ok { color: var(--wx-mint); font-weight: 600; font-size: .93rem; }

.wx-inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.wx-inline-form input { flex: 1 1 240px; }

/* ---------- Legal ---------- */
.wx-paper {
  background: var(--wx-panel);
  border: 1px solid var(--wx-line);
  border-radius: var(--wx-round);
  padding: 44px;
  max-width: 880px;
  margin-inline: auto;
}

.wx-paper h2 { font-size: 1.2rem; color: var(--wx-mint); margin-top: 34px; }
.wx-paper h2:first-of-type { margin-top: 18px; }
.wx-paper p { color: #c6d8e2; }
.wx-paper ul { color: var(--wx-dim); padding-left: 20px; }
.wx-paper li { margin-bottom: 8px; }

/* ---------- Age check ---------- */
.wx-curtain {
  position: fixed;
  inset: 0;
  background: rgba(6, 13, 21, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  padding: 20px;
}

.wx-curtain__card {
  background: var(--wx-panel);
  border: 1px solid var(--wx-line);
  border-radius: 26px;
  max-width: 470px;
  padding: 38px 34px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.wx-curtain__card p { color: var(--wx-dim); font-size: .95rem; }
.wx-curtain__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Footer, two tiers ---------- */
.wx-foot { background: var(--wx-panel); border-top: 1px solid var(--wx-line); padding: 52px 0 22px; }
.wx-foot__upper { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.wx-foot h4 { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--wx-lilac); margin-bottom: 14px; }
.wx-foot ul { list-style: none; margin: 0; padding: 0; }
.wx-foot li { margin-bottom: 9px; }
.wx-foot a { color: var(--wx-dim); text-decoration: none; font-size: .9rem; }
.wx-foot a:hover { color: var(--wx-mint); }
.wx-foot p { color: var(--wx-dim); font-size: .92rem; }

.wx-foot__lower {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--wx-line);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #6e8798;
}

.wx-badge18 {
  display: inline-block;
  border: 1px solid var(--wx-mint);
  color: var(--wx-mint);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- 404 ---------- */
.wx-void { text-align: center; padding: 100px 24px 90px; }
.wx-void b {
  display: block;
  font-size: clamp(4rem, 15vw, 8.5rem);
  line-height: 1;
  background: linear-gradient(100deg, var(--wx-mint), var(--wx-lilac));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wx-void p { color: var(--wx-dim); max-width: 44ch; margin-inline: auto; }
.wx-void__row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wx-games, .wx-split { grid-template-columns: 1fr; }
  .wx-foot__upper { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .wx-paper { padding: 26px 20px; }
  .wx-foot__upper { grid-template-columns: 1fr; }
  .wx-grid { grid-template-columns: repeat(4, minmax(0, 66px)); gap: 9px; }
  .wx-tile svg { width: 58%; height: 58%; }
  .wx-tabs a { padding: 8px 13px; font-size: .8rem; }
}
