/* WallArena on logicloomgames.com - the game's own look (wallarena.pro / the app):
   near-black gunmetal, violet + cyan light, pink and cyan seats, amber walls,
   rarity colours as in the app. Headings in solid colour; the only gradient on
   words is the WallArena wordmark, as in the app. */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/dmsans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/dmsans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(fonts/exo2-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Exo 2"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url(fonts/exo2-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #08070f;
  --bg-deep: #05040a;
  --bg-tint: #0d0b18;
  --panel: rgba(22, 20, 38, 0.66);
  --panel-solid: #14121f;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #efecf8;
  --prose: #bdb7d2;
  --muted: #948dad;
  --accent: #a855f7;
  --accent-2: #22d3ee;
  --accent-glow: rgba(168, 85, 247, 0.45);
  --seat0: #ff5fa2;
  --seat1: #2ee6c8;
  --wall: #ffb020;
  --r-common: #8e9bb0;
  --r-rare: #2f8cff;
  --r-epic: #a855f7;
  --r-legendary: #ffab1f;
  --r-mythic: #ff3df2;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Exo 2", "DM Sans", system-ui, sans-serif;
  --bar-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* The wordmark: as in the app, "Arena" in the accent gradient. */
.wm { font-family: var(--sans); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.wm span { background: linear-gradient(90deg, #c084fc, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 22px; border-radius: 14px; border: 0;
  font-weight: 700; font-size: 15.5px; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.btn--ghost {
  background: rgba(8, 7, 15, 0.55);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(192, 132, 252, .6); transform: translateY(-1px); }
.btn--sm { height: 38px; padding: 0 16px; border-radius: 11px; font-size: 14px; }

.store { display: block; height: 52px; border-radius: 12px; transition: transform .2s var(--ease), filter .2s; }
.store img { height: 100%; width: auto; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.store:hover { transform: translateY(-1px); filter: brightness(1.12); }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ top bar */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.bar.is-solid {
  background: rgba(8, 7, 15, 0.78);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
}
.bar__in { height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)); display: flex; align-items: center; gap: 16px; }
.bar__studio { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-size: 13.5px; font-weight: 600; letter-spacing: .01em; transition: color .2s; }
.bar__studio:hover { color: var(--text); }
.bar__studio img { width: 22px; height: auto; }
.bar__sep { width: 1px; height: 22px; background: var(--line-strong); }
.bar__game { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; }
.bar__game img { width: 28px; height: 28px; border-radius: 7px; }
.lang { position: relative; margin-left: auto; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 10px 0 12px; border: 0; border-radius: 11px; background: rgba(8,7,15,.5); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--prose); font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: color .2s, box-shadow .2s; }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { color: var(--text); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.lang__btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lang__btn .lang__chev { width: 14px; height: 14px; stroke-width: 2; transition: transform .2s; }
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 180px; margin: 0; padding: 6px; list-style: none; border-radius: 14px; background: rgba(20, 18, 31, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--line-strong), 0 24px 50px -12px rgba(0,0,0,.9); animation: menu-in .18s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } }
.lang__menu li { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--prose); cursor: pointer; outline: none; }
.lang__menu li:hover, .lang__menu li:focus-visible { background: rgba(255,255,255,.07); color: var(--text); }
.lang__menu li[aria-selected="true"] { color: var(--text); }
.lang__menu li[aria-selected="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }
@media (max-width: 640px) {
  .bar__studio span, .bar__sep { display: none; }
  .bar__in { gap: 12px; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--bg); overflow: hidden; }
.hero__media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 70% 45%, rgba(168,85,247,.18), transparent 70%), radial-gradient(40% 50% at 95% 90%, rgba(34,211,238,.10), transparent 70%); }
.hero__video { position: absolute; top: 0; right: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: drift 24s var(--ease) infinite alternate; }
@media (min-width: 901px) {
  .hero__video { width: 70%; object-position: 40% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(0deg, transparent 0%, #000 30%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(0deg, transparent 0%, #000 30%); mask-composite: intersect; }
}
@keyframes drift { to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,7,15,.55) 0%, rgba(8,7,15,.25) 40%, rgba(8,7,15,0) 60%),
    linear-gradient(0deg, var(--bg) 0%, rgba(8,7,15,0) 30%),
    linear-gradient(180deg, rgba(8,7,15,.6) 0%, rgba(8,7,15,0) 16%);
}
.hero__title { text-wrap: balance; }
@media (prefers-reduced-motion: reduce) { .hero__video { animation: none; } }
.hero__in { padding-top: calc(var(--bar-h) + 48px); padding-bottom: 36px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--prose); }
.kicker__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.hero__brand { display: flex; align-items: center; gap: 22px; margin-bottom: 22px; }
.hero__icon { width: 92px; height: 92px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 20px 50px -14px rgba(0,0,0,.9), 0 0 60px -20px var(--accent-glow); }
.hero__name { margin: 0; font-size: clamp(48px, 8.4vw, 104px); line-height: .95; }
.hero__title { margin: 0 0 14px; font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; color: var(--text); }
.hero__lead { margin: 0 0 34px; max-width: 31em; color: var(--prose); font-size: clamp(16px, 1.35vw, 18px); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.hero__actions--center { justify-content: center; }
.play-trailer { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0 6px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--text); }
.play-trailer__ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); transition: box-shadow .25s, background .25s, transform .25s var(--ease); }
.play-trailer__ring svg { width: 18px; height: 18px; fill: #fff; margin-left: 2px; }
.play-trailer:hover .play-trailer__ring { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff, 0 0 30px -6px rgba(255,255,255,.5); transform: scale(1.06); }

.hero__facts { padding-bottom: 28px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.facts div { padding: 20px 20px 0 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); line-height: 1; letter-spacing: -.01em; }
.facts dt small { font-size: .5em; font-weight: 700; margin-left: 4px; color: var(--prose); letter-spacing: .02em; }
.facts dd { margin: 8px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
  .facts div:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__media { bottom: auto; height: min(62vh, 70vw); }
  .hero__scrim { background: linear-gradient(0deg, var(--bg) 0%, rgba(8,7,15,.55) 35%, rgba(8,7,15,.1) 65%, rgba(8,7,15,.6) 100%); }
  .hero__in { padding-top: calc(min(62vh, 70vw) - 120px); }
}
@media (max-width: 640px) {
  .hero__brand { gap: 16px; }
  .hero__icon { width: 64px; height: 64px; border-radius: 16px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .facts div, .facts div + div { padding: 16px 10px 0 0; border-left: 0; }
  .facts dt { font-size: 24px; }
  .facts dd { font-size: 12.5px; margin-top: 6px; }
  .store { height: 46px; }
}

/* ------------------------------------------------------------------ footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--bg-deep); }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 40px; align-items: center; }
.foot__studio img { width: 70px; height: auto; opacity: .9; transition: opacity .2s; }
.foot__studio:hover img { opacity: 1; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot__links a { color: var(--prose); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.foot__links a:hover { color: var(--text); }
.foot__social { display: flex; gap: 8px; }
.foot__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); transition: color .2s, box-shadow .2s; }
.foot__social a:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.foot__social svg { width: 18px; height: 18px; fill: currentColor; }
.foot__legal { grid-column: 1 / -1; margin: 10px 0 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.6; }
@media (max-width: 760px) { .foot__in { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ dialogs */
.modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; margin: 0; color: var(--text); }
.modal[open] { display: grid; place-items: center; animation: fade .3s var(--ease); }
.modal::backdrop { background: rgba(4, 3, 10, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@keyframes fade { from { opacity: 0; } }
.modal video { width: min(92vw, calc(84vh * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 16px; background: #000; box-shadow: 0 40px 120px -20px rgba(0,0,0,1), 0 0 0 1px var(--line-strong); }
.modal__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.credit { margin: 0; color: var(--muted); font-size: 13px; text-align: center; padding: 0 16px; }
.credit a { color: var(--prose); }
.modal__close { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .2s; }
.modal__close:hover { background: rgba(255,255,255,.16); }
.modal__close svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modal__close { top: max(18px, env(safe-area-inset-top)); right: 18px; }
