:root {
  --bg: #09090d;
  --bg-alt: #121218;
  --bg-soft: #17191f;
  --panel: rgba(17, 18, 25, 0.8);
  --panel-strong: rgba(22, 23, 33, 0.94);
  --text: #f7f7fb;
  --muted: #b3afc6;
  --muted-strong: #dfe4f7;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.15);
  --red: #f13b3e;
  --red-strong: #ff5b60;
  --red-soft: rgba(241, 59, 62, 0.14);
  --shadow: rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: 1180px;
}

body.light {
  --bg: #f5f7fb;
  --bg-alt: #edf2fb;
  --bg-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --text: #12141b;
  --muted: #586173;
  --muted-strong: #273142;
  --line: rgba(15, 21, 33, 0.1);
  --line-strong: rgba(12, 16, 21, 0.2);
  --red-soft: rgba(241, 59, 62, 0.08);
  --shadow: rgba(15, 23, 32, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(241, 59, 62, 0.12), transparent 32%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.container, .section-wrap { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
::selection { background: rgba(241, 59, 62, 0.2); color: var(--text); }

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff7677);
  z-index: 60;
  box-shadow: 0 0 18px rgba(241, 59, 62, 0.7);
}

.site-loader[hidden] { display: none !important; }
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(114, 18, 24, 0.24), transparent 38%),
    #09090d;
  color: #f7f7fb;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 260ms ease, visibility 260ms ease;
}
.site-loader::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 0, transparent 72%);
  content: "";
  pointer-events: none;
}
.site-loader.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.site-loader.is-exiting { opacity: 0; pointer-events: none; }
.site-loader-content {
  position: relative;
  display: flex;
  width: min(100% - 40px, 340px);
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  text-align: center;
}
.site-loader-mark {
  position: relative;
  display: grid;
  width: 184px;
  height: 184px;
  flex: 0 0 auto;
  place-items: center;
  isolation: isolate;
}
.site-loader-mark::before {
  position: absolute;
  z-index: -1;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 59, 62, 0.3), rgba(241, 59, 62, 0.08) 48%, transparent 72%);
  content: "";
  opacity: 0;
  transform: scale(0.82);
  animation: none;
  transition: opacity 700ms ease, transform 850ms ease;
}
.site-loader-ring {
  position: absolute;
  z-index: -1;
  inset: 4px;
  border: 1px solid rgba(255, 91, 96, 0.32);
  border-right-color: rgba(255, 91, 96, 0.04);
  border-left-color: rgba(255, 91, 96, 0.04);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-25deg) scaleY(0.72);
  transition: opacity 500ms ease;
}
.site-loader-frame {
  position: absolute;
  z-index: -1;
  inset: 13px;
  border: 1px solid rgba(255, 91, 96, 0.16);
  border-radius: 24px;
  opacity: 0;
  transform: rotate(45deg) scale(0.78, 0.92);
  transition: opacity 650ms ease, transform 1s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.site-loader-logo {
  display: block;
  width: 142px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  clip-path: inset(100% 0 0);
  transform: scale(0.88);
}
.site-loader-wordmark {
  display: block;
  width: min(270px, 78vw);
  height: auto;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 550ms 100ms ease, transform 550ms 100ms ease;
}
.site-loader-progress {
  position: relative;
  width: min(220px, 72vw);
  height: 3px;
  overflow: hidden;
  margin-top: 30px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}
.site-loader-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ff777a);
  box-shadow: 0 0 12px rgba(241, 59, 62, 0.65);
  transform: translateX(-110%);
}
.site-loader-message {
  margin: 14px 0 0;
  color: #b3afc6;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 500ms 180ms ease;
}
.site-loader.is-visible .site-loader-mark::before {
  opacity: 1;
  transform: scale(1);
  animation: glafinite-loader-ambient 3.6s 850ms ease-in-out infinite;
}
.site-loader.is-visible .site-loader-ring {
  opacity: 1;
  animation: glafinite-loader-ring 18s linear infinite;
}
.site-loader.is-visible .site-loader-frame {
  opacity: 1;
  transform: rotate(0) scale(1);
}
.site-loader.is-visible .site-loader-logo {
  animation: glafinite-loader-logo-reveal 950ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}
.site-loader.is-visible .site-loader-wordmark,
.site-loader.is-visible .site-loader-message {
  opacity: 1;
  transform: translateY(0);
}
.site-loader.is-visible .site-loader-progress span {
  animation: glafinite-loader-progress 1.45s ease-in-out infinite;
}
@keyframes glafinite-loader-ring {
  to { transform: rotate(335deg) scaleY(0.72); }
}
@keyframes glafinite-loader-ambient {
  0%, 100% { opacity: 0.82; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes glafinite-loader-logo-reveal {
  0% { clip-path: inset(100% 0 0); opacity: 0; transform: scale(0.88); }
  72% { clip-path: inset(0); opacity: 1; transform: scale(1.025); }
  100% { clip-path: inset(0); opacity: 1; transform: scale(1); }
}
@keyframes glafinite-loader-progress {
  0% { transform: translateX(-110%); }
  55% { transform: translateX(155%); }
  100% { transform: translateX(290%); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(9, 9, 13, 0.72);
  border-bottom: 1px solid var(--line);
}
body.light .site-header { background: rgba(245, 247, 251, 0.82); }
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}
.logo-frame, .footer-logo {
  width: 44px; height: 44px; border-radius: 14px; overflow: hidden; background: white; display: grid; place-items: center; border: 1px solid var(--line);
}
.logo-frame img, .footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-word, .footer-brand b { font-size: 1.45rem; letter-spacing: 1.5px; }
.brand-word { display: block; width: 174px; line-height: 0; }
.brand-word img { width: 100%; height: auto; }
.footer-brand b {
  display: block;
  line-height: 0;
}
.footer-brand b img {
  display: block;
  height: 25px;
  width: auto;
}
.brand-word span, .footer-brand span { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 18px; color: var(--muted); }
.nav-links a, .nav-links button {
  border: 0; background: transparent; color: inherit; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
}
.nav-links a:hover, .command-trigger:hover, .theme-toggle:hover { color: var(--text); }
.theme-toggle, .command-trigger {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); color: var(--muted);
}
.nav-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.login-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .02em;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.login-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.login-button:hover { background: var(--red-soft); color: var(--red-strong); transform: translateY(-1px); }
.login-button:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--red-strong); outline-offset: 3px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.menu-toggle:hover { background: var(--red-soft); }
.menu-toggle:active { transform: scale(.96); }
.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform .22s ease, width .22s ease;
}
.menu-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
.login-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 20px;
  place-items: center;
  overflow: auto;
  border: 0;
  background: transparent;
  color: var(--text);
}
.login-dialog[open] { display: grid; }
.login-dialog::backdrop { background: rgba(4,5,9,.76); backdrop-filter: blur(7px); }
.login-dialog-panel {
  position: relative;
  width: min(100%, 440px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  padding: 38px;
  overflow-y: auto;
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--red-strong);
  border-radius: 20px;
  background: var(--panel-strong);
  box-shadow: 0 26px 90px var(--shadow), 0 0 36px rgba(241,59,62,.1);
  animation: login-dialog-in .22s ease both;
}
.login-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
}
.login-dialog-close:hover { border-color: var(--red-strong); color: var(--red-strong); }
.login-dialog-mark { display: grid; width: 46px; height: 46px; margin-bottom: 22px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--red-soft); color: var(--red-strong); }
.login-dialog-mark svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.login-dialog-panel .eyebrow { margin: 0 0 8px; }
.login-dialog-panel h2 { margin: 0; font-size: clamp(1.7rem, 6vw, 2rem); letter-spacing: -.04em; }
.login-dialog-message { margin: 14px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.auth-unavailable, .auth-error, .auth-success {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--muted-strong);
  font-size: .84rem;
  line-height: 1.6;
}
.auth-unavailable { border-color: var(--line-strong); }
.auth-unavailable p { margin: 6px 0 0; color: var(--muted); }
.auth-error { border-color: rgba(241,59,62,.45); color: var(--red-strong); }
.auth-success { border-color: rgba(241,59,62,.35); }
.auth-form { display: grid; gap: 9px; margin-top: 20px; }
.auth-form[hidden], .auth-forms[hidden] { display: none; }
.auth-form > label:not(.auth-terms) { margin-top: 5px; color: var(--muted-strong); font-size: .78rem; font-weight: 700; }
.auth-form > input, .auth-password-field input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: 0;
  background: var(--bg-alt);
  color: var(--text);
  font-size: .88rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.auth-form input:focus-visible { border-color: var(--red-strong); box-shadow: 0 0 0 3px var(--red-soft); }
.auth-form input[aria-invalid="true"] { border-color: var(--red-strong); }
.auth-password-field { position: relative; display: flex; align-items: center; }
.auth-password-field input { padding-right: 62px; }
.auth-password-toggle {
  position: absolute;
  right: 8px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--red-strong);
  font-size: .72rem;
  font-weight: 700;
}
.auth-password-toggle:focus-visible, .auth-text-button:focus-visible { outline: 2px solid var(--red-strong); outline-offset: 2px; }
.auth-field-hint, .auth-form-intro { color: var(--muted); font-size: .74rem; line-height: 1.55; }
.auth-form-intro { margin: 0 0 5px; font-size: .84rem; }
.auth-field-error { color: var(--red-strong); font-size: .74rem; }
.auth-form-options { display: flex; justify-content: flex-end; margin: 0 0 3px; }
.auth-text-button { padding: 0; border: 0; background: transparent; color: var(--red-strong); font-size: .78rem; font-weight: 700; }
.auth-terms { display: flex; align-items: flex-start; gap: 9px; margin: 6px 0; color: var(--muted); font-size: .74rem; line-height: 1.5; }
.auth-terms input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--red); }
.auth-terms a { color: var(--red-strong); text-decoration: underline; text-underline-offset: 2px; }
.auth-submit {
  min-height: 46px;
  margin-top: 6px;
  border: 1px solid var(--red);
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: .84rem;
  font-weight: 800;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.auth-submit:hover:not(:disabled) { background: var(--red-strong); box-shadow: 0 0 22px rgba(241,59,62,.25); transform: translateY(-1px); }
.auth-submit:disabled { cursor: wait; opacity: .65; }
.auth-form-switch { margin: 8px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }
.account-control { display: flex; align-items: center; gap: 8px; max-width: min(34vw, 260px); }
.account-control[hidden] { display: none; }
.account-display-name { overflow: hidden; color: var(--muted-strong); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.account-logout { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted-strong); font-size: .7rem; }
.account-logout:hover { border-color: var(--red-strong); color: var(--red-strong); }
@keyframes login-dialog-in { from { opacity: 0; transform: translateY(9px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.menu-toggle span { width: 18px; height: 2px; border-radius: 999px; background: var(--text); }

.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 30px; padding: 72px 0 56px;
}
.eyebrow {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; color: var(--red-strong); margin-bottom: 18px; text-transform: uppercase;
}
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 999px; background: var(--red); box-shadow: 0 0 18px rgba(241,59,62,0.9); margin-right: 9px; transform: translateY(-1px);
}
.hero h1 { margin: 0; font-size: clamp(2.8rem, 5.2vw, 5rem); line-height: 0.98; letter-spacing: -0.06em; }
.hero h1 span, .section-heading h2 span, .about-copy h2 span, .developer-panel h2 span, .stats-header h2 span { color: var(--red); }
.hero-description { max-width: 590px; margin: 20px 0 24px; font-size: 1rem; color: var(--muted); }
.search-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.search-box {
  display: flex; align-items: center; gap: 10px; min-width: min(100%, 420px); width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--muted);
}
.search-box span { font-size: 1.4rem; line-height: 1; }
.search-box input {
  width: 100%; padding: 0; border: 0; background: transparent; color: var(--text); outline: none; font-size: 0.9rem;
}
.search-box input::placeholder { color: var(--muted); }
.button {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid transparent; font-weight: 800; transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  padding: 12px 18px; background: linear-gradient(135deg, var(--red), #ff676d); color: white; box-shadow: 0 18px 35px rgba(241,59,62,0.24);
}
.hero-cta {
  position: relative;
  isolation: isolate;
  min-height: 50px;
  gap: 14px;
  padding: 0 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 194, 153, 0.55);
  border-radius: 3px 13px 3px 13px;
  background: linear-gradient(112deg, #ff713e 0%, #f13b3e 54%, #bd202f 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 -2px 0 rgba(83,10,18,.25), 0 9px 24px rgba(241,59,62,.22);
  color: #fff;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .035em;
  white-space: nowrap;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}
.hero-cta::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 24%, rgba(255,255,255,.24) 43%, rgba(255,255,255,.07) 51%, transparent 67%);
  content: "";
  transform: translateX(-125%);
}
.hero-cta:hover {
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(255, 215, 182, .9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(83,10,18,.2), 0 12px 30px rgba(241,59,62,.36), 0 0 18px rgba(255,104,59,.22);
  filter: saturate(1.08);
}
.hero-cta:hover::before { animation: hero-cta-sweep .75s ease-out both; }
.hero-cta:active { transform: translateY(0) scale(.98); }
.hero-cta:focus-visible {
  outline: 3px solid #ffb16e;
  outline-offset: 4px;
  filter: drop-shadow(0 0 3px #ffb16e);
}
.hero-cta svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .22s ease;
}
.hero-cta:hover svg { transform: translateX(4px); }
@keyframes hero-cta-sweep {
  to { transform: translateX(125%); }
}
.button-ghost { padding: 10px 15px; border-color: var(--line); background: transparent; color: var(--text); }
.hero-stats { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats strong { font-size: clamp(1.3rem, 2vw, 1.75rem); }
.hero-stats span { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.15em; }
.hero-stats i { width: 1px; height: 32px; background: var(--line); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 470px; }
.hero-logo-card {
  position: relative; width: min(82%, 360px); aspect-ratio: 1; border-radius: 32px; padding: 18px; background: linear-gradient(145deg, rgba(255,255,255,0.97), rgba(255,255,255,0.84)); border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 25px 80px rgba(0,0,0,0.42), 0 0 55px rgba(241,59,62,0.18); transform: rotate(-5deg);
}
.hero-logo-card img { width: 100%; height: 100%; object-fit: contain; border-radius: 22px; }
.logo-caption { position: absolute; inset: auto 0 18px 0; text-align: center; color: #666; letter-spacing: 0.24em; font-size: 0.6rem; font-weight: 900; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(241,59,62,0.35); }
.orbit-a { width: 390px; height: 390px; transform: rotate(-20deg); }
.orbit-b { width: 450px; height: 280px; border-color: rgba(255,255,255,0.12); transform: rotate(28deg); }
.floating-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: rgba(23,23,32,0.9); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: 0 22px 42px rgba(0,0,0,0.26); }
.floating-chip b, .floating-chip small { display: block; }
.floating-chip b { font-size: 0.72rem; }
.floating-chip small { font-size: 0.58rem; color: var(--muted); }
.chip-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,0.05); }
.chip-icon.red { background: rgba(241,59,62,0.15); color: var(--red); }
.chip-top { top: 30px; right: 20px; }
.chip-bottom { left: 10px; bottom: 34px; }

.feature-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 8px; margin-bottom: 50px; }
.feature-strip article {
  display: flex; align-items: flex-start; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px;
}
.feature-strip span {
  display: grid; place-items: center; width: 38px; height: 38px; background: rgba(241,59,62,0.12); color: var(--red); border-radius: 10px; font-size: 1.1rem;
}
.feature-strip h3 { margin: 0 0 6px; font-size: 1rem; }
.feature-strip p { margin: 0; color: var(--muted); font-size: 0.8rem; }

.projects { padding-top: 26px; padding-bottom: 80px; }
.section-heading {
  display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px;
}
.section-heading h2, .developer-panel h2, .stats-header h2, .about-copy h2 {
  margin: 0; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; letter-spacing: -0.06em;
}
.section-heading p { margin: 10px 0 0; color: var(--muted); }
.project-total {
  display: inline-flex; align-items: center; gap: 10px; min-width: 150px; justify-content: center; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 18px; color: var(--muted);
}
.project-total strong { color: var(--text); font-size: 1.85rem; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 24px 0 18px; }
.toolbar .search-box { flex: 1 1 320px; max-width: 420px; }
.toolbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sort-control {
  display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.8rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px;
}
.sort-control select { background: transparent; border: 0; color: var(--text); outline: none; }
.filter-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 10px; font-weight: 700; font-size: 0.74rem;
}
.filter.active { background: var(--red-soft); border-color: rgba(241,59,62,0.4); color: var(--red-strong); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 280px; padding: 20px 18px 18px; background: linear-gradient(145deg, rgba(22,22,31,0.96), rgba(14,14,20,0.96)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
body.light .project-card { background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(245,247,251,0.96)); }
.project-card:hover { transform: translateY(-4px); border-color: rgba(241,59,62,0.35); box-shadow: 0 25px 45px rgba(0,0,0,0.18); }
.project-card::before {
  content: ''; position: absolute; top: -70px; right: -70px; width: 180px; height: 180px; border-radius: 50%; background: var(--card-color, var(--red)); opacity: 0.08; filter: blur(30px);
}
.card-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.project-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--card-light, rgba(241,59,62,0.12)); color: var(--card-color, var(--red)); border: 1px solid rgba(255,255,255,0.1); font-size: 1.5rem; font-weight: 800;
}
.card-badges { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.project-category, .feature-pill {
  padding: 5px 9px; border-radius: 999px; font-size: 0.6rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
}
.project-category { background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: var(--muted); }
.feature-pill { background: rgba(241,59,62,0.12); color: var(--red); }
.project-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-card h3 { margin: 0; font-size: 1.3rem; letter-spacing: -0.04em; }
.favorite-toggle {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 1.1rem;
}
.favorite-toggle.active { background: rgba(255, 202, 87, 0.12); border-color: rgba(255, 202, 87, 0.28); color: #ffc857; }
.project-card p { margin: 0; color: var(--muted); font-size: 0.83rem; line-height: 1.7; }
.project-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.tag-list { display: flex; gap: 7px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); padding: 5px 8px; font-size: 0.64rem; color: var(--muted);
}
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.card-link {
  display: inline-flex; align-items: center; justify-content: center; flex: 1 1 130px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,0.02); color: var(--text); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
}
.card-link.primary { background: rgba(241,59,62,0.12); border-color: rgba(241,59,62,0.35); color: var(--red-strong); }
.card-link.disabled, button.disabled { opacity: 0.55; cursor: not-allowed; }
.empty-state {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; text-align: center; padding: 52px 20px; color: var(--muted);
}
.empty-state > div { font-size: 2rem; margin-bottom: 8px; }
.empty-state h3 { color: var(--text); margin: 0 0 8px; }
.categories { padding: 12px 0 84px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.category-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px; }
.category-icon {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(241,59,62,0.12); color: var(--red); font-size: 1.2rem;
}
.category-card h3 { margin: 18px 0 8px; font-size: 1.1rem; }
.category-card p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.developer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 80px; }
.panel-box { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px 22px; }
.info-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.info-list li { position: relative; padding-left: 20px; color: var(--muted); }
.info-list li::before { content: '•'; position: absolute; left: 0; color: var(--red); }
.update-list { display: grid; gap: 16px; margin-top: 12px; }
.update-list article { display: grid; grid-template-columns: minmax(0, 90px) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.update-list article > div { min-width: 0; }
.update-list article:first-child { border-top: 0; padding-top: 0; }
.update-list span { overflow-wrap: anywhere; color: var(--red); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.64rem; }
.update-list h3 { margin: 0 0 6px; font-size: 1rem; }
.update-list h3,
.update-list p { overflow-wrap: anywhere; }
.update-list p { margin: 0; color: var(--muted); font-size: 0.8rem; }
.stats-panel { padding-bottom: 100px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px; }
.stats-grid article { min-width: 0; padding: 18px 12px; display: grid; grid-template-columns: 52px minmax(0,1fr); align-items: center; gap: 14px; }
.stats-grid strong { display: block; color: #fff; font-size: clamp(2rem, 3vw, 2.8rem); font-variant-numeric: tabular-nums; letter-spacing: -0.065em; line-height: 1; }
.stats-grid span { display: block; color: var(--muted-strong); font-size: 0.84rem; }
.stats-grid small { display: block; color: var(--muted); font-size: 0.67rem; line-height: 1.5; }
.stats-header { position: relative; z-index: 1; margin-bottom: 28px; }
.stats-header h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.7rem); letter-spacing: -.065em; line-height: 1.04; }
.stats-header h2 span { color: #ff7050; }
.stats-system-status { max-width: 560px; margin: 14px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.stats-grid .signal-stat { position: relative; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.signal-icon { display: grid; width: 52px; height: 52px; place-items: center; color: #ff7652; filter: drop-shadow(0 0 8px rgba(241,59,62,.3)); transition: color .24s ease, filter .24s ease, transform .24s ease; }
.signal-icon::before { position: absolute; width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle,rgba(241,59,62,.2),rgba(241,59,62,.045) 53%,transparent 72%); content: ""; }
.signal-icon svg { position: relative; width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.signal-icon-projects svg { stroke-width: 1.45; }
.signal-icon-visitors svg { stroke-width: 1.8; }
.signal-icon-views svg { stroke-width: 1.55; }
.signal-icon-github svg { stroke-width: 1.8; }
.signal-stat-copy { display: grid; min-width: 0; gap: 7px; }
.signal-stat-copy > span { color: var(--muted-strong); font-size: .78rem; font-weight: 750; letter-spacing: .035em; }
.signal-stat-copy > small { min-height: 1em; overflow-wrap: anywhere; }
.stats-panel { position: relative; isolation: isolate; }
.stats-panel::before { position: absolute; z-index: -1; top: 24%; right: 2%; bottom: 8%; left: 2%; background: radial-gradient(ellipse at center,rgba(241,59,62,.075),transparent 68%); content: ""; opacity: .4; pointer-events: none; }
.stats-panel::after { position: absolute; z-index: -1; top: 25%; bottom: 8%; left: 0; width: 1px; background: linear-gradient(transparent,rgba(255,106,75,.52),transparent); content: ""; opacity: 0; pointer-events: none; }
.stats-panel.is-visible::after { animation: signal-scan 2.4s ease-in-out 1 both; }
@keyframes signal-scan { 0% { left: 0; opacity: 0; } 15% { opacity: .75; } 85% { opacity: .45; } 100% { left: 100%; opacity: 0; } }
body.light .stats-grid strong { color: #17151b; }
body.light .stats-header h2 span { color: #b6382f; }
body.light .signal-icon { color: #b6382f; filter: drop-shadow(0 0 7px rgba(190,45,44,.18)); }
body.light .signal-icon::before { background: radial-gradient(circle,rgba(190,45,44,.14),rgba(190,45,44,.035) 53%,transparent 72%); }
body.light .stats-panel::before { background: radial-gradient(ellipse at center,rgba(190,45,44,.055),transparent 68%); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .signal-stat:hover .signal-icon { color: #ff9a68; filter: drop-shadow(0 0 12px rgba(241,59,62,.56)); transform: translateY(-3px) scale(1.04); }
  .signal-stat:hover .signal-stat-copy > strong { color: #ff825a; text-shadow: 0 0 22px rgba(241,59,62,.26); }
  body.light .signal-stat:hover .signal-stat-copy > strong { color: #b6382f; text-shadow: 0 0 18px rgba(190,45,44,.15); }
}
.about-section { padding-bottom: 82px; }
.about-panel { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: 32px; align-items: center; background: linear-gradient(135deg, rgba(23,18,24,0.94), rgba(12,12,18,0.94)); border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px; }
body.light .about-panel { background: linear-gradient(135deg, rgba(246,247,252,0.96), rgba(242,246,255,0.96)); }
.about-mark { width: 100%; max-width: 280px; margin: 0 auto; padding: 12px; border-radius: 28px; border: 1px solid var(--line); background: rgba(255,255,255,0.06); }
.about-copy p { margin: 18px 0 0; color: var(--muted); }
.feature-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.feature-row span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.02); color: var(--muted-strong); font-size: 0.78rem; font-weight: 700;
}
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 44px; }
.footer-shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand-wrap { display: grid; gap: 8px; }
.footer-brand-wrap p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; color: var(--muted); font-size: 0.78rem; }
.copyright { color: var(--muted); font-size: 0.76rem; }
.legal-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 6px 0 78px; }
.legal-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px 18px; }
.legal-icon {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; background: rgba(241,59,62,0.12); color: var(--red); margin-bottom: 16px;
}
.legal-card h2 { margin: 0 0 10px; font-size: 1.5rem; }
.legal-card p { margin: 0 0 14px; color: var(--muted); font-size: 0.83rem; }
.legal-small { font-size: 0.72rem !important; text-transform: uppercase; letter-spacing: 0.08em; }
.back-top {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: rgba(17,18,25,0.9); color: var(--text); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.command-palette { position: fixed; inset: 0; display: none; place-items: center; z-index: 80; }
.command-palette.open { display: grid; }
.command-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.52); }
.command-panel {
  position: relative; width: min(620px, calc(100% - 24px)); background: rgba(17,18,25,0.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 25px 70px rgba(0,0,0,0.45); overflow: hidden;
}
.command-field { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 14px 16px; color: var(--muted); }
.command-field input { width: 100%; border: 0; background: transparent; color: var(--text); outline: none; font-size: 0.92rem; }
.command-results { display: grid; max-height: 380px; overflow: auto; }
.command-item {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.04); color: var(--text); padding: 12px 16px; text-align: left;
}
.command-item:hover { background: rgba(255,255,255,0.03); }
.command-item small { color: var(--muted); }
.command-empty { padding: 20px 16px; color: var(--muted); }
.toast-container { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 10px; z-index: 100; }
.toast {
  min-width: 200px; max-width: 260px; padding: 10px 12px; background: rgba(15,18,27,0.94); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,0.24); opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.pulse { animation: pulse-ring 0.55s ease; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(241,59,62,0.4); } 100% { box-shadow: 0 0 0 22px rgba(241,59,62,0); } }

@media (max-width: 980px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .developer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-panel { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .nav-shell { gap: 10px; }
  .brand { gap: 8px; }
  .brand-word { width: 142px; }
  .nav-links { gap: 8px; }
  .nav-links a, .nav-links button { font-size: .7rem; }
  .nav-actions { gap: 6px; }
  .login-button { min-height: 38px; gap: 6px; padding-inline: 7px; }
}
@media (max-width: 760px) {
  .nav-shell { position: relative; gap: 10px; min-height: 72px; }
  .brand { gap: 8px; }
  .brand-word { width: 140px; }
  .nav-actions { gap: 6px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: calc(100% + 8px); right: 16px; left: 16px; display: none; flex-direction: column; align-items: flex-start; padding: 14px 16px; background: rgba(17,18,25,0.96); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  }
  .nav-links.open { display: flex; }
  .project-grid, .category-grid, .feature-strip { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .toolbar { align-items: stretch; }
  .toolbar .search-box { max-width: none; }
  .toolbar-actions { width: 100%; justify-content: space-between; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .footer-shell { align-items: flex-start; flex-direction: column; }
  .about-panel { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .nav-shell { gap: 8px; }
  .brand { gap: 7px; }
  .logo-frame { width: 36px; height: 36px; }
  .brand-word { width: clamp(92px, 31vw, 112px); }
  .nav-actions { gap: 5px; }
  .login-button { min-height: 36px; gap: 5px; padding-inline: 6px; font-size: .72rem; }
  .login-button svg { width: 15px; height: 15px; }
  .menu-toggle { width: 38px; height: 38px; }
  .login-dialog-panel { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 32px 24px 26px; }
}
@media (max-width: 480px) {
  .stats-grid { gap: 16px 8px; }
  .stats-grid article { grid-template-columns: 38px minmax(0,1fr); gap: 8px; padding: 12px 3px; }
  .signal-icon,
  .signal-icon::before { width: 38px; height: 38px; }
  .signal-icon svg { width: 33px; height: 33px; }
  .stats-grid strong { font-size: clamp(1.55rem, 8vw, 2rem); }
  .signal-stat-copy { gap: 5px; }
  .signal-stat-copy > span { font-size: .7rem; }
  .signal-stat-copy > small { font-size: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .stats-panel.is-visible::after { display: none; }
}

footer.site-footer {
  display: block;
  width: 100%;
  padding: 26px 0 18px;
}
.site-footer .footer-shell {
  display: flex;
  width: min(var(--container), calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
}
.site-footer .footer-links,
.site-footer .footer-legal-links {
  display: flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.76rem;
}
.site-footer .footer-links a,
.site-footer .footer-legal-links a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.site-footer .footer-links a:hover,
.site-footer .footer-legal-links a:hover {
  color: var(--red-strong);
  text-shadow: 0 0 14px rgba(241, 59, 62, 0.32);
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.social-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #d6d7df;
  transition: color 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}
.social-link svg { width: 19px; height: 19px; fill: currentColor; transition: filter 0.2s ease; }
.social-link[data-social-name="Instagram"] svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.social-link[data-social-name="Instagram"] .social-icon-dot { fill: currentColor; stroke: none; }
.social-link:hover {
  color: #ff7954;
  background: transparent;
  filter: drop-shadow(0 0 7px rgba(255, 102, 69, .48));
  transform: translateY(-2px) scale(1.08);
}
.social-link:focus-visible,
.site-footer a:focus-visible,
.legal-dialog-close:focus-visible {
  outline: 2px solid var(--red-strong);
  outline-offset: 3px;
}
.social-link:focus-visible {
  color: #ff7954;
  background: transparent;
  border: 0;
  border-radius: 50%;
  filter: drop-shadow(0 0 7px rgba(255, 102, 69, .42));
}
body.light .site-footer .footer-social .social-link:not(:hover):not(:focus-visible) {
  color: #4b5563;
}
.site-footer .footer-brand-wrap {
  gap: 10px;
}
.site-footer .footer-brand {
  gap: 14px;
}
.site-footer .footer-brand-wrap > p {
  color: #d5d5de;
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-size: clamp(.86rem, 1vw, .96rem);
  font-weight: 400;
  letter-spacing: .075em;
  line-height: 1.4;
  text-transform: none;
}
.site-footer .footer-brand-wrap > p span {
  color: #ff3434;
  text-shadow: 0 0 9px rgba(255, 48, 48, .18);
}
body.light .site-footer .footer-brand-wrap > p { color: #586173; }
body.light .site-footer .footer-brand-wrap > p span { color: #d9222b; text-shadow: 0 0 8px rgba(217,34,43,.12); }
.site-footer .copyright {
  flex: 1 0 100%;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 48px);
  flex: 0 0 100%;
  width: 100%;
  margin: 8px 0 12px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(125deg, var(--panel-strong), var(--panel));
  box-shadow: 0 18px 50px var(--shadow);
}
.newsletter-copy .eyebrow { margin: 0 0 9px; }
.newsletter-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.newsletter-copy p {
  max-width: 610px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}
.newsletter-form { min-width: 0; }
.newsletter-form-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.newsletter-form input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  outline: none;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.88rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-form input::placeholder { color: var(--muted); opacity: 0.85; }
.newsletter-form input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.newsletter-submit {
  flex: 0 0 auto;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.newsletter-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  background: var(--red-strong);
  box-shadow: 0 8px 24px rgba(241, 59, 62, 0.28);
}
.newsletter-submit:active:not(:disabled) { transform: translateY(0); }
.newsletter-submit:focus-visible {
  outline: 2px solid var(--red-strong);
  outline-offset: 3px;
}
.newsletter-submit:disabled { cursor: wait; opacity: 0.7; }
.newsletter-privacy {
  margin: 10px 0 0 5px;
  color: var(--muted);
  font-size: 0.72rem;
}
.newsletter-privacy a {
  color: var(--red-strong);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.newsletter-privacy a:hover { text-decoration-color: currentColor; }
.newsletter-status {
  min-height: 1.4em;
  margin: 5px 0 0 5px;
  color: var(--muted);
  font-size: 0.75rem;
}
.newsletter-status[data-state="error"] { color: var(--red-strong); }
.newsletter-status[data-state="success"] { color: var(--text); }
.legal-dialog {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: center;
  padding: 20px;
}
.legal-dialog.open { display: grid; }
.legal-dialog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.76);
  animation: legal-fade-in 0.2s ease both;
}
body.light .legal-dialog-overlay { background: rgba(21, 25, 34, 0.48); }
.legal-dialog-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--red);
  border-radius: 24px;
  background: var(--panel-strong);
  box-shadow: 0 28px 90px var(--shadow), 0 0 34px rgba(241, 59, 62, 0.12);
  animation: legal-card-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.legal-dialog .legal-card {
  margin: 0;
  padding: 34px;
  border: 0;
  border-radius: inherit;
  background: transparent;
}
.legal-dialog .legal-card[hidden] { display: none; }
.legal-dialog .legal-card .eyebrow { margin-bottom: 8px; }
.legal-dialog .legal-card h2 {
  margin: 0 42px 16px 0;
  color: var(--text);
  font-size: clamp(1.5rem, 5vw, 2rem);
  line-height: 1.2;
}
.legal-dialog .legal-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}
.legal-dialog .legal-card .legal-small {
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.legal-dialog .legal-icon {
  margin-bottom: 18px;
  background: var(--red-soft);
  color: var(--red-strong);
}
.legal-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.legal-dialog-close:hover {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red-strong);
  box-shadow: 0 0 18px rgba(241, 59, 62, 0.24);
}
.legal-dialog.is-closing .legal-dialog-overlay {
  animation: legal-fade-out 0.18s ease both;
}
.legal-dialog.is-closing .legal-dialog-panel {
  animation: legal-card-out 0.18s ease both;
}
@keyframes legal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes legal-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes legal-card-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes legal-card-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(8px) scale(0.98); }
}

@media (max-width: 1100px) {
  .hero-art { overflow: hidden; }
}
@media (max-width: 760px) {
  .site-footer .footer-shell {
    align-items: center;
    flex-direction: column;
    gap: 16px;
  }
  .site-footer .footer-links,
  .site-footer .footer-legal-links { gap: 10px 16px; }
  .newsletter-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 25px;
  }
  .legal-dialog { padding: 14px; }
  .legal-dialog-panel { max-height: 88vh; border-radius: 20px; }
  .legal-dialog .legal-card { padding: 28px 22px; }
}
@media (max-width: 480px) {
  .newsletter-card { padding: 21px 17px; border-radius: 18px; }
  .newsletter-form-row { flex-direction: column; }
  .newsletter-form input,
  .newsletter-submit { width: 100%; }
}
@media (max-width: 380px) {
  .footer-social { gap: 6px; }
  .social-link { width: 34px; height: 34px; }
  .site-footer .footer-links,
  .site-footer .footer-legal-links { gap: 8px 12px; font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .legal-dialog-overlay,
  .legal-dialog-panel,
  .legal-dialog.is-closing .legal-dialog-overlay,
  .legal-dialog.is-closing .legal-dialog-panel { animation: none; }
}

/* Keep the requested legal navigation and copyright on distinct footer rows. */
.site-footer .footer-brand-wrap { order: 0; }
.site-footer .footer-links { order: 1; }
.site-footer .footer-legal-links {
  order: 2;
  flex: 0 0 100%;
  justify-content: center;
  gap: 7px clamp(12px, 2vw, 26px);
  margin-top: 1px;
  padding: 13px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.site-footer .footer-localization-row { order: 3; }
.site-footer .newsletter-card { order: 4; }
.site-footer .copyright {
  order: 5;
  flex: 0 0 100%;
  margin-top: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .015em;
  text-align: center;
}
.site-footer .footer-legal-links a {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  min-height: 38px;
  align-items: center;
  padding: 0 2px;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s ease, text-shadow .2s ease;
}
.site-footer .footer-legal-links a::after {
  position: absolute;
  right: 2px;
  bottom: 4px;
  left: 2px;
  height: 2px;
  background: linear-gradient(90deg, #ff824f, var(--red-strong));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-footer .footer-legal-links a:hover,
.site-footer .footer-legal-links a:active,
.site-footer .footer-legal-links a:focus-visible {
  color: #ff7954;
  text-shadow: 0 0 14px rgba(255, 94, 63, .25);
}
.site-footer .footer-legal-links a:hover::after,
.site-footer .footer-legal-links a:focus-visible::after { transform: scaleX(1); }
.site-footer .social-link {
  width: 40px;
  height: 40px;
}
.site-footer .social-link:hover,
.site-footer .social-link:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.site-footer .social-link:hover svg,
.site-footer .social-link:focus-visible svg {
  filter: drop-shadow(0 0 5px rgba(255, 112, 78, .45));
}

.legal-dialog.parents-faq-open .legal-dialog-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.legal-dialog .parents-faq-card {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  overflow: hidden;
}
.parents-faq-card h2 { max-width: 18ch; }
.parents-faq-card .parents-faq-intro {
  flex: 0 0 auto;
  margin-top: 0;
  font-size: .84rem;
}
.parents-faq-list {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 8px 0 0;
  scrollbar-color: var(--red-strong) var(--bg-alt);
  scrollbar-width: thin;
}
.parents-faq-item {
  padding: 15px 0 14px;
  border-top: 1px solid var(--line);
}
.parents-faq-item h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.45;
}
.parents-faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem !important;
  line-height: 1.72 !important;
}
.parents-faq-card .legal-small { margin-bottom: 0; font-size: .72rem; }
body.light .site-footer .footer-legal-links a:hover,
body.light .site-footer .footer-legal-links a:active,
body.light .site-footer .footer-legal-links a:focus-visible { color: #b6382f; }
@media (max-width: 760px) {
  .site-footer .footer-legal-links { justify-content: center; }
  .legal-dialog.parents-faq-open { padding: 12px; }
  .legal-dialog.parents-faq-open .legal-dialog-panel {
    width: min(620px, 100%);
    max-height: min(88dvh, 760px);
  }
  .legal-dialog .parents-faq-card { padding: 28px 22px; }
}
@media (max-width: 420px) {
  .site-footer .footer-legal-links { gap: 4px 12px; font-size: .78rem; }
  .site-footer .footer-legal-links a { min-height: 40px; }
  .site-footer .social-link { width: 40px; height: 40px; }
  .legal-dialog .parents-faq-card { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-legal-links a,
  .site-footer .footer-legal-links a::after { transition: none; }
}

#discover {
  position: relative;
  isolation: isolate;
  background: var(--bg);
}
#discover::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(9, 9, 13, 0.72) 0%,
    rgba(9, 9, 13, 0.78) 48%,
    rgba(9, 9, 13, 0.86) 100%
  );
  content: "";
  pointer-events: none;
}
body.light #discover::before {
  background: linear-gradient(
    180deg,
    rgba(245, 247, 251, 0.78) 0%,
    rgba(245, 247, 251, 0.84) 48%,
    rgba(245, 247, 251, 0.92) 100%
  );
}
.discover-background-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
:220px;aspect-ratio:1;background:white;border-radius:25px;padding:9px;box-shadow:0 15px 60px #f13b3e15}.about-mark img{width:100%;height:100%;object-fit:contain;border-radius:18px}.about-copy h2{font-size:37px}.about-copy p{color:var(--muted);font-size:13px;line-height:1.9;max-width:650px}.feature-row{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.feature-row span{padding:8px 11px;border:1px solid var(--line);border-radius:9px;font-size:10px;color:#ddd9e4}.legal-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-bottom:85px}.legal-card{scroll-margin-top:105px;padding:28px;border:1px solid var(--line);border-radius:19px;background:var(--panel)}.legal-icon{width:38px;height:38px;display:grid;place-items:center;background:#f13b3e18;border-radius:11px;color:#ff696d;font-size:20px;margin-bottom:22px}.legal-card .eyebrow{margin-bottom:7px}.legal-card h2{font-size:25px;margin:0 0 12px;letter-spacing:-.7px}.legal-card p{font-size:12px;color:var(--muted);line-height:1.9}.legal-card .legal-small{font-size:10px;color:#777483;border-top:1px solid var(--line);padding-top:13px;margin-top:18px}.site-footer{border-top:1px solid var(--line);padding:30px max(5vw,24px) 24px;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:15px}.footer-brand{width:max-content}.footer-logo{display:grid;place-items:center;width:30px;height:30px;background:white;border-radius:8px;overflow:hidden}.footer-logo img{width:100%;height:100%;object-fit:contain}.footer-brand>b{font-size:18px}.site-footer>p{font-size:11px;color:var(--muted);text-align:center}.footer-links{display:flex;justify-content:flex-end;gap:18px;font-size:10px;color:var(--muted)}.copyright{grid-column:1/-1;text-align:center;color:#777483;font-size:10px;padding-top:17px;border-top:1px solid var(--line)}.back-top{position:fixed;right:22px;bottom:22px;width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:#1b1b24;color:white;font-size:20px;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s;z-index:10}.back-top.show{opacity:1;pointer-events:auto;transform:translateY(0)}@media(max-width:900px){.nav-links{gap:17px}.hero{grid-template-columns:1fr  .8fr}.hero h1{font-size:54px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-panel{gap:30px;padding:35px}.hero-art{transform:scale(.9)}}@media(max-width:680px){.site-header{height:72px;padding-inline:5%}.brand-word{width:150px}.logo-frame{width:38px;height:38px}.menu-toggle{display:flex;flex-direction:column;gap:5px;padding:9px}.menu-toggle span{width:23px;height:2px;background:#fff;border-radius:2px}.nav-links{display:none;position:absolute;top:71px;left:0;right:0;padding:18px 5% 23px;background:#101015;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:7px}.nav-links.open{display:flex}.nav-links>a{padding:10px}.nav-cta{text-align:center;margin-top:5px}.section-wrap{width:90%}.hero{grid-template-columns:1fr;padding-top:65px;padding-bottom:40px;gap:5px}.hero h1{font-size:clamp(43px,12vw,59px);letter-spacing:-2px}.hero-description{font-size:13px}.hero-stats{gap:15px;margin-top:32px}.hero-stats strong{font-size:19px}.hero-stats span{font-size:9px}.hero-art{min-height:360px;transform:none}.hero-logo-card{width:235px;border-radius:28px}.orbit{width:300px;height:300px}.orbit-b{width:330px;height:210px}.chip-top{top:25px;right:0}.chip-bottom{bottom:25px;left:0}.floating-chip{padding:9px 10px}.projects{padding-top:35px;padding-bottom:60px}.section-heading{align-items:start}.section-heading h2{font-size:34px}.section-heading p{font-size:11px}.project-total{padding:9px;gap:6px}.project-total span{max-width:58px;white-space:normal}.toolbar{align-items:stretch;flex-direction:column;margin-top:23px}.search-box{max-width:none}.filter-group{gap:4px}.filter{padding:8px 10px}.project-grid{grid-template-columns:1fr}.project-card{min-height:220px}.about-section{padding-bottom:60px}.about-panel{grid-template-columns:1fr;padding:25px;gap:25px}.about-mark{max-width:140px;margin-inline:auto}.about-copy h2{font-size:32px}.feature-row{gap:6px}.legal-grid{grid-template-columns:1fr;padding-bottom:55px}.legal-card{padding:23px}.site-footer{grid-template-columns:1fr;justify-items:center;text-align:center;padding-top:28px}.site-footer>p{margin:0}.footer-links{justify-content:center;flex-wrap:wrap}.copyright{width:100%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

body.light {
  --red-strong: #c6282e;
}
body.light .command-panel {
  background: var(--panel-strong);
}
body.light #commandInput::placeholder {
  color: var(--muted);
  opacity: 1;
}
body.light .command-item {
  border-bottom-color: var(--line);
}
body.light .command-item:hover,
body.light .command-item:focus-visible {
  background: var(--red-soft);
}
body.light .button-primary {
  background: linear-gradient(135deg, var(--red-strong), #b71c24);
}
body.light .hero-cta {
  background: linear-gradient(112deg, #f06436 0%, #d52e35 54%, #a91827 100%);
  color: #fff;
}
@media (max-width: 680px) {
  body.light .nav-links {
    background: var(--panel-strong);
  }
}
body.light .menu-toggle span {
  background: var(--text);
}
body.light .login-dialog::backdrop { background: rgba(15,19,28,.54); }
body.light .floating-chip {
  background: var(--panel-strong);
  color: var(--text);
}
body.light .feature-row span {
  background: var(--panel-strong);
  color: var(--muted-strong);
}
body.light .feature-pill {
  color: var(--red-strong);
}
body.light .update-list span {
  color: var(--red-strong);
}
@media (max-width: 380px) {
  .site-header .nav-shell { gap: 4px; }
  .site-header .brand { min-width: 0; gap: 6px; }
  .site-header .brand .logo-frame { width: 32px; height: 32px; flex: 0 0 32px; }
  .site-header .brand .brand-word { width: 78px; flex: 0 1 78px; }
  .site-header .nav-actions { gap: 4px; }
  .site-header .login-button { gap: 5px; padding-inline: 7px; }
  .site-header .menu-toggle { padding: 0; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .site-header .nav-shell { gap: 8px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand-word { width: 142px; }
  .site-header .nav-links { gap: 8px; }
  .site-header .nav-links a,
  .site-header .nav-links button { font-size: .7rem; }
  .site-header .login-button { gap: 6px; padding-inline: 9px; }
}
body.light .card-link.primary.disabled {
  border-color: var(--line-strong);
  background: var(--bg-alt);
  color: var(--muted);
  opacity: 1;
}
body.light .newsletter-form input::placeholder {
  opacity: 1;
}
body.light .newsletter-submit {
  border-color: var(--red-strong);
  background: var(--red-strong);
}
body.light .newsletter-submit:disabled {
  border-color: var(--line-strong);
  background: var(--bg-alt);
  color: var(--muted);
  opacity: 1;
}
body.light .favorite-toggle.active {
  background: var(--red-soft);
  border-color: rgba(241, 59, 62, 0.4);
  color: var(--red-strong);
}
body.light .back-top {
  background: var(--bg-soft);
  color: var(--text);
}
body.light .toast {
  background: var(--panel-strong);
  border-color: var(--line-strong);
  color: var(--text);
}

.upcoming-games {
  padding: 4px 0 86px;
  text-align: center;
}
.upcoming-games-label {
  margin: 0 0 28px;
  color: var(--text);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.24em;
}
.upcoming-games-stage {
  position: relative;
  width: min(100%, 900px);
  height: clamp(390px, 43vw, 500px);
  margin: 0 auto 32px;
}
.upcoming-game-banner {
  position: absolute;
  display: block;
  height: 88%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 55px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.upcoming-game-banner-left {
  top: 6%;
  left: 13%;
  z-index: 1;
  width: 28%;
  transform: rotate(-7deg);
}
.upcoming-game-banner-center {
  top: 0;
  left: 33.5%;
  z-index: 2;
  width: 33%;
  height: 100%;
  box-shadow: 0 28px 70px var(--shadow), 0 0 28px rgba(241, 59, 62, 0.12);
}
.upcoming-game-banner-right {
  top: 6%;
  right: 13%;
  z-index: 1;
  width: 28%;
  transform: rotate(7deg);
}
.upcoming-game-banner-left:hover,
.upcoming-game-banner-right:hover {
  z-index: 3;
  box-shadow: 0 28px 65px var(--shadow);
}
.upcoming-game-banner-left:hover { transform: rotate(-4deg) translateY(-5px); }
.upcoming-game-banner-right:hover { transform: rotate(4deg) translateY(-5px); }
.upcoming-game-banner-center:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 75px var(--shadow), 0 0 32px rgba(241, 59, 62, 0.16);
}
.upcoming-games-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.6rem, 7vw, 5.3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}
.upcoming-games-copy p {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .upcoming-games {
    padding-bottom: 64px;
  }
  .upcoming-games-label {
    margin-bottom: 20px;
  }
  .upcoming-games-stage {
    height: clamp(330px, 100vw, 420px);
    margin-bottom: 26px;
  }
  .upcoming-game-banner-left {
    left: 1%;
    width: 33%;
    height: 88%;
    transform: rotate(-5deg);
  }
  .upcoming-game-banner-center {
    left: 27.5%;
    width: 45%;
  }
  .upcoming-game-banner-right {
    right: 1%;
    width: 33%;
    height: 88%;
    transform: rotate(5deg);
  }
  .upcoming-game-banner-left:hover { transform: rotate(-3deg) translateY(-4px); }
  .upcoming-game-banner-right:hover { transform: rotate(3deg) translateY(-4px); }
  .upcoming-games-copy p {
    max-width: 520px;
    font-size: 0.88rem;
  }
}

@media (max-width: 380px) {
  .upcoming-games-stage {
    height: 320px;
  }
  .upcoming-games-copy h2 {
    font-size: clamp(1.25rem, 9vw, 2.15rem);
    letter-spacing: 0.02em;
  }
  .upcoming-game-banner-left,
  .upcoming-game-banner-right {
    width: 32%;
  }
  .upcoming-game-banner-center {
    left: 27%;
    width: 46%;
  }
}

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}
.cookie-preferences.open { display: grid; }
.cookie-preferences.is-closing .cookie-preferences-overlay {
  animation: legal-fade-out 0.18s ease both;
}
.cookie-preferences.is-closing .cookie-preferences-panel {
  animation: legal-card-out 0.18s ease both;
}
.cookie-preferences-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 8, 0.74);
  animation: legal-fade-in 0.2s ease both;
}
body.light .cookie-preferences-overlay { background: rgba(21, 25, 34, 0.48); }
.cookie-preferences-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  padding: 40px 38px 34px;
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--red);
  border-radius: 22px;
  background: var(--panel-strong);
  color: var(--text);
  box-shadow: 0 28px 90px var(--shadow), 0 0 30px rgba(241, 59, 62, 0.11);
  animation: legal-card-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.cookie-preferences-panel h2 {
  margin: 0 42px 18px 0;
  color: var(--text);
  font-size: clamp(1.28rem, 4vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.065em;
  line-height: 1.25;
  text-align: center;
}
.cookie-preferences-overview > p,
.cookie-preferences-settings-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: center;
}
.cookie-preferences-panel a,
.cookie-preferences-customize {
  color: var(--red-strong);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.cookie-preferences-panel a:hover,
.cookie-preferences-customize:hover { text-decoration-color: currentColor; }
.cookie-preferences-customize {
  display: block;
  margin: 20px auto 24px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 700;
}
.cookie-preferences-actions {
  display: grid;
  gap: 12px;
}
.cookie-preferences-actions button,
.cookie-preferences-save {
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid var(--red-strong);
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.cookie-preferences-actions button:hover,
.cookie-preferences-save:hover { transform: translateY(-1px); }
.cookie-preferences-reject {
  background: var(--bg-soft);
  color: var(--text);
}
.cookie-preferences-reject:hover {
  border-color: var(--red);
  background: var(--red-soft);
}
.cookie-preferences-accept,
.cookie-preferences-save {
  background: #c6282e;
  border-color: #c6282e;
  color: #fff;
  box-shadow: 0 8px 24px rgba(241, 59, 62, 0.2);
}
.cookie-preferences-accept:hover,
.cookie-preferences-save:hover {
  background: #b71c24;
  border-color: #b71c24;
}
.cookie-preferences-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.cookie-preferences-close:hover {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red-strong);
}
.cookie-preferences-settings[hidden],
.cookie-preferences-overview[hidden] { display: none; }
.cookie-preferences-settings-intro { margin-bottom: 16px; }
.cookie-preference-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
}
.cookie-preference-option span { display: grid; gap: 3px; }
.cookie-preference-option strong { font-size: 0.9rem; }
.cookie-preference-option small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}
.cookie-preference-option input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  accent-color: var(--red);
}
.cookie-preference-option input:disabled { cursor: not-allowed; }
.cookie-preferences-note {
  margin: 12px 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.6;
  text-align: center;
}
.cookie-preferences-back {
  display: block;
  margin: 8px auto;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  font-size: 0.84rem;
  font-weight: 700;
}
.cookie-preferences-back:hover { color: var(--red-strong); }
.cookie-preferences-panel button:focus-visible,
.cookie-preferences-panel a:focus-visible,
.cookie-preference-option input:focus-visible {
  outline: 2px solid var(--red-strong);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .cookie-preferences-panel {
    max-height: min(90dvh, 760px);
    padding: 44px 22px 24px;
    border-radius: 18px;
  }
  .cookie-preferences-panel h2 { text-align: left; }
  .cookie-preferences-overview > p { font-size: 0.84rem; }
  .cookie-preferences-customize { margin-block: 16px 20px; }
  .cookie-preferences-actions button,
  .cookie-preferences-save { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-preferences-overlay,
  .cookie-preferences-panel,
  .cookie-preferences.is-closing .cookie-preferences-overlay,
  .cookie-preferences.is-closing .cookie-preferences-panel { animation: none; }
  .cookie-preferences-panel button { transition: none; }
}

.upcoming-games {
  position: relative;
  isolation: isolate;
}
.upcoming-games::before,
.upcoming-games::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}
.upcoming-games::before {
  inset: auto 0 4%;
  height: 58%;
  background:
    radial-gradient(ellipse 13% 72% at 12% 100%, rgba(126, 10, 27, 0.48), transparent 74%),
    radial-gradient(ellipse 10% 88% at 26% 100%, rgba(241, 59, 62, 0.32), transparent 72%),
    radial-gradient(ellipse 14% 76% at 43% 100%, rgba(147, 12, 34, 0.42), transparent 73%),
    radial-gradient(ellipse 12% 92% at 59% 100%, rgba(241, 59, 62, 0.28), transparent 72%),
    radial-gradient(ellipse 15% 78% at 77% 100%, rgba(126, 10, 27, 0.46), transparent 74%),
    radial-gradient(ellipse 11% 86% at 92% 100%, rgba(241, 59, 62, 0.29), transparent 72%),
    radial-gradient(ellipse 66% 48% at 50% 100%, rgba(147, 12, 34, 0.3), transparent 78%);
  opacity: 0.8;
  transform: scaleY(0.94);
  transform-origin: center bottom;
  animation: upcoming-fire 5.8s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.upcoming-games::after {
  inset: 20% 0 0;
  background:
    radial-gradient(circle, rgba(255, 91, 96, 0.75) 0 1px, transparent 1.8px) 8% 92% / 91px 118px,
    radial-gradient(circle, rgba(241, 59, 62, 0.64) 0 1px, transparent 1.8px) 81% 100% / 127px 146px,
    radial-gradient(circle, rgba(173, 25, 45, 0.62) 0 1.2px, transparent 2px) 44% 85% / 163px 139px;
  opacity: 0;
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.65) 48%, transparent 100%);
  animation: upcoming-embers 7s linear infinite;
  animation-play-state: paused;
}
.upcoming-games.is-visible::before,
.upcoming-games.is-visible::after {
  animation-play-state: running;
}
body.light .upcoming-games::before {
  opacity: 0.28;
}
body.light .upcoming-games::after {
  opacity: 0;
}
body.light .upcoming-games.is-visible::before {
  animation-name: upcoming-fire-light;
}
body.light .upcoming-games.is-visible::after {
  animation-name: upcoming-embers-light;
}
@keyframes upcoming-fire {
  0% { transform: scaleY(0.86) skewX(-1deg); opacity: 0.62; }
  50% { transform: scaleY(1.02) skewX(1deg); opacity: 0.8; }
  100% { transform: scaleY(0.94) skewX(-0.5deg); opacity: 0.68; }
}
@keyframes upcoming-fire-light {
  0% { transform: scaleY(0.86) skewX(-1deg); opacity: 0.16; }
  50% { transform: scaleY(1.02) skewX(1deg); opacity: 0.28; }
  100% { transform: scaleY(0.94) skewX(-0.5deg); opacity: 0.2; }
}
@keyframes upcoming-embers {
  0% { background-position: 8% 92%, 81% 100%, 44% 85%; opacity: 0; }
  12% { opacity: 0.68; }
  76% { opacity: 0.5; }
  100% { background-position: 8% 2%, 81% 0%, 44% -12%; opacity: 0; }
}
@keyframes upcoming-embers-light {
  0% { background-position: 8% 92%, 81% 100%, 44% 85%; opacity: 0; }
  12% { opacity: 0.18; }
  76% { opacity: 0.12; }
  100% { background-position: 8% 2%, 81% 0%, 44% -12%; opacity: 0; }
}
@media (max-width: 520px) {
  .upcoming-games::before {
    inset-inline: 0;
    height: 48%;
    background:
      radial-gradient(ellipse 19% 72% at 12% 100%, rgba(126, 10, 27, 0.42), transparent 74%),
      radial-gradient(ellipse 16% 86% at 35% 100%, rgba(241, 59, 62, 0.28), transparent 72%),
      radial-gradient(ellipse 20% 78% at 62% 100%, rgba(147, 12, 34, 0.38), transparent 73%),
      radial-gradient(ellipse 16% 84% at 88% 100%, rgba(241, 59, 62, 0.25), transparent 72%),
      radial-gradient(ellipse 72% 48% at 50% 100%, rgba(147, 12, 34, 0.24), transparent 78%);
  }
  .upcoming-games::after {
    background-size: 113px 142px, 157px 168px, 191px 179px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .upcoming-games::before,
  .upcoming-games::after {
    animation: none;
  }
}

.project-showcase {
  width: 100%;
  max-width: 100%;
  margin: -28px 0 72px;
  overflow: hidden;
}
.project-showcase-viewport {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-showcase-track {
  display: flex;
  width: max-content;
  animation: project-showcase-scroll var(--project-showcase-duration, 36s) linear infinite;
  will-change: transform;
}
.project-showcase-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  padding: 16px clamp(22px, 4vw, 54px) 16px 0;
}
.project-showcase-item {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--text);
  white-space: nowrap;
}
.project-showcase-logo {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 11px;
  object-fit: contain;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.project-showcase-logo-fallback {
  border: 1px solid var(--line-strong);
  background: var(--red-soft);
  color: var(--red-strong);
  font-size: 1.15rem;
  font-weight: 800;
}
.project-showcase-name {
  color: var(--text);
  font-size: 0.92rem;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.035em;
  transition: color 0.2s ease;
}
.project-showcase-item:hover .project-showcase-logo {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(241, 59, 62, 0.18);
}
.project-showcase-item:hover .project-showcase-name { color: var(--red-strong); }
@keyframes project-showcase-scroll {
  to { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .project-showcase {
    margin-top: -18px;
    margin-bottom: 56px;
  }
  .project-showcase-group {
    gap: 24px;
    padding-block: 13px;
  }
  .project-showcase-item { gap: 9px; }
  .project-showcase-logo {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
    border-radius: 9px;
  }
  .project-showcase-name { font-size: 0.84rem; }
}
@media (hover: hover) {
  .project-showcase-viewport:hover .project-showcase-track {
    animation-play-state: paused;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-showcase-viewport {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-color: var(--line-strong) transparent;
    scrollbar-width: thin;
  }
  .project-showcase-track {
    width: max-content;
    animation: none;
    transform: none;
    will-change: auto;
  }
  .project-showcase-group[aria-hidden="true"] { display: none; }
  .project-showcase-item,
  .project-showcase-logo,
  .project-showcase-name { transition: none; }
}

.company-intro {
  display: grid;
  justify-items: center;
  padding: 60px 0 48px;
  text-align: center;
}
.company-intro-logo {
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
  border-radius: 18px;
  object-fit: contain;
}
.company-intro .eyebrow { margin-bottom: 8px; }
.company-intro h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}
.company-intro-established {
  margin: 14px 0 0;
  color: var(--red-strong);
  font-size: 0.82rem;
  font-weight: 700;
}
.company-intro-copy {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
}
.what-we-do {
  padding: 38px 0 70px;
}
.what-we-do-heading {
  justify-content: center;
  margin-bottom: 28px;
  text-align: center;
}
.what-we-do-heading .eyebrow { margin-bottom: 8px; }
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.what-we-do-apps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(22px, 4vw, 54px);
  padding: 24px 0 30px;
  border-bottom: 1px solid var(--line);
}
.what-we-do-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
}
.what-we-do-copy p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}
.what-we-do-copy .eyebrow {
  margin-bottom: 8px;
  font-size: 0.62rem;
}
.app-showcase { min-width: 0; }
.app-showcase-images {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--bg-alt);
}
.app-showcase-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.app-showcase-slide.is-active {
  visibility: visible;
  opacity: 1;
}
.app-showcase-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.app-showcase-fallback,
.recent-update-image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 0.85rem;
}
.app-showcase-fallback[hidden] { display: none; }
.app-showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}
.app-showcase-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.app-showcase-arrow:hover {
  border-color: var(--red-strong);
  background: var(--red-soft);
  color: var(--red-strong);
}
.app-showcase-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-showcase-indicator {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--line-strong);
  transition: width 0.25s ease, background 0.25s ease;
}
.app-showcase-indicator.is-active {
  width: 23px;
  background: var(--red);
}
.app-showcase-arrow:focus-visible,
.app-showcase-indicator:focus-visible,
.what-we-do-link:focus-visible,
.recent-updates-more:focus-visible {
  outline: 2px solid var(--red-strong);
  outline-offset: 3px;
}
.what-we-do-feature {
  min-width: 0;
  padding: 8px 0 0;
}
.what-we-do-feature > img {
  display: block;
  width: 100%;
  aspect-ratio: 1.7 / 1;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-alt);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.what-we-do-feature:hover > img {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px var(--shadow);
}
.what-we-do-community > img { object-fit: contain; }
.what-we-do-link,
.recent-update-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: var(--red-strong);
  font-size: 0.82rem;
  font-weight: 800;
}
.what-we-do-link span,
.recent-update-link span { transition: transform 0.2s ease; }
.what-we-do-link:hover span,
.recent-update-link:hover span { transform: translate(2px, -2px); }

.recent-updates {
  padding: 10px 0 82px;
}
.recent-updates .section-heading {
  justify-content: center;
  margin-bottom: 26px;
}
.recent-updates-disclaimer {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}
.recent-updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.recent-update-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.recent-update-card:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 59, 62, 0.38);
  box-shadow: 0 16px 34px var(--shadow);
}
.recent-update-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
}
.recent-update-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-update-image > img[hidden] { display: none; }
.recent-update-image.is-image-missing::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  content: "Image unavailable";
  font-size: 0.85rem;
}
.recent-update-sample {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  background: rgba(9, 9, 13, 0.78);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.recent-update-content { padding: 17px 18px 20px; }
.recent-update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.5;
}
.recent-update-meta span:last-child {
  color: var(--red-strong);
  font-weight: 700;
}
.recent-update-card h3 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.4;
}
.recent-update-card h3 a { color: inherit; }
.recent-update-card h3 a:hover { color: var(--red-strong); }
.recent-update-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}
.recent-update-link { margin-top: 12px; }
.recent-updates-more {
  position: relative;
  display: flex;
  width: fit-content;
  min-width: 148px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px auto 0;
  padding: 10px 22px;
  border: 1px solid var(--red-strong);
  border-radius: 7px;
  background: linear-gradient(130deg, var(--bg-soft), var(--bg-alt));
  color: var(--text);
  text-align: center;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  box-shadow: inset 0 0 0 1px rgba(255, 70, 59, 0.08);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.footer-localization {
  display: grid;
  max-width: 260px;
  min-width: 0;
  gap: 6px;
  align-content: start;
  color: var(--muted);
  font-size: .72rem;
}
.footer-localization-row {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  direction: ltr;
}
.footer-localization label { display: grid; gap: 5px; font-weight: 750; }
.footer-localization select {
  width: 100%;
  min-height: 40px;
  padding: 8px 34px 8px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--bg-alt);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.footer-localization select:focus-visible { outline: 2px solid var(--red-strong); outline-offset: 2px; }
.footer-social-location { display: grid; justify-items: end; gap: 8px; }
.footer-social-location .footer-social { justify-content: flex-end; }
.footer-location {
  display: flex;
  max-width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin: 0;
  color: var(--text);
  font-size: .72rem;
  font-weight: 750;
  text-align: right;
  transition: color .2s ease;
}
.footer-location:hover { color: var(--red-strong); }
.footer-location svg { width: 15px; height: 15px; flex: 0 0 15px; fill: var(--red-strong); }
.footer-location-name { overflow-wrap: anywhere; }
.footer-location-disclosure { color: var(--muted); font-size: .62rem; line-height: 1.45; }
html[dir="rtl"] .footer-localization,
html[dir="rtl"] .footer-location-disclosure { direction: rtl; }
html[dir="rtl"] .footer-localization select { padding: 8px 11px 8px 34px; }
@media (max-width: 480px) {
  .footer-localization-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .footer-social-location { justify-self: end; }
}
.recent-updates-more::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 2px;
  background: var(--red);
  content: "";
}
.recent-updates-more span { color: var(--red-strong); transition: transform 0.2s ease; }
.recent-updates-more:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--red-strong);
  box-shadow: 0 8px 24px rgba(241, 59, 62, 0.18);
}
.recent-updates-more:hover span { transform: translate(2px, -2px); }
.recent-updates-more:active { transform: translateY(0) scale(0.98); }
@media (max-width: 900px) {
  .recent-updates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .company-intro { padding: 42px 0 36px; }
  .company-intro-copy { font-size: 0.88rem; }
  .what-we-do { padding: 28px 0 52px; }
  .what-we-do .what-we-do-heading,
  .recent-updates .section-heading {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  .what-we-do-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .what-we-do-apps {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-top: 8px;
  }
  .what-we-do-feature { padding-top: 0; }
  .what-we-do-feature > img { margin-bottom: 16px; }
  .recent-updates { padding-bottom: 60px; }
  .recent-updates-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-loader,
  .site-loader *,
  .site-loader::before {
    animation: none !important;
    transition: none !important;
  }
  .site-loader.is-visible .site-loader-logo {
    clip-path: inset(0);
    opacity: 1;
    transform: none;
  }
  .support-logo-backdrop { animation: none !important; }
  .app-showcase-slide,
  .app-showcase-arrow,
  .app-showcase-indicator,
  .what-we-do-feature > img,
  .what-we-do-link span,
  .recent-update-card,
  .recent-updates-more { transition: none; }
}

/* Discover: immersive launcher-style project cards. */
.projects .project-card {
  isolation: isolate;
  gap: 17px;
  min-height: 318px;
  padding: 22px 20px 19px;
  border: 1px solid rgba(255, 103, 63, .22);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(26, 22, 27, .98), rgba(10, 11, 16, .98)) padding-box,
    linear-gradient(135deg, rgba(255, 112, 59, .55), rgba(241, 59, 62, .18) 42%, rgba(255,255,255,.06)) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 38px rgba(0,0,0,.28);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.projects .project-card::before {
  top: -80px;
  right: -65px;
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #ff783e, #f13b3e 72%);
  opacity: .11;
  filter: blur(34px);
  transition: opacity .3s ease, transform .45s ease;
}
.projects .project-card::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(112deg, transparent 20%, rgba(255, 113, 65, .12) 46%, rgba(241, 59, 62, .04) 52%, transparent 72%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-120%);
}
.projects .project-card > * { position: relative; z-index: 1; }
.projects .card-top { align-items: center; }
.projects .project-icon {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 117, 67, .38);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 119, 63, .22), rgba(241, 59, 62, .09));
  color: #ff8158;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 8px 20px rgba(241,59,62,.12);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}
.projects .project-card h3 { font-size: clamp(1.2rem, 1.45vw, 1.42rem); font-weight: 850; }
.projects .project-card p { max-width: 56ch; line-height: 1.75; }
.projects .project-category { border-color: rgba(255, 113, 65, .18); }
.projects .feature-pill { background: linear-gradient(100deg, rgba(255, 119, 63, .2), rgba(241, 59, 62, .14)); color: #ff8661; }
.projects .card-link { border-radius: 7px; }
.projects .card-link.primary { border-color: rgba(255, 111, 64, .44); background: linear-gradient(110deg, rgba(255, 119, 63, .19), rgba(241, 59, 62, .12)); color: #ff9876; }
.projects .card-link:focus-visible,
.projects .favorite-toggle:focus-visible { outline: 2px solid #ff8158; outline-offset: 3px; }
body.light .projects .project-card {
  border-color: rgba(224, 69, 55, .3);
  background: linear-gradient(145deg, #fff, #f6f1f1) padding-box, linear-gradient(135deg, rgba(255,112,59,.65), rgba(241,59,62,.22) 50%, rgba(15,21,33,.08)) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 16px 34px rgba(32,17,20,.12);
}
body.light .projects .project-card p { color: #505664; }
body.light .projects .project-icon { color: #c43b32; }
body.light .projects .card-link.primary { color: #a92e2a; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .projects .project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 111, 64, .72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 52px rgba(0,0,0,.34), 0 0 25px rgba(241,59,62,.16);
  }
  .projects .project-card:hover::before { opacity: .2; transform: translate(-8px, 8px) scale(1.08); }
  .projects .project-card:hover::after { opacity: 1; animation: discover-card-sweep .8s ease-out both; }
  .projects .project-card:hover .project-icon { transform: translateY(-2px) rotate(-3deg); box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 11px 26px rgba(241,59,62,.24); }
  .projects .card-link:hover:not(.disabled) { transform: translateY(-1px); }
}
@keyframes discover-card-sweep { to { transform: translateX(120%); } }

/* Categories: selectable cards, with state shared with the Discover filters. */
.category-grid { gap: 15px; }
.category-card {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 205px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 22px 20px 19px;
  border: 1px solid rgba(255, 99, 61, .2);
  border-radius: 10px;
  background: linear-gradient(145deg, #19191f, #0d0e13);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 13px 28px rgba(0,0,0,.19);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.category-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #ff864d, #f13b3e 72%, transparent);
  content: "";
  opacity: .56;
}
.category-card::after {
  position: absolute;
  top: -40px;
  right: -32px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(255, 111, 64, .16);
  content: "";
  transform: rotate(45deg);
  transition: transform .28s ease, border-color .28s ease;
  pointer-events: none;
}
.category-card .category-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  margin: 0 0 16px;
  border: 1px solid rgba(255, 113, 65, .34);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(255, 119, 63, .2), rgba(241,59,62,.08));
  color: #ff8158;
  font-size: 1.42rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 7px 18px rgba(241,59,62,.1);
  transition: transform .24s ease, box-shadow .24s ease;
}
.category-card h3 { margin: 0 0 8px; color: var(--text); font-size: 1.02rem; font-weight: 850; line-height: 1.3; }
.category-card p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.65; }
.category-card:focus-visible { outline: 2px solid #ff8158; outline-offset: 3px; }
.category-card[aria-pressed="true"] {
  border-color: rgba(255, 113, 65, .8);
  background: linear-gradient(145deg, rgba(74, 34, 34, .72), #111116 78%);
  box-shadow: inset 0 0 0 1px rgba(255, 126, 74, .14), 0 0 0 1px rgba(255, 91, 70, .24), 0 14px 32px rgba(241,59,62,.16);
}
.category-card[aria-pressed="true"]::before { width: 4px; opacity: 1; }
.category-card[aria-pressed="true"] .category-icon { border-color: rgba(255, 129, 88, .68); box-shadow: 0 0 22px rgba(241,59,62,.24); }
body.light .category-card { border-color: rgba(201, 68, 53, .24); background: linear-gradient(145deg, #fff, #f4f1f2); }
body.light .category-card h3 { color: #15161b; }
body.light .category-card[aria-pressed="true"] { background: linear-gradient(145deg, #fff0ec, #fff); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .category-card:hover { transform: translateY(-4px); border-color: rgba(255, 113, 65, .62); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 36px rgba(0,0,0,.24), 0 0 20px rgba(241,59,62,.1); }
  .category-card:hover::after { border-color: rgba(255, 113, 65, .42); transform: rotate(45deg) translate(-5px, 5px); }
  .category-card:hover .category-icon { transform: translateY(-2px); }
}
@media (max-width: 760px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-card { min-height: 190px; padding: 19px 16px; }
}
@media (max-width: 420px) {
  .category-grid { grid-template-columns: minmax(0, 1fr); }
  .category-card { min-height: 0; }
}

/* Developer: technical dashboard panels and changelog modules. */
#developer { align-items: stretch; gap: 18px; }
#developer .panel-box {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 94, 63, .22);
  border-radius: 11px;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(145deg, #18181f, #0c0d12 80%);
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 38px rgba(0,0,0,.22);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}
#developer .panel-box::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, #ff854c, #f13b3e, transparent);
  content: "";
}
#developer .panel-box > * { position: relative; z-index: 1; }
#developer .eyebrow { display: flex; align-items: center; gap: 9px; color: #ff7954; }
#developer .eyebrow::before { width: 7px; height: 7px; border-radius: 1px; background: #ff7954; box-shadow: 0 0 12px rgba(255,92,66,.55); content: ""; transform: rotate(45deg); }
#developer .developer-panel h2 { max-width: 17ch; margin-top: 13px; font-size: clamp(1.85rem, 3vw, 2.7rem); }
#developer .developer-panel h2 span { color: #ff7652; }
#developer .developer-panel > p { max-width: 58ch; color: var(--muted); font-size: .86rem; line-height: 1.8; }
#developer .info-list { gap: 0; margin-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
#developer .info-list li { min-height: 43px; padding: 12px 8px 11px 24px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .78rem; }
#developer .info-list li::before { top: 13px; left: 5px; color: #ff7652; content: "↗"; font-size: .76rem; font-weight: 800; }
#developer .updates-panel > .eyebrow { margin-bottom: 22px; }
#developer .update-list { gap: 10px; margin-top: 0; }
#developer .update-list article {
  position: relative;
  grid-template-columns: minmax(72px, 84px) minmax(0, 1fr);
  gap: 14px;
  padding: 15px 13px;
  border: 1px solid rgba(255,255,255,.07);
  border-left: 2px solid rgba(255, 105, 67, .52);
  border-radius: 7px;
  background: linear-gradient(110deg, rgba(255, 104, 65, .055), rgba(255,255,255,.018) 48%, transparent);
}
#developer .update-list article:first-child { padding-top: 15px; }
#developer .update-list article > span { align-self: start; margin-top: 3px; color: #ff805b; font-size: .58rem; letter-spacing: .08em; }
#developer .update-list h3 { margin: 0 0 5px; color: var(--text); font-size: .91rem; font-weight: 820; }
#developer .update-list p { color: var(--muted); font-size: .74rem; line-height: 1.65; }
body.light #developer .panel-box {
  border-color: rgba(201, 68, 53, .22);
  background:
    linear-gradient(rgba(15,21,33,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,21,33,.025) 1px, transparent 1px),
    linear-gradient(145deg, #fff, #f2f2f5 80%);
}
body.light #developer .developer-panel h2 span,
body.light #developer .eyebrow,
body.light #developer .update-list article > span { color: #b6382f; }
body.light #developer .update-list article { border-color: rgba(15,21,33,.09); border-left-color: rgba(201,68,53,.58); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #developer .panel-box:hover { transform: translateY(-4px); border-color: rgba(255, 105, 67, .5); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 46px rgba(0,0,0,.29), 0 0 20px rgba(241,59,62,.08); }
  #developer .update-list article { transition: transform .22s ease, border-color .22s ease, background .22s ease; }
  #developer .update-list article:hover { transform: translateX(3px); border-left-color: #ff805b; background: linear-gradient(110deg, rgba(255,104,65,.12), rgba(255,255,255,.025) 60%, transparent); }
}

.feature-strip article,
.empty-state {
  background: linear-gradient(145deg, var(--panel-strong), var(--panel));
  border-color: var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 10px 28px rgba(0,0,0,.08);
}
.feature-strip article,
.empty-state { transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.recent-update-card {
  border-radius: 13px;
  background: linear-gradient(155deg, var(--panel-strong), var(--panel));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 12px 30px rgba(0,0,0,.08);
}
.recent-update-card.is-featured { border-color: rgba(241,59,62,.38); }
.recent-update-image > img { transition: transform .45s ease; }
.recent-update-card:hover .recent-update-image > img { transform: scale(1.035); }
.recent-update-sample { border: 1px solid rgba(255,255,255,.24); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .feature-strip article:hover {
    transform: translateY(-4px);
    border-color: rgba(241,59,62,.38);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 36px rgba(0,0,0,.16), 0 0 22px rgba(241,59,62,.055);
  }
}
@media (prefers-reduced-motion: reduce) {
  .projects .project-card,
  .projects .project-card::before,
  .projects .project-card::after,
  .projects .project-icon,
  .projects .card-link,
  .category-card,
  .category-card::after,
  .category-card .category-icon,
  #developer .panel-box,
  #developer .update-list article,
  .feature-strip article,
  .recent-update-image > img { transition: none !important; animation: none !important; }
  .recent-update-card:hover .recent-update-image > img { transform: none; }
}

/* Gaming presentation for the existing What We Do and Recent Updates cards. */
.what-we-do-apps,
.what-we-do-feature {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 111, 67, .24);
  border-radius: 13px;
  background:
    radial-gradient(ellipse at 95% 0%, rgba(241, 59, 62, .13), transparent 47%),
    linear-gradient(145deg, #19181e, #0d0e13 76%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 18px 38px rgba(0,0,0,.2);
  transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}
.what-we-do-apps::before,
.what-we-do-feature::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 74px;
  height: 2px;
  background: linear-gradient(90deg, #ff9357, #f13b3e, transparent);
  content: "";
}
.what-we-do-apps { padding: clamp(20px, 3vw, 32px); border-bottom: 1px solid rgba(255,111,67,.24); }
.what-we-do-feature { padding: 14px; }
.what-we-do-feature > img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  margin: 0 0 20px;
  border: 1px solid rgba(255,111,67,.2);
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  transition: transform .45s ease, box-shadow .3s ease, border-color .3s ease;
}
.what-we-do-community > img { object-fit: contain; background: rgba(255,255,255,.035); }
.what-we-do-copy { min-width: 0; }
.what-we-do-copy .eyebrow { color: #ff8059; letter-spacing: .15em; }
.what-we-do-copy h3 { font-weight: 900; letter-spacing: -.045em; }
.what-we-do-copy p { color: #c3bdc5; font-size: .84rem; line-height: 1.78; }
.what-we-do-apps .app-showcase-images { border-color: rgba(255,111,67,.28); border-radius: 9px; box-shadow: 0 12px 28px rgba(0,0,0,.24); }
.what-we-do-apps .app-showcase-arrow { border-color: rgba(255,111,67,.26); background: #17151a; }
.what-we-do-apps .app-showcase-arrow:hover { border-color: #ff7652; background: rgba(241,59,62,.16); color: #ff8158; }
.what-we-do-apps .app-showcase-indicator.is-active { background: linear-gradient(90deg, #ff8b55, #f13b3e); }
.what-we-do-link { color: #ff8059; }
.what-we-do-link:focus-visible { outline: 2px solid #ff9667; outline-offset: 4px; }
body.light .what-we-do-apps,
body.light .what-we-do-feature {
  border-color: rgba(201,68,53,.25);
  background: radial-gradient(ellipse at 95% 0%, rgba(241,59,62,.09), transparent 47%), linear-gradient(145deg,#fff,#f3f1f3 76%);
  box-shadow: inset 0 1px 0 #fff, 0 15px 35px rgba(32,17,20,.1);
}
body.light .what-we-do-copy p { color: #505664; }
body.light .what-we-do-apps .app-showcase-arrow { background: #fff; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .what-we-do-apps:hover,
  .what-we-do-feature:hover { transform: translateY(-4px); border-color: rgba(255,128,83,.62); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 48px rgba(0,0,0,.28), 0 0 22px rgba(241,59,62,.09); }
  .what-we-do-feature:hover > img { transform: scale(1.015); border-color: rgba(255,128,83,.48); box-shadow: 0 14px 30px rgba(0,0,0,.3); }
  .what-we-do-apps:hover .app-showcase-images { border-color: rgba(255,128,83,.55); }
}
.recent-update-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid rgba(255,111,67,.22);
  border-radius: 11px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(241,59,62,.1), transparent 43%),
    linear-gradient(150deg,#19181e,#0c0d12 78%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 38px rgba(0,0,0,.21);
}
.recent-update-card.is-featured { border-color: rgba(255,132,78,.48); }
.recent-update-image { border-bottom: 1px solid rgba(255,111,67,.18); }
.recent-update-image::after {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent,rgba(8,8,12,.55));
  content: "";
  opacity: .72;
  pointer-events: none;
  transition: opacity .28s ease;
}
.recent-update-image > img { display: block; }
.recent-update-sample { border-color: rgba(255,143,93,.54); background: rgba(11,10,14,.86); }
.recent-update-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 20px 22px; }
.recent-update-meta { align-items: center; gap: 6px 10px; font-size: .64rem; letter-spacing: .035em; }
.recent-update-meta span:last-child { padding: 4px 8px; border: 1px solid rgba(255,112,71,.25); border-radius: 4px; background: rgba(241,59,62,.1); color: #ff865f; font-size: .58rem; letter-spacing: .08em; text-transform: uppercase; }
.recent-update-card h3 { margin-top: 14px; font-size: 1.08rem; font-weight: 850; letter-spacing: -.025em; }
.recent-update-card p { font-size: .79rem; line-height: 1.72; }
.recent-update-link { margin-top: auto; padding-top: 15px; color: #ff8059; }
.recent-updates-more {
  position: relative;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid rgba(255,128,83,.48);
  border-radius: 6px;
  background: linear-gradient(110deg,rgba(241,59,62,.2),rgba(255,111,67,.08));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  color: #ff8a61;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.recent-updates-more:hover { transform: translateY(-2px); border-color: rgba(255,143,94,.8); background: linear-gradient(110deg,rgba(241,59,62,.3),rgba(255,111,67,.12)); box-shadow: 0 10px 25px rgba(241,59,62,.14); }
.recent-updates-more:focus-visible { outline: 2px solid #ff9667; outline-offset: 4px; }
body.light .recent-updates-more { border-color: rgba(201,68,53,.38); background: linear-gradient(110deg,rgba(241,59,62,.12),rgba(255,111,67,.045)); color: #a9362f; }
body.light .recent-update-card { border-color: rgba(201,68,53,.24); background: radial-gradient(ellipse at 100% 0%,rgba(241,59,62,.07),transparent 43%),linear-gradient(150deg,#fff,#f5f2f3 78%); }
body.light .recent-update-meta span:last-child { color: #ad382f; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .recent-update-card:hover { transform: translateY(-5px); border-color: rgba(255,128,83,.6); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 48px rgba(0,0,0,.27), 0 0 22px rgba(241,59,62,.1); }
  .recent-update-card:hover .recent-update-image::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .what-we-do-apps,
  .what-we-do-feature,
  .what-we-do-feature > img,
  .recent-update-card,
  .recent-updates-more,
  .recent-update-image::after { transition: none !important; }
  .recent-update-card:hover .recent-update-image > img,
  .what-we-do-feature:hover > img { transform: none; }
}

.site-footer .newsletter-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 112, 71, .3);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 88% 4%, rgba(241, 59, 62, .15), transparent 42%),
    linear-gradient(125deg, rgba(25, 22, 27, .97), rgba(10, 11, 16, .98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 60px rgba(0, 0, 0, .3), 0 0 30px rgba(241, 59, 62, .07);
}
.site-footer .newsletter-card::before {
  position: absolute;
  z-index: -1;
  top: -150px;
  right: -80px;
  width: 350px;
  height: 280px;
  border-radius: 50%;
  background: rgba(241, 59, 62, .16);
  content: "";
  filter: blur(85px);
  pointer-events: none;
}
.site-footer .newsletter-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 15%, rgba(255, 128, 79, .12), transparent 65%) border-box;
  content: "";
  opacity: .5;
  pointer-events: none;
  animation: newsletter-light-drift 12s ease-in-out infinite alternate;
}
.site-footer .newsletter-copy,
.site-footer .newsletter-form { position: relative; z-index: 1; }
.site-footer .newsletter-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #ff7954;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .18em;
}
.site-footer .newsletter-copy .eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(135deg, #ff9a59, #f13b3e);
  box-shadow: 0 0 12px rgba(255, 101, 68, .5);
  content: "";
  transform: rotate(45deg);
}
.site-footer .newsletter-copy h2 {
  max-width: 18ch;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -.055em;
}
.site-footer .newsletter-copy p {
  max-width: 560px;
  margin-top: 14px;
  color: #c2bdc6;
  font-size: .86rem;
  line-height: 1.8;
}
.site-footer .newsletter-form-row {
  gap: 9px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  background: rgba(5, 6, 10, .56);
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .22);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-footer .newsletter-form-row:focus-within {
  border-color: rgba(255, 119, 78, .72);
  box-shadow: 0 0 0 3px rgba(241, 59, 62, .12), inset 0 1px 5px rgba(0, 0, 0, .22);
}
.site-footer .newsletter-form input {
  min-height: 50px;
  padding-inline: 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: .84rem;
}
.site-footer .newsletter-form input:focus { border-color: transparent; box-shadow: none; }
.site-footer .newsletter-form input:focus-visible { outline: 0; }
.site-footer .newsletter-form input::placeholder { color: #aaa4ae; opacity: 1; }
.site-footer .newsletter-form input[aria-invalid="true"] {
  border-color: rgba(255, 107, 107, .85);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, .14);
}
.site-footer .newsletter-submit {
  min-width: 126px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(255, 154, 95, .55);
  border-radius: 7px;
  background: linear-gradient(110deg, #ff824f, #f13b3e 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 6px 17px rgba(241, 59, 62, .17);
  color: #fff;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
  transition: transform .2s ease, filter .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.site-footer .newsletter-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: saturate(1.12) brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 9px 25px rgba(241, 59, 62, .32), 0 0 18px rgba(255, 112, 71, .14);
}
.site-footer .newsletter-submit:focus-visible {
  outline: 2px solid #ff9a68;
  outline-offset: 3px;
}
.site-footer .newsletter-privacy {
  margin: 12px 4px 0;
  color: #c2bdc6;
  font-size: .72rem;
  line-height: 1.65;
}
.site-footer .newsletter-privacy::before {
  margin-right: 6px;
  color: #ff8a5d;
  content: "✓";
  font-weight: 900;
}
.site-footer .newsletter-privacy a {
  margin-left: 5px;
  color: #ff8a67;
}
.site-footer .newsletter-status {
  min-height: 1.5em;
  margin: 7px 4px 0;
  color: #d0cad3;
  font-size: .74rem;
  line-height: 1.5;
}
.site-footer .newsletter-status[data-state="error"] { color: #ff8d8d; }
.site-footer .newsletter-status[data-state="success"] { color: #9ce0b0; }
body.light .site-footer .newsletter-card {
  border-color: rgba(201, 68, 53, .32);
  background: radial-gradient(ellipse at 88% 4%, rgba(241,59,62,.1), transparent 42%), linear-gradient(125deg, #fff, #f5f1f2);
  box-shadow: inset 0 1px 0 #fff, 0 18px 48px rgba(32,17,20,.1);
}
body.light .site-footer .newsletter-copy p,
body.light .site-footer .newsletter-privacy { color: #505664; }
body.light .site-footer .newsletter-form-row {
  border-color: rgba(15, 21, 33, .18);
  background: rgba(255, 255, 255, .86);
  box-shadow: inset 0 1px 4px rgba(15,21,33,.06);
}
body.light .site-footer .newsletter-form input { color: #12141b; }
body.light .site-footer .newsletter-form input::placeholder { color: #586173; }
body.light .site-footer .newsletter-status { color: #414957; }
body.light .site-footer .newsletter-status[data-state="success"] { color: #176c3b; }
@keyframes newsletter-light-drift {
  from { transform: translateX(-3%); opacity: .3; }
  to { transform: translateX(3%); opacity: .62; }
}
@media (max-width: 760px) {
  .site-footer .newsletter-card { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 480px) {
  .site-footer .newsletter-card { padding: 24px 18px; }
  .site-footer .newsletter-form-row { flex-direction: column; }
  .site-footer .newsletter-form input,
  .site-footer .newsletter-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .newsletter-card::after { animation: none; }
  .site-footer .newsletter-form-row,
  .site-footer .newsletter-submit { transition: none; }
}

/* Signature About experience */
#about.about-section {
  padding-top: clamp(24px, 4vw, 52px);
  padding-bottom: clamp(62px, 8vw, 104px);
  perspective: 1400px;
}
#about .about-panel {
  --about-rotate-x: 0deg;
  --about-rotate-y: 0deg;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(24px, 3vw, 38px);
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 16% 52%, rgba(225, 53, 45, .17), transparent 37%),
    radial-gradient(ellipse at 91% 8%, rgba(255, 125, 68, .08), transparent 34%),
    linear-gradient(125deg, #111116 0%, #0c0c11 54%, #151116 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 32px 90px rgba(0, 0, 0, .36);
  transform: perspective(1400px) rotateX(var(--about-rotate-x)) rotateY(var(--about-rotate-y));
  transform-style: preserve-3d;
  transition: transform .28s ease, border-color .35s ease, box-shadow .35s ease;
}
#about .about-panel::before,
#about .about-panel::after {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}
#about .about-panel::before {
  top: 0;
  left: -45%;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff9a68 48%, #f13b3e 72%, transparent);
  opacity: 0;
}
#about .about-panel::after {
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .45), transparent 86%);
  opacity: .35;
}
#about .about-panel.is-visible::before {
  opacity: .8;
  animation: about-energy-sweep 5.8s 1s ease-in-out infinite;
}
#about .about-mark {
  position: relative;
  display: grid;
  width: min(100%, 260px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 27px;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(244, 67, 52, .2), transparent 43%),
    linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  perspective: 900px;
  transform-style: preserve-3d;
}
#about .about-mark::before {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255, 119, 82, .18);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(241, 59, 62, .11), inset 0 0 34px rgba(241, 59, 62, .06);
  content: "";
  pointer-events: none;
}
#about .about-mark::after {
  position: absolute;
  z-index: 0;
  inset: 10% 12%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(241, 59, 62, .2), transparent 70%);
  filter: blur(16px);
  opacity: .55;
  transform: scale(.94);
  content: "";
  pointer-events: none;
}
#about .about-panel.is-visible .about-mark::after {
  animation: about-fire-breathe 3.8s ease-in-out infinite;
}
#about .about-mark-orbit {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 133, 95, .28);
  border-radius: 50%;
  pointer-events: none;
  transform: rotateX(66deg) rotateZ(-22deg);
  box-shadow: 0 0 18px rgba(241, 59, 62, .1);
}
#about .about-mark-orbit-outer { width: 88%; border-color: rgba(255, 255, 255, .13); transform: rotateX(69deg) rotateZ(28deg); }
#about .about-mark-orbit-inner { width: 70%; transform: rotateX(72deg) rotateZ(-34deg); }
#about .about-mark-index {
  position: absolute;
  top: 19px;
  left: 20px;
  color: rgba(255, 189, 160, .74);
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .18em;
  z-index: 2;
}
#about .about-mark-emblem {
  position: relative;
  z-index: 1;
  width: min(82%, 216px);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 2px 0 rgba(255, 116, 91, .22)) drop-shadow(0 10px 14px rgba(0, 0, 0, .46)) drop-shadow(0 0 14px rgba(241, 59, 62, .2));
  transform: translateZ(30px) rotateY(var(--mark-rotate-y, -8deg)) rotateX(var(--mark-rotate-x, 3deg));
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), filter .35s ease;
  will-change: transform;
}
#about .about-mark-emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  backface-visibility: hidden;
}
#about .about-mark-caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, .56);
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .15em;
  z-index: 2;
}
#about .about-mark-caption span:first-child { color: rgba(255, 143, 106, .88); }
#about .about-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  transform: translateZ(24px);
}
#about .about-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
  font-size: .7rem;
  letter-spacing: .24em;
}
#about .about-copy .eyebrow::before {
  width: 27px;
  height: 1px;
  background: linear-gradient(90deg, #ff9a68, var(--red));
  content: "";
}
#about .about-copy h2 {
  max-width: none;
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-size: clamp(2.25rem, 3.7vw, 3.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-wrap: balance;
}
#about .about-copy h2 span {
  color: #ff755b;
  text-shadow: 0 0 28px rgba(241, 59, 62, .2);
}
#about .about-copy > p {
  max-width: 56ch;
  margin: 12px 0 0;
  color: #c0bdca;
  font-size: clamp(.88rem, 1.05vw, .98rem);
  line-height: 1.62;
}
#about .feature-row {
  position: relative;
  z-index: 2;
  gap: 9px;
  margin-top: 14px;
  transform: translateZ(34px);
}
#about .feature-row span {
  min-height: 39px;
  padding: 0 13px;
  border-color: rgba(255, 255, 255, .105);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  color: #d7d4df;
  font-size: .7rem;
  letter-spacing: .015em;
  transition: border-color .22s ease, color .22s ease, background .22s ease, transform .22s ease;
}
#about .about-panel.has-revealed .about-mark,
#about .about-panel.has-revealed .about-copy {
  animation: about-rise-in .7s cubic-bezier(.2, .75, .25, 1) both;
}
#about .about-panel.has-revealed .about-copy { animation-delay: .12s; }
#about .about-panel.is-visible .about-mark-emblem { animation: about-emblem-float 5.2s ease-in-out infinite; }
body.light #about .about-panel {
  border-color: rgba(161, 45, 41, .18);
  background:
    radial-gradient(ellipse at 14% 52%, rgba(225, 53, 45, .1), transparent 38%),
    radial-gradient(ellipse at 91% 8%, rgba(255, 125, 68, .07), transparent 34%),
    linear-gradient(125deg, #fff 0%, #f7f5f6 56%, #fcf6f3 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 25px 70px rgba(31, 19, 20, .12);
}
body.light #about .about-copy > p { color: #535968; }
body.light #about .feature-row span { color: #343746; background: rgba(255, 255, 255, .72); }
body.light #about .about-mark-caption { color: rgba(255, 255, 255, .72); }
@keyframes about-energy-sweep {
  0%, 20% { transform: translateX(0); opacity: 0; }
  32% { opacity: .75; }
  75% { opacity: .48; }
  100% { transform: translateX(360%); opacity: 0; }
}
@keyframes about-rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes about-emblem-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
@keyframes about-fire-breathe {
  0%, 100% { opacity: .52; transform: scale(.92); }
  50% { opacity: .82; transform: scale(1.04); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #about .about-panel[data-pointer-active="true"] {
    transition: transform .12s ease-out, border-color .35s ease, box-shadow .35s ease;
    border-color: rgba(255, 117, 91, .27);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 38px 100px rgba(0, 0, 0, .43), 0 0 42px rgba(241, 59, 62, .09);
  }
  #about .about-mark:hover .about-mark-emblem {
    filter: drop-shadow(0 3px 0 rgba(255, 130, 93, .26)) drop-shadow(0 14px 18px rgba(0, 0, 0, .52)) drop-shadow(0 0 20px rgba(241, 59, 62, .28));
  }
  #about .feature-row span:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 119, 82, .4);
    background: rgba(241, 59, 62, .08);
    color: #ff9a76;
  }
}
@media (max-width: 900px) {
  #about .about-panel {
    grid-template-columns: minmax(200px, .72fr) minmax(0, 1.28fr);
    gap: 20px;
    padding: 24px;
  }
  #about .about-mark { width: min(100%, 240px); }
  #about .about-copy h2 { font-size: clamp(2.15rem, 4.5vw, 3rem); }
  #about .feature-row span { padding-inline: 10px; font-size: .66rem; }
}
@media (max-width: 680px) {
  #about .about-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border-radius: 23px;
    transform: none;
  }
  #about .about-mark {
    width: min(100%, 240px);
    aspect-ratio: 1;
  }
  #about .about-mark-emblem { width: min(58%, 204px); border-radius: 20px; }
  #about .about-copy { text-align: center; transform: none; }
  #about .about-copy .eyebrow { justify-content: center; }
  #about .about-copy h2 { max-width: 18ch; margin-inline: auto; font-size: clamp(2.25rem, 9vw, 3.1rem); }
  #about .about-copy > p { margin-top: 12px; font-size: .9rem; }
  #about .feature-row { justify-content: center; margin-top: 16px; transform: none; }
}
@media (max-width: 380px) {
  #about .about-panel { padding: 16px; }
  #about .about-mark { width: min(100%, 220px); }
  #about .feature-row { gap: 7px; }
  #about .feature-row span { min-height: 36px; padding-inline: 9px; font-size: .63rem; }
}
@media (prefers-reduced-motion: reduce) {
  #about .about-panel,
  #about .about-mark-emblem,
  #about .feature-row span { transition: none; }
  #about .about-panel::before,
  #about .about-panel.has-revealed .about-mark,
  #about .about-panel.has-revealed .about-copy,
  #about .about-panel.is-visible .about-mark-emblem { animation: none; }
}

#about .feature-row .about-official-links {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 42px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .018));
  color: #d7d4df;
  font: inherit;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .015em;
  cursor: pointer;
  transition: border-color .22s ease, color .22s ease, background .22s ease, transform .22s ease, box-shadow .22s ease;
}
#about .feature-row .about-official-links-arrow {
  position: absolute;
  top: 2px;
  left: 10px;
  display: block;
  z-index: 0;
  width: 14px;
  height: 14px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #ff8a65;
  font-size: .9rem;
  line-height: 1;
  text-align: center;
  pointer-events: none;
  transition: left .3s cubic-bezier(.16, 1, .3, 1), color .22s ease;
}
#about .feature-row .about-official-links-label {
  display: block;
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  line-height: 1.2;
  transform: translateY(9px);
}
#about .about-official-links[data-popup-state="open"] .about-official-links-arrow {
  left: calc(100% - 24px);
}
#about .about-official-links:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 119, 82, .48);
  background: linear-gradient(145deg, rgba(241, 59, 62, .14), rgba(255, 255, 255, .025));
  color: #ff9a76;
  box-shadow: 0 8px 22px rgba(241, 59, 62, .12);
}
#about .about-official-links:focus-visible {
  outline: 2px solid var(--red-strong);
  outline-offset: 4px;
}
body.light #about .feature-row .about-official-links { color: #343746; background: rgba(255, 255, 255, .72); }
body.light #about .feature-row .about-official-links:hover { color: #a62a2c; background: rgba(241, 59, 62, .08); }

.official-links-dialog {
  position: fixed;
  z-index: 145;
  inset: 0;
  display: none;
  place-items: center;
  padding: max(18px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
}
.official-links-dialog.open { display: grid; }
.official-links-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(4, 4, 8, .76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: official-links-fade-in .24s ease both;
  cursor: default;
}
.official-links-panel {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  max-height: min(88vh, 760px);
  max-height: min(88dvh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(26px, 5vw, 42px);
  border: 1px solid rgba(255, 135, 99, .35);
  border-top-color: rgba(255, 158, 119, .72);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 7% 0%, rgba(241, 59, 62, .16), transparent 45%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 112, 66, .1), transparent 40%),
    linear-gradient(145deg, rgba(24, 23, 30, .97), rgba(11, 11, 16, .97));
  box-shadow: 0 34px 100px rgba(0, 0, 0, .58), 0 0 48px rgba(241, 59, 62, .13), inset 0 1px 0 rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  animation: official-links-panel-in .3s cubic-bezier(.2, .8, .25, 1) both;
}
.official-links-dialog.is-closing .official-links-backdrop { animation: official-links-fade-out .2s ease both; }
.official-links-dialog.is-closing .official-links-panel { animation: official-links-panel-out .2s ease both; }
.official-links-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  color: #f5f1f3;
  font-size: 1.55rem;
  line-height: 1;
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.official-links-close:hover {
  transform: rotate(90deg);
  border-color: rgba(255, 111, 85, .65);
  background: rgba(241, 59, 62, .14);
  color: #ff9878;
}
.official-links-close:focus-visible,
.official-social-card:focus-visible {
  outline: 2px solid #ff8067;
  outline-offset: 4px;
}
.official-links-heading { padding-right: 42px; }
.official-links-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #ff9a76;
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .25em;
}
.official-links-heading h2 {
  margin: 0;
  color: #fff;
  font-family: "Exo 2", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
}
.official-links-heading p {
  margin: 10px 0 24px;
  color: #c2bdca;
  font-size: .91rem;
  line-height: 1.65;
}
.official-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}
.official-social-card {
  display: flex;
  min-width: 0;
  min-height: 84px;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .022));
  color: #fff;
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.official-social-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 126, 91, .6);
  background: linear-gradient(135deg, rgba(241, 59, 62, .14), rgba(255, 255, 255, .035));
  box-shadow: 0 12px 26px rgba(0, 0, 0, .24), 0 0 22px rgba(241, 59, 62, .1);
}
.official-social-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  place-items: center;
  border: 1px solid rgba(255, 126, 91, .2);
  border-radius: 13px;
  background: rgba(241, 59, 62, .1);
  color: #ff9475;
  transition: transform .22s ease, color .22s ease, background .22s ease;
}
.official-social-icon svg { width: 21px; height: 21px; fill: currentColor; }
.official-social-card[data-social-name="Instagram"] .official-social-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.official-social-card[data-social-name="Instagram"] .official-instagram-dot { fill: currentColor; stroke: none; }
.official-social-card:hover .official-social-icon { transform: scale(1.06) rotate(-4deg); color: #ffb08c; background: rgba(241, 59, 62, .18); }
.official-social-copy { display: grid; min-width: 0; gap: 4px; }
.official-social-copy strong { overflow: hidden; color: #f7f5fa; font-size: .9rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.official-social-copy small { color: #b8b3c1; font-size: .72rem; line-height: 1.45; }
.official-social-external {
  flex: 0 0 auto;
  margin-left: auto;
  color: rgba(255, 171, 137, .75);
  font-size: 1rem;
  transition: transform .2s ease, color .2s ease;
}
.official-social-card:hover .official-social-external { transform: translate(2px, -2px); color: #ffb08c; }
.official-links-dialog.open .official-social-card { animation: official-links-card-in .42s cubic-bezier(.2, .8, .25, 1) both; }
.official-links-dialog.open .official-social-card:nth-child(2) { animation-delay: .04s; }
.official-links-dialog.open .official-social-card:nth-child(3) { animation-delay: .08s; }
.official-links-dialog.open .official-social-card:nth-child(4) { animation-delay: .12s; }
.official-links-dialog.open .official-social-card:nth-child(5) { animation-delay: .16s; }
@keyframes official-links-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes official-links-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes official-links-panel-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes official-links-panel-out { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(10px) scale(.985); } }
@keyframes official-links-card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 520px) {
  .official-links-dialog { padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); }
  .official-links-panel { width: 100%; max-height: min(92vh, 760px); max-height: min(92dvh, 760px); padding: 26px 18px 20px; border-radius: 20px; }
  .official-links-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .official-links-heading { padding-right: 38px; }
  .official-links-heading p { margin-bottom: 19px; font-size: .85rem; }
  .official-links-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .official-social-card { min-height: 72px; padding: 11px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .official-links-backdrop,
  .official-links-panel,
  .official-links-dialog.is-closing .official-links-backdrop,
  .official-links-dialog.is-closing .official-links-panel,
  .official-links-dialog.open .official-social-card { animation: none; }
  .official-links-close,
  .official-social-card,
  .official-social-icon,
  .official-social-external,
  #about .about-official-links { transition: none; }
}

@media (max-width: 760px) {
  .site-footer .footer-localization-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 13px;
  }
  .site-footer .footer-localization {
    width: min(100%, 280px);
    max-width: 280px;
    justify-items: center;
    text-align: center;
  }
  .site-footer .footer-localization label {
    width: 100%;
    justify-items: center;
    text-align: center;
  }
  .site-footer .footer-localization select {
    width: min(100%, 260px);
    min-width: 0;
    text-align: center;
  }
  .site-footer .footer-location-disclosure {
    text-align: center;
  }
  .site-footer .footer-social-location {
    width: 100%;
    justify-self: center;
    justify-items: center;
    gap: 11px;
  }
  .site-footer .footer-social-location .footer-social {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .site-footer .footer-social-location .social-link {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .site-footer .footer-location {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
}