/* NOXAI - Modern Crypto Dashboard - Solana & Memecoins Focus */

:root {
  /* Couleurs principales inspirées du design moderne et du logo NOXAI */
  --bg-main: #242b38;
  --bg-card: #2d3748;
  --bg-sidebar: #1a202c;
  --bg-input: #374151;
  
  /* Palette inspirée du design de référence */
  --primary: #6236FF;
  --secondary: #00e4ff;
  --accent: #ff3e8f;
  
  /* Solana Colors */
  --solana-green: #14f195;
  --solana-purple: #9945ff;
  
  /* Textes */
  --text-primary: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  
  /* États */
  --success: #14f195;
  --warning: #f1c40f;
  --danger: #ff5b79;
  
  /* Autres */
  --border-color: rgba(255, 255, 255, 0.08);
  --card-radius: 12px;
  --button-radius: 8px;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #1a202c;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.5;
}

/* App Container */
.app-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bg-main);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

/* Sidebar */
.sidebar {
  width: 240px;
  background-color: var(--bg-sidebar);
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-color);
}

.logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 10px 0;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  filter: drop-shadow(0 0 8px rgba(98, 54, 255, 0.5));
}

.logo span {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Navigation */
.main-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--button-radius);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-item i {
  margin-right: 12px;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(98, 54, 255, 0.15), rgba(0, 228, 255, 0.05));
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(98, 54, 255, 0.15);
  border-left: 2px solid var(--primary);
}

/* Premium Upgrade */
.premium-upgrade {
  background: linear-gradient(135deg, #2d1b69, #462985);
  border-radius: var(--card-radius);
  padding: 20px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.premium-upgrade::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(98, 54, 255, 0.3), transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.upgrade-content {
  position: relative;
  z-index: 1;
}

.premium-upgrade h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.premium-upgrade p {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.btn-upgrade {
  background: linear-gradient(45deg, var(--solana-green), var(--solana-purple));
  border: none;
  border-radius: var(--button-radius);
  padding: 10px 20px;
  color: white;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

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

/* Main Content */
.main-content {
  flex: 1;
  padding: 0;
  background-color: var(--bg-secondary);
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Content Header - Remplacé par .premium-header */
.content-header {
  /* Styles hérités pour compatibilité */
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Content Area */
.content-area {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Panels Container */
.panels-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* Individual Panels */
.panel {
  display: none !important;
  flex-direction: column;
  height: 100%;
  padding: 0.75rem;
  overflow-y: auto;
}

.panel.active {
  display: flex !important;
}

/* Panel Grid Layout */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Dashboard Components */
.dashboard-chart {
  grid-column: span 2;
}

/* Dashboard TikTok Style */
.tiktok-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem;
  height: 100%;
  overflow-y: auto;
}

.price-ticker {
  display: flex;
  align-items: center;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Style casino pour le ticker de prix Solana */
.casino-style {
  background: linear-gradient(135deg, #0f172a 0%, #111827 50%, #0c0f1d 100%);
  border: 1px solid rgba(153, 69, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 
              inset 0 1px 0 rgba(255, 255, 255, 0.05), 
              0 0 20px rgba(153, 69, 255, 0.3), 
              inset 0 0 10px rgba(20, 241, 149, 0.05);
  border-radius: 20px;
  padding: 20px 35px 28px;
  margin: 15px 0 30px 0;
  position: relative;
  overflow: hidden;
  min-height: 170px;
  width: 100%;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.solana-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 5px;
  width: 100%;
  text-align: center;
}

.ticker-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 0;
  gap: 10px;
  margin-top: 0;
}

.casino-style::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(153, 69, 255, 0.7), rgba(20, 241, 149, 0.7), rgba(153, 69, 255, 0.7), transparent);
  background-size: 200% 100%;
  animation: rainbow-border 4s ease infinite;
  border-radius: 2px;
  filter: blur(0.5px);
}

.casino-style::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(153, 69, 255, 0.7), rgba(20, 241, 149, 0.7), rgba(153, 69, 255, 0.7), transparent);
  background-size: 200% 100%;
  animation: rainbow-border 4s ease infinite reverse;
  border-radius: 2px;
  filter: blur(0.5px);
}

@keyframes rainbow-border {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ticker-logo {
  width: 60px;
  height: 60px;
  padding: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticker-logo-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-right: 15px;
  width: 100px;
  min-width: 100px;
}

.casino-logo {
  width: 100px;
  height: 100px;
  padding: 0;
  margin: 0;
  background: radial-gradient(circle, rgba(153, 69, 255, 0.15), rgba(20, 241, 149, 0.05));
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 0 30px rgba(153, 69, 255, 0.2);
  overflow: hidden;
}

.casino-logo::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(from 90deg, transparent, rgba(153, 69, 255, 0.5), transparent);
  animation: rotate 4s linear infinite;
}

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

.sol-price-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  margin-bottom: 5px;
}

.sol-logo-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(153, 69, 255, 0.15), rgba(20, 241, 149, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(153, 69, 255, 0.2);
  overflow: hidden;
  position: relative;
}

.sol-logo-wrapper::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(from 90deg, transparent, rgba(153, 69, 255, 0.3), transparent);
  animation: rotate 4s linear infinite;
}

.solana-logo-large {
  width: 55px !important;
  height: 55px !important;
  filter: drop-shadow(0 0 8px rgba(153, 69, 255, 0.8));
  animation: spin-slow 20s linear infinite;
  position: relative;
  z-index: 2;
}

@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ticker-logo img {
  width: 100%;
  height: auto;
}

.ticker-price {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.ticker-current {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin: -3px 0;
}

.jackpot-display {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  background: linear-gradient(90deg, #14F195, #9945FF, #E42575);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(153, 69, 255, 0.5);
  letter-spacing: 0px;
  padding: 8px 0;
  position: relative;
  display: inline-block;
}

.jackpot-display::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(20, 241, 149, 0.5), transparent);
  opacity: 0.4;
  filter: blur(1px);
}

.ticker-name {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.ticker-change {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
}

.ticker-change.positive {
  color: var(--success-color);
}

.ticker-change.negative {
  color: var(--danger-color);
}

.ticker-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  text-align: right;
}

.ticker-24h {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.ticker-volume {
  font-size: 1rem;
  color: var(--text-color);
}

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

@media (min-width: 992px) {
  .tiktok-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Duo layout variant: force 2 columns on desktop to better use width */
.tiktok-grid--duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

/* Style pour les non-VIP */
body:not(.vip-user) .tiktok-grid--duo {
  grid-template-columns: 1fr; /* Une seule colonne pour les non-VIP */
}

body:not(.vip-user) .leaderboard-card {
  grid-column: 1 / -1;
  width: 100%;
}

/* Style original pour les VIP */
@media (min-width: 992px) {
  .tiktok-grid--duo {
    grid-template-columns: 1fr 1.4fr; /* Retour à la disposition d'origine pour les VIP */
  }
}

.tiktok-grid--duo > .flash-card {
  height: 100%;
}

/* Make duo cards use column layout and allow inner sections to scroll if long */
.tiktok-grid--duo > .flash-card {
  display: flex;
  flex-direction: column;
}

/* IA Points: compact spacing and scroll for pending list to avoid tall card */
#iaPointsPanel .ia-points-content {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

#iaPointsPanel .points-actions .claim-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
}

/* IA Points: compact header and typography */
#iaPointsPanel .card-header-flex { margin-bottom: 0.5rem; }
#iaPointsPanel .card-header-flex h3 { font-size: 1.05rem; }
#iaPointsPanel .ia-points-content .label { font-size: 0.8rem; opacity: 0.9; }
#iaPointsPanel .ia-points-content .value { font-size: 1.6rem; line-height: 1.1; font-weight: 800; }
#iaPointsPanel .helper.small { font-size: 0.78rem; opacity: 0.85; }

/* Inputs and button tighter */
#iaPointsPanel input#iaClaimAmount { height: 36px; padding: 6px 10px; border-radius: 10px; }
#iaPointsPanel .btn-claim { height: 36px; padding: 0 12px; border-radius: 10px; }

#iaPointsPanel .points-pending {
  margin-top: auto; /* push to bottom */
}

#iaPointsPanel .pending-list {
  max-height: 220px;
  overflow: auto;
  padding-right: 6px;
}

/* Leaderboard: cap list height and enable scroll */
.leaderboard-card .leaderboard-list {
  max-height: 280px;
  overflow: auto;
  padding-right: 6px;
}

@media (max-width: 768px) {
  #iaPointsPanel .pending-list,
  .leaderboard-card .leaderboard-list {
    max-height: none; /* no cap on mobile to avoid tiny scroll areas */
  }
}

.stat-card {
  background: linear-gradient(135deg, #2d2d2d, #1d1d1d);
  border-radius: 12px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(40%, -40%);
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  background-color: rgba(255, 255, 255, 0.1);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

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

.stat-change {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.25);
}

.flash-card {
  position: relative;
  background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
  border-radius: 12px;
  padding: 1.2rem;
  color: white;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.blue-card {
  background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
}

.purple-card {
  background: linear-gradient(135deg, #834d9b 0%, #514a9d 100%);
}

.green-card {
  background: linear-gradient(135deg, #2fd069 0%, #159957 100%);
}

.orange-card {
  background: linear-gradient(135deg, #f09819 0%, #ff512f 100%);
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Styles casino additionnels */
.casino-range {
  background: rgba(20, 25, 40, 0.4);
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid rgba(153, 69, 255, 0.2);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.blink-soft {
  animation: blink-animation 2s linear infinite;
}

@keyframes blink-animation {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0.8; }
}

.gold-text {
  color: #FFD700;
}

.gold-gradient {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* Animated price flash */
@keyframes priceFlash {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0.8;
  }
}

.price-flash {
  animation: priceFlash 2s infinite;
}

/* Nouveaux styles pour dashboard TikTok-style */
.card-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-header-flex h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-live {
  background-color: rgba(255, 59, 48, 0.8);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  animation: pulsate 1.5s ease-out infinite;
}

.badge-live::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  margin-right: 4px;
}

.tag-trending, .tag-hot, .tag-new {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  margin-left: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.tag-trending {
  background-color: rgba(255, 149, 0, 0.2);
  color: #ff9500;
}

.tag-hot {
  background-color: rgba(255, 59, 48, 0.2);
  color: #ff3b30;
}

/* Leaderboard (dashboard) */
.leaderboard-card {
  background: linear-gradient(135deg, #202437, #171b2b);
  border: 1px solid rgba(153, 69, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(153, 69, 255, 0.05);
  grid-column: 1 / -1; /* S'étend sur toutes les colonnes */
  width: 100%;
  min-width: 260px;
}

.leaderboard-content {
  margin-top: 0.5rem;
}

.leaderboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.lb-item {
  display: grid;
  grid-template-columns: 36px 1fr 56px auto; /* rank | name | country | gain */
  align-items: center;
  column-gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lb-item .rank { font-size: 18px; }
.lb-item .name { font-weight: 700; }
.lb-item .lb-country { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.lb-item .lb-country .code { font-size: 0.75rem; opacity: 0.85; letter-spacing: 0.5px; margin-bottom: 4px; }
.lb-item .lb-country .flag { font-size: 1rem; filter: drop-shadow(0 0 2px rgba(0,0,0,0.25)); }
.lb-item .lb-country .flag-img { width: 20px; height: 15px; display: block; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset; }
.lb-item .gain {
  font-weight: 800;
  color: #14f195;
  justify-self: end;
  white-space: nowrap;
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 8px rgba(20, 241, 149, 0.25);
}

.lb-item.top1 {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 255, 255, 0.06));
  border-color: rgba(255, 215, 0, 0.35);
}

.lb-item.top1::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(255, 215, 0, 0.25), transparent 70%);
  filter: blur(6px);
  z-index: -1;
  animation: lbGlow 2.4s ease-in-out infinite;
}

@keyframes lbGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@media (max-width: 768px) {
  .leaderboard-card { min-width: 100%; }
  .lb-item { grid-template-columns: 30px 1fr 44px auto; column-gap: 8px; }
  .lb-item .gain { font-size: 1.05rem; text-shadow: none; }
}

.tag-new {
  background-color: rgba(52, 199, 89, 0.2);
  color: #34c759;
}

.signals-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.ai-signal {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.ai-signal:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.signal-time {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.3rem 0.5rem;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  min-width: 45px;
  text-align: center;
}

.signal-content {
  flex: 1;
}

.signal-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.signal-description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-action {
  background-color: rgba(0, 0, 0, 0.25);
  border: none;
  color: white;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.movers-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.movers-scroll::-webkit-scrollbar {
  display: none;
}

.mover-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  min-width: 90px;
  transition: all 0.3s ease;
}

.mover-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.token-card {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.8rem;
  transition: all 0.2s ease;
}

.token-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.token-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.8rem;
  background-color: rgba(0, 0, 0, 0.2);
}

.token-icon img {
  width: 100%;
  height: auto;
}

.token-info {
  flex: 1;
}

.token-name {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.token-price {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.token-change {
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background-color: rgba(0, 0, 0, 0.2);
}

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

/* Animation pour les mises à jour de prix */
@keyframes priceUpdate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    color: var(--success-color);
  }
  100% {
    transform: scale(1);
  }
}

.price-update {
  animation: priceUpdate 0.5s ease;
}

/* Animation d'entrée des éléments */
.animated {
  animation: fadeInUp 0.5s ease-out forwards;
}

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

/* Animation pulse pour les éléments */
.pulse-effect {
  animation: pulseHighlight 1.5s ease;
}

@keyframes pulseHighlight {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.7);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
}

/* Compact Cards */
.compact-card {
  background: var(--bg-primary);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.compact-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.compact-card-body {
  flex: 1;
  overflow-y: auto;
}

/* Header */
.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.header-title h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.header-title p {
  font-size: 13px;
  color: var(--text-secondary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-wallet {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: rgba(20, 241, 149, 0.1);
  border: 1px solid rgba(20, 241, 149, 0.2);
  border-radius: 20px;
}

.sol-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.wallet-address {
  font-size: 12px;
  font-weight: 600;
  color: var(--solana-green);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

/* Card */
.card {
  background-color: var(--bg-card);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
}

.card-title {
  font-size: 15px;
  font-weight: 600;
}

.card-menu {
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.card-menu:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.card-body {
  padding: 16px;
}

/* Tokens */
.token-card {
  display: flex;
  align-items: center;
  padding: 12px;
  border-radius: var(--card-radius);
  background-color: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.token-card:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.05);
}

.token-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  overflow: hidden;
}

.token-icon img {
  width: 24px;
  height: 24px;
}

.token-info {
  flex-grow: 1;
}

.token-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.token-price {
  font-size: 13px;
  color: var(--text-secondary);
}

.token-change {
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.positive {
  color: var(--success);
  background-color: rgba(20, 241, 149, 0.1);
}

.negative {
  color: var(--danger);
  background-color: rgba(255, 91, 121, 0.1);
}

/* Chart */
.chart-container {
  height: 300px;
  width: 100%;
  margin: 16px 0;
}

/* Chart Controls */
.chart-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.token-selector {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background-color: var(--bg-input);
  border-radius: var(--button-radius);
  cursor: pointer;
}

.token-selector i {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.time-selector {
  display: flex;
  gap: 4px;
}

.time-option {
  padding: 6px 12px;
  border-radius: var(--button-radius);
  font-size: 12px;
  background-color: var(--bg-input);
  color: var(--text-secondary);
  cursor: pointer;
}

.time-option.active {
  background-color: rgba(98, 54, 255, 0.2);
  color: var(--primary);
}

/* AI Alert */
.ai-alert {
  display: flex;
  align-items: center;
  padding: 12px;
  background: linear-gradient(90deg, rgba(98, 54, 255, 0.1), rgba(0, 228, 255, 0.05));
  border-radius: var(--card-radius);
  margin: 16px 0;
  border: 1px solid rgba(98, 54, 255, 0.2);
}

.ai-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.ai-avatar i {
  color: white;
  font-size: 18px;
}

.ai-message {
  flex-grow: 1;
}

.ai-badge {
  display: inline-block;
  padding: 2px 8px;
  background-color: rgba(98, 54, 255, 0.2);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.ai-message p {
  font-weight: 500;
}

.ai-action {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 12px;
}

.ai-action i {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--button-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Styles du graphique casino */
.chart-casino {
  margin-top: 20px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--card-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(153, 69, 255, 0.3);
  background: linear-gradient(135deg, rgba(22, 22, 35, 0.95), rgba(28, 28, 43, 0.95));
  backdrop-filter: blur(10px);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(153, 69, 255, 0.3);
  background: linear-gradient(90deg, rgba(28, 28, 43, 0.9) 0%, rgba(32, 32, 52, 0.9) 100%);
}

.chart-title {
  display: flex;
  align-items: center;
  gap: 20px;
}

.chart-symbol {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.chart-symbol-icon {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 5px rgba(153, 69, 255, 0.6));
}

.chart-price-tag {
  font-family: 'Digital-7', 'Courier New', monospace;
  font-size: 22px;
  font-weight: 700;
  color: #14f195;
  text-shadow: 0 0 10px rgba(20, 241, 149, 0.6);
}

.chart-period-selector {
  display: flex;
  gap: 5px;
}

.period-btn {
  background: rgba(32, 35, 51, 0.7);
  border: 1px solid rgba(153, 69, 255, 0.2);
  color: #8e8ea0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.period-btn:hover {
  background: rgba(153, 69, 255, 0.15);
  border-color: rgba(153, 69, 255, 0.4);
  color: #ffffff;
}

.period-btn.active {
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.4), rgba(20, 241, 149, 0.4));
  border-color: rgba(153, 69, 255, 0.6);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(153, 69, 255, 0.4);
}

.chart-body {
  position: relative;
  height: 250px;
  background: rgba(22, 22, 35, 0.7);
}

.mini-chart-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: linear-gradient(180deg, rgba(22, 22, 35, 0.9) 0%, rgba(28, 28, 43, 0.9) 100%);
  background-image: 
    linear-gradient(rgba(153, 69, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153, 69, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
}

.chart-loading-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(153, 69, 255, 0.8);
}

.pulse-loader {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.6), rgba(20, 241, 149, 0.6));
  box-shadow: 0 0 15px rgba(153, 69, 255, 0.5);
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.chart-expand-overlay {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 5;
}

.expand-chart-btn {
  background: rgba(32, 35, 51, 0.85);
  border: 1px solid rgba(153, 69, 255, 0.4);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.expand-chart-btn:hover {
  background: linear-gradient(135deg, rgba(153, 69, 255, 0.6), rgba(20, 241, 149, 0.6));
  border-color: rgba(153, 69, 255, 0.7);
  box-shadow: 0 0 15px rgba(153, 69, 255, 0.5);
}

.tag-live {
  background: linear-gradient(90deg, #E42575, #9945FF);
  color: white;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: pulse-red 2s infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(98, 54, 255, 0.3);
}

.btn-secondary {
  background-color: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: var(--button-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

/* Content Sections */
.content-section {
  margin-bottom: 2rem;
}

.content-section h2 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-size: 1.5rem;
}

/* Section Containers */
.section-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background-color: var(--bg-primary);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.section-container.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

.section-container:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 5;
}

/* Section Header */
.section-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Section Content */
.section-content {
  padding: 1rem;
  flex: 1;
  overflow-y: auto;
  max-height: calc(100% - 60px);
}

/* Limiter la hauteur des cartes dans les sections */
.section-container .card {
  max-height: calc(100% - 80px);
  overflow-y: auto;
}

/* Section scrollbars personnalisées */
.section-container::-webkit-scrollbar {
  width: 8px;
}

.section-container::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 10px;
}

.section-container::-webkit-scrollbar-thumb {
  background: var(--accent-light);
  border-radius: 10px;
}

.section-container::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Movers Section */
.movers-container {
  margin-bottom: 24px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
}

.view-all {
  color: var(--primary);
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}

.movers-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.movers-list::-webkit-scrollbar {
  height: 4px;
}

.movers-list::-webkit-scrollbar-track {
  background: var(--bg-input);
  border-radius: 10px;
}

.movers-list::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

.mover-card {
  min-width: 140px;
  padding: 12px;
  background-color: var(--bg-card);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mover-card .token-icon {
  margin-bottom: 10px;
  margin-right: 0;
}

.mover-card .token-name {
  text-align: center;
  margin-bottom: 8px;
}

.mover-card .token-price {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* Memecoin Focus */
.meme-focus {
  background: linear-gradient(135deg, rgba(251, 140, 0, 0.1), rgba(255, 62, 143, 0.1));
  border: 1px solid rgba(251, 140, 0, 0.2);
  border-radius: var(--card-radius);
  padding: 16px;
  margin-bottom: 24px;
}

.meme-focus-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.meme-title {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.meme-title i {
  margin-right: 8px;
  color: var(--accent-secondary);
}

.meme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

/* Media Queries */
@media (max-width: 768px) {
  .app-container {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    transition: left 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
  
  .sidebar.open {
    left: 0;
  }
  
  .main-content {
    padding: 1rem;
  }
  
  /* Menu Toggle Button */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    margin-right: 15px;
    cursor: pointer;
    z-index: 1000;
  }
  
  .menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .content-header {
    display: flex;
    align-items: center;
  }
  
  .header-title {
    margin-left: 10px;
  }
  
  .header-title h1 {
    font-size: 1.3rem;
  }
  
  /* Réduire la taille des cartes sur mobile */
  .token-card, .mover-card {
    min-width: 120px;
  }
  
  /* Améliorer l'affichage du chart sur mobile */
  .chart-controls {
    flex-direction: column;
    gap: 10px;
  }
  
  .time-selector {
    width: 100%;
    justify-content: space-between;
  }
  
  .main-nav {
    flex-direction: row;
    overflow-x: auto;
  }
  
  .nav-item {
    flex-direction: column;
    padding: 10px;
  }
  
  .nav-item i {
    margin: 0 0 6px 0;
    font-size: 18px;
  }
  
  .premium-upgrade {
    display: none;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Modern Focus Elements */
.solana-tag {
  display: inline-flex;
  align-items: center;
  background-color: rgba(20, 241, 149, 0.1);
  border: 1px solid rgba(20, 241, 149, 0.2);
  border-radius: 30px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--solana-green);
}

.solana-tag img {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}

.trending-tag {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 62, 143, 0.1);
  border: 1px solid rgba(255, 62, 143, 0.2);
  border-radius: 30px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.trending-tag i {
  font-size: 10px;
  margin-right: 4px;
}

/* ===== HEADER PREMIUM PROFESSIONNEL ===== */

.premium-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.premium-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    opacity: 0.5;
    pointer-events: none;
}

/* Header Left - Menu Toggle + Brand */
.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-left: 24px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-toggle:hover span {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Brand Section */
.brand-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    position: relative;
}

.brand-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.brand-main {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 900;
}

.brand-subtitle {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.brand-description {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Header Center - Solana Status */
.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.solana-status {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.solana-status:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.solana-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.solana-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.status-text {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.online {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* Header Right - User Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 24px;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vip-status {
    display: flex;
    align-items: center;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-profile {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-profile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-profile i {
    font-size: 1.2rem;
    color: #fbbf24;
}

.btn-logout.premium {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-logout.premium:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-logout.premium i {
    font-size: 1rem;
}

.btn-text {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive Design pour le Header Premium */
@media (max-width: 1200px) {
    .premium-header {
        padding: 0 16px;
    }
    
    .header-left {
        padding-left: 16px;
    }
    
    .header-right {
        padding-right: 16px;
    }
    
    .brand-title {
        font-size: 1.6rem;
    }
    
    .brand-subtitle {
        font-size: 1rem;
        padding: 3px 10px;
    }
}

@media (max-width: 768px) {
    .premium-header {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        min-height: auto;
    }
    
    .header-left {
        padding-left: 0;
        justify-content: center;
    }
    
    .header-center {
        order: 3;
    }
    
    .header-right {
        padding-right: 0;
        justify-content: center;
    }
    
    .brand-title {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .brand-description {
        text-align: center;
    }
    
    .solana-status {
        padding: 8px 16px;
    }
    
    .solana-indicator {
        gap: 8px;
    }
    
    .status-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .premium-header {
        padding: 12px;
    }
    
    .brand-section {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .brand-title {
        font-size: 1.2rem;
    }
    
    .brand-subtitle {
        font-size: 0.9rem;
        padding: 2px 8px;
    }
    
    .brand-description {
        font-size: 0.8rem;
    }
    
    .user-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-logout.premium {
        padding: 10px 16px;
    }
    
    .btn-text {
        font-size: 0.8rem;
    }
}

/* ===== ANIMATIONS DU HEADER ===== */
.premium-header {
    animation: headerSlideDown 0.6s ease-out;
}

@keyframes headerSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-logo-img {
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.3)); }
    100% { filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.6)); }
}

/* ===== EFFETS DE SURVOL AVANCÉS ===== */
.premium-header:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.brand-section:hover .brand-main {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.solana-status:hover .status-dot.online {
    animation: statusPulse 1s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}
