/* Ultra-Premium Pokémon Cyber Theme - PokeBot Web */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Press+Start+2P&display=swap');

:root {
  --bg-dark: #070913;
  --bg-card: rgba(15, 20, 35, 0.82);
  --bg-card-hover: rgba(22, 30, 52, 0.92);
  --bg-input: #0a0e1a;
  
  --border-color: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(239, 68, 68, 0.4);
  
  /* Pokemon Core Colors */
  --poke-red: #ef4444;
  --poke-red-hover: #dc2626;
  --poke-yellow: #fbbf24;
  --poke-blue: #3b82f6;
  --poke-violet: #8b5cf6;
  --poke-cyan: #06b6d4;
  --poke-green: #10b981;
  --poke-pink: #ec4899;
  
  /* Type Colors */
  --type-fire: #f97316;
  --type-water: #0ea5e9;
  --type-grass: #22c55e;
  --type-electric: #eab308;
  --type-dragon: #6366f1;
  --type-fairy: #f472b6;
  --type-ghost: #7e22ce;
  --type-dark: #374151;
  --type-steel: #94a3b8;
  --type-psychic: #ec4899;
  --type-fighting: #b91c1c;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  
  --shadow-card: 0 12px 36px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--border-color);
  --shadow-glow: 0 0 25px -4px rgba(239, 68, 68, 0.45);
  --shadow-cyan: 0 0 25px -4px rgba(6, 182, 212, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(239, 68, 68, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(6, 182, 212, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Subtle Animated Pokeball Watermark Background */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 45px solid rgba(255, 255, 255, 0.018);
  pointer-events: none;
  z-index: 0;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2.5rem;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

/* Animated Glowing Pokeball Brand Icon */
.brand-pokeball {
  width: 38px;
  height: 38px;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(180deg, #ef4444 48%, #1e293b 48%, #1e293b 52%, #ffffff 52%);
  border: 2.5px solid #0f172a;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.brand-pokeball::after {
  content: '';
  width: 12px;
  height: 12px;
  background: #ffffff;
  border: 3px solid #0f172a;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0,0,0,0.5);
}

.nav-brand:hover .brand-pokeball {
  transform: rotate(360deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--poke-yellow);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.25);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.15);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-card);
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  border-radius: 50px;
  border: 1px solid var(--border-color);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: #1f293d;
  border: 1.5px solid var(--poke-yellow);
}

/* Layout */
.main-container {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Hero & Header Banners */
.page-header {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 30%, var(--poke-yellow) 80%, var(--poke-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.3rem;
}

/* Cards & Glass Panels */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
  position: relative;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.grid-cols-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-cols-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 1024px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

/* Bot Cards */
.bot-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 4px solid var(--poke-red);
}

.bot-card.mode-sv { border-left-color: var(--poke-red); }
.bot-card.mode-swsh { border-left-color: var(--poke-blue); }
.bot-card.mode-bdsp { border-left-color: var(--poke-cyan); }
.bot-card.mode-la { border-left-color: var(--poke-yellow); }
.bot-card.mode-plza { border-left-color: var(--poke-pink); }

.bot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.bot-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-online {
  background: rgba(16, 185, 129, 0.18);
  color: var(--poke-green);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.status-offline {
  background: rgba(239, 68, 68, 0.18);
  color: var(--poke-red);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulse-anim 1.8s infinite;
}

@keyframes pulse-anim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.bot-details {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.9rem 0;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.tag.highlight {
  color: var(--poke-yellow);
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.1);
}

.tag.type-fire { background: rgba(249, 115, 22, 0.15); color: var(--type-fire); border-color: rgba(249, 115, 22, 0.4); }
.tag.type-water { background: rgba(14, 165, 233, 0.15); color: var(--type-water); border-color: rgba(14, 165, 233, 0.4); }
.tag.type-electric { background: rgba(234, 179, 8, 0.15); color: var(--type-electric); border-color: rgba(234, 179, 8, 0.4); }
.tag.type-dragon { background: rgba(99, 102, 241, 0.15); color: var(--type-dragon); border-color: rgba(99, 102, 241, 0.4); }

/* Quick Preset Chips */
.quick-preset-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.preset-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.preset-chip:hover {
  background: rgba(251, 191, 36, 0.15);
  border-color: var(--poke-yellow);
  color: var(--poke-yellow);
  transform: translateY(-1px);
}

/* Console & Chat Terminal (Rotom-Phone Cyber Frame) */
.console-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  min-height: 650px;
}

@media (max-width: 1024px) {
  .console-layout {
    grid-template-columns: 1fr;
  }
}

.terminal-container {
  display: flex;
  flex-direction: column;
  background: #060911;
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(239, 68, 68, 0.15);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #0d1322;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.dot-yellow { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.dot-green { background: #10b981; box-shadow: 0 0 6px #10b981; }

.terminal-title {
  font-family: 'Fira Code', monospace;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--poke-yellow);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.terminal-logs {
  flex: 1;
  padding: 1.25rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  overflow-y: auto;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: radial-gradient(circle at center, #090e1b 0%, #05070f 100%);
}

.terminal-logs::-webkit-scrollbar {
  width: 6px;
}
.terminal-logs::-webkit-scrollbar-thumb {
  background: rgba(239, 68, 68, 0.3);
  border-radius: 4px;
}

.log-line {
  word-break: break-all;
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.log-time { color: #64748b; font-size: 0.78rem; }
.log-level-SUCCESS { color: #34d399; font-weight: 700; text-shadow: 0 0 8px rgba(52, 211, 153, 0.4); }
.log-level-TRADE { color: #38bdf8; font-weight: 700; text-shadow: 0 0 8px rgba(56, 189, 248, 0.4); }
.log-level-INFO { color: #cbd5e1; }
.log-level-WARNING { color: #fbbf24; font-weight: 700; }
.log-level-ERROR { color: #f87171; font-weight: 700; text-shadow: 0 0 8px rgba(248, 113, 113, 0.5); }
.log-level-SYSTEM { color: #c084fc; font-weight: 700; }
.log-level-USER { color: #f472b6; font-weight: 700; }

.terminal-input-bar {
  display: flex;
  align-items: center;
  padding: 0.85rem 1.15rem;
  background: #0d1322;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.85rem;
}

.terminal-prompt {
  color: var(--poke-red);
  font-family: 'Fira Code', monospace;
  font-weight: 800;
  font-size: 1.1rem;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
}

/* Trade Requester Form */
.trade-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  border-top: 3px solid var(--poke-yellow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.input, .textarea, .select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.textarea {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  min-height: 125px;
  resize: vertical;
}

.input:focus, .textarea:focus, .select:focus {
  border-color: var(--poke-yellow);
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.25);
}

/* File Drop Zone */
.dropzone {
  border: 2px dashed rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  background: rgba(239, 68, 68, 0.03);
  transition: all 0.2s ease;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--poke-yellow);
  background: rgba(251, 191, 36, 0.08);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.btn-cyan {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.4);
}

.btn-cyan:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.btn-yellow {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
}

.btn-yellow:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #4752c4;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--poke-red);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-danger:hover {
  background: var(--poke-red);
  color: #fff;
}

/* Pokemon Preview Card (Pokédex Style) */
.pkm-preview {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(251, 191, 36, 0.05));
  border: 1.5px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-top: 0.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.pkm-sprite {
  width: 80px;
  height: 80px;
  image-rendering: pixelated;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.pkm-info h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.pkm-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

/* Table styling */
.table-container {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.table th {
  padding: 0.95rem 1.1rem;
  color: var(--poke-yellow);
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
  border-top: 1px solid var(--border-color);
  background: rgba(7, 9, 19, 0.85);
}

/* --- POKEMON TRADE ROOM MODAL (Hologram UI & Live Status) --- */
.trade-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 7, 18, 0.88);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.trade-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.trade-modal {
  background: linear-gradient(145deg, #0b1120 0%, #060914 100%);
  border: 2px solid rgba(251, 191, 36, 0.4);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 50px rgba(251, 191, 36, 0.18), 0 25px 50px rgba(0, 0, 0, 0.8);
  transform: scale(0.92) translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.trade-modal-overlay.active .trade-modal {
  transform: scale(1) translateY(0);
}

.trade-modal-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.02);
}

.trade-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.trade-modal-close:hover {
  color: var(--poke-red);
}

/* Holographic Pokémon Card inside Modal */
.hologram-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(251, 191, 36, 0.08));
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hologram-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.08) 50%, transparent 55%);
  animation: holoGleam 4s infinite linear;
  pointer-events: none;
}

@keyframes holoGleam {
  0% { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(50%) rotate(360deg); }
}

.hologram-sprite-box {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.hologram-sprite {
  width: 96px;
  height: 96px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.6));
  animation: pkmFloat 3s ease-in-out infinite;
}

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

.shiny-sparkle {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 1.25rem;
  color: var(--poke-yellow);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.9);
  animation: sparkleTwinkle 1.5s infinite alternate;
}

@keyframes sparkleTwinkle {
  0% { transform: scale(0.8) rotate(0deg); opacity: 0.6; }
  100% { transform: scale(1.2) rotate(20deg); opacity: 1; }
}

/* Step Progress Tracker */
.trade-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 1.25rem 1.5rem;
}

.trade-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 25px;
  right: 25px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.trade-step-line {
  position: absolute;
  top: 18px;
  left: 25px;
  height: 3px;
  background: linear-gradient(90deg, var(--poke-yellow), var(--poke-green));
  z-index: 2;
  transition: width 0.4s ease;
  width: 0%;
}

.trade-step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0b1120;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: all 0.3s;
}

.trade-step.active .step-circle {
  border-color: var(--poke-yellow);
  color: var(--poke-yellow);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
  background: rgba(251, 191, 36, 0.15);
  animation: pulseStep 1.8s infinite;
}

.trade-step.completed .step-circle {
  border-color: var(--poke-green);
  background: var(--poke-green);
  color: #0f172a;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

@keyframes pulseStep {
  0%, 100% { box-shadow: 0 0 12px rgba(251, 191, 36, 0.3); }
  50% { box-shadow: 0 0 24px rgba(251, 191, 36, 0.8); }
}

.step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.trade-step.active .step-label {
  color: var(--poke-yellow);
}

.trade-step.completed .step-label {
  color: var(--poke-green);
}

/* Giant Glowing Link Code Box */
.link-code-banner {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(239, 68, 68, 0.1));
  border: 2px solid var(--poke-yellow);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 0 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.2);
}

.link-code-display {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 15px rgba(251, 191, 36, 0.7);
  margin: 0.35rem 0;
  font-family: 'Fira Code', monospace;
}

/* Mini Live Feed in Modal */
.modal-live-feed {
  background: #05070e;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 0 1.5rem 1.5rem;
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  max-height: 120px;
  overflow-y: auto;
}
