/* ═══════════════════════════════════════════
   Bar Ticket — Night District Design System
   Ported from nightdistrict.co
   ═══════════════════════════════════════════ */

/* ─── Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-family: 'Avenir', 'Inter', system-ui, -apple-system, sans-serif; scroll-behavior: smooth; }
body { background: #0a0a0f; color: #e5e7eb; min-height: 100vh; overflow-x: hidden; }

/* ─── Background Canvas ─── */
.nd-bg {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: #0a0a0f;
}
.nd-orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.18;
  pointer-events: none;
}
.nd-orb-pink {
  background: radial-gradient(circle, #FF00F9 0%, rgba(255,0,249,0.4) 50%, transparent 70%);
}
.nd-orb-purple {
  background: radial-gradient(circle, #9C27B0 0%, rgba(156,39,176,0.4) 50%, transparent 70%);
}
.nd-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ─── Glass Cards ─── */
.nd-glass {
  background: rgba(15, 15, 20, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
}
.nd-glass-pink {
  background: rgba(15, 15, 20, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,0,249,0.35);
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(255,0,249,0.12), inset 0 0 40px rgba(255,0,249,0.04);
}

/* ─── Typography ─── */
.nd-gradient-text {
  background: linear-gradient(135deg, #FF00F9 0%, #CC00C7 45%, #9900CC 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─── Badges ─── */
.nd-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid rgba(255,0,249,0.45);
  background: rgba(255,0,249,0.12);
  color: #FF80FC; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em;
}

/* ─── Buttons ─── */
.nd-btn-primary {
  display: inline-block; padding: 13px 30px; border-radius: 100px;
  background: linear-gradient(135deg, #FF00F9 0%, #CC00C7 100%);
  color: #fff !important; font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 20px rgba(255,0,249,0.50);
  transition: box-shadow 0.25s, transform 0.2s;
}
.nd-btn-primary:hover {
  box-shadow: 0 8px 32px rgba(255,0,249,0.70);
  transform: translateY(-2px);
}
.nd-btn-secondary {
  display: inline-block; padding: 12px 30px; border-radius: 100px;
  background: rgba(255,255,255,0.06); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,0,249,0.55);
  color: #FF80FC !important; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; text-decoration: none; transition: all 0.25s;
}
.nd-btn-secondary:hover {
  background: rgba(255,0,249,0.15);
  border-color: #FF00F9;
  color: #fff !important;
  transform: translateY(-2px);
}

/* ─── Feature Icons ─── */
.nd-feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,0,249,0.15); border: 1px solid rgba(255,0,249,0.35);
  display: flex; align-items: center; justify-content: center;
  color: #FF00F9; margin-bottom: 1rem; flex-shrink: 0;
}

/* ─── Feature Card ─── */
.nd-feature-card {
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s;
}
.nd-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,0,249,0.4);
}

/* ─── Step Cards ─── */
.nd-step-number {
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #FF00F9 0%, rgba(255,0,249,0.2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 0.75rem;
}
.nd-step-card {
  background: rgba(15, 15, 20, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s;
}
.nd-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,0,249,0.3);
}

/* ─── Divider ─── */
.nd-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,0,249,0.4), transparent);
}

/* ─── Video Container ─── */
.video-container {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.video-container video {
  width: 100%;
  display: block;
  border-radius: 20px;
}

/* ─── Code Block ─── */
.code-block {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.875rem;
  color: #e5e7eb;
  overflow-x: auto;
}
.code-comment { color: #6b7280; }
.code-keyword { color: #FF80FC; }
.code-todo { color: #FF00F9; font-weight: 600; }

/* ─── Scroll Animations ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Keyboard Shortcut ─── */
.kbd {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-family: 'SF Mono', monospace;
  font-size: 0.8rem;
  color: #d1d5db;
  font-weight: 500;
}

/* ─── Auto-scrolling Logo Carousel ─── */
.ide-carousel-logos {
  animation: scroll-logos 35s linear infinite;
}
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ide-carousel-logos:hover {
  animation-play-state: paused;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nd-step-number { font-size: 2rem; }
}
