﻿:root {
  --bg-0: #010612;
  --bg-1: #031026;
  --bg-2: #061a39;
  --ink: #ecf3ff;
  --muted: rgba(202, 216, 241, 0.72);
  --line: rgba(116, 145, 202, 0.24);
  --card: rgba(7, 16, 38, 0.72);
  --accent: #214d9f;
  --accent-2: #2c74b8;
  --good: #34d399;
  --warn: #f59e0b;
  --bad: #f43f5e;
  --radius: 16px;
  --gap: 14px;

  font-family: "Space Grotesk", system-ui, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at 20% 20%, rgba(22, 62, 148, 0.25), transparent 40%),
    radial-gradient(circle at 70% 75%, rgba(16, 84, 156, 0.18), transparent 36%),
    linear-gradient(135deg, var(--bg-0), var(--bg-1) 45%, var(--bg-2));
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.ready #appLoader {
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

body.ready .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.bg-gradient,
.bg-noise,
.orb {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -3;
}

.bg-gradient {
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(18, 56, 145, 0.25),
    rgba(24, 74, 166, 0.11),
    rgba(8, 24, 66, 0.44),
    rgba(12, 64, 156, 0.26)
  );
  mix-blend-mode: screen;
  filter: blur(36px);
  animation: swirl 18s linear infinite;
}

.bg-noise {
  z-index: -2;
  opacity: 0.15;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.45) 1px, transparent 0);
  background-size: 3px 3px;
}

.orb {
  z-index: -1;
  border-radius: 50%;
  width: 40vw;
  height: 40vw;
  filter: blur(52px);
  opacity: 0.35;
}

.orb-a {
  left: -12vw;
  top: -8vh;
  background: radial-gradient(circle, #2357b3 0%, rgba(35, 87, 179, 0) 70%);
  animation: floatA 14s ease-in-out infinite;
}

.orb-b {
  right: -10vw;
  top: 16vh;
  background: radial-gradient(circle, #1e6cbf 0%, rgba(30, 108, 191, 0) 72%);
  animation: floatB 19s ease-in-out infinite;
}

.orb-c {
  left: 20vw;
  bottom: -14vh;
  background: radial-gradient(circle, #2e7acc 0%, rgba(46, 122, 204, 0) 70%);
  animation: floatC 16s ease-in-out infinite;
}

@keyframes swirl {
  from {
    transform: rotate(0deg) scale(1);
  }

  to {
    transform: rotate(360deg) scale(1.08);
  }
}

@keyframes floatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(6vw, 5vh, 0);
  }
}

@keyframes floatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-7vw, -4vh, 0);
  }
}

@keyframes floatC {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(5vw, -6vh, 0);
  }
}

.glass {
  background: linear-gradient(160deg, rgba(15, 35, 78, 0.62), rgba(5, 14, 33, 0.72));
  border: 1px solid var(--line);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.small {
  font-size: 0.83rem;
}

.muted {
  color: var(--muted);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  margin: 12px 16px 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

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

.logoMark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2454ad, #2f78bd);
  box-shadow: 0 14px 28px rgba(16, 73, 164, 0.35);
  transform: rotate(15deg);
  animation: logoPulse 2.8s ease-in-out infinite;
}

@keyframes logoPulse {
  0%,
  100% {
    transform: rotate(15deg) scale(1);
  }

  50% {
    transform: rotate(12deg) scale(1.04);
  }
}

.title p {
  margin: 0;
}

.product {
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
}

.subtitle {
  font-size: 0.78rem;
  color: var(--muted);
}

.redacted-name {
  display: inline-block;
  padding: 0 5px;
  border-radius: 7px;
  background: rgba(148, 168, 203, 0.18);
  filter: blur(4px);
  user-select: none;
}

.demo-hint {
  margin: 10px 0 0;
  color: rgba(206, 224, 255, 0.86);
  font-size: 0.9rem;
}

.mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mode-btn.mode-active {
  border: 1px solid rgba(52, 211, 153, 0.58);
  background: rgba(22, 71, 56, 0.82);
  color: #d9fff0;
}

.top-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.search-input {
  min-width: 210px;
  background: rgba(2, 10, 29, 0.76);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.search-input:focus {
  border-color: rgba(96, 177, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(48, 136, 255, 0.2);
}

.status {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 14, 38, 0.75);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: #95a2be;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease;
}

.live-dot.online {
  background: var(--good);
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.85);
}

.live-dot.offline {
  background: var(--bad);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.75);
}

.live-dot.paused {
  background: var(--warn);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.75);
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(38, 131, 255, 0.35);
  filter: saturate(1.15);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn.small {
  padding: 8px 11px;
  font-size: 0.82rem;
}

.btn.ghost {
  border: 1px solid var(--line);
  background: rgba(12, 24, 57, 0.8);
  color: var(--ink);
}

.hero-wrap {
  margin: 14px 16px 10px;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.hero-card {
  border-radius: var(--radius);
  padding: 18px;
}

.kicker {
  margin: 0 0 10px;
  color: #9ecbff;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-card h1 {
  margin: 0;
  max-width: 16ch;
  font-family: "Sora", sans-serif;
  line-height: 1.15;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
}

.hero-copy {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 60ch;
}

.kpi-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(6, minmax(92px, 1fr));
  gap: 10px;
}

.kpi-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.kpi-item span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.kpi-item strong {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 1.9vw, 1.42rem);
}

.container {
  max-width: 1680px;
  margin: 0 auto 24px;
  padding: 0 16px;
}

.section-head {
  margin-top: 6px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.section-head h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.section-head p {
  margin: 6px 0 0;
}

.section-meta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(8, 18, 45, 0.75);
}

.camera-grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  align-items: stretch;
}

.camera-card {
  min-height: 220px;
  border-radius: 14px;
  perspective: 1200px;
  position: relative;
  transition: transform 0.28s ease;
  transform-style: preserve-3d;
}

.camera-card.is-hidden {
  display: none;
}

.card-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.2, 0.92, 0.24, 1);
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  will-change: transform;
}

.camera-card:not(.flipped):hover .card-inner,
.camera-card:not(.flipped):focus-within .card-inner {
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-6px);
}

.camera-card.flipped .card-inner {
  transform: rotateY(180deg) translateY(-6px);
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  backface-visibility: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 25, 58, 0.82), rgba(4, 13, 35, 0.86));
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
}

.card-front {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.card-back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 8px;
}

.card-back h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
}

.card-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid rgba(149, 183, 255, 0.18);
  background: rgba(6, 16, 44, 0.72);
  padding: 7px 8px;
}

.stat-row .label {
  color: var(--muted);
  font-size: 0.78rem;
}

.stat-row .value {
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
}

.stream {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: linear-gradient(180deg, #09162f, #030916);
}

.stream-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  color: #dcecff;
  font-size: 0.82rem;
  font-weight: 600;
  background: linear-gradient(120deg, rgba(18, 38, 85, 0.9), rgba(16, 66, 138, 0.55), rgba(18, 38, 85, 0.9));
  background-size: 180% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
  from {
    background-position: 160% 0;
  }

  to {
    background-position: -160% 0;
  }
}

.overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.badge,
.cam-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 9px;
  border: 1px solid rgba(224, 238, 255, 0.28);
  font-weight: 700;
  font-size: 0.8rem;
  background: rgba(3, 10, 26, 0.66);
}

.badge {
  min-width: 32px;
  justify-content: center;
}

.charts-grid {
  margin-top: 16px;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(4, minmax(250px, 1fr));
}

.panel {
  border-radius: 13px;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(11, 24, 56, 0.72), rgba(3, 10, 27, 0.9));
  padding: 12px;
  transition: transform 0.4s ease, border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.45s ease;
}

.panel:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 197, 255, 0.44);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.panel.wide {
  grid-column: 1 / -1;
}

.panel-head {
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-head h3 {
  margin: 0;
  font-size: 0.96rem;
  font-family: "Sora", sans-serif;
}

.panel-body {
  min-height: 130px;
}

.wide-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
}

.matrix-wrap,
.sankey-wrap {
  min-height: 220px;
  border: 1px solid rgba(173, 203, 255, 0.24);
  border-radius: 10px;
  padding: 8px;
  background: rgba(4, 12, 31, 0.62);
  overflow: auto;
}

.matrix-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.matrix-wrap th,
.matrix-wrap td {
  border: 1px solid rgba(145, 173, 227, 0.26);
  padding: 5px 6px;
  text-align: center;
}

.matrix-wrap th {
  position: sticky;
  top: 0;
  background: rgba(10, 27, 67, 0.95);
  color: #d9e8ff;
}

#rankingPanel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#recordPanel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.record-head,
.record-item {
  border: 1px solid rgba(141, 173, 226, 0.24);
  border-radius: 10px;
  background: linear-gradient(130deg, rgba(10, 30, 72, 0.8), rgba(4, 11, 29, 0.9));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}

.record-head strong {
  font-family: "Sora", sans-serif;
}

.rank-item {
  border: 1px solid rgba(173, 203, 255, 0.24);
  border-radius: 10px;
  background: linear-gradient(130deg, rgba(17, 41, 93, 0.8), rgba(6, 14, 35, 0.88));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
}

.perf-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
  max-height: 95px;
  overflow: auto;
}

.perf-gauge {
  width: 100%;
  height: 92px;
}

.info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 7px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(200, 223, 255, 0.44);
  font-size: 0.68rem;
  cursor: help;
  position: relative;
}

.info[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  min-width: 180px;
  max-width: 220px;
  padding: 7px 9px;
  border-radius: 8px;
  border: 1px solid rgba(180, 210, 255, 0.3);
  background: rgba(8, 17, 43, 0.95);
  color: #f2f7ff;
  text-align: center;
  font-size: 0.72rem;
  z-index: 20;
}

.full-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(1, 4, 12, 0.75);
}

.full-modal.show {
  display: flex;
}

.full-inner {
  width: min(1280px, 96vw);
  height: min(86vh, 920px);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.floating {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
}

.full-content {
  width: 100%;
  height: 100%;
}

.full-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #040d22;
}

.full-content canvas {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.full-stats {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(3, 12, 32, 0.75);
  border: 1px solid rgba(173, 203, 255, 0.28);
}

.toasts {
  position: fixed;
  right: 14px;
  bottom: 62px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credit-badge {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 140;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 184, 242, 0.34);
  background:
    linear-gradient(140deg, rgba(15, 35, 78, 0.72), rgba(5, 14, 33, 0.82)),
    rgba(4, 12, 31, 0.62);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.credit-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

.credit-text {
  font-size: 0.74rem;
  color: rgba(220, 235, 255, 0.85);
  white-space: nowrap;
}

.credit-link {
  color: #8ed2ff;
  font-weight: 700;
  text-decoration: none;
}

.credit-link:hover {
  color: #b9e7ff;
  text-decoration: underline;
}

.config-warning {
  position: sticky;
  top: 0;
  z-index: 190;
  margin: 8px 16px 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.55);
  background: linear-gradient(120deg, rgba(74, 40, 4, 0.88), rgba(130, 66, 7, 0.82));
  color: #ffe9b8;
  font-size: 0.86rem;
  font-weight: 600;
}

.toast {
  border-radius: 9px;
  border: 1px solid rgba(173, 203, 255, 0.28);
  background: rgba(4, 14, 36, 0.92);
  color: #fff;
  padding: 9px 11px;
  font-size: 0.8rem;
  animation: toastIn 0.35s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-top {
  position: fixed;
  right: 14px;
  bottom: 88px;
  z-index: 90;
  border: 1px solid rgba(176, 206, 255, 0.28);
  background: rgba(4, 14, 36, 0.92);
  color: #fff;
  border-radius: 999px;
  width: 52px;
  height: 52px;
  cursor: pointer;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.app-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(32, 98, 223, 0.35), rgba(2, 10, 28, 0.98));
  transition: opacity 0.6s ease;
}

.loader-core {
  width: min(400px, 92vw);
  padding: 26px 18px;
  border-radius: 18px;
  border: 1px solid rgba(178, 210, 255, 0.3);
  background: rgba(5, 18, 49, 0.74);
  text-align: center;
}

.loader-ring {
  margin: 0 auto 12px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 3px solid rgba(137, 190, 255, 0.28);
  border-top-color: #7fc0ff;
  animation: spin 1s linear infinite;
}

.loader-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.loader-text {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

canvas {
  width: 100% !important;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: rgba(145, 182, 247, 0.42);
  border-radius: 20px;
}

@media (max-width: 1440px) {
  .camera-grid {
    grid-template-columns: repeat(4, minmax(190px, 1fr));
  }

  .charts-grid {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
  }
}

@media (max-width: 1160px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .camera-grid {
    grid-template-columns: repeat(3, minmax(185px, 1fr));
  }

  .charts-grid {
    grid-template-columns: repeat(2, minmax(250px, 1fr));
  }

  .wide-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    margin: 8px 10px 0;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
  }

  .top-controls {
    justify-content: flex-start;
  }

  .search-input {
    min-width: 100%;
  }

  .hero-wrap {
    margin: 10px;
  }

  .container {
    padding: 0 10px;
  }

  .camera-grid {
    grid-template-columns: repeat(2, minmax(145px, 1fr));
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .charts-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .credit-badge {
    right: 10px;
    bottom: 10px;
    padding: 6px 10px;
  }

  .credit-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .camera-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    scroll-behavior: auto;
  }

  .bg-gradient {
    animation-duration: 34s;
  }

  .orb-a {
    animation-duration: 24s;
  }

  .orb-b {
    animation-duration: 28s;
  }

  .orb-c {
    animation-duration: 26s;
  }

  .logoMark {
    animation-duration: 5.5s;
  }

  .loader-ring {
    animation-duration: 1.8s;
  }

  .card-inner,
  .panel,
  .btn,
  .scroll-top,
  .reveal {
    transition-duration: 0.2s;
  }
}
