/* ==========================================================
   COFFEELAB ROYALE v2.0 — PREMIUM DESIGN SYSTEM
   Rewritten: Smoother animations, richer glassmorphism,
   premium micro-interactions, modern dark luxury palette.
========================================================== */

/* ── Core Tokens ── */
:root {
  --bg-deep: #060504;
  --bg-surface: #0f0d0a;
  --bg-card: rgba(22, 18, 14, 0.88);
  --bg-card-hover: rgba(34, 28, 22, 0.95);
  --border-subtle: rgba(217, 119, 6, 0.14);
  --border-gold: rgba(245, 158, 11, 0.45);
  --border-gold-glow: 0 0 22px rgba(245, 158, 11, 0.22);

  --gold-primary: #f59e0b;
  --gold-bright: #fbbf24;
  --gold-glow: #d97706;
  --crema-light: #fef3c7;
  --crema-muted: #c4bdb5;
  --coffee-accent: #854d0e;
  --emerald-fresh: #10b981;
  --ruby-roast: #ef4444;

  --font-serif: 'Cinzel', serif;
  --font-sans: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-lux: 0 8px 32px -8px rgba(0,0,0,0.85), 0 0 0 1px rgba(245,158,11,0.06);
  --shadow-glow: 0 0 40px rgba(245,158,11,0.12);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.18s ease;
}

/* ── Smooth Scrolling ── */
html {
  scroll-behavior: smooth;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-glow), var(--coffee-accent));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

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

body {
  background-color: var(--bg-deep);
  color: var(--crema-light);
  font-family: var(--font-body);
  background-image:
    radial-gradient(ellipse at 10% 5%, rgba(180, 83, 9, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 85%, rgba(217, 119, 6, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(12, 10, 8, 0.95) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ── */
h1, h2, h3, .brand-title {
  font-family: var(--font-serif);
  letter-spacing: 0.3px;
  font-weight: 700;
  color: #fff;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fff 0%, #fcd34d 40%, #f59e0b 70%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.4);
}

/* ── Selection ── */
::selection {
  background: rgba(245, 158, 11, 0.35);
  color: #fff;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GLASSMORPHISM CARDS (Refined)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.lux-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-lux);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.lux-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(251,191,36,0.5) 50%, transparent 95%);
  opacity: 0.35;
  transition: opacity 0.4s ease;
}

.lux-card:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.9), var(--shadow-glow);
}
.lux-card:hover::before {
  opacity: 1;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS (Premium Micro-Interactions)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #0c0a09;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.6s ease;
}
.btn-gold:hover::after {
  transform: translateX(50%) rotate(45deg);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.55), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-gold:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--crema-light);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(6px);
}
.btn-outline:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fff;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.15);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER & NAV (Sticky Glass)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 5, 4, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(245,158,11,0.08);
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-badge .logo-icon {
  font-size: 28px;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5));
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-link {
  color: var(--crema-muted);
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 0; height: 2px;
  background: var(--gold-bright);
  border-radius: 1px;
  transition: all 0.25s ease;
  transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 80%;
}
.nav-link.active, .nav-link:hover {
  color: var(--gold-bright);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BALANCE STRIP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.balance-strip {
  display: flex;
  align-items: center;
  gap: 14px;
}
.wallet-chip {
  background: rgba(12, 10, 8, 0.85);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  transition: var(--transition-fast);
}
.wallet-chip:hover {
  border-color: rgba(245,158,11,0.25);
}
.wallet-chip .chip-label {
  color: var(--crema-muted);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}
.wallet-chip .chip-val {
  font-weight: 700;
  color: var(--gold-bright);
  font-family: var(--font-sans);
}
.wallet-chip.cash .chip-val {
  color: var(--emerald-fresh);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GRID & LAYOUTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 28px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ROASTER VIEWPORT (Canvas)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.roaster-viewport {
  position: relative;
  width: 100%;
  height: 280px;
  background: radial-gradient(ellipse at center, #1a1510 0%, #090807 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.95), 0 0 30px rgba(245,158,11,0.06);
}
#roasterCanvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.roaster-overlay {
  position: absolute;
  bottom: 14px; left: 18px; right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.roaster-overlay button {
  pointer-events: auto;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LOT CARDS & PRODUCT IMAGES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.lot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.lot-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #1a1612, #0d0b09);
  border: 1px solid var(--border-subtle);
}
.lot-image-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}
.lot-card:hover .lot-image-wrapper img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.brand-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245,158,11,0.3);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.brand-link-chip:hover {
  background: var(--gold-primary);
  color: #0c0a09;
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245,158,11,0.3);
}

.lot-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.lot-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-bright);
  border: 1px solid rgba(245, 158, 11, 0.25);
}
.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 16px;
}
.flavor-pill {
  font-size: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 4px 10px;
  border-radius: 6px;
  color: var(--crema-muted);
}

/* ── Progress Bar ── */
.roast-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 12px 0 6px;
  position: relative;
}
.roast-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-glow), var(--gold-bright));
  box-shadow: 0 0 12px rgba(245,158,11,0.45);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-full);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MODALS (Polished)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: linear-gradient(180deg, rgba(18,15,12,0.98) 0%, rgba(10,8,6,0.99) 100%);
  border: 1px solid var(--border-gold);
  box-shadow: 0 24px 64px rgba(0,0,0,0.95), 0 0 40px rgba(245,158,11,0.18);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 36px;
  position: relative;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.open .modal-content {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 16px;
  color: var(--crema-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.modal-close:hover {
  color: #fff;
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.4);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FORMS (Sleek Inputs)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--crema-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.form-control {
  width: 100%;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: var(--transition-smooth);
}
.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12), 0 0 16px rgba(245, 158, 11, 0.15);
  background: rgba(0,0,0,0.65);
}
.form-control::placeholder {
  color: rgba(255,255,255,0.2);
}
select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fbbf24' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOASTS (Refined slide + glow)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: rgba(18, 15, 12, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.75), 0 0 20px rgba(245,158,11,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toastSlide {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVENESS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {
  .main-header {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero-section {
    padding: 50px 16px 35px !important;
  }
  .hero-title {
    font-size: 30px !important;
  }
  .hero-subtitle {
    font-size: 15px !important;
  }
  .modal-content {
    padding: 24px 20px;
  }
}

/* ── Footer ── */
footer a:hover {
  color: var(--gold-bright) !important;
  text-shadow: 0 0 8px rgba(251,191,36,0.3);
}

/* ── Affiliate Cards ── */
#affiliateCards .lux-card a[href]:last-child:hover {
  background: rgba(245,158,11,0.2) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,158,11,0.2);
}
#affiliateCards .lux-card {
  transition: var(--transition-smooth);
}
#affiliateCards .lux-card:hover {
  border-color: rgba(245,158,11,0.3);
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.85), var(--shadow-glow);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TEAM & HOME OFFICE SECTION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.team-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(245,158,11,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.85), 0 0 40px rgba(245,158,11,0.15);
  transition: var(--transition-smooth);
}
.team-photo-frame:hover {
  transform: translateY(-5px) scale(1.005);
  box-shadow: 0 28px 60px rgba(0,0,0,0.9), 0 0 50px rgba(245,158,11,0.25);
  border-color: var(--gold-bright);
}
.team-photo-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.05) saturate(1.08);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-photo-frame:hover img {
  transform: scale(1.04);
}

.home-office-banner {
  background: linear-gradient(135deg, rgba(28, 22, 16, 0.97) 0%, rgba(14, 11, 8, 0.98) 55%, rgba(180, 83, 9, 0.22) 100%);
  border: 2px solid rgba(245,158,11,0.4);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.8), var(--shadow-glow);
}
.home-office-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .team-photo-frame img { height: 300px; }
  .home-office-banner { padding: 22px 16px; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ORDER BUMP & PROMO CARDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.card-entry-leader {
  border: 2px solid var(--gold-bright) !important;
  box-shadow: 0 12px 40px -6px rgba(245,158,11,0.3), 0 0 30px rgba(245,158,11,0.15) !important;
  position: relative;
}
.card-entry-leader::before {
  opacity: 1 !important;
  background: linear-gradient(90deg, transparent, #fbbf24, transparent) !important;
  height: 2px !important;
}

.card-bonus-exclusive {
  border: 2px dashed rgba(16, 185, 129, 0.45) !important;
  background: rgba(12, 22, 16, 0.75) !important;
  position: relative;
}

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 8px rgba(245,158,11,0.3); }
  50%  { box-shadow: 0 0 22px rgba(245,158,11,0.55); }
  100% { box-shadow: 0 0 8px rgba(245,158,11,0.3); }
}
.pulse-badge {
  animation: pulseGlow 2.8s infinite ease-in-out;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TUTORIAL WIZARD & ONBOARDING
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.tutorial-modal-content {
  max-width: 700px !important;
  width: 95% !important;
  padding: 32px !important;
}

.wizard-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 4px;
}
.wizard-step-node {
  flex: 1;
  text-align: center;
  cursor: pointer;
}
.wizard-step-node .node-bullet {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  color: var(--crema-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
  font-weight: 700;
  font-size: 13px;
  transition: var(--transition-smooth);
}
.wizard-step-node.active .node-bullet {
  background: var(--gold-bright);
  border-color: #fff;
  color: #0c0a09;
  box-shadow: 0 0 18px rgba(245,158,11,0.55);
  transform: scale(1.12);
}
.wizard-step-node.completed .node-bullet {
  background: var(--emerald-fresh);
  border-color: #34d399;
  color: #fff;
}
.wizard-step-node .node-title {
  font-size: 10.5px;
  color: var(--crema-muted);
  font-weight: 600;
  white-space: nowrap;
}
.wizard-step-node.active .node-title {
  color: var(--gold-bright);
  font-weight: 700;
}

.tutorial-step-body {
  display: none;
  animation: fadeInStep 0.4s ease;
}
.tutorial-step-body.active { display: block; }

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

.tutorial-box-highlight {
  background: linear-gradient(135deg, rgba(245,158,11,0.06) 0%, rgba(20,17,14,0.92) 100%);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0;
}
.tutorial-actions-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  margin-top: 24px;
}

/* ── Landing Tutorial Cards ── */
.tutorial-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.tutorial-step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tutorial-step-card:hover {
  border-color: rgba(245,158,11,0.4);
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.8), 0 0 24px rgba(245,158,11,0.15);
}
.tutorial-step-card:hover::before { opacity: 1; }

.tutorial-number-badge {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.tutorial-header-btn {
  background: rgba(245,158,11,0.1) !important;
  border-color: rgba(245,158,11,0.35) !important;
  color: var(--gold-bright) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: var(--transition-smooth) !important;
}
.tutorial-header-btn:hover {
  background: rgba(245,158,11,0.22) !important;
  border-color: var(--gold-bright) !important;
  box-shadow: 0 0 18px rgba(245,158,11,0.25) !important;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STAT BOXES (Terminal)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.stat-box {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  transition: var(--transition-fast);
}
.stat-box:hover {
  border-color: rgba(245,158,11,0.25);
  background: rgba(0,0,0,0.55);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FLOATING PARTICLES (Ambient BG)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes floatUp {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LOADING SKELETON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  border-radius: var(--radius-sm);
}
