/* ═══════════════════════════════════════════════════════════════
   TOUCH TARGETS (interactive elements on phone)
   ═══════════════════════════════════════════════════════════════ */
.touch-target {
  position: absolute;
  cursor: pointer;
  z-index: 20;
  border: 2px solid #00e5a0;
  border-radius: 16px;
  animation: pulse-target 2s ease-in-out infinite;
}

@keyframes pulse-target {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 160, 0.4); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 229, 160, 0); }
}

/* ═══════════════════════════════════════════════════════════════
   CALLOUT ANNOTATIONS
   ═══════════════════════════════════════════════════════════════ */
.step-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}

.annotation-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 720px;
  padding: 0 20px;
  justify-content: center;
}

.annotation-wrap .phone-wrap {
  margin: 0;
  flex-shrink: 0;
}

.annotation-wrap.left-annotation {
  flex-direction: row;
}

.annotation-wrap.right-annotation {
  flex-direction: row-reverse;
}

.callout-text {
  max-width: 180px;
  text-align: center;
  flex-shrink: 0;
}

.callout-text .callout-desc {
  font-size: clamp(14px, 3vw, 17px);
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  margin-bottom: 6px;
}

.callout-text .callout-tap {
  font-size: clamp(15px, 3.5vw, 18px);
  color: #00e5a0;
  font-weight: 700;
}

.callout-arrow {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.callout-arrow svg {
  width: 100%;
  height: 100%;
}

/* Exported callout image (text + arrow baked in from Figma) */
.callout-export {
  max-width: 200px;
  height: auto;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   ATTRACT SCREEN
   ═══════════════════════════════════════════════════════════════ */
#screen-attract {
  justify-content: flex-start;
  padding-top: 60px;
}

#attract-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
}

.attract-panels-wrap {
  position: relative;
  width: 100%;
  flex: 1;
}

.attract-panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.attract-panel.active-panel {
  opacity: 1;
  pointer-events: auto;
}

.attract-bottom {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 50;
  padding: 16px 20px 36px;
  background: linear-gradient(transparent, #0a1428 30%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.attract-bottom .cta-label {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
}

.attract-dots {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.attract-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.3s, transform 0.3s;
}

.attract-dot.active-dot {
  background: #00e5a0;
  transform: scale(1.3);
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE MENU (shared by fan & coach menus)
   ═══════════════════════════════════════════════════════════════ */
.feature-menu-screen {
  justify-content: flex-start;
  padding: 0;
}

.feature-menu-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0a1428;
}

.feature-menu-header .back-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}

.feature-menu-header .header-title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-right: 60px;
}

.feature-card {
  width: 100%;
  padding: 50px 24px;
  cursor: pointer;
  position: relative;
  background: linear-gradient(180deg, #112a5c 0%, #0c1d3a 60%, #081226 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.feature-card .feature-title {
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card .learn-more {
  color: #00e5a0;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feature-menu-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 20px 40px;
}

/* ═══════════════════════════════════════════════════════════════
   WALKTHROUGH SCREENS
   ═══════════════════════════════════════════════════════════════ */
.walkthrough-screen {
  justify-content: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
}

.walkthrough-screen .headline {
  margin-bottom: 0;
}

.walkthrough-screen .headline + .annotation-wrap {
  margin-top: 24px;
}

.walkthrough-screen .headline + .subtitle + .phone-wrap {
  margin-top: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   INACTIVITY / COUNTDOWN
   ═══════════════════════════════════════════════════════════════ */
#inactivity-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 500;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

#inactivity-overlay.visible {
  display: flex;
}

#inactivity-overlay .countdown-circle {
  width: 120px;
  height: 120px;
  position: relative;
  margin-bottom: 24px;
}

#inactivity-overlay svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

#inactivity-overlay .cd-track {
  fill: none;
  stroke: rgba(255,255,255,0.15);
  stroke-width: 4;
}

#inactivity-overlay .cd-fill {
  fill: none;
  stroke: #00e5a0;
  stroke-width: 4;
  stroke-dasharray: 314;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}

#inactivity-overlay .cd-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
}

#inactivity-overlay .cd-message {
  font-size: 20px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
