/* ===== LUXURY TRADING JOURNAL — REFINED PROFESSIONAL DESIGN ===== */
:root {
  /* Lighter Luxury Palette — Warm & Inviting */
  --bg-void: #0f1117;
  --bg-deep: #151821;
  --bg-dark: #1a1e2a;
  --bg-card: #1f2433;
  --bg-elevated: #252b3d;
  --bg-hover: #2d3548;
  
  /* Brighter Champagne Gold */
  --gold: #e5c07b;
  --gold-light: #f0d090;
  --gold-dark: #c9a961;
  --gold-glow: rgba(229, 192, 123, 0.35);
  --gold-faint: rgba(229, 192, 123, 0.12);
  --gold-border: rgba(229, 192, 123, 0.3);
  
  /* Vibrant Trading Colors */
  --green: #00e5a0;
  --green-dim: #00c98a;
  --green-bg: rgba(0, 229, 160, 0.12);
  --green-glow: rgba(0, 229, 160, 0.4);
  --red: #ff5c6c;
  --red-dim: #e84857;
  --red-bg: rgba(255, 92, 108, 0.12);
  
  /* Brighter Text Hierarchy */
  --text-primary: #ffffff;
  --text-secondary: #d8dce6;
  --text-muted: #9ca3b4;
  --text-dim: #6b7285;
  
  /* Lines & Borders */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --line-gold: rgba(229, 192, 123, 0.4);
  
  /* Typography */
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  
  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

::selection { 
  background: var(--gold); 
  color: var(--bg-void); 
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { 
  background: var(--gold-dark); 
  border-radius: 4px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== ANIMATED BACKGROUND ===== */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse at 15% 20%, rgba(201, 169, 97, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(0, 214, 143, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(201, 169, 97, 0.02) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.015;
  z-index: 0;
  pointer-events: none;
}







/* ===== PROFESSIONAL STICKY NAVBAR ===== */
.status-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 11, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.status-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}

.logo:hover {
  opacity: 0.85;
}

.logo-emblem {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 2px 8px rgba(201, 169, 97, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  flex-shrink: 0;
}

.logo-emblem::before {
  content: '';
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
}

.emblem-letter {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bg-void);
  line-height: 1;
}

.logo-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  line-height: 1.2;
}

.logo-tagline {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1;
  opacity: 0.85;
}

/* ===== JOURNEY INDICATOR (Right Side) ===== */
.journey-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--gold-faint) 0%, transparent 100%);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.journey-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.12), transparent);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.journey-indicator:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.journey-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s infinite;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.journey-label {
  font-family: var(--mono);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  position: relative;
  z-index: 1;
}

.journey-progress {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--gold);
  font-size: 0.85rem;
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
    box-shadow: 0 0 0 0 var(--gold-glow); 
  }
  50% { 
    opacity: 0.6; 
    box-shadow: 0 0 0 6px transparent; 
  }
}

/* ===== HIDE UNUSED ELEMENTS ===== */
.status-left,
.status-right,
.status-center,
.status-divider,
.status-item,
.status-label,
.status-value,
.journey-strip,
.info-strip,
.menu-toggle,
.menu-overlay {
  display: none !important;
}

/* ===== TABLET (769px - 1024px) ===== */
@media (max-width: 1024px) {
  .status-bar-inner {
    padding: 12px 24px;
    gap: 16px;
  }
  
  .logo-emblem {
    width: 36px;
    height: 36px;
  }
  
  .emblem-letter {
    font-size: 1rem;
  }
  
  .logo-name {
    font-size: 0.85rem;
  }
  
  .logo-tagline {
    font-size: 0.55rem;
  }
  
  .journey-indicator {
    padding: 7px 16px;
    font-size: 0.65rem;
  }
  
  .journey-progress {
    font-size: 0.8rem;
  }
}

/* ===== MOBILE (768px and below) ===== */
@media (max-width: 768px) {
  .status-bar-inner {
    padding: 12px 16px;
    gap: 12px;
  }
  
  .logo {
    gap: 10px;
  }
  
  .logo-emblem {
    width: 34px;
    height: 34px;
    border-radius: 7px;
  }
  
  .emblem-letter {
    font-size: 0.95rem;
  }
  
  .logo-name {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }
  
  .logo-tagline {
    font-size: 0.5rem;
    letter-spacing: 0.15em;
  }
  
  .journey-indicator {
    padding: 6px 14px;
    font-size: 0.6rem;
    gap: 8px;
  }
  
  .journey-dot {
    width: 5px;
    height: 5px;
  }
  
  .journey-label {
    display: none; /* Hide "DAY" text on mobile, keep number */
  }
  
  .journey-progress {
    font-size: 0.75rem;
  }
}

/* ===== SMALL MOBILE (480px and below) ===== */
@media (max-width: 480px) {
  .status-bar-inner {
    padding: 10px 14px;
    gap: 8px;
  }
  
  .logo-emblem {
    width: 30px;
    height: 30px;
  }
  
  .emblem-letter {
    font-size: 0.85rem;
  }
  
  .logo-name {
    font-size: 0.72rem;
  }
  
  .logo-tagline {
    display: none; /* Hide tagline on very small screens */
  }
  
  .journey-indicator {
    padding: 5px 12px;
    font-size: 0.58rem;
  }
  
  .journey-progress {
    font-size: 0.7rem;
  }
}

/* ===== VERY SMALL MOBILE (360px and below) ===== */
@media (max-width: 360px) {
  .status-bar-inner {
    padding: 8px 12px;
  }
  
  .logo-info {
    display: none; /* Hide text, keep emblem only */
  }
  
  .journey-indicator {
    padding: 4px 10px;
  }
}































/* ===== PERFECT 100VH HERO SECTION ===== */
.hero-welcome {
  height: vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 80px 40px 60px;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-inner {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-ornament {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0.6;
  animation: fadeIn 1s var(--ease-out) 0.2s backwards, 
             ornamentFloat 4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes ornamentFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  line-height: 1.1;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 0.4s forwards;
  text-shadow: 0 2px 20px rgba(229, 192, 123, 0.15);
  flex-shrink: 0;
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 0.6s forwards;
  flex-shrink: 0;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 0.8s forwards;
  flex-shrink: 0;
}

.hero-divider span:first-child,
.hero-divider span:last-child {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.divider-diamond {
  color: var(--gold);
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ===== HERO STATS PREVIEW ===== */
.hero-stats-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 32px;
  padding: 18px 36px;
  background: rgba(31, 36, 51, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 1s forwards;
  flex-shrink: 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}

.hero-stat-value {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, transparent, var(--gold-border), transparent);
  flex-shrink: 0;
}

/* ===== HERO ACTIONS — DESKTOP ONLY ===== */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 1.2s forwards;
  flex-shrink: 0;
}

.hero-btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: transparent;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.hero-btn-admin::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-faint), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.hero-btn-admin:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(229, 192, 123, 0.15),
    inset 0 1px 0 rgba(229, 192, 123, 0.1);
}

.hero-btn-admin:hover::before {
  opacity: 1;
}

.admin-icon {
  font-size: 1rem;
  transition: transform 0.4s var(--ease);
  position: relative;
  z-index: 1;
}

.hero-btn-admin span:last-child {
  position: relative;
  z-index: 1;
}

.hero-btn-admin:hover .admin-icon {
  transform: rotate(90deg);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TABLET HERO (769px - 1024px) ===== */
@media (max-width: 1024px) {
  .hero-welcome {
    padding: 70px 32px 50px;
  }
  
  .hero-stats-preview {
    gap: 22px;
    padding: 16px 28px;
  }
  
  .hero-stat-value {
    font-size: 1.25rem;
  }
  
  .hero-stat {
    min-width: 90px;
  }
}

/* ===== MOBILE HERO (768px and below) ===== */
@media (max-width: 768px) {
  .hero-welcome {
    padding: 70px 20px 50px;
  }
  
  .hero-ornament {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .hero-divider {
    margin-bottom: 22px;
    gap: 12px;
  }
  
  .hero-divider span:first-child,
  .hero-divider span:last-child {
    width: 50px;
  }
  
  .hero-stats-preview {
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
  }
  
  .hero-stat-divider {
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  }
  
  .hero-stat {
    min-width: auto;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
  }
  
  .hero-stat-value {
    font-size: 1.2rem;
  }
  
  /* Hide admin button on mobile */
  .hero-actions {
    display: none;
  }
}

/* ===== SMALL MOBILE (480px and below) ===== */
@media (max-width: 480px) {
  .hero-welcome {
    padding: 60px 16px 40px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.82rem;
    margin-bottom: 16px;
  }
  
  .hero-divider {
    margin-bottom: 18px;
  }
  
  .hero-stats-preview {
    padding: 14px 20px;
    margin-bottom: 20px;
  }
  
  .hero-stat-value {
    font-size: 1.1rem;
  }
  
  .hero-stat-label {
    font-size: 0.55rem;
  }
}

/* ===== VERY SMALL MOBILE (360px and below) ===== */
@media (max-width: 360px) {
  .hero-welcome {
    padding: 55px 14px 35px;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-subtitle {
    font-size: 0.78rem;
  }
  
  .hero-stats-preview {
    padding: 12px 16px;
  }
}

/* ===== LANDSCAPE MODE FIX ===== */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-welcome {
    padding: 50px 40px 40px;
  }
  
  .hero-ornament {
    margin-bottom: 12px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  
  .hero-subtitle {
    margin-bottom: 14px;
  }
  
  .hero-divider {
    margin-bottom: 16px;
  }
  
  .hero-stats-preview {
    padding: 12px 24px;
    margin-bottom: 20px;
  }
}














/* ===== MAIN CONTENT ===== */
.main-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
}

section { 
  margin-bottom: 80px; 
}

/* ===== SECTION HEADERS ===== */
.section-header {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-numeral {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
  font-style: italic;
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.section-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--green-bg);
  border: 1px solid var(--green);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.15em;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--green);
}

/* ===== STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.stat-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.stat-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.stat-card:hover .stat-card-accent {
  opacity: 1;
}

.stat-card.primary {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border-color: var(--gold-border);
}

.stat-card.primary .stat-card-accent {
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 2px;
}

.stat-card.danger-card .stat-card-accent {
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  height: 2px;
}

.stat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}

.stat-value {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-value.danger { color: var(--red); }
.stat-value.profit { color: var(--green); }

.stat-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ===== JOURNEY PATH ===== */
.journey-path {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.journey-node {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}

.journey-node:last-child { padding-bottom: 0; }

.node-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.node-dot {
  width: 18px;
  height: 18px;
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: all 0.4s var(--ease);
}

.journey-node.active .node-dot {
  background: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
  animation: pulse 2s infinite;
}

.journey-node.completed .node-dot {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 16px var(--green-glow);
}

.journey-node.locked .node-dot {
  border-color: var(--text-dim);
  opacity: 0.5;
}

.node-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--line-strong), transparent);
  margin-top: 8px;
}

.journey-node.completed .node-line {
  background: linear-gradient(180deg, var(--green), var(--line-strong));
}

.node-content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.4s var(--ease);
  position: relative;
}

.journey-node.active .node-content {
  border-color: var(--gold-border);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 169, 97, 0.03) 100%);
  box-shadow: 0 6px 24px rgba(201, 169, 97, 0.08);
}

.journey-node.completed .node-content {
  border-color: rgba(0, 214, 143, 0.3);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 214, 143, 0.03) 100%);
}

.journey-node.locked .node-content {
  opacity: 0.5;
}

.node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.node-phase {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  font-weight: 600;
}

.node-status {
  font-family: var(--mono);
  font-size: 0.6rem;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.2em;
  font-weight: 600;
  background: var(--gold-faint);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

.node-status.completed {
  background: var(--green-bg);
  color: var(--green);
  border-color: var(--green);
}

.node-status.locked {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border-color: var(--line-strong);
}

.node-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.node-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg-elevated);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  gap: 12px;
}

.detail-row span:first-child { 
  color: var(--text-muted);
  font-weight: 400;
}

.detail-row .value {
  font-family: var(--mono);
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.progress-bar {
  width: 100%;
  height: 5px;
  background: var(--bg-elevated);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid var(--line);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  border-radius: 100px;
  transition: width 1.5s var(--ease-out);
  box-shadow: 0 0 10px var(--gold-glow);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

/* ===== REWARDS ===== */
.rewards-intro {
  text-align: center;
  padding: 16px 24px;
  background: var(--gold-faint);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.rewards-intro strong {
  color: var(--gold);
  font-weight: 600;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reward-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.reward-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.reward-card:hover::before {
  opacity: 1;
}

.reward-card.unlocked {
  border-color: var(--gold-border);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 169, 97, 0.05) 100%);
}

.reward-card.unlocked::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 2px;
}

.reward-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.reward-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.reward-content { flex: 1; min-width: 0; }

.reward-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.reward-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.4;
}

.reward-value {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.reward-status {
  font-family: var(--mono);
  font-size: 0.6rem;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.15em;
  font-weight: 600;
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  white-space: nowrap;
}

.reward-status.unlocked {
  background: var(--gold-faint);
  color: var(--gold);
  border-color: var(--gold);
}

/* ===== CALENDAR — PROFESSIONAL SIZED ===== */
.calendar-section .section-header {
  align-items: center;
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cal-btn {
  width: 32px;
  height: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.1rem;
  font-family: var(--serif);
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-btn:hover {
  background: var(--bg-elevated);
  border-color: var(--gold);
  color: var(--gold);
}

.cal-month {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  min-width: 140px;
  text-align: center;
  letter-spacing: 0.02em;
}

.calendar {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cal-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.cal-header div {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  padding: 6px 0;
  font-weight: 500;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  background: var(--bg-elevated);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s var(--ease);
  cursor: default;
  position: relative;
  min-height: 56px;
}

.cal-day.empty { 
  background: transparent; 
  border: none;
}

.cal-day.today {
  border-color: var(--gold);
  background: var(--gold-faint);
}

.cal-day.profit {
  background: var(--green-bg);
  border-color: rgba(0, 214, 143, 0.3);
}

.cal-day.loss {
  background: var(--red-bg);
  border-color: rgba(255, 71, 87, 0.3);
}

.cal-day.breakeven {
  background: var(--bg-elevated);
  border-color: var(--text-dim);
}

.cal-day-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.cal-day-pl {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-align: right;
}

.cal-day.profit .cal-day-pl { color: var(--green); }
.cal-day.loss .cal-day-pl { color: var(--red); }
.cal-day.breakeven .cal-day-pl { color: var(--text-muted); }

.cal-legend {
  display: flex;
  gap: 28px;
  justify-content: center;
  padding: 12px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.legend-dot.profit { background: var(--green); }
.legend-dot.loss { background: var(--red); }
.legend-dot.breakeven { background: var(--text-muted); }

/* ===== TRADE LOG ===== */
.trades-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.trades-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.trades-table thead { 
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--line);
}

.trades-table th {
  padding: 12px 16px;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trades-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text-secondary);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.82rem;
}

.trades-table tbody tr { 
  transition: background 0.2s var(--ease); 
}

.trades-table tbody tr:hover { 
  background: var(--bg-elevated); 
}

.trades-table tbody tr:last-child td { 
  border-bottom: none; 
}

.trades-table .empty-state td {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-style: normal;
  font-family: var(--sans);
}

.empty-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  opacity: 0.5;
}

.empty-text {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.empty-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.trade-day {
  font-weight: 600;
  color: var(--gold);
}

.trade-direction {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.trade-direction.BUY {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(0, 214, 143, 0.3);
}

.trade-direction.SELL {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.trade-result {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.trade-result.WIN { 
  background: var(--green-bg); 
  color: var(--green); 
  border: 1px solid rgba(0, 214, 143, 0.3);
}
.trade-result.LOSS { 
  background: var(--red-bg); 
  color: var(--red); 
  border: 1px solid rgba(255, 71, 87, 0.3);
}
.trade-result.BE { 
  background: var(--bg-elevated); 
  color: var(--text-muted); 
  border: 1px solid var(--line-strong);
}

.trade-pl { 
  font-weight: 600; 
}
.trade-pl.positive { color: var(--green); }
.trade-pl.negative { color: var(--red); }
.trade-pl.zero { color: var(--text-muted); }

.trade-equity { 
  color: var(--text-primary); 
  font-weight: 500;
}

/* ===== PERFORMANCE ===== */
.perf-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.perf-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.perf-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.perf-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
}

.perf-card:hover::before {
  opacity: 1;
}

.perf-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
}

.perf-value {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* ===== FOOTER ===== */
.journal-footer {
  padding: 48px 0 20px;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-ornament span:first-child,
.footer-ornament span:last-child {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}

.footer-diamond {
  color: var(--gold);
  font-size: 0.75rem;
  opacity: 0.6;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.2em;
  font-weight: 500;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.footer-copyright {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  margin-top: 10px;
}

/* ===== LARGE DESKTOP (1400px+) ===== */
@media (min-width: 1400px) {
  .main-content {
    max-width: 1300px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .calendar {
    max-width: 800px;
  }
  
  .cal-day {
    min-height: 64px;
  }
}

/* ===== MEDIUM DESKTOP (1024px - 1399px) ===== */
@media (max-width: 1399px) and (min-width: 1025px) {
  .main-content {
    padding: 0 32px 80px;
  }
  
  .status-bar-inner {
    padding: 12px 32px;
  }
}

/* ===== TABLET / SMALL DESKTOP (769px - 1024px) ===== */
@media (max-width: 1024px) {
  .main-content {
    padding: 0 24px 60px;
  }
  
  .status-bar-inner {
    padding: 12px 24px;
  }
  
  .hero-welcome {
    padding: 60px 24px 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .perf-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .rewards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .calendar {
    max-width: 600px;
  }
  
  .node-details {
    grid-template-columns: 1fr;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .status-bar,
  .journey-indicator,
  .live-badge,
  #bgCanvas,
  .bg-gradient,
  .noise-overlay {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .stat-card,
  .reward-card,
  .perf-card,
  .node-content,
  .calendar,
  .trades-table-wrap {
    border: 1px solid #ccc;
    background: white;
  }
  
  .stat-value,
  .perf-value,
  .reward-value {
    color: black;
  }
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.pagination:empty {
  display: none;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-secondary);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--gold-border);
  color: var(--gold);
  background: var(--gold-faint);
  transform: translateY(-2px);
}

.page-btn.active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-void);
  border-color: var(--gold);
  font-weight: 700;
  box-shadow: 0 2px 8px var(--gold-glow);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.page-btn.arrow {
  font-size: 1.1rem;
  padding: 0 10px;
}

.page-dots {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  user-select: none;
}