﻿* { box-sizing: border-box; }

:root {
  --bg:#101913;
  --bg-2:#1d2a1f;
  --panel:rgba(18,28,21,.68);
  --panel-soft:rgba(27,37,29,.56);
  --text:#f6f3e8;
  --muted:#d8d2c0;
  --line:rgba(214,197,148,.18);
  --accent:#d6c38f;
  --accent-2:#9fd49f;
  --warning:#ff7e91;
  --earth:#b48f54;
  --shadow:0 28px 70px rgba(0,0,0,.24);
  --radius:24px;
  --header-height:95px;
}

html { scroll-behavior:smooth; }

body {
  margin:0;
  font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top, rgba(214,195,143,.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(159,212,159,.08), transparent 22%),
    linear-gradient(180deg, rgba(18,24,17,.56), rgba(10,14,11,.92)),
    url("../images/img/walper.jpg") center/cover fixed no-repeat;
}

img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
.site-shell { min-height:100vh; }

.site-header {
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 28px;
  background:rgba(16,22,17,.54);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
  box-shadow:0 10px 32px rgba(0,0,0,.18);
}

.brand { display:inline-flex; align-items:center; gap:14px; min-width:0; }
.brand img { width:56px; height:56px; object-fit:contain; }
.brand-copy { display:flex; flex-direction:column; gap:3px; }
.brand-copy strong { letter-spacing:.12em; text-transform:uppercase; }
.brand-copy span { color:var(--muted); font-size:13px; }

.menu-toggle { display:none; flex-direction:column; gap:5px; background:transparent; border:0; padding:0; }
.menu-toggle span { width:24px; height:2px; background:#fff; }

.site-nav { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.site-nav > a,
.nav-group__toggle {
  color:var(--muted);
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.site-nav > a:hover,
.nav-group__toggle:hover { color:#fff; }

.nav-group { position:relative; }
.nav-group__toggle { background:transparent; border:0; cursor:pointer; }
.nav-group__menu {
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:180px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(18,26,20,.92);
  box-shadow:var(--shadow);
  display:none;
}
.nav-group:hover .nav-group__menu,
.nav-group:focus-within .nav-group__menu { display:grid; gap:6px; }
.nav-group__menu a { padding:10px 12px; border-radius:12px; color:var(--muted); }
.nav-group__menu a:hover { background:rgba(108,230,255,.08); color:#fff; }
.nav-group__toggle--lang,
.nav-group__lang-link {
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.nav-group__lang-link {
  width:100%;
}
.lang-flag {
  width:22px;
  aspect-ratio:4 / 3;
  border-radius:4px;
  border:1px solid rgba(255,255,255,.18);
  background-position:center;
  background-repeat:no-repeat;
  background-size:cover;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
  flex:0 0 auto;
}
.lang-flag--gb { background-image:url("../flags/gb.svg"); }
.lang-flag--hu { background-image:url("../flags/hu.svg"); }
.lang-flag--de { background-image:url("../flags/de.svg"); }
.lang-flag--fr { background-image:url("../flags/fr.svg"); }
.lang-flag--pl { background-image:url("../flags/pl.svg"); }
.lang-flag--cz { background-image:url("../flags/cz.svg"); }
.lang-flag--sk { background-image:url("../flags/sk.svg"); }
.lang-flag--se { background-image:url("../flags/se.svg"); }
.lang-flag--no { background-image:url("../flags/no.svg"); }
.lang-flag--dk { background-image:url("../flags/dk.svg"); }

.site-main { width:min(1320px, calc(100% - 32px)); margin:0 auto; padding:0 0 60px; }

.hero {
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  align-items:center;
  min-height:80vh;
  padding:72px clamp(24px, 4vw, 52px) 52px;
  margin-bottom:28px;
  border:1px solid var(--line);
  border-radius:34px;
  background:
    linear-gradient(180deg, rgba(20,28,20,.22), rgba(9,13,10,.34)),
    radial-gradient(circle at top right, rgba(241,227,185,.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 24%);
  box-shadow:var(--shadow);
  overflow:hidden;
  isolation:isolate;
}

.hero--home {
  width:100vw;
  min-height:calc(100vh - var(--header-height));
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  margin-top:0;
  border-radius:0;
}

.hero__video-bg {
  position:absolute;
  inset:0;
  overflow:hidden;
  border-radius:inherit;
  pointer-events:none;
}

.hero__video-bg iframe {
  position:absolute;
  top:50%;
  left:50%;
  width:177.78vh;
  height:56.25vw;
  min-width:100%;
  min-height:100%;
  transform:translate(-50%, -50%) scale(1.08);
  border:0;
  opacity:.92;
  filter:saturate(1.05) contrast(1.03) brightness(.76);
}

.hero--home .hero__content,
.hero--home .hero-radar {
  z-index:1;
}

.hero::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 24%),
    linear-gradient(0deg, rgba(8,12,9,.42), rgba(8,12,9,.08) 42%, rgba(8,12,9,.46));
  opacity:1;
  pointer-events:none;
}

.hero::after {
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:200px;
  background:linear-gradient(180deg, transparent, rgba(8,12,9,.58));
  pointer-events:none;
}

.hero--inner,
.hero--support,
.hero--ice {
  min-height:auto;
}

.hero--support {
  min-height:52vh;
  background:
    linear-gradient(180deg, rgba(18,26,19,.68), rgba(12,18,13,.74)),
    radial-gradient(circle at top right, rgba(255,240,199,.08), transparent 28%),
    url("../images/img/Donation.webp") center/cover no-repeat;
}

.hero--rules-pve {
  min-height:52vh;
  background:
    linear-gradient(180deg, rgba(18,26,19,.64), rgba(12,18,13,.78)),
    radial-gradient(circle at top right, rgba(255,240,199,.08), transparent 28%),
    url("../images/img/law.jpg") center/cover no-repeat;
}

.hero--rules-pvp {
  min-height:52vh;
  background:
    linear-gradient(180deg, rgba(18,26,19,.64), rgba(12,18,13,.78)),
    radial-gradient(circle at top right, rgba(255,240,199,.08), transparent 28%),
    url("../images/img/law.jpg") center/cover no-repeat;
}

.hero__content {
  position:relative;
  width:min(980px, 100%);
  margin:0 auto;
}

.hero__content--home {
  text-align:center;
  display:grid;
  justify-items:center;
  gap:18px;
}

.hero__content--support {
  text-align:center;
  display:grid;
  justify-items:center;
  gap:16px;
}

.hero-radar {
  position:absolute;
  right:28px;
  bottom:18px;
  width:240px;
  height:240px;
  border-radius:50%;
  opacity:.34;
  pointer-events:none;
  animation:heroRadarFloat 6s ease-in-out infinite;
}

.hero-radar__ring {
  position:absolute;
  inset:0;
  border-radius:50%;
  border:1px solid rgba(255,244,212,.16);
}

.hero-radar__ring:nth-child(2) { inset:16%; }
.hero-radar__ring:nth-child(3) { inset:32%; }

.hero-radar__dot {
  position:absolute;
  top:24%;
  left:66%;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 18px rgba(214,195,143,.54);
}

.hero h1,
.section h2,
.rule-card h2 {
  margin:0;
  font-size:clamp(38px, 6vw, 84px);
  line-height:.96;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.hero--home h1 {
  font-size:clamp(54px, 8vw, 112px);
  margin:0;
  text-shadow:0 14px 34px rgba(0,0,0,.24);
  line-height:.92;
}

.hero__subtitle {
  margin:0;
  max-width:760px;
  font-size:clamp(18px, 2.8vw, 29px);
  color:#fff9ea;
  text-transform:uppercase;
  letter-spacing:.16em;
  text-shadow:0 8px 20px rgba(0,0,0,.22);
  padding:10px 18px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(15,20,15,.14), rgba(15,20,15,.08));
  backdrop-filter:blur(4px);
}

.support-hero__chips {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}

.support-hero__chips span {
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.05);
  color:#f5ebcf;
  font-size:11px;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.hero__body,
.section-copy,
.server-card p,
.step-card p,
.support-card p,
.rule-card li {
  color:var(--muted);
  line-height:1.75;
  font-size:16px;
}

.hero__media {
  position:relative;
  z-index:1;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  padding:14px 20px;
  border-radius:16px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  border:1px solid var(--line);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button--primary {
  color:#16170f;
  background:linear-gradient(135deg, rgba(240,225,180,.96), rgba(195,174,119,.94));
  box-shadow:0 12px 28px rgba(180,143,84,.22);
}

.button--ghost {
  background:rgba(23,30,22,.18);
  border-color:rgba(255,255,255,.12);
}
.button:hover { transform:translateY(-2px); }

.section,
.rules-grid { margin-bottom:28px; }

.section--panel {
  position:relative;
  overflow:hidden;
  padding:32px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(21,29,22,.56), rgba(17,25,19,.48));
  box-shadow:var(--shadow);
}

.section--panel::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(255,240,199,.05), transparent 24%),
    linear-gradient(315deg, rgba(159,212,159,.04), transparent 24%);
  pointer-events:none;
}

.section-heading { display:grid; gap:14px; margin-bottom:20px; }
.section-heading h2,
.rule-card h2 { font-size:clamp(28px, 4vw, 52px); }
.section-copy--accent { color:var(--accent); }

.section--support-intro {
  padding:40px clamp(22px, 4vw, 42px);
}

.section-heading--support {
  justify-items:center;
  text-align:center;
  max-width:860px;
  margin:0 auto 18px;
}

.section-copy--support-lead {
  max-width:880px;
  margin:0 auto 28px;
  text-align:center;
  color:#f1e5c4;
  font-size:18px;
}

.support-layout {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:24px;
  align-items:start;
}

.support-layout__copy {
  display:grid;
  gap:18px;
}

.support-callout {
  padding:20px;
  border-radius:24px;
  border:1px solid rgba(214,195,143,.22);
  background:linear-gradient(180deg, rgba(214,195,143,.08), rgba(214,195,143,.03));
}

.support-callout__label {
  display:inline-flex;
  margin-bottom:10px;
  color:#f3dfb1;
  font-size:11px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.support-callout p {
  margin:0;
  color:#efe7d5;
  line-height:1.8;
}

.support-benefits {
  display:grid;
  gap:14px;
}

.support-benefit {
  display:grid;
  gap:8px;
  padding:18px 18px 18px 20px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
}

.support-benefit strong {
  color:#fff5db;
  font-size:18px;
}

.support-benefit span {
  color:#d8d2c0;
  line-height:1.7;
}

#servers .section-heading {
  justify-items:center;
  text-align:center;
  max-width:920px;
  margin:0 auto 28px;
}

.section-copy--servers {
  max-width:760px;
  margin:0;
  font-size:17px;
  color:#ece4d0;
}

.section--briefing {
  display:grid;
  justify-items:center;
  text-align:center;
  padding:44px clamp(20px, 4vw, 48px);
  background:
    linear-gradient(180deg, rgba(20,28,20,.62), rgba(16,22,17,.5)),
    radial-gradient(circle at top center, rgba(255,240,199,.08), transparent 30%);
}

.section-heading--briefing {
  justify-items:center;
  max-width:900px;
}

.section-heading--briefing .eyebrow {
  margin-bottom:6px;
}

.section-heading--briefing h2 {
  max-width:980px;
  font-size:clamp(28px, 4.2vw, 52px);
  line-height:1.08;
}

.section-copy--briefing {
  max-width:980px;
  min-height:6.2em;
  margin:0 auto;
  font-size:clamp(16px, 1.6vw, 21px);
  line-height:1.85;
  color:#f2ecdd;
  white-space:pre-wrap;
}

.section-copy--briefing .reveal-word {
  display:inline-block;
  opacity:0;
  transform:translateY(8px);
  filter:blur(2px);
  will-change:transform, opacity, filter;
}

.section-copy--briefing.is-visible .reveal-word {
  animation:softWordReveal .48s ease forwards;
}

.stats-grid,
.server-grid,
.steps-grid,
.support-grid,
.gallery-grid,
.rules-grid { display:grid; gap:20px; }

.stats-grid { grid-template-columns:repeat(4, 1fr); margin-bottom:28px; }

.stat-card,
.step-card,
.support-card,
.rule-card {
  position:relative;
  overflow:hidden;
  padding:22px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(180deg, rgba(28,37,29,.6), rgba(22,31,24,.46));
  box-shadow:var(--shadow);
}

.stat-card {
  text-align:center;
}

.stat-card::before,
.step-card::before,
.support-card::before,
.rule-card::before {
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg, var(--accent), var(--accent-2), var(--earth));
  opacity:.7;
}

.rules-sheet {
  width:100%;
  padding:clamp(22px, 3vw, 36px);
  border-radius:30px;
  background:
    linear-gradient(180deg, rgba(20,29,22,.82), rgba(14,20,16,.72)),
    radial-gradient(circle at top right, rgba(255,240,199,.08), transparent 26%);
}

.rules-sheet__intro {
  display:grid;
  gap:12px;
  max-width:900px;
  margin-bottom:28px;
  padding-bottom:22px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.rules-sheet__intro h2 {
  margin:0;
  font-size:clamp(26px, 3.2vw, 42px);
  line-height:1.08;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.rules-sheet__body {
  display:grid;
  gap:20px;
}

.rules-sheet__section {
  padding-top:20px;
}

.rules-sheet__section:first-child {
  padding-top:0;
}

.rules-sheet__section + .rules-sheet__section {
  border-top:1px solid rgba(255,255,255,.07);
}

.rules-sheet__section-head {
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:start;
  gap:14px;
  margin-bottom:14px;
}

.rules-sheet__index {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
  color:#f1deb2;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.rules-sheet__section h3 {
  margin:0;
  color:#fff7e6;
  font-size:clamp(22px, 2.4vw, 34px);
  line-height:1.15;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.rules-sheet__list {
  margin:0;
  padding-left:28px;
  display:grid;
  gap:14px;
}

.rules-sheet__list li {
  color:#f1eadc;
  font-size:clamp(17px, 1.35vw, 19px);
  line-height:1.85;
}

.rules-sheet__list li::marker {
  color:#f1deb2;
}

.stat-card span {
  display:block;
  margin-bottom:10px;
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.stat-card strong {
  display:block;
  font-size:clamp(28px, 5vw, 52px);
}

.server-grid {
  grid-template-columns:repeat(3, 1fr);
  align-items:stretch;
}

.server-card {
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(24,33,25,.74), rgba(15,22,17,.58)),
    radial-gradient(circle at top, rgba(255,240,199,.06), transparent 30%);
  box-shadow:0 24px 58px rgba(0,0,0,.22);
  position:relative;
  display:grid;
  grid-template-rows:auto 1fr;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.server-card:hover {
  transform:translateY(-6px);
  border-color:rgba(214,195,143,.34);
  box-shadow:0 30px 70px rgba(0,0,0,.28);
}

.server-card__media {
    position:relative;
    overflow:hidden;
    height:240px;
    min-height:240px;
    background:#0f1410;
}

.server-card img {
  width:100%;
  height:240px;
  object-fit:cover;
  transition:transform .35s ease, filter .35s ease;
  filter:saturate(.92) contrast(1.03) brightness(.94);
}

.server-card__video {
  display:block;
  width:100%;
  height:240px;
  border:0;
  pointer-events:none;
  transform:scale(1.03);
  transform-origin:center;
  filter:saturate(.92) contrast(1.03) brightness(.94);
}

.server-card--pvp img {
  object-position:center 58%;
}

.server-card:hover img {
  transform:scale(1.05);
  filter:saturate(1) contrast(1.08) brightness(.96);
}

.server-card__overlay {
    position:absolute;
    inset:auto 16px 16px 16px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
}

.server-card__overlay-tags {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.server-card__status,
.server-card__type {
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16em;
  backdrop-filter:blur(8px);
}

.server-card__status {
  background:rgba(87,255,188,.14);
  border:1px solid rgba(87,255,188,.28);
  color:var(--accent-2);
}

.server-card__type {
    background:rgba(18,24,17,.64);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
}

.server-card__type--secondary {
    background:rgba(108,230,255,.14);
    border-color:rgba(108,230,255,.24);
    color:#dff6ff;
}

.server-card__body { padding:22px; }
.server-card__body {
  display:grid;
  align-content:start;
  gap:14px;
}

.server-card__topline {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.server-card__network,
.server-card__availability {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#f3ead4;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.server-card__network::before,
.server-card__availability::before {
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent-2);
  box-shadow:0 0 12px rgba(159,212,159,.45);
}

.server-card h3,
.step-card h3,
.support-card h3 { margin-top:0; margin-bottom:12px; font-size:22px; }

.server-card h3 {
  margin-bottom:0;
  font-size:24px;
  line-height:1.3;
}

.server-card__meta {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
}

.server-card__meta span {
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.chip,
.tag {
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}

.chip {
    margin-bottom:14px;
    border:1px solid rgba(108,230,255,.3);
    color:var(--accent);
    background:rgba(108,230,255,.08);
}

.server-card__chip-row {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.server-card__chip-row .chip {
    margin-bottom:0;
}

.chip--secondary {
    border-color:rgba(255,255,255,.14);
    color:#eef6ff;
    background:rgba(255,255,255,.05);
}

.tag-row { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.tag { background:rgba(255,255,255,.04); color:#dfe8f7; }

.notice {
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,126,145,.26);
  background:rgba(255,126,145,.08);
  color:#ffd7de;
}

.server-card__footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:auto;
  padding-top:8px;
  border-top:1px solid rgba(255,255,255,.08);
}

.server-card__cta {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
  color:#fff6de;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}

.server-card__cta:hover {
  transform:translateY(-1px);
  background:rgba(214,195,143,.14);
  border-color:rgba(214,195,143,.32);
}

.steps-grid { grid-template-columns:repeat(3, 1fr); }

.section--connect .section-heading {
  justify-items:center;
  text-align:center;
  max-width:980px;
  margin:0 auto 24px;
}

.section-copy--connect {
  max-width:860px;
  margin:0 auto 28px;
  text-align:center;
  color:#efe7d5;
}

.step-card--connect {
  display:grid;
  align-content:start;
  gap:14px;
  min-height:auto;
  padding:20px;
  border-radius:24px;
  background:
    linear-gradient(180deg, rgba(23,32,24,.7), rgba(16,22,18,.56)),
    radial-gradient(circle at top, rgba(255,240,199,.06), transparent 30%);
  box-shadow:0 22px 50px rgba(0,0,0,.18);
}

.step-card__index {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:16px;
  border:1px solid rgba(214,195,143,.26);
  background:rgba(214,195,143,.08);
  color:#f8eccd;
  font-size:14px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.step-card--connect h3 {
  margin-bottom:0;
  font-size:24px;
}

.step-card--connect p {
  margin:0;
  color:#e2dac7;
}

.feature-panel {
  position:relative;
  overflow:hidden;
  margin-top:22px;
  padding:24px;
  border-radius:24px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
}

.feature-panel--connect {
  display:grid;
  grid-template-columns:.72fr .88fr 1fr;
  align-items:stretch;
  gap:28px;
  padding:30px;
  border-radius:30px;
  background:
    linear-gradient(135deg, rgba(24,33,25,.76), rgba(15,22,18,.62)),
    radial-gradient(circle at top right, rgba(255,240,199,.08), transparent 28%);
}

.feature-panel__hud {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}

.feature-panel__hud span {
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(214,195,143,.12);
  color:#f1deb2;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.14em;
}

.feature-panel__copy {
  display:grid;
  gap:16px;
  align-content:start;
  order:1;
}

.steps-grid--connect {
  grid-template-columns:1fr;
  align-content:start;
  gap:16px;
  order:2;
}

.feature-panel__copy h3 {
  margin:0;
  font-size:clamp(28px, 3.2vw, 44px);
  line-height:1.08;
}

.feature-panel__copy p {
  margin:0;
  color:#ddd5c3;
  line-height:1.8;
  font-size:17px;
}

.feature-panel__actions {
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:8px;
}

.feature-panel__visual {
  display:flex;
  justify-content:center;
  align-items:flex-end;
  order:3;
}

.feature-panel img {
  max-width:420px;
  margin:0 auto;
}

.support-grid { grid-template-columns:repeat(2, 1fr); }

.support-grid--featured {
  align-items:stretch;
}

.support-card {
  display:flex;
  align-items:center;
  gap:20px;
}

.support-card--featured {
  min-height:240px;
  padding:26px;
  border-radius:28px;
  align-items:flex-start;
  background:
    linear-gradient(180deg, rgba(24,33,25,.74), rgba(16,23,18,.58)),
    radial-gradient(circle at top, rgba(255,240,199,.08), transparent 28%);
  transition:transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.support-card--featured:hover {
  transform:translateY(-4px);
  border-color:rgba(214,195,143,.3);
  box-shadow:0 30px 70px rgba(0,0,0,.24);
}

.support-card img {
  width:110px;
  height:110px;
  object-fit:contain;
}

.support-card--large { min-height:180px; }

.support-card__logo-wrap {
  display:grid;
  place-items:center;
  width:120px;
  min-width:120px;
  height:120px;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.04);
}

.support-card__copy {
  display:grid;
  gap:10px;
}

.support-card__eyebrow {
  color:#f2dfb3;
  font-size:11px;
  font-weight:800;
  letter-spacing:.2em;
  text-transform:uppercase;
}

.support-card__action {
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-top:8px;
  padding:9px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
  color:#fff1c9;
  font-size:11px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.gallery-section {
    position:relative;
}

.gallery-panel {
    width:100%;
    margin:0 auto;
    padding:18px;
    border-radius:30px;
    border:1px solid rgba(255,255,255,.08);
    background:
      linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
      rgba(13,19,14,.62);
    box-shadow:0 24px 58px rgba(0,0,0,.2);
}

.gallery-panel__header {
    margin-bottom:18px;
    padding:18px 24px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.02);
    text-align:center;
}

.gallery-panel__header span {
    display:block;
    color:#fff7e6;
    font-size:clamp(22px, 3.2vw, 34px);
    font-weight:800;
    letter-spacing:.18em;
  text-transform:uppercase;
}

.gallery-panel__cta {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:min(100%, 320px);
    padding:16px 28px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.12);
    background:linear-gradient(180deg, rgba(26,34,27,.88), rgba(15,21,16,.92));
    box-shadow:0 14px 30px rgba(0,0,0,.18);
    color:#fff7e6;
    font-size:clamp(18px, 2.6vw, 28px);
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
    text-decoration:none;
    transition:transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.gallery-panel__cta:hover,
.gallery-panel__cta:focus-visible {
    transform:translateY(-2px);
    border-color:rgba(255,255,255,.2);
    background:linear-gradient(180deg, rgba(34,42,35,.92), rgba(17,23,18,.96));
    box-shadow:0 18px 34px rgba(0,0,0,.22);
}

.gallery-intro {
  max-width:880px;
  margin-bottom:18px;
}

.gallery-thumb-grid {
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:12px;
}

.gallery-thumb {
    position:relative;
    display:block;
    overflow:hidden;
    aspect-ratio:4 / 3;
    min-height:0;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.04);
    box-shadow:0 14px 30px rgba(0,0,0,.16);
}

.gallery-thumb img {
    width:100%;
    height:100%;
    object-fit:cover;
    filter:saturate(.96) contrast(1.04) brightness(.86);
    transition:transform .35s ease, filter .35s ease;
}

.gallery-thumb:hover img {
    transform:scale(1.03);
    filter:saturate(1) contrast(1.06) brightness(.94);
}

.gallery-thumb::after {
    content:"";
    position:absolute;
    inset:0;
    background:
      radial-gradient(circle at 68% 44%, rgba(255,255,255,.12), transparent 18%),
      linear-gradient(180deg, rgba(255,255,255,.02), transparent 24%);
    mix-blend-mode:screen;
    pointer-events:none;
}

.gallery-thumb__overlay {
    position:absolute;
    left:10px;
    right:10px;
    bottom:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 10px;
    border-radius:12px;
    border:1px solid rgba(255,255,255,.12);
    background:linear-gradient(180deg, rgba(15,20,15,.72), rgba(10,14,11,.88));
    box-shadow:0 10px 24px rgba(0,0,0,.22);
    text-align:center;
    color:#fff7e6;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    opacity:0;
    transform:translateY(6px);
    transition:opacity .25s ease, transform .25s ease, background .25s ease;
}

.gallery-thumb:hover .gallery-thumb__overlay,
.gallery-thumb:focus-visible .gallery-thumb__overlay {
    opacity:1;
    transform:translateY(0);
}

@keyframes heroRadarFloat {
  0%, 100% { transform:translate3d(0, 0, 0); }
  50% { transform:translate3d(-6px, -8px, 0); }
}

@keyframes softWordReveal {
  0% {
    opacity:0;
    transform:translateY(8px);
    filter:blur(2px);
  }
  100% {
    opacity:1;
    transform:translateY(0);
    filter:blur(0);
  }
}

.fps-gallery {
  position:relative;
  display:grid;
  gap:16px;
}

.fps-gallery__stage {
  position:relative;
}

.fps-gallery__loading {
  position:absolute;
  inset:0;
  z-index:9;
  display:grid;
  place-content:center;
  gap:12px;
  padding:24px;
  text-align:center;
  border-radius:30px;
  background:
    radial-gradient(circle at center, rgba(28,88,106,.22), transparent 28%),
    linear-gradient(180deg, rgba(4,9,15,.96), rgba(4,9,15,.9));
  backdrop-filter:blur(4px);
}

.fps-gallery__loading[hidden] {
  display:none;
}

.fps-gallery__loading-logo {
  width:120px;
  margin:0 auto 2px;
  filter:drop-shadow(0 0 24px rgba(108,230,255,.22));
}

.fps-gallery__loading-badge {
  color:#73dcff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.fps-gallery__loading strong {
  color:#fff;
  font-size:30px;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.fps-gallery__loading p {
  margin:0;
  color:var(--muted);
}

.fps-gallery__loading-bar {
  width:min(420px, 100%);
  height:12px;
  margin:4px auto 0;
  overflow:hidden;
  border-radius:999px;
  border:1px solid rgba(115,220,255,.18);
  background:rgba(255,255,255,.05);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.16);
}

.fps-gallery__loading-bar span {
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg, rgba(60,148,176,.85), rgba(115,220,255,.98));
  box-shadow:0 0 18px rgba(115,220,255,.3);
  transition:width .18s ease;
}

.fps-gallery__loading small {
  color:#d7e8f3;
  font-size:12px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.fps-gallery__viewport {
  position:relative;
  height:760px;
  overflow:hidden;
  border-radius:30px;
  border:1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(108,230,255,.08), transparent 22%),
    linear-gradient(180deg, rgba(7,17,26,.98), rgba(3,8,14,.98));
  box-shadow:var(--shadow);
  touch-action:none;
}

.fps-gallery__viewport canvas {
  display:block;
  width:100%;
  height:100%;
}

.fps-gallery__css-layer {
  position:absolute;
  inset:0;
  pointer-events:none;
}

.fps-gallery__overlay {
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
}

.fps-gallery__prompt {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:280px;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(108,230,255,.18);
  background:rgba(7,17,26,.76);
  color:#dceaff;
  font-size:11px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  transition:opacity .2s ease, transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.fps-gallery__prompt.is-callout {
  border-color:rgba(108,230,255,.34);
  background:linear-gradient(180deg, rgba(10,24,39,.92), rgba(8,18,29,.88));
  box-shadow:0 0 26px rgba(108,230,255,.16);
  animation:fpsGalleryPromptPulse 1.8s ease-in-out infinite;
}

.fps-gallery__prompt.is-hidden {
  opacity:0;
}

@keyframes fpsGalleryPromptPulse {
  0%, 100% {
    transform:translateX(-50%) translateY(0);
    box-shadow:0 0 20px rgba(108,230,255,.12);
  }
  50% {
    transform:translateX(-50%) translateY(-4px);
    box-shadow:0 0 34px rgba(108,230,255,.22);
  }
}

.fps-gallery__crosshair {
  position:absolute;
  left:50%;
  top:50%;
  z-index:4;
  width:34px;
  height:34px;
  transform:translate(-50%, -50%);
  opacity:.45;
}

.fps-gallery__crosshair span {
  position:absolute;
  background:rgba(115,220,255,.85);
  box-shadow:0 0 12px rgba(115,220,255,.35);
}

.fps-gallery__crosshair span:first-child {
  left:50%;
  top:8px;
  width:1px;
  height:18px;
  transform:translateX(-50%);
}

.fps-gallery__crosshair span:last-child {
  top:50%;
  left:8px;
  width:18px;
  height:1px;
  transform:translateY(-50%);
}

.fps-gallery__video-screen {
  opacity:0;
  overflow:hidden;
  pointer-events:none;
  border-radius:20px;
  border:2px solid rgba(89,215,255,.45);
  background:#02060b;
  box-shadow:0 0 24px rgba(89,215,255,.18);
  transition:opacity .2s ease;
}

.fps-gallery__video-screen.is-active {
  opacity:1;
}

.fps-gallery__video-frame {
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#02060b;
}

.fps-gallery__lightbox {
  position:absolute;
  inset:0;
  z-index:8;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(3,7,12,.88);
  backdrop-filter:blur(10px);
}

.fps-gallery__lightbox[hidden] {
  display:none;
}

.fps-gallery__lightbox-panel {
  display:grid;
  gap:16px;
  width:min(1000px, 100%);
}

.fps-gallery__lightbox img {
  width:100%;
  max-height:72vh;
  object-fit:contain;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.1);
  background:#02060b;
}

.fps-gallery__lightbox iframe {
  width:100%;
  height:min(72vh, 620px);
  border:1px solid rgba(255,255,255,.1);
  border-radius:24px;
  background:#02060b;
}

.fps-gallery__lightbox-meta {
  display:grid;
  gap:8px;
  justify-items:start;
}

.fps-gallery__lightbox-close {
  position:absolute;
  top:20px;
  right:20px;
  background:rgba(8,18,29,.9);
}

.fps-gallery__touch {
  display:none;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
}

.fps-gallery__joystick {
  display:grid;
  gap:8px;
  justify-items:center;
}

.fps-gallery__joystick-label {
  color:rgba(220,234,255,.82);
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.fps-gallery__joystick-base {
  position:relative;
  width:118px;
  height:118px;
  border-radius:50%;
  border:1px solid rgba(108,230,255,.26);
  background:radial-gradient(circle at center, rgba(20,41,61,.9), rgba(7,17,26,.78));
  box-shadow:inset 0 0 24px rgba(108,230,255,.08), 0 0 24px rgba(0,0,0,.24);
  touch-action:none;
}

.fps-gallery__joystick-base::before,
.fps-gallery__joystick-base::after {
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  background:rgba(108,230,255,.12);
  transform:translate(-50%, -50%);
}

.fps-gallery__joystick-base::before {
  width:1px;
  height:74%;
}

.fps-gallery__joystick-base::after {
  width:74%;
  height:1px;
}

.fps-gallery__joystick-knob {
  position:absolute;
  left:50%;
  top:50%;
  width:48px;
  height:48px;
  margin-left:-24px;
  margin-top:-24px;
  border-radius:50%;
  border:1px solid rgba(108,230,255,.34);
  background:linear-gradient(180deg, rgba(111,236,255,.26), rgba(25,84,111,.92));
  box-shadow:0 0 16px rgba(108,230,255,.18);
}

.fps-gallery__rotate-notice {
  display:none;
  position:absolute;
  inset:0;
  z-index:7;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:12px;
  padding:24px;
  text-align:center;
  background:rgba(4,10,16,.92);
  backdrop-filter:blur(8px);
}

.fps-gallery__rotate-notice strong {
  color:#f7fbff;
  font-size:24px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.fps-gallery__rotate-notice span {
  max-width:280px;
  color:var(--muted);
  line-height:1.6;
}

.fps-gallery__legend {
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:12px;
}

.fps-gallery__legend--hidden {
  display:none !important;
}

.fps-gallery__legend-item {
  display:grid;
  gap:8px;
  padding:10px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}

.fps-gallery__legend-item img {
  width:100%;
  height:92px;
  object-fit:cover;
  border-radius:10px;
}

.fps-gallery__legend-item span {
  color:#fff;
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.rules-grid { grid-template-columns:repeat(2, 1fr); }
.rule-card ul { padding-left:18px; margin-bottom:0; }
.rule-card li + li { margin-top:10px; }

.site-footer { width:min(1320px, calc(100% - 32px)); margin:12px auto 40px; }
.footer-card {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding:28px 32px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  border-radius:30px;
  background:
    linear-gradient(135deg, rgba(17,25,19,.84), rgba(11,17,13,.72)),
    radial-gradient(circle at top left, rgba(255,240,199,.08), transparent 28%),
    radial-gradient(circle at right center, rgba(118,171,118,.08), transparent 24%);
  box-shadow:var(--shadow);
}
.footer-card::before {
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.06), transparent 18%, transparent 82%, rgba(255,255,255,.04)),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent 26%);
  pointer-events:none;
}
.footer-copy {
  position:relative;
  z-index:1;
  display:grid;
  gap:10px;
  max-width:620px;
}
.footer-eyebrow {
  display:inline-flex;
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(241,222,178,.18);
  background:rgba(241,222,178,.08);
  color:#f1deb2;
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.footer-copy h3 {
  margin:0;
  color:#fff7e6;
  font-size:clamp(28px, 3.1vw, 40px);
  letter-spacing:.04em;
  text-transform:uppercase;
}
.footer-copy p {
  margin:0;
  color:#ece2cc;
  line-height:1.75;
  font-size:16px;
}
.footer-links {
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
.footer-links a {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.04);
  color:#fff4dc;
  font-weight:700;
  text-decoration:none;
  transition:transform .22s ease, border-color .22s ease, background .22s ease;
}
.footer-links a:hover,
.footer-links a:focus-visible {
  transform:translateY(-2px);
  border-color:rgba(241,222,178,.24);
  background:rgba(241,222,178,.08);
}

@media (max-width:1100px) {
  .hero,
  .server-grid,
  .steps-grid,
  .rules-grid,
  .stats-grid { grid-template-columns:1fr 1fr; }
  .hero { grid-template-columns:1fr; }
  .fps-gallery__legend { grid-template-columns:repeat(4, minmax(0, 1fr)); }
}

@media (max-width:860px) {
  :root { --header-height:88px; }
  .site-header { flex-wrap:wrap; }
  .menu-toggle { display:inline-flex; }
  .site-nav {
    display:none;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    padding-top:12px;
    border-top:1px solid var(--line);
  }
  .site-nav.is-open { display:flex; }
  .nav-group__menu { position:static; display:grid; margin-top:8px; }
  .hero,
  .stats-grid,
  .server-grid,
  .steps-grid,
  .support-grid,
  .rules-grid,
  .footer-card {
    grid-template-columns:1fr;
    flex-direction:column;
  }
  .fps-gallery__viewport { height:620px; }
  .hero { padding:28px 20px; }
  .hero--home { min-height:calc(100dvh - var(--header-height)); }
  .hero__video-bg iframe { opacity:.94; transform:translate(-50%, -50%) scale(1.12); }
  .hero-radar { width:120px; height:120px; right:14px; bottom:14px; opacity:.22; }
  .hero__content { width:100%; }
  .feature-panel--connect { grid-template-columns:1fr; }
  .rules-sheet__intro {
    margin-bottom:24px;
    padding-bottom:18px;
  }
  .rules-sheet__section h3 {
    font-size:clamp(20px, 3vw, 28px);
  }
  .feature-panel__copy,
  .steps-grid--connect,
  .feature-panel__visual { order:initial; }
    .gallery-thumb-grid { grid-template-columns:repeat(4, minmax(0, 1fr)); }
  .support-layout { grid-template-columns:1fr; }
  .site-main,
  .site-footer { width:min(100%, calc(100% - 20px)); }
  .fps-gallery__legend { grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .server-card__footer { flex-direction:column; align-items:flex-start; }
}

@media (max-width:560px) {
  :root { --header-height:82px; }
  body { background-attachment:scroll; }
  .site-header { padding:16px; }
  .brand img { width:46px; height:46px; }
  .hero h1,
  .section-heading h2,
  .rule-card h2 { font-size:30px; letter-spacing:.05em; }
  .hero__subtitle { font-size:16px; letter-spacing:.12em; }
  .button { width:100%; }
  .gallery-panel {
    padding:14px;
    border-radius:24px;
  }
  .gallery-panel__header {
    margin-bottom:14px;
    padding:16px 18px;
    border-radius:18px;
  }
  .rules-sheet {
    padding:20px 18px;
    border-radius:24px;
  }
  .rules-sheet__section {
    padding-top:18px;
  }
  .rules-sheet__section-head {
    grid-template-columns:1fr;
    gap:10px;
  }
  .rules-sheet__index {
    min-width:36px;
    width:max-content;
    height:36px;
    font-size:11px;
  }
  .rules-sheet__intro h2 {
    font-size:28px;
    line-height:1.14;
  }
  .rules-sheet__section h3 {
    font-size:24px;
    line-height:1.18;
  }
  .rules-sheet__list {
    padding-left:22px;
    gap:12px;
  }
  .rules-sheet__list li {
    font-size:17px;
    line-height:1.75;
  }
      .gallery-thumb-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
      .gallery-thumb { border-radius:16px; }
      .gallery-thumb__overlay {
      left:8px;
      right:8px;
      bottom:8px;
      min-height:34px;
      padding:7px 8px;
      font-size:10px;
      letter-spacing:.1em;
      opacity:1;
      transform:none;
    }
  .support-card--featured { flex-direction:column; }
  .support-card__logo-wrap { width:100px; min-width:100px; height:100px; }
  .server-card__topline { flex-direction:column; align-items:flex-start; }
  .feature-panel__actions { flex-direction:column; }
  .server-card__overlay { inset:auto 10px 10px 10px; flex-direction:column; align-items:flex-start; }
  .section--panel,
  .stat-card,
  .step-card,
  .support-card,
  .rule-card,
  .server-card__body,
  .footer-card { padding:18px; }
  .server-card img { height:200px; }
  .fps-gallery__viewport { height:440px; border-radius:22px; }
  .fps-gallery__touch { display:flex; position:absolute; left:18px; right:18px; bottom:18px; z-index:6; pointer-events:none; }
  .fps-gallery__joystick { pointer-events:auto; }
  .fps-gallery__joystick-base { width:104px; height:104px; }
  .fps-gallery__joystick-knob { width:42px; height:42px; margin-left:-21px; margin-top:-21px; }
  .fps-gallery__loading-logo { width:92px; }
  .fps-gallery__loading strong { font-size:24px; }
  .fps-gallery__crosshair { width:26px; height:26px; }
  .fps-gallery__prompt {
    bottom:134px;
    max-width:calc(100% - 28px);
    text-align:center;
  }
  .fps-gallery__lightbox {
    padding:16px;
  }
  .fps-gallery__lightbox img {
    max-height:60vh;
    border-radius:18px;
  }
  .fps-gallery__lightbox iframe {
    height:min(54vh, 360px);
    border-radius:18px;
  }
  .fps-gallery__lightbox-close {
    top:14px;
    right:14px;
  }
  .fps-gallery__legend { grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .fps-gallery__legend-item img { height:78px; }
}

@media (max-width:860px) and (orientation:landscape) {
  .fps-gallery__viewport {
    height:calc(100vh - 120px);
    min-height:420px;
  }

  .fps-gallery__touch {
    display:flex;
    position:absolute;
    left:20px;
    right:20px;
    bottom:20px;
    z-index:6;
    pointer-events:none;
  }

  .fps-gallery__joystick {
    pointer-events:auto;
  }
}

@media (max-width:860px) and (orientation:portrait) {
  .fps-gallery__rotate-notice {
    display:flex;
  }
}

.fps-gallery:fullscreen {
  width:100vw;
  height:100vh;
  max-width:none;
  padding:0;
  margin:0;
}

.fps-gallery:fullscreen .fps-gallery__stage {
  height:100vh;
}

.fps-gallery:fullscreen .fps-gallery__viewport {
  height:100vh;
  min-height:100vh;
  border-radius:0;
  border:0;
}

.fps-gallery:fullscreen .fps-gallery__touch {
  position:absolute;
  left:20px;
  right:20px;
  bottom:20px;
  z-index:6;
}

@media (max-width:860px) {
  .fps-gallery:fullscreen .fps-gallery__viewport {
    height:100dvh;
    min-height:100dvh;
  }

  .fps-gallery:fullscreen .fps-gallery__stage {
    height:100dvh;
  }
}
