/* Commutr - Professional Executive Design System */

:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  --background: #ffffff;
  --surface: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --accent: #334155;
  
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout */
#app {
  min-height: 100vh;
  position: relative;
}

.screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease-in-out;
  background: var(--bg);
}

.screen.active {
  opacity: 1;
  transform: translateX(0);
}

.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Loading Screen */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.logo-icon {
  font-size: 2.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.premium-badge {
  background: var(--gradient);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Progress Header */
.progress-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.back-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.back-btn:hover {
  background: var(--border);
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.step-indicator {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Typography */
h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.subtitle {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1rem;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Buttons */
.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 120px;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--text-light);
}

.btn-secondary {
  background: var(--card);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--surface);
}

/* Commute Options */
.commute-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.commute-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.commute-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.commute-card.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

.commute-icon {
  font-size: 1.5rem;
}

.commute-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.commute-info p {
  color: var(--text-muted);
  margin-bottom: 5px;
}

.commute-info small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.commute-badge {
  position: absolute;
  top: 10px;
  right: 15px;
  background: var(--accent);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Mood Selection */
.mood-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.mood-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.mood-card:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
}

.mood-card.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

.mood-emoji {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Interest Section */
.interest-section {
  margin-bottom: 30px;
}

.interest-section h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.topic-tag {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.topic-tag:hover {
  border-color: var(--primary);
}

.topic-tag.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.search-container {
  display: flex;
  gap: 10px;
}

.search-input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background: var(--primary);
  border: none;
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
}

/* Content Grid */
.content-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.content-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.content-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.content-card.selected {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.content-card.featured {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.05);
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  padding-right: 100px; /* Make space for recommended badge */
}

.content-card.featured .content-header {
  padding-right: 120px; /* Extra space for featured cards */
}

.content-type {
  background: var(--primary);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.duration {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.content-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.content-card p {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.content-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.difficulty {
  background: var(--warning);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
}

.creator {
  color: var(--text-muted);
}

.recommended-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 1;
}

/* Learning Interface */
.learning-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.learning-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding: 15px;
  background: var(--card);
  border-radius: 12px;
}

.minimize-btn, .pause-btn {
  background: var(--border);
  border: none;
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lesson-progress {
  flex: 1;
  text-align: center;
}

.lesson-progress .progress-bar {
  margin-bottom: 8px;
}

.time-remaining {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lesson-content {
  flex: 1;
  background: var(--card);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
}

.lesson-content h2 {
  margin-bottom: 20px;
  color: var(--primary);
}

.lesson-section h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.lesson-section p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.insight-highlight {
  background: rgba(99, 102, 241, 0.1);
  border-left: 4px solid var(--primary);
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
}

.lesson-controls {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.lesson-controls .btn-secondary,
.lesson-controls .btn-primary {
  margin-top: 0;
}

/* Completion Screen */
.completion-content {
  text-align: center;
  padding: 40px 0;
}

.completion-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.completion-stats {
  display: flex;
  justify-content: space-around;
  margin: 30px 0;
}

.completion-stats .stat {
  text-align: center;
}

.completion-stats .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.completion-stats .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.key-takeaways {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  margin: 30px 0;
  text-align: left;
}

.key-takeaways h3 {
  margin-bottom: 15px;
}

.key-takeaways ul {
  list-style: none;
  padding: 0;
}

.key-takeaways li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.key-takeaways li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

.completion-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 480px) {
  .container {
    padding: 15px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .mood-grid {
    grid-template-columns: 1fr;
  }
  
  .lesson-controls {
    flex-direction: column;
  }
  
  .completion-stats {
    flex-direction: column;
    gap: 20px;
  }
}

/* Path Selection */
.path-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.path-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.path-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.path-card.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

.path-icon {
  font-size: 2rem;
}

.path-info h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.path-info p {
  color: var(--text-muted);
  margin-bottom: 5px;
}

.path-info small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Difficulty Selection */
.difficulty-selection {
  margin-bottom: 30px;
}

.difficulty-selection h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.difficulty-options {
  display: flex;
  gap: 8px;
}

.difficulty-btn {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.difficulty-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.difficulty-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

/* Difficulty Chips */
.difficulty-chip {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.difficulty-chip.beginner {
  background: #dcfce7;
  color: #166534;
}

.difficulty-chip.intermediate {
  background: #fef3c7;
  color: #92400e;
}

.difficulty-chip.advanced {
  background: #fecaca;
  color: #991b1b;
}

/* Loading Shimmer */
.loading-shimmer {
  margin: 20px 0;
  display: none;
}

.shimmer-line {
  height: 20px;
  background: linear-gradient(90deg, var(--border) 25%, var(--card) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 10px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Enhanced Content Cards */
.content-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  transform: translateY(0);
  opacity: 0;
  animation: slideInUp 0.5s ease-out forwards;
}

.content-card:nth-child(1) { animation-delay: 0.1s; }
.content-card:nth-child(2) { animation-delay: 0.2s; }
.content-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.2);
}

/* Quiz Interface */
.quiz-header {
  text-align: center;
  margin-bottom: 30px;
}

.quiz-progress {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 10px;
}

.quiz-content {
  margin-bottom: 30px;
}

.quiz-question {
  background: var(--card);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
}

.quiz-question h3 {
  font-size: 1.2rem;
  line-height: 1.5;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.quiz-option:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.05);
}

.quiz-option.selected {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.1);
}

.quiz-option.correct {
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.1);
}

.quiz-option.incorrect {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.quiz-feedback {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
}

.feedback-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feedback-icon {
  font-size: 1.5rem;
}

/* Reflection Interface */
.reflection-content {
  text-align: center;
  padding: 40px 0;
}

.reflection-input {
  margin: 30px 0;
}

.reflection-input textarea {
  width: 100%;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.2s;
}

.reflection-input textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.reflection-input textarea::placeholder {
  color: var(--text-muted);
}

.reflection-actions {
  display: flex;
  gap: 15px;
}

/* Enhanced Completion Screen */
.completion-celebration {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

.completion-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.badge-earned {
  background: var(--gradient);
  color: white;
  padding: 15px;
  border-radius: 12px;
  margin: 20px 0;
  animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-icon {
  font-size: 2rem;
  margin-bottom: 5px;
}

/* Mood Explanation */
.mood-explanation {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
  margin: 16px 0;
}

.mood-explanation-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Premium Analytics */
.premium-analytics {
  background: var(--card);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.premium-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.premium-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.premium-badge {
  background: var(--success);
  color: white;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
}

.analytics-summary {
  margin-bottom: 20px;
}

.analytics-summary p {
  margin: 8px 0;
  font-size: 0.875rem;
  color: var(--text);
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.analytics-item {
  text-align: center;
}

.analytics-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.analytics-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Smooth Progress Bars */
.progress-fill {
  height: 100%;
  background: var(--gradient);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: inherit;
}

/* Enhanced Micro-interactions */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

/* Card Hover Effects */
.stat-card, .mood-card, .commute-card, .content-card, .path-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover, .mood-card:hover, .commute-card:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Toast Notifications */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  color: var(--text);
  z-index: 1000;
  animation: toastSlideUp 0.3s ease-out;
}

@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Accessibility Improvements */
.btn-primary:focus, .btn-secondary:focus, .difficulty-btn:focus, .quiz-option:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Screen Transitions */
.screen {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.screen.slide-left {
  transform: translateX(-100%);
}

.screen.slide-right {
  transform: translateX(100%);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.screen.active .container > * {
  animation: fadeInUp 0.5s ease-out;
}

/* Confetti Animation */
@keyframes confetti {
  0% { transform: translateY(-100vh) rotate(0deg); }
  100% { transform: translateY(100vh) rotate(360deg); }
}

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--primary);
  animation: confetti 3s linear infinite;
}
