/**
 * Welcome State Styles
 * Overlay and card styling for the Tarzan exemplar welcome screen
 */

.welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.welcome-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.welcome-card {
  background: var(--bg-surface, #1a1a2e);
  border: 1px solid var(--border-color, #333);
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.welcome-overlay.visible .welcome-card {
  transform: translateY(0);
}

.welcome-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted, #888);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}

.welcome-close:hover {
  color: var(--text-primary, #fff);
}

.welcome-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary, #fff);
}

.welcome-subtitle {
  margin: 0 0 24px;
  color: var(--text-secondary, #aaa);
  font-size: 14px;
}

.welcome-subtitle strong {
  color: var(--accent-color, #4ecdc4);
}

/* Journey Stats */
.welcome-journey {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.journey-stat {
  flex: 1;
  background: var(--bg-elevated, #252540);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-color, #4ecdc4);
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Milestones */
.welcome-milestones {
  margin-bottom: 24px;
}

.welcome-milestones h3 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, #aaa);
}

.welcome-milestones ul {
  margin: 0;
  padding: 0 0 0 20px;
  font-size: 13px;
  color: var(--text-secondary, #ccc);
  line-height: 1.6;
}

.welcome-milestones li {
  margin-bottom: 4px;
}

/* Actions */
.welcome-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.welcome-actions .btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.welcome-actions .btn--primary {
  background: var(--accent-color, #4ecdc4);
  color: #000;
  border: none;
}

.welcome-actions .btn--primary:hover {
  background: var(--accent-hover, #3dbdb5);
}

.welcome-actions .btn--ghost {
  background: transparent;
  border: 1px solid var(--border-color, #444);
  color: var(--text-secondary, #aaa);
}

.welcome-actions .btn--ghost:hover {
  border-color: var(--text-secondary, #888);
  color: var(--text-primary, #fff);
}

/* Hint */
.welcome-hint {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted, #666);
  text-align: center;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .welcome-card {
    padding: 24px;
  }

  .welcome-journey {
    flex-direction: column;
    gap: 8px;
  }

  .journey-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .stat-value {
    margin: 0;
  }

  .welcome-actions {
    flex-direction: column;
  }
}
