.ride-card {
  animation: fadeSlideIn 0.3s ease-out both;
}

.ride-card.no-entrance {
  animation: none;
}

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

.ride-card:nth-child(1) { animation-delay: 0.00s; }
.ride-card:nth-child(2) { animation-delay: 0.04s; }
.ride-card:nth-child(3) { animation-delay: 0.08s; }
.ride-card:nth-child(4) { animation-delay: 0.12s; }
.ride-card:nth-child(5) { animation-delay: 0.16s; }
.ride-card:nth-child(6) { animation-delay: 0.20s; }
.ride-card:nth-child(7) { animation-delay: 0.24s; }
.ride-card:nth-child(8) { animation-delay: 0.28s; }
.ride-card:nth-child(9) { animation-delay: 0.32s; }
.ride-card:nth-child(10) { animation-delay: 0.36s; }
.ride-card:nth-child(11) { animation-delay: 0.40s; }
.ride-card:nth-child(12) { animation-delay: 0.44s; }

.ride-card.selected {
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
  border-color: #93c5fd;
}

.dark .ride-card.selected {
  box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
  border-color: #3b82f6;
}

.select-indicator {
  transition: transform 0.2s ease;
}

.ride-detail-panel {
  animation: slideDown 0.3s ease-out both;
}

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

.ad-placeholder {
  min-width: 300px;
  color: #9ca3af;
}

.dark .ad-placeholder {
  color: #6b7280;
}

#park-tabs::-webkit-scrollbar {
  display: none;
}
#park-tabs {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#filter-bar::-webkit-scrollbar {
  display: none;
}
#filter-bar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.park-tab:active,
.filter-pill:active {
  transform: scale(0.97);
}

.filter-pill {
  transition: all 0.2s ease;
}

.sparkline {
  overflow: visible;
}

.animate-pulse {
  animation: pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@media (min-width: 640px) {
  .ride-card:nth-child(n + 13) {
    animation-delay: 0.48s;
  }
}

#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #1f2937;
  color: #f9fafb;
  border-top: 2px solid #3b82f6;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  padding: 0;
  animation: consentSlideUp 0.35s ease-out;
}

@keyframes consentSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.consent-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 72rem;
  margin: 0 auto;
  padding: 16px 16px;
}

.consent-banner-text {
  min-width: 0;
}

.consent-banner-heading {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}

.consent-banner-body {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  color: #d1d5db;
}

.consent-banner-body strong {
  color: #fff;
}

.consent-banner-body em {
  font-style: normal;
  color: #93c5fd;
}

.consent-link {
  color: #93c5fd;
  text-decoration: underline;
}

.consent-link:hover {
  color: #bfdbfe;
}

.consent-banner-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.consent-btn {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.consent-btn:active {
  transform: scale(0.97);
}

.consent-btn-accept {
  background: #2563eb;
  color: #fff;
}

.consent-btn-accept:hover {
  background: #1d4ed8;
}

.consent-btn-decline {
  background: #374151;
  color: #d1d5db;
}

.consent-btn-decline:hover {
  background: #4b5563;
  color: #fff;
}

@media (min-width: 640px) {
  .consent-banner-inner {
    flex-direction: row;
    align-items: center;
    padding: 14px 24px;
  }

  .consent-banner-heading {
    font-size: 14px;
  }

  .consent-banner-body {
    font-size: 13px;
  }

  .consent-banner-actions {
    margin-left: auto;
  }
}
