/* ============================================================
   NAUTICA SENTINEL — MARITIME THEME
   Decorative elements only. Never in base/component styles.
   All animations respect prefers-reduced-motion.
   ============================================================ */

/* ── WAVE SEPARATOR ── */
.wave-separator {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.wave-separator svg {
  display: block;
  width: 100%;
}

/* ── HERO BACKGROUND ── */
.hero-bg {
  background:
    linear-gradient(180deg, rgba(2,11,26,0) 0%, rgba(2,11,26,0.8) 100%),
    linear-gradient(135deg, var(--ns-navy-950) 0%, var(--ns-navy-700) 100%);
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(30,86,160,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(15,155,142,0.2) 0%, transparent 50%);
  pointer-events: none;
}

/* ── NAUTICAL GRID PATTERN ── */
.nautical-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── ANIMATED WAVE (footer / hero bottom) ── */
@keyframes wave-drift {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-5%); }
  100% { transform: translateX(0); }
}

.wave-animation {
  animation: wave-drift 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .wave-animation { animation: none; }
}

/* ── COMPASS WATERMARK ── */
.compass-watermark {
  position: relative;
}

.compass-watermark::after {
  content: '';
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 6rem;
  height: 6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%231E56A0' stroke-width='1.5' opacity='0.08'%3E%3Ccircle cx='50' cy='50' r='45'/%3E%3Ccircle cx='50' cy='50' r='35'/%3E%3Cpolygon points='50,8 54,46 50,50 46,46' fill='%231E56A0'/%3E%3Cpolygon points='50,92 46,54 50,50 54,54' fill='%2394A3B8'/%3E%3Cpolygon points='8,50 46,46 50,50 46,54' fill='%2394A3B8'/%3E%3Cpolygon points='92,50 54,54 50,50 54,46' fill='%2394A3B8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* ── VESSEL STATUS CARD ── */
.vessel-card {
  position: relative;
  overflow: hidden;
}

.vessel-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 6rem;
  height: 6rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231E56A0' opacity='0.06'%3E%3Cpath d='M20 21c-1.39 0-2.78-.47-4-1.32-2.44 1.71-5.56 1.71-8 0C6.78 20.53 5.39 21 4 21H2v2h2c1.38 0 2.74-.35 4-.99 2.52 1.31 5.48 1.31 8 0 1.26.64 2.62.99 4 .99h2v-2h-2zM3.95 19H4c1.6 0 3.02-.88 4-2 .98 1.12 2.4 2 4 2s3.02-.88 4-2c.98 1.12 2.4 2 4 2h.05l1.89-6.68c.08-.26.06-.54-.06-.78s-.34-.42-.6-.5L20 10.62V6c0-1.1-.9-2-2-2h-3V1H9v3H6c-1.1 0-2 .9-2 2v4.62l-1.29.42c-.26.08-.48.26-.6.5s-.15.52-.06.78L3.95 19z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* ── ANCHOR EMPTY STATE ── */
.empty-anchor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-12);
  color: var(--color-text-muted);
}

.empty-anchor-icon {
  opacity: 0.2;
}

/* ── OCEAN COLOR GRADIENT ── */
.ocean-gradient {
  background: linear-gradient(135deg,
    var(--ns-navy-900) 0%,
    var(--ns-navy-700) 40%,
    var(--ns-teal-700) 100%
  );
}

/* ── COMPLIANCE SCORE RING ── */
.compliance-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.compliance-ring-label {
  position: absolute;
  text-align: center;
  font-weight: var(--weight-bold);
}

/* ── VESSEL SILHOUETTE HERO (CSS only, no images needed) ── */
.vessel-silhouette {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 60rem;
  height: 8rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' fill='%23061529'%3E%3Cpath d='M100,60 Q200,20 300,50 L400,45 L450,30 L500,45 Q600,15 700,45 L800,50 L900,40 L1000,50 L1100,55 L1100,120 L100,120 Z'/%3E%3Crect x='440' y='10' width='10' height='40' fill='%2361529'/%3E%3Crect x='370' y='30' width='80' height='5' fill='%23061529'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: cover;
  pointer-events: none;
}

/* ── PULSE INDICATOR (live / active status) ── */
.pulse-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .pulse-dot::before { animation: none; opacity: 0; }
}
