:root {
  --ink: #070913;
  --ink2: #0d1322;
  --card: #12192c;
  --card-hover: #18223c;
  --card-subtle: rgba(18, 25, 44, 0.7);
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.16);
  --line-glow: rgba(124, 196, 255, 0.4);
  --text: #f0f4fc;
  --text-pure: #ffffff;
  --muted: #9aa7c2;
  --muted-dark: #62708d;
  --accent: #58b6ff;
  --accent-rgb: 88, 182, 255;
  --accent-hover: #82c8ff;
  --accent-ink: #04101e;
  --warm: #ffb82e;
  --good: #34d399;
  --danger: #ff4757;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1080px;
  --g1: rgba(88, 182, 255, 0.35);
  --g2: rgba(168, 85, 247, 0.30);
  --g3: rgba(255, 184, 46, 0.15);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--ink);
  background-image:
    radial-gradient(1300px 700px at 80% -10%, rgba(88, 182, 255, 0.09), transparent 60%),
    radial-gradient(1000px 600px at 0% 35%, rgba(168, 85, 247, 0.06), transparent 60%),
    radial-gradient(800px 500px at 50% 90%, rgba(255, 184, 46, 0.04), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Bilingual switcher */
body[data-lang="it"] .en { display: none !important; }
body[data-lang="en"] .it { display: none !important; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.skip:focus { left: 12px; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 19, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav.scrolled {
  background: rgba(7, 9, 19, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.nav-in {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-pure);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 1.02rem;
  transition: opacity .2s;
}
.brand:hover { text-decoration: none; opacity: .9; }
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(88, 182, 255, 0.2);
  transition: transform .3s ease;
}
.brand:hover img { transform: scale(1.06) rotate(-2deg); }
.brand .lab {
  background: linear-gradient(135deg, var(--accent), #b275ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.menu {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.menu a {
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 500;
  transition: all .2s ease;
}
.menu a:hover, .menu a[aria-current="page"] {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.lang {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.lang button {
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 6px 12px;
  border-radius: 9px;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  border: none;
  transition: all .2s ease;
}
.lang button:hover { color: var(--text-pure); }
.lang button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 2px 10px rgba(88, 182, 255, 0.35);
}

@media (max-width: 680px) {
  .nav-in { padding: 12px 16px; }
  .menu { display: none; }
  .lang { margin-left: auto; }
}

/* ==========================================================================
   HERO - HOME
   ========================================================================== */
.hero-home {
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 20px 84px;
  overflow: hidden;
  box-sizing: border-box;
  background: radial-gradient(ellipse at 50% 120%, #152244 0%, #0a1020 50%, transparent 85%);
}

.aurora {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 95%;
  z-index: 0;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  background:
    radial-gradient(42% 52% at 20% 35%, var(--g1), transparent 70%),
    radial-gradient(38% 48% at 75% 30%, var(--g2), transparent 70%),
    radial-gradient(32% 42% at 50% 75%, var(--g3), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-3%, 0, 0) scale(1); }
  to { transform: translate3d(3%, 4%, 0) scale(1.08); }
}

.sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.sky i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: .5;
  animation: tw 4s ease-in-out infinite;
}
@keyframes tw {
  0%, 100% { opacity: .15; }
  50% { opacity: .9; }
}

.shoot {
  position: absolute;
  width: 240px;
  height: 3px;
  border-radius: 2px;
  z-index: 0;
  opacity: 0;
  background: linear-gradient(90deg, #fff, rgba(88, 182, 255, 0.5) 40%, transparent);
  filter: drop-shadow(0 0 8px rgba(130, 200, 255, 0.9));
  transform: rotate(-28deg);
  animation: shoot 7s linear infinite;
  pointer-events: none;
}
@keyframes shoot {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-28deg); }
  3% { opacity: 1; }
  16% { opacity: 0; transform: translate3d(-640px, 340px, 0) rotate(-28deg); }
  100% { opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mark {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 24px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px rgba(88, 182, 255, 0.12), 0 14px 40px rgba(88, 182, 255, 0.28);
  animation: float 6s ease-in-out infinite;
  background: var(--ink2);
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-home h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 4.2rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.05;
  background: linear-gradient(180deg, #ffffff 40%, #c4dcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.hero-home h1 .lab {
  background: linear-gradient(135deg, var(--accent) 10%, #bf7aff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  font-size: clamp(0.98rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  margin: 16px auto 24px;
  color: #c0cde3;
  max-width: 640px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .86rem;
  box-shadow: 0 8px 24px rgba(88, 182, 255, 0.28);
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow: 0 12px 32px rgba(88, 182, 255, 0.42);
  color: var(--accent-ink);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--line2);
  box-shadow: none;
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-pure);
}
.btn.warm {
  background: linear-gradient(135deg, var(--warm), #ff9626);
  color: #1a1200;
  box-shadow: 0 8px 26px rgba(255, 184, 46, 0.28);
}
.btn.warm:hover {
  box-shadow: 0 12px 34px rgba(255, 184, 46, 0.45);
  color: #1a1200;
}

.hero-apps {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 0;
  margin-bottom: 0;
}
.hero-apps a {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--card);
  transition: all .25s ease;
  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.hero-apps a:hover {
  transform: translateY(-5px) scale(1.08);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(88, 182, 255, 0.3);
}
.hero-apps img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.scrollhint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  z-index: 2;
  display: block;
  cursor: pointer;
  transition: all .2s ease;
}
.scrollhint:hover {
  border-color: var(--accent);
  transform: translateX(-50%) translateY(3px);
}
.scrollhint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 9px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ==========================================================================
   SECTIONS & GENERAL LAYOUT
   ========================================================================== */
main { display: block; }
section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px 20px;
}

.section-head {
  margin-bottom: 32px;
}

h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 12px;
}
h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line2), transparent);
}

.section-sub {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-pure);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}

.lead {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #b5c2da;
  margin: 0 0 16px;
}
.muted { color: var(--muted); }

/* ==========================================================================
   APP TILES / CARDS (HOME)
   ========================================================================== */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.tile:hover, .tile:focus-within {
  transform: translateY(-8px);
  border-color: rgba(88, 182, 255, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(88, 182, 255, 0.15);
}

/* Custom glow per game */
.tile[data-theme="brakeless"]:hover {
  border-color: rgba(255, 75, 95, 0.55);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255, 60, 80, 0.22);
}
.tile[data-theme="datacrawler"]:hover {
  border-color: rgba(60, 160, 255, 0.55);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px rgba(40, 140, 255, 0.22);
}
.tile[data-theme="meower"]:hover {
  border-color: rgba(255, 184, 46, 0.55);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px rgba(255, 184, 46, 0.22);
}

.tile-art {
  position: relative;
  height: 200px;
  background-color: var(--ink2);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.tile-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transition: transform .7s cubic-bezier(0.16, 1, 0.3, 1);
}
.tile:hover .tile-art::before {
  transform: scale(1.08);
}
.tile-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 19, 0.1) 20%, rgba(18, 25, 44, 0.95) 95%, var(--card) 100%);
}

.tile-art .chip {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  background: rgba(7, 9, 19, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tile-icon {
  position: absolute;
  left: 24px;
  top: 160px;
  width: 78px;
  height: 78px;
  border-radius: 20px;
  border: 3px solid var(--card);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  z-index: 3;
  background: var(--card);
  object-fit: cover;
  transition: transform .3s ease;
}
.tile:hover .tile-icon {
  transform: scale(1.05);
}

.tile-body {
  padding: 48px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2px;
}
.tag-pill {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.tile h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -.01em;
  font-weight: 800;
}
.tile h3 a {
  color: var(--text-pure);
  transition: color .2s ease;
}
.tile:hover h3 a { color: var(--accent); }

.stretch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tile p {
  margin: 0;
  color: #a0aec7;
  font-size: .95rem;
  line-height: 1.6;
}

.tile-actions {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.tile .go {
  color: var(--accent);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tile .go i {
  display: inline-block;
  font-style: normal;
  transition: transform .25s ease;
}
.tile:hover .go i { transform: translateX(5px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--warm);
  color: var(--warm);
}
.chip.ok {
  border-color: rgba(52, 211, 153, 0.5);
  color: #4eedaa;
}
.chip.ok::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px var(--good);
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all .2s ease;
}
.play-badge:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-pure);
  text-decoration: none;
}
.play-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.games-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 42px;
  width: 100%;
}
.games-cta .btn {
  padding: 14px 30px;
}

/* ==========================================================================
   CARDS & GRIDS (ABOUT & VALUES)
   ========================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 182, 255, 0.4);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(88, 182, 255, 0.08);
}
.card .icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(88, 182, 255, 0.1);
  border: 1px solid rgba(88, 182, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-pure);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
}

/* ==========================================================================
   GAME DETAIL HERO & LAYOUT
   ========================================================================== */
.hero-app {
  position: relative;
  overflow: hidden;
  padding: 60px 24px 80px;
  background: radial-gradient(ellipse at 50% 130%, #152244 0%, #0a1020 50%, transparent 85%);
}
.hero-app-in {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
}
.hero-app .icon {
  flex: none;
  width: 176px;
  height: 176px;
  border-radius: 40px;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 8px rgba(88, 182, 255, 0.1), 0 16px 50px rgba(88, 182, 255, 0.25);
  animation: float 6s ease-in-out infinite;
  background: var(--ink2);
  object-fit: cover;
}
.hero-app h1 {
  margin: 0 0 8px;
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.08;
  font-weight: 900;
  background: linear-gradient(180deg, #ffffff 40%, #c4dcff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-app h1.brk { font-style: italic; }
.hero-app h1 .less {
  background: linear-gradient(135deg, var(--warm), #ff6b3d);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-app .tagline {
  margin: 0 0 22px;
  color: #b5c4df;
  font-size: 1.15rem;
  max-width: 600px;
  line-height: 1.6;
}
.hero-app .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body[data-app="brakeless"] {
  --g1: rgba(255, 45, 65, 0.38);
  --g2: rgba(255, 184, 46, 0.28);
  --g3: rgba(88, 182, 255, 0.14);
}
body[data-app="data-crawler"] {
  --g1: rgba(45, 100, 255, 0.42);
  --g2: rgba(230, 40, 50, 0.30);
  --g3: rgba(88, 182, 255, 0.16);
}
body[data-app="meower"] {
  --g1: rgba(255, 200, 100, 0.25);
  --g2: rgba(88, 182, 255, 0.26);
  --g3: rgba(168, 85, 247, 0.16);
}

@media (max-width: 720px) {
  .hero-app-in { flex-direction: column; text-align: center; }
  .hero-app .tagline { margin-left: auto; margin-right: auto; }
  .hero-app .cta { justify-content: center; }
  .hero-app .icon { width: 140px; height: 140px; border-radius: 32px; }
}

.crumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: .9rem;
  color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span.sep { margin: 0 8px; opacity: .4; }

.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.panel h3 {
  margin: 0 0 16px;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}
.panel dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 18px;
  font-size: .95rem;
}
.panel dt { color: var(--muted); font-weight: 500; }
.panel dd { margin: 0; color: var(--text-pure); font-weight: 600; }

.panel .links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Screenshots Gallery */
.gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 12px 4px 20px;
  scroll-snap-type: x mandatory;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 4px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 4px; }

.phone {
  flex: none;
  width: 220px;
  padding: 8px;
  border-radius: 34px;
  background: #000;
  border: 3px solid #1e2842;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  scroll-snap-align: start;
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-in;
}
.phone:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(88, 182, 255, 0.25);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}
.phone.land {
  width: min(460px, 85vw);
  border-radius: 24px;
  padding: 7px;
}
.phone.land img { border-radius: 17px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 6, 14, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.on { display: flex; }
.lightbox img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 20px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Callout Band */
.band {
  margin: 64px auto 0;
  max-width: var(--max);
  padding: 0 24px;
}
.band > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line2);
  background: linear-gradient(135deg, rgba(88, 182, 255, 0.14), rgba(168, 85, 247, 0.12)), var(--card);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
}
.band h3 { margin: 0 0 6px; font-size: 1.35rem; color: var(--text-pure); }
.band p { margin: 0; color: #b0bfd9; }

.more-apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.more-apps a {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
  color: var(--text);
  transition: all .25s ease;
}
.more-apps a:hover {
  border-color: rgba(88, 182, 255, 0.5);
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.more-apps img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.more-apps strong { display: block; color: var(--text-pure); font-size: 1.02rem; }
.more-apps small { display: block; color: var(--muted); font-size: .84rem; }

/* ==========================================================================
   LEGAL DOCUMENTS
   ========================================================================== */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 24px 20px;
}
.doc h1 {
  letter-spacing: -.02em;
  margin: 12px 0 6px;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--text-pure);
}
.doc h2 {
  margin: 2.2em 0 .6em;
  font-size: 1.15rem;
}
.doc h3 {
  margin: 1.5em 0 .4em;
  font-size: 1.02rem;
  color: var(--text-pure);
}
.doc p, .doc li {
  line-height: 1.7;
  color: #b5c2da;
}
.doc li { margin: .45em 0; }
.doc .updated {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: .92rem;
}
.doc .toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 18px 0 12px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .92rem;
}
.doc .note {
  background: rgba(255, 184, 46, 0.08);
  border: 1px solid rgba(255, 184, 46, 0.35);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 22px 0;
  color: var(--text);
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.35);
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}
.contact-actions .mail {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure);
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all .2s ease;
}
.contact-actions .mail:hover {
  background: rgba(88, 182, 255, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.copy-btn {
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(88, 182, 255, 0.08);
}

footer {
  max-width: var(--max);
  margin: 80px auto 0;
  padding: 40px 24px 56px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 60px;
  justify-content: space-between;
}
footer .col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer b {
  color: var(--text-pure);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
footer a { color: var(--muted); transition: color .2s ease; }
footer a:hover { color: var(--accent); text-decoration: none; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1), transform .7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .aurora, .shoot, .mark, .scrollhint::after, .sky i, .hero-app .icon { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media print {
  .nav, .scrollhint, .aurora, .sky, .shoot, .lang { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
