
/* =========================================
   THE HUT - GLASSY THEME + WINDOW HEARTBEAT
   Matches NoveaTech shop-controls, shop-stats, filters
   White background removed -> transparent glass
   ========================================= */

.thehut-banner {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}

.thehut-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,.08), rgba(0,229,255,.08));
  pointer-events: none;
}

.thehut-banner::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.6), transparent);
  opacity: .6;
}

.thehut-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(0,0,0,.6), 0 0 32px rgba(0,229,255,.12);
}

.thehut-banner .logo-stage {
  position: relative;
  width: 100%;
  display: block;
  line-height: 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.thehut-banner .logo-stage img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.5));
}

/* Window - perfect bbox 53.1%, 50.7%, 5.25% x 7.65% */
.thehut-banner .window-unit {
  position: absolute;
  left: 53.1%;
  top: 50.7%;
  width: 5.25%;
  height: 7.65%;
  z-index: 2;
}

.thehut-banner .window-blue {
  position: absolute;
  inset: 0;
  background: #00E5FF;
  border-radius: 2.5px;
  box-shadow: inset 0 0 6px rgba(255,255,255,0.9), 0 0 0 1px rgba(0,229,255,0.8);
  animation: windowHeartbeat 10s cubic-bezier(0.45,0,0.55,1) infinite;
  overflow: hidden;
}

.thehut-banner .window-glow-outer {
  position: absolute;
  inset: -14px;
  background: radial-gradient(circle, rgba(0,229,255,0.9) 0%, rgba(0,229,255,0) 70%);
  filter: blur(10px);
  opacity: 0.85;
  z-index: -1;
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite;
}

.thehut-banner .pane-h {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: rgba(0,0,0,0.6);
  transform: translateY(-50%);
}

.thehut-banner .pane-v {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  background: rgba(0,0,0,0.6);
  transform: translateX(-50%);
}

@keyframes windowHeartbeat {
  0% { transform: scale(1); box-shadow: inset 0 0 6px rgba(255,255,255,0.9), 0 0 8px rgba(0,229,255,0.6), 0 0 16px rgba(0,229,255,0.4); filter: brightness(0.92); }
  15% { transform: scale(1.22); box-shadow: inset 0 0 8px rgba(255,255,255,1), 0 0 14px rgba(0,229,255,1), 0 0 28px rgba(0,229,255,0.9), 0 0 48px rgba(0,229,255,0.5); filter: brightness(1.15); }
  30% { transform: scale(0.98); filter: brightness(0.95); }
  45% { transform: scale(1.18); box-shadow: inset 0 0 8px rgba(255,255,255,1), 0 0 12px rgba(0,229,255,1), 0 0 24px rgba(0,229,255,0.8); filter: brightness(1.12); }
  60% { transform: scale(1); filter: brightness(0.96); }
  100% { transform: scale(1); box-shadow: inset 0 0 6px rgba(255,255,255,0.9), 0 0 8px rgba(0,229,255,0.6), 0 0 16px rgba(0,229,255,0.4); filter: brightness(0.92); }
}

@keyframes glowPulse {
  0%,100% { opacity: 0.55; transform: scale(1); }
  15% { opacity: 1; transform: scale(1.4); }
  45% { opacity: 0.9; transform: scale(1.25); }
}

.thehut-banner .banner-meta {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(11,18,32,.9);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.thehut-banner .banner-meta p { color: #CBD5E1; font-size: 12.5px; line-height: 1.4; margin: 0; }
.thehut-banner .banner-meta strong { color: white; display: block; font-size: 13px; margin-bottom: 2px; }
.thehut-banner .cta {
  background: linear-gradient(135deg, #0066FF, #00E5FF);
  color: white;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0,168,255,.3);
  transition: transform .25s;
}
.thehut-banner .cta:hover { transform: translateY(-2px); }

/* TheHut - Transparent Logo + Heartbeat Circuit Dots */

/* Header - glassy */
.thehut-header {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-radius: 16px;
}

/* Logo stage - must be position:relative, no padding */
.logo-stage {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.logo-stage img {
  display: block;
  width: 220px;
  height: auto;
  background: transparent !important;
}

/* Circuit dots - overlay on top of PNG */
.circuit-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7af0ff 0%, #00c6ff 28%, #0090ff 68%, #0066cc 100%);
  box-shadow: 0 0 6px rgba(0,198,255,0.9), 0 0 14px rgba(0,144,255,0.7);
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  animation: heartbeat 1.8s ease-in-out infinite;
}

.circuit-dot.small {
  width: 10px;
  height: 10px;
}

.circuit-dot::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,255,0.35) 0%, transparent 70%);
  animation: glow 1.8s ease-in-out infinite;
}

.circuit-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,220,255,0.8);
  animation: ripple 1.8s ease-out infinite;
}

/* Heartbeat - double beat like real heart: lub-dub pause */
@keyframes heartbeat {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  14% { transform: translate(-50%, -50%) scale(1.45); opacity: 1; box-shadow: 0 0 10px rgba(0,230,255,1), 0 0 22px rgba(0,150,255,0.9); }
  28% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  42% { transform: translate(-50%, -50%) scale(1.45); opacity: 1; box-shadow: 0 0 10px rgba(0,230,255,1), 0 0 22px rgba(0,150,255,0.9); }
  70% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
}

@keyframes glow {
  0%, 70%, 100% { opacity: 0.6; transform: scale(1); }
  14%, 42% { opacity: 1; transform: scale(1.3); }
}

@keyframes ripple {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Coordination - signal flows top to bottom */
.circuit-dot:nth-child(2) { animation-delay: 0s; }
.circuit-dot:nth-child(2)::after { animation-delay: 0s; }
.circuit-dot:nth-child(3) { animation-delay: 15s; }
.circuit-dot:nth-child(3)::after { animation-delay: 3s; }
.circuit-dot:nth-child(4) { animation-delay: 20s; }
.circuit-dot:nth-child(4)::after { animation-delay: 16s; }
.circuit-dot:nth-child(5) { animation-delay: 8s; }
.circuit-dot:nth-child(5)::after { animation-delay: 8s; }
.circuit-dot:nth-child(6) { animation-delay: 29s; }
.circuit-dot:nth-child(6)::after { animation-delay: 12s; }
.circuit-dot:nth-child(7) { animation-delay: 13s; }
.circuit-dot:nth-child(7)::after { animation-delay: 8s; }

/* Window synced to same heartbeat */
.hut-window-pulse {
  position: absolute;
  left: 53.8%;
  top: 52.2%;
  width: 4.2%;
  height: 5.8%;
  background: radial-gradient(circle, #ffeb99 0%, #ffcc33 55%, #ff9900 100%);
  border-radius: 1px;
  animation: window-beat 3.8s ease-in-out infinite;
  transform: translate(-50%, -50%);
}

@keyframes window-beat {
  0%, 28%, 70%, 100% { opacity: 0.85; box-shadow: 0 0 6px #ffcc33; transform: translate(-50%, -50%) scale(1); }
  14%, 42% { opacity: 1; box-shadow: 0 0 12px #ffeb99, 0 0 22px #ffaa00; transform: translate(-50%, -50%) scale(1.08); }
}
