/* ============================================================
   ShotBuddy Shooting Stars — WordPress Plugin Styles
   Titan Athletics Co. | titanathletics.co
   Brand: Orange #FF7014 | Blue #2985FF | Gold #FFBD1A
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@300;400;500&display=swap');

/* ---- Wrapper ---- */
.sbss-wrapper {
  background: #080c12;
  border-radius: 16px;
  overflow: hidden;
  font-family: 'Barlow', sans-serif;
  color: #fff;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(41,133,255,0.08);
}

/* ---- Header ---- */
.sbss-header {
  padding: 28px 32px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sbss-title-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.sbss-live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF7014;
  box-shadow: 0 0 0 0 rgba(255,112,20,0.6);
  animation: sbss-pulse-dot 1.8s ease-in-out infinite;
}

@keyframes sbss-pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(255,112,20,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255,112,20,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,112,20,0); }
}

.sbss-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
}

.sbss-subtitle {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ---- Stats Bar ---- */
.sbss-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 18px 32px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sbss-stat {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 8px 0;
}

.sbss-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
}

.sbss-stat-number {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
}

.sbss-stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 3px;
}

.sbss-stat-accent {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  margin: 6px auto 0;
}
.sbss-stat-accent.makes   { background: #FF7014; }
.sbss-stat-accent.sessions { background: #2985FF; }
.sbss-stat-accent.countries { background: #FFBD1A; }

/* ---- Main Layout ---- */
.sbss-main {
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* ---- Globe ---- */
.sbss-globe-container {
  flex: 1;
  min-height: 480px;
  position: relative;
  background: radial-gradient(ellipse at 40% 50%, #0a1628 0%, #080c12 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

#sbss-globe {
  width: 100%;
  height: 480px;
}

#sbss-globe canvas {
  border-radius: 0;
}

.sbss-globe-overlay-bottom {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 18px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.sbss-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.sbss-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.sbss-dot.make    { background: #FF7014; }
.sbss-dot.miss    { background: #FF3B3B; }
.sbss-dot.session { background: #2985FF; }

/* ---- Live Feed Panel ---- */
.sbss-feed-panel {
  width: 260px;
  min-width: 220px;
  border-left: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.2);
}

.sbss-feed-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sbss-feed-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.4);
}

.sbss-feed-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2985FF;
  animation: sbss-pulse-dot 1.8s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(41,133,255,0.6);
}

.sbss-feed-list {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 432px;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.sbss-feed-list::-webkit-scrollbar { width: 3px; }
.sbss-feed-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.sbss-feed-item {
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  animation: sbss-feed-in 0.35s ease;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

@keyframes sbss-feed-in {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.sbss-feed-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.sbss-feed-icon.make    { background: rgba(255,112,20,0.15); border: 1px solid rgba(255,112,20,0.3); }
.sbss-feed-icon.miss    { background: rgba(255,59,59,0.15);  border: 1px solid rgba(255,59,59,0.3); }
.sbss-feed-icon.session { background: rgba(41,133,255,0.15); border: 1px solid rgba(41,133,255,0.3); }

.sbss-feed-text {
  flex: 1;
}

.sbss-feed-location {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.sbss-feed-action {
  display: block;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1px;
}

.sbss-feed-time {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
  margin-top: 2px;
}

/* ---- CTA Bar ---- */
.sbss-cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 32px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
}

.sbss-cta-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.sbss-cta-btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.sbss-cta-btn.ios {
  background: #FF7014;
  color: #fff;
}
.sbss-cta-btn.ios:hover {
  background: #e5611a;
  transform: translateY(-1px);
}
.sbss-cta-btn.android {
  background: transparent;
  color: #2985FF;
  border: 1px solid #2985FF;
}
.sbss-cta-btn.android:hover {
  background: rgba(41,133,255,0.1);
  transform: translateY(-1px);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .sbss-main {
    flex-direction: column;
  }
  .sbss-feed-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.05);
    max-height: 240px;
  }
  .sbss-stats-bar {
    padding: 14px 16px;
  }
  .sbss-stat-number {
    font-size: 1.5rem;
  }
  .sbss-title {
    font-size: 1.1rem;
  }
  #sbss-globe {
    height: 340px;
  }
  .sbss-globe-container {
    min-height: 340px;
  }
  .sbss-cta-bar {
    gap: 10px;
    padding: 14px 16px;
  }
}
