/* CSS Variables - Forest Theme */
:root {
  --bg-deep: #0d1117;
  --bg-dark: #161b22;
  --bg-medium: #21262d;
  --bg-light: #30363d;
  --bg-lighter: #484f58;

  --accent-primary: #2ea043;
  --accent-secondary: #58a6ff;
  --accent-tertiary: #f78166;
  --accent-gold: #d29922;
  --accent-purple: #a371f7;

  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;

  --success: #3fb950;
  --warning: #d29922;
  --error: #f85149;

  --border-default: #30363d;
  --border-muted: #21262d;

  --node-default: #238636;
  --node-selected: #58a6ff;
  --node-highlight: #f78166;
  --node-visited: #a371f7;
  --edge-color: #484f58;

  --font-display: 'Crimson Pro', Georgia, serif;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-round: 50%;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(46, 160, 67, 0.3);

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-heading);
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 20% 20%,
      rgba(46, 160, 67, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(88, 166, 255, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 50%,
      rgba(163, 113, 247, 0.04) 0%,
      transparent 60%
    );
  pointer-events: none;
  z-index: -1;
}

/* App Container */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Screens */
.screen {
  display: none;
  animation: fadeIn 0.3s ease;
}

.screen.active {
  display: block;
}

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

/* Main Menu */
#main-menu {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.menu-header {
  text-align: center;
  padding: 3rem 1rem;
  margin-bottom: 2rem;
}

.tree-logo {
  width: 120px;
  height: 140px;
  margin: 0 auto 1.5rem;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.logo-tree .node {
  fill: var(--bg-medium);
  stroke: var(--accent-primary);
  stroke-width: 2;
  transition: var(--transition-normal);
}

.logo-tree .node.root {
  fill: var(--accent-primary);
}

.logo-tree .node.leaf {
  stroke: var(--accent-secondary);
}

.logo-tree .edge {
  stroke: var(--accent-primary);
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-header h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 50%,
    var(--accent-purple) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Categories */
.game-categories {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.category {
  background: var(--bg-dark);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition-normal);
}

.category:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.category h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

/* Game Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.game-card {
  position: relative;
  background: var(--bg-medium);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.game-card:hover {
  background: var(--bg-light);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.game-card:hover::before {
  transform: scaleX(1);
}

.game-number {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-lighter);
  border-radius: var(--radius-round);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.game-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.game-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Game Header */
.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-default);
  position: sticky;
  top: 0;
  z-index: 100;
}

.game-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.game-info h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.score-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.score-label {
  color: var(--text-secondary);
}

#score {
  color: var(--accent-gold);
  font-weight: 600;
}

/* Buttons */
button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9375rem;
}

.btn.primary {
  background: var(--accent-primary);
  color: var(--text-primary);
}

.btn.primary:hover {
  background: #3fb950;
  box-shadow: var(--shadow-glow);
}

.btn.secondary {
  background: var(--bg-light);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn.secondary:hover {
  background: var(--bg-lighter);
  border-color: var(--accent-secondary);
}

.icon-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-medium);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.icon-btn:hover {
  background: var(--bg-light);
  color: var(--text-primary);
  border-color: var(--accent-secondary);
}

/* Game Area */
#game-area {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  min-height: calc(100vh - 180px);
}

/* Tree Visualization */
.tree-canvas {
  position: relative;
  width: 100%;
  max-width: 900px;
  min-height: 400px;
  background: var(--bg-dark);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tree-svg {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.tree-node {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tree-node circle {
  fill: var(--bg-medium);
  stroke: var(--node-default);
  stroke-width: 3;
  transition: all var(--transition-fast);
}

.tree-node:hover circle {
  fill: var(--bg-light);
  stroke-width: 4;
}

.tree-node.selected circle {
  fill: var(--node-selected);
  stroke: var(--text-primary);
}

.tree-node.highlighted circle {
  fill: var(--node-highlight);
  stroke: var(--text-primary);
  animation: pulse 1s ease-in-out infinite;
}

.tree-node.visited circle {
  fill: var(--node-visited);
}

.tree-node.correct circle {
  fill: var(--success);
  stroke: var(--text-primary);
}

.tree-node.incorrect circle {
  fill: var(--error);
  stroke: var(--text-primary);
}

.tree-node.current circle {
  fill: var(--accent-gold);
  stroke: var(--text-primary);
  animation: pulse 0.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
  }
}

.tree-node text {
  fill: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

.tree-edge {
  stroke: var(--edge-color);
  stroke-width: 2;
  fill: none;
}

.tree-edge.highlighted {
  stroke: var(--accent-gold);
  stroke-width: 3;
}

.tree-edge.path {
  stroke: var(--accent-secondary);
  stroke-width: 3;
  stroke-dasharray: 8 4;
  animation: dashMove 1s linear infinite;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -24;
  }
}

/* Node Labels */
.node-label {
  font-size: 10px;
  fill: var(--text-muted);
  font-family: var(--font-mono);
}

/* Controls Panel */
.controls-panel {
  padding: 1rem 1.5rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--border-default);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Question Panel */
.question-panel {
  background: var(--bg-medium);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.question-panel h3 {
  font-size: 1.1rem;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.question-panel .question-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Answer Options */
.answer-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.answer-btn {
  padding: 0.75rem 1.5rem;
  background: var(--bg-light);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 1rem;
  min-width: 80px;
  transition: all var(--transition-fast);
}

.answer-btn:hover {
  background: var(--bg-lighter);
  border-color: var(--accent-secondary);
  transform: translateY(-2px);
}

.answer-btn.correct {
  background: var(--success);
  border-color: var(--success);
}

.answer-btn.incorrect {
  background: var(--error);
  border-color: var(--error);
}

/* Input Fields */
.input-field {
  padding: 0.75rem 1rem;
  background: var(--bg-medium);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 1rem;
  width: 200px;
  transition: all var(--transition-fast);
}

.input-field:focus {
  outline: none;
  border-color: var(--accent-secondary);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2);
}

/* Stack/Queue Visualization */
.data-structure {
  background: var(--bg-medium);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 1rem;
  min-width: 150px;
  max-height: 300px;
  overflow-y: auto;
}

.data-structure h4 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stack-items,
.queue-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stack-item,
.queue-item {
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-align: center;
  animation: slideIn 0.2s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.stack-item.popping,
.queue-item.dequeuing {
  animation: slideOut 0.2s ease forwards;
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(10px);
  }
}

/* Mode Selector */
.mode-selector {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-medium);
  padding: 0.25rem;
  border-radius: var(--radius-md);
}

.mode-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.mode-btn.active {
  background: var(--accent-primary);
  color: var(--text-primary);
}

.mode-btn:hover:not(.active) {
  color: var(--text-primary);
}

/* Info Panels */
.info-panel {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.info-item .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-item .value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-secondary);
}

/* Array Display */
.array-display {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1rem 0;
}

.array-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.array-item.highlight {
  border-color: var(--accent-secondary);
  background: var(--bg-lighter);
}

.array-item.selected {
  border-color: var(--accent-primary);
  background: var(--accent-primary);
}

.array-item.processed {
  border-color: var(--node-visited);
  background: var(--node-visited);
}

/* Drag and Drop */
.draggable {
  cursor: grab;
  user-select: none;
}

.draggable:active {
  cursor: grabbing;
}

.drop-zone {
  border: 2px dashed var(--border-default);
  border-radius: var(--radius-md);
  padding: 1rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.drop-zone.drag-over {
  border-color: var(--accent-secondary);
  background: rgba(88, 166, 255, 0.1);
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  max-width: 400px;
  height: 8px;
  background: var(--bg-light);
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  border-radius: 4px;
  transition: width var(--transition-normal);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 400px;
  text-align: center;
  animation: scaleIn 0.2s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.modal-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background: var(--bg-medium);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  animation: toastIn 0.3s ease;
}

.toast.hidden {
  display: none;
}

.toast.success {
  border-color: var(--success);
  background: rgba(63, 185, 80, 0.2);
}

.toast.error {
  border-color: var(--error);
  background: rgba(248, 81, 73, 0.2);
}

.toast.info {
  border-color: var(--accent-secondary);
  background: rgba(88, 166, 255, 0.2);
}

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

/* Instructions */
.instructions {
  background: var(--bg-medium);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.instructions h4 {
  color: var(--accent-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.instructions p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Traversal Order Display */
.traversal-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
  background: var(--bg-medium);
  border-radius: var(--radius-md);
  min-height: 50px;
}

.traversal-item {
  padding: 0.25rem 0.75rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  animation: popIn 0.2s ease;
}

@keyframes popIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Hint System */
.hint-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-dark);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 350px;
  text-align: center;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.hint-popup h4 {
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.hint-popup p {
  color: var(--text-secondary);
}

/* Next Pointer Lines */
.next-pointer {
  stroke: var(--accent-tertiary);
  stroke-width: 2;
  stroke-dasharray: 5 3;
  fill: none;
  marker-end: url(#arrowhead);
}

/* TreeMap Table */
.treemap-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  margin: 1rem 0;
}

.treemap-table th,
.treemap-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-default);
  text-align: center;
  font-family: var(--font-mono);
}

.treemap-table th {
  background: var(--bg-medium);
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.treemap-table td {
  background: var(--bg-dark);
}

.treemap-table tr:hover td {
  background: var(--bg-medium);
}

/* Game Specific Styles */
.euler-tour-line {
  stroke: var(--accent-gold);
  stroke-width: 1.5;
  stroke-dasharray: 4 2;
  fill: none;
  opacity: 0.6;
}

.euler-tour-marker {
  fill: var(--accent-gold);
  r: 6;
}

/* BST Range Display */
.range-display {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  fill: var(--text-muted);
}

/* Level Indicators */
.level-indicator {
  position: absolute;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Serialization Display */
.serial-string {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  padding: 1rem;
  background: var(--bg-medium);
  border-radius: var(--radius-md);
  word-break: break-all;
  letter-spacing: 0.1em;
}

.serial-string .null-marker {
  color: var(--error);
}

.serial-string .separator {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  #main-menu {
    padding: 1rem;
  }

  .menu-header h1 {
    font-size: 2.5rem;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .game-info {
    order: -1;
    width: 100%;
  }

  .controls-panel {
    flex-direction: column;
  }

  .tree-svg {
    min-height: 300px;
  }
}

/* Animations */
.bounce {
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.shake {
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.celebrate {
  animation: celebrate 0.6s ease;
}

@keyframes celebrate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Confetti */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent-primary);
  animation: confettiFall 1s ease forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}
