/* LCA deck utilities */

:root {
  --detail: 279 18% 55%;
}

.deck-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .deck-container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
  .deck-container { padding-left: 3rem; padding-right: 3rem; }
}

.deck-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .deck-section { padding-top: 6rem; padding-bottom: 6rem; }
}

.deck-section-short {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .deck-section-short { padding-top: 4rem; padding-bottom: 4rem; }
}

/* Glass card */
.deck-card-glass {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 126, 158, 0.15);
  background: rgba(255,255,255,0.7);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06), 0 0 30px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.deck-card-glass:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 0 40px hsl(270 40% 50% / 0.12);
  border-color: hsl(270 40% 50% / 0.25);
  transform: translateY(-2px);
}

/* Glass stat card */
.deck-card-glass-stat {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 126, 158, 0.15);
  background: rgba(255,255,255,0.6);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.deck-card-glass-stat:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.08), 0 0 20px hsl(270 40% 50% / 0.15);
  border-color: hsl(270 40% 50% / 0.3);
  transform: translateY(-3px);
}

/* Glass section bg */
.glass-section-bg {
  background: linear-gradient(135deg, rgba(148,126,158,0.04) 0%, #f8f7f9 40%, rgba(104,169,174,0.04) 100%);
}

/* detail color utilities */
.text-detail { color: hsl(270, 40%, 50%); }
.bg-detail { background-color: hsl(270, 40%, 50%); }
.border-detail { border-color: hsl(270, 40%, 50%); }
.hover\:bg-detail\/90:hover { background-color: hsl(270, 40%, 50% / 0.9); }

/* ── Mills Map ── */
.mapboxgl-popup-content {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.mapboxgl-popup-tip { display: none !important; }
.mapboxgl-ctrl-attrib, .mapboxgl-ctrl-logo { opacity: 0.3 !important; }

@keyframes mills-pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
.mills-marker-pulse { animation: mills-pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite; }

.mills-glass {
  background: hsla(0,0%,100%,0.4);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid hsla(0,0%,100%,0.5);
  box-shadow: 0 8px 32px hsla(0,0%,0%,0.06), inset 0 1px 0 hsla(0,0%,100%,0.5);
}
.mills-glass-sm {
  background: hsla(0,0%,100%,0.15);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid hsla(0,0%,100%,0.3);
  box-shadow: 0 4px 16px hsla(0,0%,0%,0.04), inset 0 1px 0 hsla(0,0%,100%,0.25);
}
.mills-glass-sidebar {
  background: hsla(0,0%,100%,0.2);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-right: 1px solid hsla(0,0%,100%,0.25);
  box-shadow: 4px 0 24px hsla(0,0%,0%,0.03);
}
.mills-glass-drawer {
  background: hsla(0,0%,100%,0.55);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-left: 1px solid hsla(0,0%,100%,0.5);
  box-shadow: -4px 0 24px hsla(0,0%,0%,0.04);
}
