/* styles.css - MEME2K26 MEMEBALL Styles */

:root {
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a25;
  --border: #2a2a3a;
  --text-primary: #ffffff;
  --text-secondary: #888899;
  --text-muted: #555566;
  --accent: #00ff88;
  --accent-dim: #00cc6a;
  --accent-glow: rgba(0, 255, 136, 0.3);
  --red: #ff4466;
  --green: #00ff88;
  --yellow: #ffcc00;
  --purple: #9966ff;
  --blue: #00aaff;
}

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

body {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Effects */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 136, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 5s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.5); opacity: 0.6; }
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hex-icon {
  color: var(--accent);
  width: 32px;
  height: 32px;
}

.brand-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.nav-tabs {
  display: flex;
  gap: 0.5rem;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-tab:hover {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-primary);
}

.nav-tab.active {
  background: var(--bg-card);
  border-color: var(--accent);
  color: var(--accent);
}

.nav-tab svg {
  width: 16px;
  height: 16px;
}

.nav-countdown {
  text-align: right;
}

.countdown-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-timer {
  font-family: 'Orbitron', monospace;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 600;
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Dashboard Layout */
.dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 1200px) {
  .dashboard {
    grid-template-columns: 1fr;
  }
}

/* Panels */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Token Header */
.token-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.token-logo {
  width: 60px;
  height: 60px;
  background: var(--bg-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.token-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.token-logo svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.token-info {
  flex: 1;
}

.token-name {
  font-family: 'Orbitron', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.token-ticker {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.token-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--accent);
}

.token-badge svg {
  width: 14px;
  height: 14px;
}

/* Token Banner */
.token-banner {
  height: 120px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card-hover) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.token-banner.has-image .banner-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.banner-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-text {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 3px;
}

/* Bonding Card */
.bonding-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.stat-header svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.bonding-bar {
  height: 12px;
  background: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.bonding-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 6px;
  transition: width 0.5s ease;
}

.bonding-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-glow));
}

.bonding-info {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
}

.bonding-percent {
  font-family: 'Orbitron', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.bonding-status {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.bonding-status.graduated {
  color: var(--yellow);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.stat-icon {
  width: 36px;
  height: 36px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.stat-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Price Changes */
.price-changes {
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  background: var(--bg-dark);
  border-radius: 12px;
}

.change-item {
  text-align: center;
}

.change-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.change-value {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.change-value.green {
  color: var(--green);
}

.change-value.red {
  color: var(--red);
}

/* Section Title */
.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.section-title svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Volume Section */
.volume-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.volume-item {
  text-align: center;
}

.volume-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-bottom: 0.25rem;
}

.volume-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

.volume-value.green {
  color: var(--green);
}

.volume-value.red {
  color: var(--red);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

/* Contract Section */
.contract-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.contract-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contract-box code {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  word-break: break-all;
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.copy-btn:hover {
  color: var(--accent);
}

.copy-btn svg {
  width: 16px;
  height: 16px;
}

/* Audit Section */
.audit-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.audit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--bg-dark);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.audit-item svg {
  width: 16px;
  height: 16px;
}

.audit-item.success {
  color: var(--green);
}

.audit-item.success svg {
  color: var(--green);
}

/* Terminal Panel */
.terminal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.terminal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Orbitron', monospace;
  font-size: 1rem;
  font-weight: 600;
}

.terminal-title svg {
  color: var(--yellow);
}

.terminal-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  font-size: 0.85rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

/* Mega Countdown */
.mega-countdown {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 170, 255, 0.1) 100%);
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.countdown-title {
  font-family: 'Orbitron', monospace;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.countdown-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  font-family: 'Orbitron', monospace;
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.countdown-unit .countdown-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.countdown-sep {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.countdown-end {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Prize Pool */
.prize-pool {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.1) 0%, rgba(255, 153, 0, 0.1) 100%);
  border: 1px solid rgba(255, 204, 0, 0.3);
  border-radius: 12px;
}

.prize-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 204, 0, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prize-icon svg {
  width: 24px;
  height: 24px;
  color: var(--yellow);
}

.prize-label {
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  color: var(--yellow);
}

.prize-detail {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Next Draw */
.next-draw {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-dark);
  border-radius: 12px;
}

.draw-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.draw-header svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.draw-timer {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
}

.draw-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Winners Terminal */
.winners-terminal {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: flex;
  gap: 0.5rem;
}

.terminal-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: var(--red); }
.terminal-dots span:nth-child(2) { background: var(--yellow); }
.terminal-dots span:nth-child(3) { background: var(--green); }

.terminal-bar .terminal-label {
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

.terminal-content {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
}

.terminal-line {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.line-prefix {
  color: var(--text-muted);
}

.terminal-line.system .line-prefix { color: var(--blue); }
.terminal-line.winner .line-prefix { color: var(--green); }
.terminal-line.draw .line-prefix { color: var(--yellow); }
.terminal-line.info .line-prefix { color: var(--purple); }

.line-text {
  color: var(--text-secondary);
}

/* Final Winners */
.final-winners {
  background: linear-gradient(135deg, rgba(153, 102, 255, 0.1) 0%, rgba(255, 102, 153, 0.1) 100%);
  border: 2px solid var(--purple);
  border-radius: 12px;
  padding: 1.5rem;
}

.final-winners.hidden {
  display: none;
}

.final-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Orbitron', monospace;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.final-header svg {
  width: 20px;
  height: 20px;
}

.final-list {
  max-height: 200px;
  overflow-y: auto;
}

.final-winner-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  border-bottom: 1px solid var(--border);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.winner-rank {
  color: var(--yellow);
}

.winner-address {
  color: var(--text-secondary);
}

/* Live Stats */
.live-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.live-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: var(--bg-dark);
  border-radius: 8px;
}

.live-stat svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.live-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.live-value {
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  color: var(--text-primary);
}

/* Info Pages */
.info-page {
  max-width: 900px;
  margin: 0 auto;
}

.info-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--blue) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.hero-icon svg {
  width: 40px;
  height: 40px;
  color: var(--bg-dark);
}

.info-hero h1 {
  font-family: 'Orbitron', monospace;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Info CTA */
.info-cta {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.info-cta p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--bg-dark);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.cta-button svg {
  width: 20px;
  height: 20px;
}

/* Steps */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.step-number {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 60px;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Important Notice */
.important-notice {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 68, 102, 0.1);
  border: 1px solid var(--red);
  border-radius: 12px;
}

.important-notice svg {
  width: 24px;
  height: 24px;
  color: var(--red);
  flex-shrink: 0;
}

.important-notice h4 {
  color: var(--red);
  margin-bottom: 0.25rem;
}

.important-notice p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Config Grid */
.config-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .config-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.config-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.config-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.config-value {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
}

/* Tech Details */
.tech-details,
.security-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.tech-details h3,
.security-section h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-details h3 svg,
.security-section h3 svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

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

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tech-item {
  display: flex;
  flex-direction: column;
}

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

.tech-value {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
}

/* Security Grid */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  font-size: 0.9rem;
}

.security-item svg {
  width: 16px;
  height: 16px;
}

/* Footer */
.footer {
  margin-top: 4rem;
  padding: 2rem;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: var(--accent);
}

.footer-brand svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Simulation Notice */
.simulation-notice {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 170, 255, 0.1);
  border: 1px solid var(--blue);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.simulation-notice i {
  color: var(--blue);
  flex-shrink: 0;
}

.simulation-notice strong {
  color: var(--blue);
  display: block;
  margin-bottom: 0.25rem;
}

.simulation-notice p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

.status-dot.simulation {
  background: var(--blue);
}

.status-dot.final {
  background: var(--yellow);
  animation: pulse 1s infinite;
}

.countdown-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent);
}

/* Proof Display */
.proof-display {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.proof-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.proof-header i {
  color: var(--accent);
  width: 16px;
  height: 16px;
}

.verify-link {
  margin-left: auto;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.75rem;
}

.verify-link:hover {
  text-decoration: underline;
}

.proof-hash {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

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

.proof-hash code {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--accent);
  word-break: break-all;
}

.proof-chain-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.proof-verified {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--green);
}

.proof-verified i {
  width: 12px;
  height: 12px;
}

.copy-btn.small {
  padding: 0.25rem;
}

.copy-btn.small i {
  width: 14px;
  height: 14px;
}

.copy-btn.tiny {
  padding: 0.15rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.copy-btn.tiny:hover {
  color: var(--accent);
}

.copy-btn.tiny i {
  width: 12px;
  height: 12px;
}

/* Proofs Tab */
.proof-explanation {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.proof-explanation h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.proof-explanation h3 i {
  color: var(--accent);
}

.proof-explanation > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

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

@media (max-width: 768px) {
  .proof-features {
    grid-template-columns: 1fr;
  }
}

.proof-feature {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-dark);
  border-radius: 8px;
}

.proof-feature i {
  color: var(--accent);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.proof-feature strong {
  display: block;
  margin-bottom: 0.25rem;
}

.proof-feature p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

.proof-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  margin-bottom: 2rem;
}

.proof-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.proofs-list-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.proofs-list-container h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.proofs-list-container h3 i {
  color: var(--accent);
}

.proofs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 400px;
  overflow-y: auto;
}

.proof-item {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
}

.proof-item.final {
  border-color: var(--yellow);
  background: rgba(255, 204, 0, 0.05);
}

.proof-item-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.proof-draw-id {
  font-family: 'Orbitron', monospace;
  font-weight: 600;
}

.proof-type {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.proof-item.final .proof-type {
  color: var(--yellow);
}

.proof-item-hash {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.proof-item-hash code {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  word-break: break-all;
}

.proof-item-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.proof-loading {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
}

.load-more-btn {
  width: 100%;
  padding: 0.75rem;
  margin-top: 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.load-more-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.verify-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.verify-section h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.verify-section h3 i {
  color: var(--accent);
}

.verify-input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.verify-input-group input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

.verify-input-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.verify-input-group button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: var(--bg-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.verify-input-group button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.verify-input-group button i {
  width: 18px;
  height: 18px;
}

.verify-result {
  margin-top: 1rem;
}

.verify-success {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--green);
  border-radius: 12px;
  padding: 1rem;
}

.verify-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.verify-header i {
  width: 20px;
  height: 20px;
}

.verify-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.verify-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  background: var(--bg-dark);
  border-radius: 6px;
  font-size: 0.85rem;
}

.verify-row span:first-child {
  color: var(--text-muted);
}

.verify-row code {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
}

.verify-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 68, 102, 0.1);
  border: 1px solid var(--red);
  border-radius: 8px;
  color: var(--red);
}

.verify-error i {
  width: 20px;
  height: 20px;
}

/* Highlight step */
.step.highlight-step {
  border-color: var(--yellow);
  background: rgba(255, 204, 0, 0.05);
}

.step.highlight-step .step-number {
  font-size: 1.5rem;
}

/* Important notice highlight */
.important-notice.highlight {
  background: rgba(255, 204, 0, 0.1);
  border-color: var(--yellow);
}

.important-notice.highlight i {
  color: var(--yellow);
}

.important-notice.highlight h4 {
  color: var(--yellow);
}

/* Final winners proof */
.final-proof {
  background: var(--bg-dark);
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.final-proof span {
  color: var(--text-muted);
}

.final-proof code {
  display: block;
  margin-top: 0.25rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--yellow);
  word-break: break-all;
}

.final-winner-item .winner-hash {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-tab span {
    display: none;
  }
  
  .countdown-number {
    font-size: 2rem;
  }
  
  .countdown-sep {
    font-size: 1.5rem;
  }
  
  .proof-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .verify-input-group {
    flex-direction: column;
  }
}