:root {
  color-scheme: dark;
  font-family: var(--body-font, Inter, Segoe UI, Arial, sans-serif);
  background: #0b0b0d;
  color: #f4f1e8;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--body-font, Inter, Segoe UI, Arial, sans-serif);
  background:
    radial-gradient(circle at 20% 18%, rgba(219, 74, 42, 0.24), transparent 30%),
    linear-gradient(135deg, #111114 0%, #1e1715 48%, #101215 100%);
}

body.site-masterelem {
  background:
    linear-gradient(180deg, rgba(1, 4, 11, 0.22) 0%, rgba(1, 4, 11, 0.7) 100%),
    linear-gradient(100deg, rgba(1, 4, 12, 0.98) 0%, rgba(4, 16, 39, 0.96) 28%, rgba(6, 42, 70, 0.88) 45%, rgba(7, 17, 36, 0.94) 58%, rgba(69, 39, 14, 0.62) 75%, rgba(4, 5, 10, 0.98) 100%),
    url("/static/masterelem/bg-flame.jpg") center / cover fixed,
    linear-gradient(135deg, #01040c 0%, #071d3c 46%, #05070d 100%);
}

body.site-braveland {
  color-scheme: light;
  background: #fff;
  color: #202020;
}

body.site-tiwar {
  background:
    radial-gradient(circle at 14% 20%, rgba(39, 154, 170, 0.2), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(186, 143, 65, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(3, 9, 18, 0.28), rgba(3, 9, 18, 0.9)),
    url("/static/tiwar/lava-bg2.png") center bottom / 360px auto repeat,
    linear-gradient(135deg, #06111d 0%, #092538 42%, #050910 100%);
}

body.site-magi {
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 44% 44%, rgba(216, 230, 232, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(2, 4, 8, 0.9) 0%, rgba(5, 8, 14, 0.52) 38%, rgba(5, 8, 14, 0.58) 62%, rgba(2, 4, 8, 0.92) 100%),
    linear-gradient(180deg, rgba(3, 5, 10, 0.16) 0%, rgba(3, 5, 10, 0.74) 100%),
    url("/static/magi/storm-vortex-bg.png") center / cover fixed,
    linear-gradient(135deg, #04070c 0%, #111923 52%, #05070b 100%);
}

body.site-wartank {
  background:
    radial-gradient(circle at 24% 16%, rgba(167, 180, 174, 0.12), transparent 26%),
    radial-gradient(circle at 78% 22%, rgba(184, 72, 42, 0.14), transparent 28%),
    radial-gradient(ellipse at 50% 52%, rgba(95, 105, 94, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(3, 7, 8, 0.34), rgba(3, 7, 8, 0.88)),
    linear-gradient(135deg, rgba(8, 11, 10, 0.82), rgba(18, 19, 17, 0.68)),
    url("/static/wartank/metal-plate-bg.png") center / 160px 160px repeat,
    linear-gradient(135deg, #050909 0%, #151b19 46%, #080908 100%);
}

body.site-nebo {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 232, 140, 0.26), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(107, 211, 255, 0.26), transparent 30%),
    linear-gradient(180deg, rgba(9, 42, 83, 0.2), rgba(2, 15, 36, 0.86)),
    linear-gradient(135deg, #082d5c 0%, #10507c 42%, #06152d 100%);
}

body.site-ahero {
  background:
    radial-gradient(circle at 18% 18%, rgba(115, 70, 255, 0.22), transparent 28%),
    radial-gradient(circle at 78% 20%, rgba(255, 170, 48, 0.16), transparent 30%),
    radial-gradient(ellipse at 50% 60%, rgba(21, 43, 98, 0.38), transparent 48%),
    linear-gradient(180deg, rgba(2, 5, 20, 0.12), rgba(2, 5, 20, 0.9)),
    url("/static/ahero/bg-flame.jpg") center top / cover fixed,
    linear-gradient(135deg, #05081b 0%, #11164a 48%, #040510 100%);
}

body.site-magi::before,
body.site-magi::after {
  position: fixed;
  inset: -18vmax;
  z-index: 0;
  pointer-events: none;
  content: "";
}

body.site-magi::before {
  background:
    radial-gradient(ellipse at 50% 43%, rgba(222, 236, 238, 0.09), transparent 18%),
    radial-gradient(ellipse at 40% 50%, rgba(70, 92, 116, 0.18), transparent 34%);
  filter: blur(22px);
  opacity: 0.42;
  transform: rotate(-5deg) scale(1.04);
}

body.site-magi::after {
  background:
    radial-gradient(ellipse at 50% 48%, transparent 0 32%, rgba(2, 4, 8, 0.34) 62%, rgba(2, 4, 8, 0.72) 100%),
    linear-gradient(180deg, rgba(2, 4, 8, 0.24), transparent 34%, rgba(2, 4, 8, 0.36));
  opacity: 0.86;
}

body.site-magi main {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

.landing {
  width: min(1180px, calc(100% - 80px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  flex-direction: column;
}

.language-bar,
.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-height: 36px;
}

.language-link,
.top-nav a {
  border: 1px solid rgba(246, 193, 91, 0.22);
  border-radius: 6px;
  padding: 8px 11px;
  background: rgba(13, 13, 15, 0.34);
  text-decoration: none;
  color: rgba(244, 241, 232, 0.76);
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease;
}

.language-link:hover,
.top-nav a:hover {
  border-color: rgba(246, 193, 91, 0.72);
  background: rgba(246, 193, 91, 0.1);
  color: #fff7de;
  box-shadow: 0 0 22px rgba(246, 193, 91, 0.14), inset 0 0 14px rgba(246, 193, 91, 0.08);
}

.language-link.is-current {
  border-color: #f6c15b;
  color: #f6c15b;
  box-shadow: inset 0 0 18px rgba(246, 193, 91, 0.12);
}

.landing-grid {
  flex: 0 1 auto;
  width: 100%;
  margin: auto 0;
  padding: 20px 0 24px;
}

.landing-grid::after {
  content: "";
  display: block;
  clear: both;
}

.copy {
  max-width: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f6c15b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--display-font, Georgia, serif);
  font-size: clamp(2.2rem, 4.8vw, 4.15rem);
  font-weight: normal;
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: #fff3c7;
  text-shadow: 0 3px 20px rgba(246, 122, 61, 0.24), 0 0 38px rgba(246, 193, 91, 0.16);
}

.tagline {
  margin: 20px 0 0;
  color: #f6c15b;
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.42;
  text-shadow: 0 0 20px rgba(246, 193, 91, 0.14);
}

.summary {
  margin: 18px 0 0;
  color: rgba(244, 241, 232, 0.76);
  font-size: 1.12rem;
  line-height: 1.64;
}

.description-panel {
  max-width: none;
  margin-top: 18px;
}

.description-copy {
  color: rgba(244, 241, 232, 0.74);
  font-size: 1.04rem;
  line-height: 1.54;
}

.description-copy .summary {
  margin-top: 0;
}

.description-copy p {
  margin: 0;
}

.description-copy p + p {
  margin-top: 16px;
}

.site-masterelem .summary,
.site-masterelem .description-copy {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.62);
}

.site-masterelem .eyebrow {
  color: #9edcff;
  text-shadow: 0 0 18px rgba(90, 206, 255, 0.2);
}

.site-masterelem h1 {
  color: #fff3c7;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.68),
    0 0 26px rgba(97, 215, 255, 0.16),
    0 0 34px rgba(246, 193, 91, 0.14);
}

.site-masterelem .tagline {
  color: #d8f18b;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(116, 215, 108, 0.18);
}

.site-masterelem .language-link,
.site-masterelem .top-nav a {
  border-color: rgba(114, 209, 255, 0.25);
  background: rgba(2, 13, 28, 0.46);
}

.site-masterelem .language-link:hover,
.site-masterelem .top-nav a:hover {
  border-color: rgba(216, 241, 139, 0.74);
  background: rgba(52, 112, 88, 0.18);
  box-shadow: 0 0 22px rgba(77, 199, 255, 0.15), inset 0 0 14px rgba(216, 241, 139, 0.08);
}

.site-masterelem .language-link.is-current {
  border-color: #d8f18b;
  color: #d8f18b;
  box-shadow: inset 0 0 18px rgba(216, 241, 139, 0.12), 0 0 18px rgba(77, 199, 255, 0.1);
}

.site-tiwar .eyebrow {
  color: #73d9e2;
  text-shadow: 0 0 18px rgba(74, 214, 232, 0.22);
}

.site-tiwar h1 {
  color: #e7edf0;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.82),
    0 0 24px rgba(74, 214, 232, 0.16),
    0 0 30px rgba(234, 186, 83, 0.1);
}

.site-tiwar .tagline {
  color: #f7d383;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.78),
    0 0 18px rgba(234, 186, 83, 0.16);
}

.site-tiwar .summary,
.site-tiwar .description-copy {
  color: rgba(232, 243, 246, 0.84);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.68);
}

.site-tiwar .language-link,
.site-tiwar .top-nav a {
  border-color: rgba(115, 217, 226, 0.22);
  background: rgba(2, 16, 30, 0.5);
  color: rgba(230, 246, 248, 0.78);
}

.site-tiwar .language-link:hover,
.site-tiwar .top-nav a:hover {
  border-color: rgba(234, 186, 83, 0.76);
  background: rgba(27, 42, 54, 0.72);
  color: #f7d383;
  box-shadow: 0 0 20px rgba(74, 214, 232, 0.16), inset 0 0 14px rgba(234, 186, 83, 0.08);
}

.site-tiwar .language-link.is-current {
  border-color: rgba(234, 186, 83, 0.92);
  color: #f7d383;
  box-shadow: inset 0 0 18px rgba(234, 186, 83, 0.12), 0 0 18px rgba(74, 214, 232, 0.1);
}

.site-tiwar .description-copy b,
.site-tiwar .summary b {
  color: #f7d383;
  font-weight: 900;
}

.site-tiwar .store-link,
.site-tiwar .description-more {
  border-color: rgba(115, 217, 226, 0.28);
  background: rgba(2, 16, 30, 0.52);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), inset 0 0 18px rgba(74, 214, 232, 0.04);
}

.site-tiwar .store-link:hover,
.site-tiwar .description-more:hover {
  border-color: rgba(234, 186, 83, 0.8);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3), 0 0 22px rgba(74, 214, 232, 0.12);
}

.site-tiwar .visual img,
.site-tiwar .hero-frame {
  filter:
    drop-shadow(0 24px 46px rgba(0, 0, 0, 0.56))
    drop-shadow(0 0 24px rgba(74, 214, 232, 0.12));
}

.site-magi .eyebrow {
  color: #9cf2a1;
  text-shadow: 0 0 18px rgba(89, 232, 120, 0.2);
}

.site-magi h1 {
  color: #f5ffd3;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.78),
    0 0 26px rgba(118, 236, 105, 0.18),
    0 0 34px rgba(162, 92, 205, 0.16);
}

.site-magi .tagline {
  color: #c9ff87;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.72),
    0 0 18px rgba(118, 236, 105, 0.2);
}

.site-magi .summary,
.site-magi .description-copy {
  color: rgba(238, 250, 226, 0.84);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.68);
}

.site-magi .language-link,
.site-magi .top-nav a {
  border-color: rgba(156, 242, 161, 0.24);
  background: rgba(2, 18, 16, 0.52);
  color: rgba(238, 250, 226, 0.8);
}

.site-magi .language-link:hover,
.site-magi .top-nav a:hover {
  border-color: rgba(201, 255, 135, 0.8);
  background: rgba(26, 50, 34, 0.72);
  color: #f5ffd3;
  box-shadow: 0 0 22px rgba(118, 236, 105, 0.16), inset 0 0 14px rgba(162, 92, 205, 0.08);
}

.site-magi .language-link.is-current {
  border-color: rgba(201, 255, 135, 0.92);
  color: #c9ff87;
  box-shadow: inset 0 0 18px rgba(201, 255, 135, 0.12), 0 0 18px rgba(162, 92, 205, 0.1);
}

.site-magi .description-copy b,
.site-magi .summary b {
  color: #f5ffd3;
  font-weight: 900;
}

.site-magi .store-link,
.site-magi .description-more {
  border-color: rgba(156, 242, 161, 0.3);
  background: rgba(2, 18, 16, 0.56);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26), inset 0 0 18px rgba(118, 236, 105, 0.04);
}

.site-magi .store-link:hover,
.site-magi .description-more:hover {
  border-color: rgba(201, 255, 135, 0.82);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), 0 0 24px rgba(118, 236, 105, 0.14);
}

.site-magi .visual img,
.site-magi .hero-frame {
  filter:
    drop-shadow(0 24px 46px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 24px rgba(118, 236, 105, 0.14));
}

.site-wartank .eyebrow {
  color: #c9d1c6;
  text-shadow: 0 0 18px rgba(197, 209, 198, 0.16);
}

.site-wartank h1 {
  color: #f3edd8;
  text-transform: uppercase;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.82),
    0 0 24px rgba(207, 75, 43, 0.18),
    0 0 30px rgba(212, 185, 115, 0.12);
}

.site-wartank .tagline {
  color: #d6b564;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.78),
    0 0 18px rgba(207, 75, 43, 0.18);
}

.site-wartank .summary,
.site-wartank .description-copy {
  color: rgba(233, 231, 216, 0.84);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72);
}

.site-wartank .language-link,
.site-wartank .top-nav a {
  border-color: rgba(201, 209, 198, 0.24);
  background: rgba(8, 14, 13, 0.56);
  color: rgba(233, 231, 216, 0.78);
}

.site-wartank .language-link:hover,
.site-wartank .top-nav a:hover {
  border-color: rgba(214, 181, 100, 0.82);
  background: rgba(54, 42, 27, 0.74);
  color: #f3edd8;
  box-shadow: 0 0 22px rgba(207, 75, 43, 0.16), inset 0 0 14px rgba(214, 181, 100, 0.08);
}

.site-wartank .language-link.is-current {
  border-color: rgba(214, 181, 100, 0.92);
  color: #d6b564;
  box-shadow: inset 0 0 18px rgba(214, 181, 100, 0.12), 0 0 18px rgba(207, 75, 43, 0.1);
}

.site-wartank .description-copy b,
.site-wartank .summary b {
  color: #f3edd8;
  font-weight: 900;
}

.site-wartank .store-link,
.site-wartank .description-more {
  border-color: rgba(201, 209, 198, 0.3);
  background: rgba(8, 14, 13, 0.58);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 0 18px rgba(214, 181, 100, 0.04);
}

.site-wartank .store-link:hover,
.site-wartank .description-more:hover {
  border-color: rgba(214, 181, 100, 0.84);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36), 0 0 24px rgba(207, 75, 43, 0.16);
}

.site-wartank .visual img,
.site-wartank .hero-frame {
  filter:
    drop-shadow(0 24px 46px rgba(0, 0, 0, 0.6))
    drop-shadow(0 0 22px rgba(214, 181, 100, 0.12));
}

.site-nebo .eyebrow {
  color: #9fe8ff;
  text-shadow: 0 0 18px rgba(104, 218, 255, 0.2);
}

.site-nebo h1 {
  color: #fff5c4;
  text-shadow:
    0 2px 3px rgba(0, 26, 61, 0.68),
    0 0 28px rgba(103, 215, 255, 0.18),
    0 0 36px rgba(255, 208, 92, 0.16);
}

.site-nebo .tagline {
  color: #ffe37a;
  text-shadow:
    0 1px 2px rgba(0, 26, 61, 0.7),
    0 0 20px rgba(255, 208, 92, 0.18);
}

.site-nebo .summary,
.site-nebo .description-copy {
  color: rgba(239, 250, 255, 0.86);
  text-shadow: 0 1px 3px rgba(0, 26, 61, 0.64);
}

.site-nebo .language-link,
.site-nebo .top-nav a {
  border-color: rgba(159, 232, 255, 0.28);
  background: rgba(5, 37, 77, 0.48);
  color: rgba(239, 250, 255, 0.82);
}

.site-nebo .language-link:hover,
.site-nebo .top-nav a:hover {
  border-color: rgba(255, 227, 122, 0.84);
  background: rgba(30, 90, 126, 0.64);
  color: #fff5c4;
  box-shadow: 0 0 22px rgba(104, 218, 255, 0.16), inset 0 0 14px rgba(255, 227, 122, 0.08);
}

.site-nebo .language-link.is-current {
  border-color: rgba(255, 227, 122, 0.94);
  color: #ffe37a;
  box-shadow: inset 0 0 18px rgba(255, 227, 122, 0.12), 0 0 18px rgba(104, 218, 255, 0.1);
}

.site-nebo .description-copy b,
.site-nebo .summary b {
  color: #fff5c4;
  font-weight: 900;
}

.site-nebo .store-link,
.site-nebo .description-more {
  border-color: rgba(159, 232, 255, 0.32);
  background: rgba(5, 37, 77, 0.54);
  box-shadow: 0 12px 28px rgba(0, 17, 40, 0.28), inset 0 0 18px rgba(104, 218, 255, 0.05);
}

.site-nebo .store-link:hover,
.site-nebo .description-more:hover {
  border-color: rgba(255, 227, 122, 0.86);
  box-shadow: 0 16px 34px rgba(0, 17, 40, 0.36), 0 0 24px rgba(104, 218, 255, 0.14);
}

.site-nebo .visual img,
.site-nebo .hero-frame {
  filter:
    drop-shadow(0 24px 42px rgba(0, 17, 40, 0.44))
    drop-shadow(0 0 24px rgba(104, 218, 255, 0.13));
}

.site-ahero .eyebrow {
  color: #bcd7ff;
  text-shadow: 0 0 18px rgba(102, 148, 255, 0.22);
}

.site-ahero h1 {
  color: #ffe79b;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.78),
    0 0 22px rgba(110, 136, 255, 0.24),
    0 0 32px rgba(255, 174, 68, 0.18);
}

.site-ahero .tagline {
  color: #ffce67;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.78),
    0 0 18px rgba(255, 174, 68, 0.22);
}

.site-ahero .summary,
.site-ahero .description-copy {
  color: rgba(233, 241, 255, 0.86);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.68);
}

.site-ahero .language-link,
.site-ahero .top-nav a {
  border-color: rgba(156, 183, 255, 0.3);
  background: rgba(8, 13, 43, 0.62);
  color: rgba(233, 241, 255, 0.84);
}

.site-ahero .language-link:hover,
.site-ahero .top-nav a:hover {
  border-color: rgba(255, 206, 103, 0.84);
  background: rgba(33, 24, 68, 0.7);
  color: #ffe79b;
  box-shadow: 0 0 22px rgba(110, 136, 255, 0.18), inset 0 0 16px rgba(255, 206, 103, 0.08);
}

.site-ahero .language-link.is-current {
  border-color: rgba(255, 206, 103, 0.94);
  color: #ffce67;
  box-shadow: inset 0 0 18px rgba(255, 206, 103, 0.12), 0 0 18px rgba(110, 136, 255, 0.14);
}

.site-ahero .description-copy b,
.site-ahero .summary b {
  color: #ffe79b;
  font-weight: 900;
}

.site-ahero .store-link,
.site-ahero .description-more {
  border-color: rgba(156, 183, 255, 0.32);
  background: rgba(8, 13, 43, 0.64);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), inset 0 0 18px rgba(110, 136, 255, 0.06);
}

.site-ahero .store-link:hover,
.site-ahero .description-more:hover {
  border-color: rgba(255, 206, 103, 0.86);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42), 0 0 24px rgba(255, 174, 68, 0.16);
}

.site-ahero .visual img,
.site-ahero .hero-frame {
  filter:
    drop-shadow(0 24px 42px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 26px rgba(110, 136, 255, 0.16));
}

.site-masterelem .description-copy b,
.site-masterelem .summary b {
  color: #fff3c7;
  font-weight: 900;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.76),
    0 0 12px rgba(246, 193, 91, 0.2);
}

.description-extra p:first-child {
  margin-top: 16px;
}

.description-panel:not(.is-expanded) .description-extra,
.description-panel.is-expanded .description-more {
  display: none;
}

.description-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65em;
  height: 1.38em;
  border: 1px solid rgba(246, 193, 91, 0.34);
  border-radius: 5px;
  padding: 0;
  background: rgba(18, 14, 14, 0.72);
  color: #f6c15b;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  vertical-align: baseline;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.22);
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease;
}

.description-toggle .material-symbols-outlined {
  font-size: 1.05em;
  font-variation-settings: "FILL" 0, "wght" 600, "GRAD" 0, "opsz" 20;
  line-height: 1;
}

.description-toggle:hover {
  border-color: rgba(246, 193, 91, 0.82);
  background: rgba(246, 193, 91, 0.08);
  color: #fff3c7;
  box-shadow: 0 0 16px rgba(246, 193, 91, 0.16);
}

.site-masterelem .description-toggle {
  border-color: rgba(114, 209, 255, 0.34);
  background: rgba(2, 13, 28, 0.62);
  color: #d8f18b;
  box-shadow: 0 0 14px rgba(77, 199, 255, 0.1), inset 0 0 12px rgba(216, 241, 139, 0.04);
}

.site-masterelem .description-toggle:hover {
  border-color: rgba(216, 241, 139, 0.78);
  background: rgba(52, 112, 88, 0.2);
  color: #fff3c7;
  box-shadow: 0 0 18px rgba(77, 199, 255, 0.16), inset 0 0 14px rgba(216, 241, 139, 0.08);
}

.store-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 32px;
  width: auto;
  max-width: 100%;
  align-items: center;
}

.store-link {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border: 1px solid rgba(246, 193, 91, 0.36);
  border-radius: 8px;
  padding: 3px;
  background: linear-gradient(180deg, rgba(22, 22, 24, 0.94), rgba(3, 3, 4, 0.96));
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.28);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.store-link img {
  display: block;
  width: auto;
  height: 50px;
  max-width: 100%;
  border-radius: 5px;
}

.store-link:hover {
  border-color: rgba(246, 193, 91, 0.88);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(246, 193, 91, 0.18);
}

.site-masterelem .store-link {
  border-color: rgba(114, 209, 255, 0.32);
  background: linear-gradient(180deg, rgba(2, 18, 38, 0.94), rgba(1, 5, 13, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(158, 220, 255, 0.12),
    0 10px 22px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(77, 199, 255, 0.08);
}

.site-masterelem .store-link:hover {
  border-color: rgba(216, 241, 139, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 14px 28px rgba(0, 0, 0, 0.36),
    0 0 24px rgba(77, 199, 255, 0.18),
    0 0 18px rgba(216, 241, 139, 0.12);
}

.other-games {
  width: 100%;
  margin: 2px 0 10px;
  text-align: center;
}

.other-games h2 {
  margin: 0 0 10px;
  color: rgba(255, 243, 199, 0.86);
  font-family: var(--display-font, Georgia, serif);
  font-size: 1.18rem;
  font-weight: normal;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(246, 193, 91, 0.12);
}

.other-games-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.other-game-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(246, 193, 91, 0.28);
  border-radius: 8px;
  padding: 4px;
  background: rgba(14, 13, 15, 0.52);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.22);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.other-game-link img {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 6px;
}

.other-game-link:hover {
  border-color: rgba(246, 193, 91, 0.82);
  background: rgba(246, 193, 91, 0.08);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 26px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(246, 193, 91, 0.16);
}

.site-masterelem .other-games h2 {
  color: #d8f18b;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(77, 199, 255, 0.14);
}

.site-masterelem .other-game-link {
  border-color: rgba(114, 209, 255, 0.3);
  background: rgba(2, 13, 28, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(158, 220, 255, 0.1),
    0 10px 22px rgba(0, 0, 0, 0.24),
    0 0 14px rgba(77, 199, 255, 0.08);
}

.site-masterelem .other-game-link:hover {
  border-color: rgba(216, 241, 139, 0.82);
  background: rgba(52, 112, 88, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    0 14px 26px rgba(0, 0, 0, 0.32),
    0 0 20px rgba(77, 199, 255, 0.16),
    0 0 16px rgba(216, 241, 139, 0.1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  margin-top: 8px;
  color: rgba(244, 241, 232, 0.62);
  font-size: 1rem;
}

.footer-links > * + *::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: rgba(246, 193, 91, 0.5);
}

.footer-brand {
  color: rgba(255, 243, 199, 0.86);
  font-weight: 700;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #f6c15b;
}

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(18, 18, 20, 0.94);
  color: #ffffff;
  font-family: var(--body-font, "Segoe UI", Arial, sans-serif);
  font-size: 0.95rem;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
}

.cookie-consent-banner[hidden] {
  display: none;
}

.cookie-consent-message {
  max-width: min(760px, 100%);
}

.cookie-consent-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-accept {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 4px;
  background: #ffffff;
  color: #202020;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-consent-accept:hover {
  background: #f3d36d;
  border-color: #f3d36d;
}

.visual {
  float: right;
  width: calc((100% - 28px) / 2);
  margin: 8px 0 20px 28px;
  padding-top: 8px;
}

.hero-slideshow {
  position: relative;
}

.hero-frame {
  display: block;
  width: 100%;
  max-height: min(74vh, 720px);
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.42));
  transition: opacity var(--hero-transition-ms, 900ms) ease-in-out;
}

.hero-frame + .hero-frame {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-frame.is-active {
  opacity: 1;
}

picture .hero-frame,
.hero-slideshow .hero-frame:first-child {
  position: relative;
}

.legal-page {
  width: min(860px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 72px;
}

.top-nav {
  justify-content: space-between;
  color: rgba(244, 241, 232, 0.7);
}

.top-nav-title {
  font-family: var(--display-font, Georgia, serif);
  color: #fff3c7;
  font-size: 1.3rem;
  line-height: 1.2;
  text-align: right;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.38), 0 0 22px rgba(246, 193, 91, 0.14);
}

.site-masterelem .top-nav-title {
  color: #fff3c7;
  text-shadow:
    0 2px 3px rgba(0, 0, 0, 0.68),
    0 0 20px rgba(97, 215, 255, 0.14),
    0 0 24px rgba(216, 241, 139, 0.12);
}

.legal-document {
  margin-top: 72px;
}

.legal-document h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.legal-document p {
  color: rgba(244, 241, 232, 0.78);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-document h2,
.legal-document h3,
.legal-document h4 {
  color: #fff3c7;
  line-height: 1.25;
}

.legal-document h2 {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.legal-document h3 {
  margin-top: 32px;
  font-size: 1.35rem;
}

.legal-document ul {
  color: rgba(244, 241, 232, 0.78);
  line-height: 1.75;
}

.legal-document li + li {
  margin-top: 6px;
}

.account-deletion-form-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 4px;
  border: 1px solid rgba(246, 193, 91, 0.38);
  border-radius: 8px;
  padding: 12px 18px;
  background: rgba(18, 14, 14, 0.72);
  color: #f6c15b;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.24);
  transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.account-deletion-form-link:hover {
  border-color: rgba(246, 193, 91, 0.86);
  background: rgba(246, 193, 91, 0.1);
  color: #fff3c7;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.3),
    0 0 22px rgba(246, 193, 91, 0.18);
}

.site-masterelem .account-deletion-form-link {
  border-color: rgba(114, 209, 255, 0.34);
  background: rgba(2, 13, 28, 0.62);
  color: #d8f18b;
  box-shadow: 0 0 14px rgba(77, 199, 255, 0.1), inset 0 0 12px rgba(216, 241, 139, 0.04);
}

.site-masterelem .account-deletion-form-link:hover {
  border-color: rgba(216, 241, 139, 0.82);
  background: rgba(52, 112, 88, 0.2);
  color: #fff3c7;
  box-shadow: 0 0 18px rgba(77, 199, 255, 0.16), inset 0 0 14px rgba(216, 241, 139, 0.08);
}

.site-braveland .legal-page {
  width: min(940px, calc(100% - 36px));
  color: #202020;
}

.site-braveland .top-nav {
  color: #4c4c4c;
}

.site-braveland .top-nav a {
  border-color: rgba(0, 85, 212, 0.22);
  background: rgba(0, 85, 212, 0.06);
  color: #0055d4;
  text-decoration: none;
  box-shadow: none;
}

.site-braveland .top-nav a:hover {
  border-color: rgba(0, 85, 212, 0.46);
  background: rgba(0, 85, 212, 0.1);
  color: #003c98;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}

.site-braveland .top-nav-title {
  color: #202020;
  text-shadow: none;
}

.site-braveland .legal-document {
  margin-top: 54px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 34px 38px 42px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(24, 36, 64, 0.12);
}

.site-braveland .legal-document h1 {
  color: #202020;
}

.site-braveland .legal-document h2,
.site-braveland .legal-document h3,
.site-braveland .legal-document h4 {
  color: #2d3550;
}

.site-braveland .legal-document p,
.site-braveland .legal-document ul {
  color: #4d4d4d;
}

.site-braveland .legal-document a {
  color: #0055d4;
}

.site-braveland .privacy-policy-updated,
.site-braveland .updated {
  color: #7a4a00;
}

.site-braveland .footer-links {
  color: #555;
}

.site-braveland .footer-brand {
  color: #202020;
}

.site-braveland .footer-links a {
  color: #0055d4;
}

.site-braveland .footer-links a:hover {
  color: #003c98;
}

.site-braveland .account-deletion-form-link {
  border-color: rgba(0, 85, 212, 0.22);
  background: #0055d4;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 85, 212, 0.18);
}

.site-braveland .account-deletion-form-link:hover {
  border-color: #003c98;
  background: #003c98;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 60, 152, 0.2);
}

.braveland-white {
  min-height: 100vh;
  background: #fff;
  color: #202020;
  font-family: var(--body-font, "Ubuntu Condensed", "Segoe UI", Arial, sans-serif);
  text-align: center;
}

.braveland-white a {
  color: #0055d4;
  text-decoration: none;
}

.braveland-hero {
  width: 100%;
  height: 520px;
  background: url("/static/braveland/new/header-battles2.jpg") top center / cover no-repeat;
}

.braveland-language-bar {
  width: min(1024px, 100%);
  margin: 0 auto;
  padding: 20px;
  text-align: right;
}

.braveland-language {
  display: inline-block;
  padding: 0 10px 1px 0;
  margin: 0 5px 0 0;
  border-right: 1px dotted #9d9d9d;
  border-bottom: 1px dotted #8b8b8b;
  color: #555;
  font-size: 1.08rem;
}

.braveland-language:last-child {
  border-right: 0;
}

.braveland-language:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.braveland-language.is-current {
  color: #000;
  border-bottom-color: transparent;
  font-weight: 700;
}

.braveland-app-links {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  margin: -40px auto 10px;
  padding: 0 20px;
}

.braveland-icon {
  width: 128px;
  height: 128px;
  margin: 0 10px;
  border-radius: 18px;
}

.braveland-markets {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 560px;
  padding-top: 50px;
}

.braveland-market {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.braveland-market img {
  display: block;
  height: 60px;
  width: auto;
}

.braveland-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 20px;
  text-align: left;
}

.braveland-about {
  padding-top: 10px;
  color: #202020;
  font-size: 1.08rem;
  line-height: 1.38;
  text-align: justify;
}

.braveland-about-mobile {
  display: none;
}

.braveland-media {
  float: right;
  width: 52%;
  padding: 0 0 24px 44px;
}

.braveland-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.braveland-shot {
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.braveland-shot img {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.braveland-features-title {
  margin: 20px 0 0;
  color: #202020;
  font-family: var(--body-font, "Ubuntu Condensed", "Segoe UI", Arial, sans-serif);
  font-size: 1.34rem;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
}

.braveland-features {
  margin: 0;
  padding: 10px 0 20px 40px;
  color: #202020;
  text-align: left;
}

.braveland-features li {
  margin: 5px 0;
  font-size: 1.08rem;
  line-height: 1.24;
  list-style: circle;
}

.braveland-share {
  clear: both;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 10px 10px;
}

.braveland-social {
  display: flex;
  align-items: center;
  gap: 4px;
}

.braveland-social img {
  display: block;
  width: 50px;
  height: 50px;
}

.braveland-share-image {
  display: block;
  width: 130px;
  height: 130px;
}

.braveland-footer {
  background: #dde;
  padding: 20px;
  color: #202020;
  font-size: 1rem;
}

.braveland-footer-line {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.braveland-footer-line > * + *::before {
  content: "|";
  margin-right: 8px;
  color: #777;
}

.braveland-footer-brand {
  font-weight: 700;
}

.braveland-related {
  padding-top: 10px;
}

.braveland-related-title {
  margin-bottom: 6px;
}

.braveland-related-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.braveland-related-list img {
  display: block;
  border: 1px solid #fff;
  border-radius: 16px;
}

.braveland-related-list img:hover {
  border-color: #0055d4;
}

.braveland-video-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.5);
}

.braveland-video-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 21;
  width: min(1200px, calc(100% - 48px));
  max-height: calc(100vh - 48px);
  transform: translate(-50%, -50%);
  background: #222;
  border: 1px solid #000;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
}

.braveland-gallery-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(680px, calc(100vh - 88px));
  background: #111;
}

.braveland-video-modal iframe,
.braveland-gallery-stage img {
  display: block;
  width: 100%;
  border: 0;
}

.braveland-video-modal iframe {
  aspect-ratio: 16 / 9;
}

.braveland-gallery-stage img {
  max-height: calc(100vh - 88px);
  object-fit: contain;
}

.braveland-video-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.braveland-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  box-sizing: border-box;
  padding: 0 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.56);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2.35rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.braveland-gallery-prev {
  left: 10px;
}

.braveland-gallery-next {
  right: 10px;
}

.braveland-gallery-nav:hover {
  background: rgba(0, 0, 0, 0.76);
}

.privacy-policy-updated {
  color: #f6c15b;
  font-weight: 600;
}

.updated {
  color: #f6c15b;
}

.legal-page .footer-links {
  margin-top: 56px;
}

@media (max-width: 820px) {
  .landing {
    width: min(620px, calc(100% - 40px));
    padding-top: 18px;
  }

  .landing-grid {
    flex: 0 0 auto;
    margin: 0;
    padding: 18px 0 14px;
    text-align: center;
  }

  .language-bar {
    justify-content: center;
    flex-wrap: wrap;
  }

  .copy {
    max-width: none;
  }

  .tagline,
  .summary,
  .description-panel,
  .description-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .store-links,
  .footer-links,
  .other-games-list {
    justify-content: center;
  }

  .store-links {
    margin-left: auto;
    margin-right: auto;
  }

  .other-games {
    margin-top: 18px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .visual {
    float: none;
    width: 100%;
    margin: 0 0 18px;
  }

  .hero-frame {
    max-height: 34vh;
  }

  .legal-page {
    padding-top: 18px;
  }

  .legal-document {
    margin-top: 32px;
  }

  .site-braveland .legal-document {
    margin-top: 28px;
    padding: 24px 22px 30px;
  }
}

@media (max-width: 1200px) {
  .braveland-hero {
    height: 480px;
  }
}

@media (max-width: 1000px) {
  .braveland-hero {
    height: 400px;
  }

  .braveland-app-links {
    margin-top: -30px;
  }

  .braveland-icon {
    width: 100px;
    height: 100px;
  }

  .braveland-markets {
    padding-top: 40px;
  }

  .braveland-market img {
    height: 50px;
  }
}

@media (max-width: 800px) {
  .braveland-hero {
    height: 300px;
  }

  .braveland-language-bar {
    padding-top: 10px;
    text-align: center;
  }

  .braveland-icon {
    width: 90px;
    height: 90px;
    margin: 0 5px;
  }

  .braveland-markets {
    padding-top: 35px;
  }

  .braveland-market img {
    height: 40px;
  }
}

@media (max-width: 600px) {
  .braveland-hero {
    height: 240px;
  }

  .braveland-app-links {
    width: min(100% - 24px, 420px);
    margin-top: -30px;
    padding: 0;
  }

  .braveland-markets {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 4px;
  }

  .braveland-market-steam {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .braveland-market img {
    height: 28px;
  }

  .braveland-market-steam img {
    height: 50px;
  }

  .braveland-about-desktop {
    display: none;
  }

  .braveland-about-mobile {
    display: block;
    padding-bottom: 10px;
  }

  .braveland-media {
    float: none;
    width: 100%;
    padding: 0;
  }

  .braveland-about,
  .braveland-features li {
    font-size: 1rem;
  }

  .braveland-social img {
    width: 40px;
    height: 40px;
  }

  .braveland-share-image {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 500px) {
  .braveland-share-image {
    display: none;
  }

  .braveland-features {
    padding-left: 18px;
  }

  .braveland-market img {
    height: 22px;
  }

  .braveland-market-steam img {
    height: 38px;
  }
}

@media (max-width: 405px) {
  .braveland-hero {
    height: 160px;
  }

  .braveland-market-steam img {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .landing {
    width: min(100% - 28px, 420px);
  }

  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
  }

  .cookie-consent-accept {
    width: 100%;
  }

  h1 {
    font-size: 2.15rem;
  }

  .tagline {
    font-size: 1.32rem;
  }

  .summary {
    font-size: 1.04rem;
  }

  .description-copy {
    line-height: 1.58;
  }

  .store-links {
    gap: 10px;
  }

  .store-link img {
    height: 44px;
  }

  .other-game-link {
    width: 54px;
    height: 54px;
  }

  .other-game-link img {
    width: 46px;
    height: 46px;
  }

  .legal-document {
    margin-top: 20px;
  }
}
