/* ==========================================================================
   shengdanetworktechnology — Corporate Identity Website
   Shared stylesheet (no build tools required)
   Design standard: 1920 x 1080 Full HD desktop, max content width 1360px
   ========================================================================== */

:root {
  --bg: #0f172a;
  --bg-deep: #0b1120;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #e9eefb;
  --muted: #93a3bb;
  --muted-2: #74839c;
  --brand: #5b8cff;
  --brand-2: #a855f7;
  --shell: 1360px;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Ambient background: soft blue/violet light + faint engineering grid
   -------------------------------------------------------------------------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 78% -10%, rgba(91, 140, 255, 0.20), transparent 62%),
    radial-gradient(760px 520px at 8% 2%, rgba(168, 85, 247, 0.14), transparent 64%),
    radial-gradient(1100px 700px at 50% 112%, rgba(91, 140, 255, 0.10), transparent 62%),
    var(--bg);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 76%);
}

/* --------------------------------------------------------------------------
   Layout shell
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .shell {
    padding-inline: 40px;
  }
}

@media (min-width: 1280px) {
  .shell {
    padding-inline: 64px;
  }
}

.section {
  padding-block: 56px;
}

@media (min-width: 768px) {
  .section {
    padding-block: 80px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: 108px;
  }
}

.divider {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(91, 140, 255, 0.34),
    rgba(168, 85, 247, 0.30),
    transparent
  );
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand), rgba(168, 85, 247, 0.6));
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: #f4f7ff;
}

.h1 {
  font-size: clamp(2.4rem, 4.3vw, 4.1rem);
  line-height: 1.08;
}

.h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
}

.h3 {
  font-size: clamp(1.08rem, 1.3vw, 1.28rem);
  letter-spacing: -0.015em;
}

.lead {
  font-size: clamp(1rem, 1.05vw, 1.075rem);
  color: var(--muted);
  margin: 0;
}

.body-text {
  color: var(--muted);
  margin: 0;
}

.grad-text {
  background: linear-gradient(100deg, #5b8cff 0%, #8b6bff 48%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head .lead {
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 17, 32, 0.88);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

@media (min-width: 1024px) {
  .header-inner {
    height: 80px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #f4f7ff;
  min-width: 0;
}

.brand-mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, #5b8cff, #a855f7);
  display: grid;
  place-items: center;
  box-shadow: 0 0 22px rgba(91, 140, 255, 0.35);
}

.brand-mark svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.brand-text {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 1280px) {
  .brand-text {
    font-size: 15.5px;
  }
}

/* Compact header on small phones so the brand name, the language switch
   and the menu button all fit without the switch breaking onto two lines */
@media (max-width: 480px) {
  .header-inner {
    gap: 10px;
  }
  .brand {
    gap: 9px;
  }
  .brand-mark {
    width: 27px;
    height: 27px;
    border-radius: 8px;
  }
  .brand-text {
    font-size: 13px;
  }
  .lang-switch button {
    padding: 6px 10px;
    font-size: 11.5px;
  }
  .header-right {
    gap: 8px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 36px;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  position: relative;
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
  padding-block: 6px;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: #eef3ff;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 0.28s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  flex: none;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
  line-height: 1;
}

.lang-switch button:hover {
  color: #e9eefb;
}

.lang-switch button.is-active {
  background: var(--brand);
  color: #fff;
}

.menu-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.menu-btn svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(11, 17, 32, 0.97);
  backdrop-filter: blur(16px);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu nav {
  display: grid;
  padding-block: 8px 18px;
}

.mobile-menu a {
  padding: 14px 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15.5px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 34px -16px rgba(91, 140, 255, 0.95);
}

.btn-primary:hover {
  background: #4a7dfa;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px -16px rgba(91, 140, 255, 1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: #dbe4f6;
}

.btn-ghost:hover {
  border-color: rgba(91, 140, 255, 0.6);
  color: #fff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Panels / cards
   -------------------------------------------------------------------------- */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.014)
  );
  backdrop-filter: blur(6px);
}

.panel-pad {
  padding: 28px;
}

@media (min-width: 1024px) {
  .panel-pad {
    padding: 40px;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 140, 255, 0.32);
  background: rgba(91, 140, 255, 0.09);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #b8cdff;
  text-transform: uppercase;
}

.pulse-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70% {
    transform: scale(3.2);
    opacity: 0;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding-block: 64px 56px;
}

@media (min-width: 768px) {
  .hero {
    padding-block: 92px 80px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-block: 112px 108px;
  }
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    gap: 72px;
  }
}

@media (min-width: 1440px) {
  .hero-grid {
    gap: 96px;
  }
}

.hero-copy {
  max-width: 640px;
}

.hero-title {
  margin: 22px 0 0;
  text-wrap: balance;
}

.hero-desc {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  max-width: 600px;
}

.hero-desc p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.06vw, 1.075rem);
}

.hero-desc p.is-strong {
  color: #c8d5ea;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted-2);
}

.hero-meta svg {
  width: 15px;
  height: 15px;
  color: rgba(91, 140, 255, 0.85);
  flex: none;
}

/* --- CSS-only abstract technology visual (no external images) --- */
.hv-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .hv-wrap {
    max-width: 600px;
  }
}

.hv-glow {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(91, 140, 255, 0.36) 0%,
    rgba(168, 85, 247, 0.18) 46%,
    transparent 72%
  );
  filter: blur(34px);
}

.hv-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.16);
  transform: translate(-50%, -50%);
}

.hv-ring--a {
  width: 60%;
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(91, 140, 255, 0.38);
  animation: hv-spin 30s linear infinite;
}

.hv-ring--a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 16px 2px rgba(91, 140, 255, 0.9);
}

.hv-ring--b {
  width: 84%;
  aspect-ratio: 1;
  border-color: rgba(148, 163, 184, 0.20);
  animation: hv-spin 52s linear infinite reverse;
}

.hv-ring--b::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 14px 2px rgba(168, 85, 247, 0.85);
}

.hv-ring--c {
  width: 100%;
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.10);
  animation: hv-spin 84s linear infinite;
}

.hv-axis {
  position: absolute;
  left: 50%;
  top: 6%;
  bottom: 6%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(91, 140, 255, 0.24),
    transparent
  );
}

.hv-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 32%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 26%;
  background: linear-gradient(145deg, #5b8cff 0%, #7a6bff 52%, #a855f7 100%);
  box-shadow: 0 0 90px rgba(91, 140, 255, 0.45),
    0 30px 70px -30px rgba(0, 0, 0, 0.9);
}

.hv-core-in {
  position: absolute;
  inset: 8%;
  border-radius: 22%;
  background: rgba(11, 17, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  transform: rotate(-45deg);
  color: #cfe0ff;
}

.hv-core-in svg {
  width: 34%;
  height: 34%;
}

.hv-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  color: #c7d3e6;
  white-space: nowrap;
  box-shadow: 0 20px 44px -26px rgba(0, 0, 0, 0.95);
}

.hv-chip svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex: none;
}

.hv-chip--1 {
  top: 4%;
  right: -2%;
  animation: hv-float 7s ease-in-out infinite;
}

.hv-chip--2 {
  bottom: 17%;
  left: -6%;
  animation: hv-float 8.5s ease-in-out 0.6s infinite;
}

.hv-chip--3 {
  bottom: 1%;
  right: 4%;
  animation: hv-float 9.5s ease-in-out 1.2s infinite;
}

@keyframes hv-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes hv-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 767px) {
  .hv-wrap {
    max-width: 290px;
  }
  .hv-chip,
  .hv-ring--c {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Feature grid
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1180px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.feature {
  padding: 26px 24px;
  height: 100%;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91, 140, 255, 0.28);
  background: rgba(91, 140, 255, 0.10);
  color: #9fbcff;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 19px;
  height: 19px;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.feature p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.62;
}

/* --------------------------------------------------------------------------
   Two-column content block
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 88px;
    align-items: start;
  }
}

.value-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
}

.value-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.value-item:last-child {
  border-bottom: 1px solid var(--line);
}

.value-item svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
  margin-top: 4px;
}

.value-item h4 {
  font-size: 0.98rem;
  margin-bottom: 5px;
}

.value-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Company information grid
   -------------------------------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .info-cell--wide {
    grid-column: 1 / -1;
  }
}

.info-cell {
  padding: 24px 26px;
  background: rgba(11, 17, 32, 0.62);
}

.info-cell dt {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 9px;
}

.info-cell dd {
  margin: 0;
  font-size: 15.5px;
  color: #e2e9f7;
  word-break: break-word;
}

.info-cell dd a {
  color: #b8cdff;
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 140, 255, 0.35);
}

.info-cell dd a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Development status timeline
   -------------------------------------------------------------------------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 26px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(91, 140, 255, 0.5),
    rgba(168, 85, 247, 0.4),
    rgba(148, 163, 184, 0.14)
  );
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }
  .timeline::before {
    left: 0;
    right: 0;
    top: 7px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(91, 140, 255, 0.5),
      rgba(168, 85, 247, 0.38),
      rgba(148, 163, 184, 0.12)
    );
  }
}

.tl-item {
  position: relative;
  padding-left: 34px;
}

@media (min-width: 900px) {
  .tl-item {
    padding-left: 0;
    padding-top: 40px;
  }
}

.tl-dot {
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.12);
}

@media (min-width: 900px) {
  .tl-dot {
    top: 0;
  }
}

.tl-dot.is-done {
  border-color: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.14);
}

.tl-dot.is-prep {
  border-color: #94a3b8;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.12);
}

.tl-dot.is-soon {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.14);
}

.tl-item h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.tl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  margin-bottom: 12px;
}

.tl-badge.is-done {
  color: #34d399;
  background: rgba(52, 211, 153, 0.08);
}

.tl-badge.is-progress {
  color: #7ea6ff;
  background: rgba(91, 140, 255, 0.10);
}

.tl-badge.is-prep {
  color: #a7b4c8;
  background: rgba(148, 163, 184, 0.08);
}

.tl-badge.is-soon {
  color: #c496f8;
  background: rgba(168, 85, 247, 0.10);
}

.tl-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.62;
}

/* --------------------------------------------------------------------------
   Product catalogue (rendered from assets/games.js)
   -------------------------------------------------------------------------- */
.game-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}

@media (min-width: 860px) {
  .game-grid {
    gap: 20px;
  }
}

.game-card {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.game-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.game-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #dbe6ff;
  background: linear-gradient(
    145deg,
    rgba(91, 140, 255, 0.28),
    rgba(168, 85, 247, 0.2)
  );
  border: 1px solid rgba(91, 140, 255, 0.35);
}

.game-head-text {
  min-width: 0;
}

.game-title {
  font-size: 1.06rem;
  margin: 0 0 6px;
  color: #eef3ff;
}

.game-meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  word-break: break-word;
}

.game-tagline {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

.game-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}

.game-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.game-badge.is-live {
  color: #34d399;
  background: rgba(52, 211, 153, 0.08);
}

.game-badge.is-delisted {
  color: #a7b4c8;
  background: rgba(148, 163, 184, 0.08);
}

.game-badge.is-in-dev {
  color: #7ea6ff;
  background: rgba(91, 140, 255, 0.1);
}

.game-btn {
  padding: 8px 16px;
  font-size: 13.5px;
}

.game-empty {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   Compliance cards
   -------------------------------------------------------------------------- */
.trust-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

.trust-card {
  padding: 24px;
  display: block;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.trust-card svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  margin-bottom: 16px;
}

.trust-card h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: #eef3ff;
}

.trust-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.trust-card:hover {
  border-color: rgba(91, 140, 255, 0.42);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Footer language notice
   -------------------------------------------------------------------------- */
.footer-lang-note {
  margin-top: 10px;
  flex-basis: 100%;
  max-width: 780px;
  font-size: 12px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Contact list
   -------------------------------------------------------------------------- */
.contact-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 28px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(11, 17, 32, 0.62);
}

.contact-row svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  flex: none;
  margin-top: 4px;
}

.contact-row .k {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3px;
}

.contact-row .v {
  font-size: 15px;
  color: #e2e9f7;
  word-break: break-word;
}

.contact-row a.v {
  text-decoration: none;
}

/* Two-column variant used on the home page, where the contact block spans the
   full content width on its own (no side-by-side form any more). */
.contact-list--two {
  margin-top: 0;
}

@media (min-width: 768px) {
  .contact-list--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-list--two .contact-row {
    padding: 22px 26px;
  }
}

.contact-row a.v:hover {
  color: #b8cdff;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 40px;
  margin-top: 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  max-width: 380px;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted-2);
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 56px;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  padding-block: 5px;
}

.footer-col a:hover {
  color: #eef3ff;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted-2);
}

.footer-bottom p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Legal (privacy / terms / deletion) pages
   -------------------------------------------------------------------------- */
.legal-head {
  padding-block: 56px 40px;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .legal-head {
    padding-block: 76px 52px;
  }
}

.legal-head h1 {
  font-size: clamp(1.9rem, 3vw, 2.85rem);
}

.legal-head .lead {
  margin-top: 18px;
  max-width: 720px;
}

.legal-updated {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted-2);
}

.legal-updated svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

.legal-body {
  padding-block: 48px 72px;
  display: grid;
  gap: 44px;
  max-width: 900px;
}

@media (min-width: 1024px) {
  .legal-body {
    padding-block: 64px 100px;
    gap: 52px;
  }
}

.legal-block h2 {
  font-size: clamp(1.15rem, 1.6vw, 1.42rem);
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.legal-index {
  font-size: 0.78em;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.06em;
  flex: none;
}

.legal-block p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.legal-block ul li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.legal-block ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
}

.legal-block strong {
  color: #dbe4f6;
  font-weight: 600;
}

.legal-block h3 {
  font-size: 1.02rem;
  margin: 32px 0 12px;
  color: #e8eefb;
}

.legal-block ol {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  counter-reset: legal-ol;
  display: grid;
  gap: 12px;
}

.legal-block ol li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  counter-increment: legal-ol;
}

.legal-block ol li::before {
  content: counter(legal-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.legal-block code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(91, 140, 255, 0.10);
  border: 1px solid rgba(91, 140, 255, 0.22);
  color: #c7d7ff;
  word-break: break-all;
}

/* Secondary line inside an info cell (bilingual proper nouns) */
.dd-alt {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}


.legal-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  background: rgba(91, 140, 255, 0.05);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.legal-note svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
  margin-top: 3px;
}

.legal-note p {
  margin: 0;
  font-size: 14.5px;
  color: #c3cfe4;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Scroll reveal (progressive enhancement — content visible without JS)
   -------------------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

html.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

::selection {
  background: rgba(91, 140, 255, 0.35);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
