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

:root {
  --bg-primary: #0a0a12;
  --bg-secondary: #12121f;
  --bg-card: rgba(20, 20, 35, 0.8);
  --btc-orange: #f7931a;
  --sol-purple: #9945ff;
  --sol-teal: #14f195;
  --positive: #00ff88;
  --negative: #ff4444;
  --text-primary: #ffffff;
  --text-secondary: #8888aa;
  --border-glow: rgba(153, 69, 255, 0.3);
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  background-image: 
    radial-gradient(ellipse at 20% 0%, rgba(153, 69, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(247, 147, 26, 0.1) 0%, transparent 50%);
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.2), rgba(247, 147, 26, 0.15));
  border-bottom: 1px solid var(--border-glow);
  padding: 1rem 2rem;
  backdrop-filter: blur(10px);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.logo-section:hover {
  transform: scale(1.02);
}

.logo-icon {
  font-size: 2rem;
  animation: spin 4s linear infinite paused;
}

.logo-section:hover .logo-icon {
  animation-play-state: running;
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--sol-purple), var(--btc-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-tickers {
  display: flex;
  gap: 1.5rem;
}

.ticker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
}

.ticker-label {
  font-weight: 600;
  opacity: 0.7;
}

.ticker-price {
  font-weight: 500;
}

.btc-ticker .ticker-price { color: var(--btc-orange); }
.sol-ticker .ticker-price { color: var(--sol-purple); }

.ticker-change {
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
}

.ticker-change.positive {
  background: rgba(0, 255, 136, 0.2);
  color: var(--positive);
}

.ticker-change.negative {
  background: rgba(255, 68, 68, 0.2);
  color: var(--negative);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.settings-btn {
  background: transparent;
  border: 1px solid var(--border-glow);
  padding: 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
  transition: all 0.2s;
}

.settings-btn:hover {
  background: rgba(153, 69, 255, 0.2);
  transform: rotate(45deg);
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border-radius: 8px;
  padding: 0.25rem;
  border: 1px solid var(--border-glow);
}

.lang-toggle button {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 0.375rem 0.75rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s;
}

.lang-toggle button.active {
  background: linear-gradient(135deg, var(--sol-purple), var(--btc-orange));
  color: white;
}

.lang-divider {
  color: var(--text-secondary);
  opacity: 0.5;
}

/* Phase Navigation */
.phase-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.phase-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  font-size: 0.875rem;
}

.phase-btn:hover {
  border-color: var(--border-glow);
  background: rgba(153, 69, 255, 0.1);
}

.phase-btn.active {
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.3), rgba(247, 147, 26, 0.2));
  border-color: var(--sol-purple);
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(153, 69, 255, 0.3);
}

.phase-btn.completed {
  border-color: var(--positive);
}

.phase-btn.completed .check-mark {
  color: var(--positive);
  font-weight: bold;
}

.phase-icon {
  font-size: 1.25rem;
}

.phase-name {
  display: none;
}

@media (min-width: 768px) {
  .phase-name {
    display: inline;
  }
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 1.5rem;
  gap: 1.5rem;
}

.phase-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.cards-grid.analytics {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Form Inputs */
.input-group {
  margin-bottom: 1rem;
}

.input-group label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.input-group input,
.alert-inputs input,
.setting-row input[type="number"],
.setting-row select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  transition: all 0.2s;
}

.input-group input:focus,
.alert-inputs input:focus {
  outline: none;
  border-color: var(--sol-purple);
  box-shadow: 0 0 12px rgba(153, 69, 255, 0.3);
}

.btc-card { border-left: 3px solid var(--btc-orange); }
.sol-card { border-left: 3px solid var(--sol-purple); }

/* Total Card */
.total-card {
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.2), rgba(247, 147, 26, 0.2));
}

.total-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.total-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.total-value {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, var(--positive), var(--sol-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rocket {
  display: inline-block;
  animation: bounce 0.5s ease infinite;
}

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

/* Slider */
.slider-container {
  padding: 0.5rem 0;
}

.slider-container input[type="range"] {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--positive), var(--btc-orange), var(--negative));
  border-radius: 4px;
  cursor: pointer;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Timeframe Buttons */
.timeframe-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.timeframe-buttons button {
  flex: 1;
  min-width: 80px;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.timeframe-buttons button:hover {
  border-color: var(--sol-purple);
}

.timeframe-buttons button.active {
  background: linear-gradient(135deg, var(--sol-purple), var(--btc-orange));
  color: white;
  border-color: transparent;
}

/* Nav Buttons */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.nav-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-btn.back {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn.next {
  background: linear-gradient(135deg, var(--sol-purple), var(--btc-orange));
  color: white;
  margin-left: auto;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(153, 69, 255, 0.3);
}

/* Pie Chart */
.pie-card {
  min-height: 300px;
}

.pie-chart-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.pie-chart {
  width: 150px;
  height: 150px;
}

.pie-slice {
  transition: transform 0.3s;
  transform-origin: center;
}

.pie-slice:hover {
  transform: scale(1.05);
}

.pie-legend {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.allocation-sliders {
  margin-top: 1.5rem;
}

.alloc-slider {
  margin-bottom: 1rem;
}

.alloc-slider label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.alloc-slider input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
}

.alloc-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: var(--sol-purple);
  border-radius: 50%;
}

/* Comparison Bars */
.bar-row {
  margin-bottom: 1rem;
}

.bar-row span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.bar-container {
  position: relative;
  height: 24px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  overflow: hidden;
}

.bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transition: width 0.5s;
}

.bar.current {
  background: var(--btc-orange);
  opacity: 0.6;
}

.bar.current.sol {
  background: var(--sol-purple);
}

.bar.target {
  background: transparent;
  border-right: 3px solid var(--positive);
}

/* Frequency Recommendation */
.freq-recommendation {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sol-purple);
  text-align: center;
  padding: 1rem;
}

/* Gauge */
.gauge-card {
  text-align: center;
}

.gauge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge svg {
  width: 120px;
  height: 70px;
}

.gauge-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--btc-orange);
  margin-top: 0.5rem;
}

/* Volatility Display */
.volatility-display {
  text-align: center;
  padding: 1.5rem;
  border: 2px solid;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Sector Bars */
.sector-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sector-bar {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sector-bar span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.sector-fill {
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  transition: width 0.5s;
}

.sector-fill.btc { background: linear-gradient(90deg, var(--btc-orange), #ffaa00); }
.sector-fill.sol { background: linear-gradient(90deg, var(--sol-purple), var(--sol-teal)); }

/* Correlation Matrix */
.correlation-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.matrix-cell {
  padding: 0.5rem;
  text-align: center;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: 'JetBrains Mono', monospace;
}

.matrix-cell.header {
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
}

.matrix-cell.high {
  background: rgba(0, 255, 136, 0.3);
  color: var(--positive);
}

.matrix-cell.medium {
  background: rgba(255, 170, 0, 0.3);
  color: #ffaa00;
}

/* Strategy Cards */
.strategy-card {
  text-align: center;
}

.strategy-badge {
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Action Cards */
.action-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-card {
  border-left: 4px solid;
}

.action-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.action-header input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.action-asset {
  font-size: 1.25rem;
  font-weight: 600;
}

.action-type {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.action-type.buy {
  background: rgba(0, 255, 136, 0.2);
  color: var(--positive);
}

.action-type.sell {
  background: rgba(255, 68, 68, 0.2);
  color: var(--negative);
}

.action-details {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.action-details strong {
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

.copy-btn {
  padding: 0.5rem 1rem;
  background: rgba(153, 69, 255, 0.2);
  border: 1px solid var(--sol-purple);
  border-radius: 6px;
  color: var(--sol-purple);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: var(--sol-purple);
  color: white;
}

/* Alert Card */
.alert-card {
  background: linear-gradient(135deg, rgba(255, 68, 68, 0.15), rgba(255, 170, 0, 0.1));
  border-color: var(--negative);
}

.stop-loss-levels {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stop-level {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stop-level span:first-child {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.stop-price {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  color: var(--negative);
}

/* Portfolio Value Card */
.portfolio-value-card {
  text-align: center;
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.2), rgba(20, 241, 149, 0.1));
  padding: 2rem;
}

.pv-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.pv-value {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.pv-change {
  font-size: 1rem;
  font-weight: 500;
}

.pv-change.positive { color: var(--positive); }
.pv-change.negative { color: var(--negative); }

/* Donut Chart */
.donut-container {
  display: flex;
  justify-content: center;
}

.donut-container svg {
  width: 120px;
  height: 120px;
}

/* Alert Inputs */
.alert-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.alert-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-row span {
  width: 50px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.alert-row input {
  flex: 1;
}

/* Drift Alert */
.drift-alert {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.2), rgba(255, 68, 68, 0.15));
  border-color: #ffaa00;
  text-align: center;
  font-weight: 500;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Sparkline */
.sparkline-card {
  padding: 1rem;
}

.sparkline-card h4 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.sparkline {
  width: 100%;
  height: 60px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-btn {
  flex: 1;
  min-width: 150px;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.2s;
}

.action-btn:hover {
  background: rgba(153, 69, 255, 0.2);
  border-color: var(--sol-purple);
}

.action-btn.danger {
  border-color: var(--negative);
}

.action-btn.danger:hover {
  background: rgba(255, 68, 68, 0.2);
}

/* Risk Panel */
.risk-panel {
  width: 280px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 1.5rem;
}

.risk-panel h3 {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.risk-item {
  margin-bottom: 1.5rem;
}

.risk-item > span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.risk-value {
  font-size: 1.25rem;
  font-weight: 600;
}

.stop-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.badge {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}

.badge.btc {
  background: rgba(247, 147, 26, 0.2);
  color: var(--btc-orange);
}

.badge.sol {
  background: rgba(153, 69, 255, 0.2);
  color: var(--sol-purple);
}

.position-rec {
  font-size: 1rem;
  color: var(--positive);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
}

.modal h2 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--sol-purple), var(--btc-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.setting-row label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.setting-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.setting-row input[type="number"],
.setting-row select {
  width: 120px;
}

.modal-buttons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.modal-buttons button {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--sol-purple), var(--btc-orange));
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

/* Loading */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  gap: 1rem;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--bg-card);
  border-top-color: var(--sol-purple);
  border-radius: 50%;
  animation: spin-loader 1s linear infinite;
}

@keyframes spin-loader {
  to { transform: rotate(360deg); }
}

.loading span {
  color: var(--text-secondary);
  font-style: italic;
}

/* Confetti */
.confetti {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  animation: confetti-fall 3s ease-out forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Meme Modal */
.meme-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  cursor: pointer;
}

.meme-content {
  text-align: center;
  animation: meme-bounce 0.5s ease;
}

.meme-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.meme-content p {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.meme-content button {
  margin-top: 2rem;
  padding: 1rem 3rem;
  background: linear-gradient(135deg, var(--positive), var(--sol-teal));
  border: none;
  border-radius: 12px;
  color: var(--bg-primary);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}

@keyframes meme-bounce {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer a {
  color: var(--sol-purple);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.disclaimer {
  opacity: 0.7;
}

.timestamp {
  opacity: 0.5;
}

.section-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 900px) {
  .main-content {
    flex-direction: column;
  }

  .risk-panel {
    width: 100%;
    position: static;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .price-tickers {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .header {
    padding: 1rem;
  }

  .phase-nav {
    padding: 0.5rem;
    gap: 0.25rem;
  }

  .phase-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .main-content {
    padding: 1rem;
  }

  .card {
    padding: 1rem;
  }

  .total-value {
    font-size: 1.75rem;
  }

  .pv-value {
    font-size: 2rem;
  }

  .nav-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}