/* ==========================================================================
   CHILD PATHSHALA - CATCH & TARGET CLICK ARENA STUDIO ENGINE
   Theme: Floating Cosmic Bubbles, Falling Target Stars, Precision Click Arena
   ========================================================================== */

:root {
  --ct-bg: #060914;
  --ct-panel: #0d1527;
  --ct-border: #1b2d4f;
  --ct-cyan: #06b6d4;
  --ct-gold: #facc15;
  --ct-rose: #f43f5e;
  --ct-green: #10b981;
}

.ct-wrapper {
  background: radial-gradient(circle at 50% 15%, #141b3b 0%, #060914 75%);
  border-radius: 26px;
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  padding: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
  font-family: system-ui, -apple-system, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Header HUD */
.ct-hud-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ct-hud-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 21, 39, 0.85);
  border: 1px solid var(--ct-border);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
}

/* Mission Objective Banner */
.ct-target-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 14px;
  padding: 12px 18px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Catch / Target Arena Canvas Box */
.ct-arena-box {
  width: 100%;
  height: 380px;
  background: radial-gradient(circle at 50% 30%, #0d172e 0%, #03060c 100%);
  border-radius: 20px;
  border: 2px solid var(--ct-border);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 4px 20px rgba(0,0,0,0.7);
  user-select: none;
}

/* Floating / Falling Target Bubble */
.ct-target-bubble {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.25) 0%, rgba(6, 182, 212, 0.6) 60%, rgba(2, 132, 199, 0.8) 100%);
  border: 2px solid rgba(255,255,255,0.8);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
  transition: transform 0.1s;
}

.ct-target-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.8);
}

.ct-target-bubble:active {
  transform: scale(0.92);
}

.ct-target-bubble.bad {
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.25) 0%, rgba(239, 68, 68, 0.6) 60%, rgba(185, 28, 28, 0.8) 100%);
  border-color: rgba(254, 202, 202, 0.8);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.5);
}

/* Precision Click Target Choices (for big-or-small / shape-hunt) */
.ct-click-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  padding: 2rem 1.5rem;
  align-items: center;
  height: 100%;
}

.ct-click-target-btn {
  background: linear-gradient(180deg, #162442 0%, #0d172e 100%);
  border: 2px solid #233a69;
  border-radius: 18px;
  padding: 1.5rem 1rem;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  min-height: 140px;
}

.ct-click-target-btn:hover {
  border-color: var(--ct-cyan);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.35);
}

.ct-click-target-btn:active {
  transform: scale(0.95);
}

/* Floating Pop Points */
.ct-pop-points {
  position: absolute;
  font-size: 1.4rem;
  font-weight: 900;
  color: #34d399;
  pointer-events: none;
  animation: ctFloatPop 0.65s ease-out forwards;
}

@keyframes ctFloatPop {
  0% { transform: scale(0.8) translateY(0); opacity: 1; }
  100% { transform: scale(1.2) translateY(-30px); opacity: 0; }
}

/* Victory Screen */
.ct-podium-wrap {
  text-align: center;
  padding: 2rem 1rem;
}
