/* Red Flag Dodge - 3 vertical lanes with falling debris */
.dodge-arena { gap: 18px; }

.dodge-lanes {
  position: relative;
  width: min(340px, 92%);
  height: clamp(240px, 42vh, 330px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: linear-gradient(180deg, #22222c, #14141b);
  border: 1px solid var(--f1-line);
  border-radius: 16px;
  padding: 8px;
  overflow: hidden;
}

.dodge-lane {
  border-radius: 10px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 24px, transparent 24px 48px),
    rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.09);
}

.dodge-car {
  position: absolute;
  bottom: 10px;
  left: calc(16.6667% - 1.1rem);
  width: calc(33.333% - 10px);
  text-align: center;
  font-size: 2.2rem;
  line-height: 1;
  transition: left 0.12s ease-out;
  z-index: 3;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.65));
}

.debris {
  position: absolute;
  top: -34px;
  font-size: 1.7rem;
  line-height: 1;
  z-index: 2;
  left: 0;
  will-change: transform;
}

.dodge-ctrl { display: flex; gap: 12px; width: min(340px, 92%); }

.lane-btn {
  flex: 1;
  min-height: 58px;
  border-radius: 14px;
  border: 2px solid var(--f1-line);
  background: linear-gradient(180deg, #20202a, #14141b);
  color: var(--f1-ink);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(0.85rem, 3.6vw, 1rem);
  letter-spacing: 1px;
  cursor: pointer;
  touch-action: manipulation;
}

.lane-btn:active { background: linear-gradient(180deg, var(--f1-red), #7a1200); }

.hit-flash { animation: dodge-hit 0.35s ease; }

@keyframes dodge-hit {
  0%, 100% { filter: none; }
  50% { filter: drop-shadow(0 0 18px var(--f1-red)); }
}
