:root {
  --bg: #05060a;
  --bg-elevated: #10121a;
  --accent: #ff3b81;
  --accent-soft: rgba(255, 59, 129, 0.15);
  --text: #f5f5f7;
  --muted: #a0a4b8;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #15192b 0%, #05060a 55%, #000 100%);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 6, 10, 0.9), transparent);
  position: sticky;
  top: 0;
  z-index: 20;
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle, #ff3b81 0%, #9b2550 45%, #2b0a18 100%);
  box-shadow: 0 0 18px rgba(255, 59, 129, 0.8);
}

.brand-text {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 0.18s ease-out;
}

.nav a:hover {
  color: var(--text);
  border-color: var(--accent-soft);
  background: rgba(11, 13, 22, 0.9);
}

.nav-divider {
  color: #3c4052;
}

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

.main {
  flex: 1;
  padding: 24px clamp(20px, 5vw, 60px) 40px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  margin-bottom: 0.4rem;
}

.hero p {
  max-width: 540px;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-title {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.camera-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.camera-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: radial-gradient(circle at top left, #252a43, #10121a 55%, #05060a);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out,
    border-color 0.16s ease-out;
}

.camera-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 59, 129, 0.45);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.85);
}

.camera-thumb {
  position: relative;
  padding-top: 60%;
  overflow: hidden;
}

.camera-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.1) brightness(0.9);
  transform: scale(1.03);
}

.camera-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    transparent 55%,
    rgba(0, 0, 0, 0.3)
  );
}

.camera-status-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(4, 196, 119, 0.18);
  border: 1px solid rgba(56, 255, 176, 0.6);
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.camera-status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38ffb0;
  box-shadow: 0 0 12px rgba(56, 255, 176, 0.9);
}

.camera-content {
  padding: 12px 14px 14px;
}

.camera-name {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.camera-tagline-small {
  font-size: 0.86rem;
  color: var(--muted);
}

.camera-hero {
  margin-bottom: 16px;
}

.camera-hero h1 {
  margin-bottom: 4px;
}

.camera-tagline {
  color: var(--muted);
  font-size: 0.95rem;
}

.player-section {
  margin-top: 8px;
}

.player-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, #252a43, #05060a 60%);
  box-shadow: var(--shadow-soft);
}

.player-wrapper video {
  width: 100%;
  display: block;
  background: #000;
}

.camera-description {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  padding: 12px 24px 18px;
  font-size: 0.8rem;
  color: #787c93;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(5, 6, 10, 0.9);
}

.footer .dot {
  color: #3c4052;
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 16px;
  }
  .main {
    padding-inline: 16px;
  }
}
