/* frontend/css/dashboard-sleek.css - Premium Consolidated Dark Dashboard */

:root {
  --sidebar-w: 260px;
  
  /* Retaining Original Aesthetic Colors */
  --bg-dark: #07090D;
  --bg-dark-secondary: #0B0E14;
  --dash-glass: rgba(15, 20, 28, 0.45);
  --dash-glass-solid: #0f141c;
  --dash-glass-border: rgba(255, 255, 255, 0.05);
  --dash-glass-hover: rgba(0, 229, 255, 0.08);
  
  --neon-cyan: #00E5FF;
  --neon-cyan-faint: rgba(0, 229, 255, 0.15);
  --neon-purple: #9D4EDD;
  --gold-premium: #FFD166;
  --red-neon: #ff4d6d;
  --green-neon: #06D6A0;
  
  --text-primary: #FFFFFF;
  --text-dim: #A3A9B3;
  --text-faint: #5E6573;
  
  /* Font Families */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

/* Reset Layout just for Dashboard */
body.dash-layout {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(0, 229, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(157, 78, 221, 0.04) 0%, transparent 50%);
  font-family: var(--font-body);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

.dash-layout #site-wrap {
  flex-grow: 1;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  padding: 0;
  display: flex;
  flex-direction: column; 
}
@media (min-width: 992px) {
  .dash-layout #site-wrap { flex-direction: row; }
}

/* Sidebar */
.dash-sidebar {
  width: 100%;
  flex-shrink: 0;
  background: rgba(7, 9, 13, 0.95);
  border-bottom: 1px solid var(--dash-glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  z-index: 50;
}
.sidebar-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: flex; justify-content: space-between; align-items: center;
}
.sidebar-logo span { color: var(--neon-cyan); }
.sidebar-nav { display: none; flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; }

/* Sidebar top row: logo + mobile toggle */
.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mobile hamburger button */
.sidebar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--dash-glass-border);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.sidebar-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.dash-sidebar.nav-open .sidebar-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.dash-sidebar.nav-open .sidebar-toggle span:nth-child(2) {
  opacity: 0;
}
.dash-sidebar.nav-open .sidebar-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991px) {
  .sidebar-toggle { display: flex; }
  .dash-sidebar.nav-open .sidebar-nav { display: flex; }
}

@media (min-width: 992px) {
  .dash-sidebar {
    width: var(--sidebar-w);
    height: 100vh;
    position: sticky;
    top: 0;
    border-bottom: none;
    border-right: 1px solid var(--dash-glass-border);
    padding: 2rem 1.5rem;
  }
  .sidebar-top { margin-bottom: 3rem; }
  .sidebar-logo { justify-content: flex-start; }
  .sidebar-nav { display: flex; }
}

.sidebar-nav a, .sidebar-nav button {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  position: relative;
}
.sidebar-nav a svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sidebar-nav a::before {
  content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%;
  background: var(--neon-cyan);
  transform: scaleY(0); transition: transform 0.3s ease;
  transform-origin: left;
}
.sidebar-nav a:hover, .sidebar-nav button:hover {
  background: var(--dash-glass-hover);
  color: var(--text-primary);
}
.sidebar-nav a:hover svg {
  transform: scale(1.15) rotate(-5deg);
}
.sidebar-nav a:active {
  transform: scale(0.96);
  background: rgba(0, 229, 255, 0.15);
  transition: transform 0.1s, background 0.1s;
}
.sidebar-nav a:active svg {
  transform: scale(0.9);
}
.sidebar-nav a:hover::before { transform: scaleY(0.5); }
.sidebar-nav a.active {
  background: linear-gradient(90deg, rgba(0,229,255,0.1), transparent);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 229, 255, 0.1);
}
.sidebar-nav a.active::before { transform: scaleY(1); }

/* Main Content Wrapper */
.dash-main {
  flex-grow: 1;
  padding: 1.25rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
@media (min-width: 992px) {
  .dash-main { padding: 2.5rem 3rem; }
}

/* -------------------------------------------
   NEW DASHBOARD LAYOUT & HERO
   ------------------------------------------- */

.dash-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .dash-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hero-profile {
  display: flex; align-items: center; gap: 1.25rem;
}
.profile-avatar-wrap {
  position: relative;
  width: 68px; height: 68px;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 0deg, var(--neon-cyan), var(--neon-purple), var(--neon-cyan));
}
.hero-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: var(--text-primary);
  font-family: var(--font-display);
  position: relative; z-index: 2;
}

/* Inline Username + Level + Badges */
.profile-info { display: flex; flex-direction: column; gap: 0.25rem; }
.profile-title-row {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.profile-info h1 {
  margin: 0; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; letter-spacing: -0.5px;
}
#dash-level-badge {
  color: var(--neon-cyan); font-size: 1.1rem; font-weight: 600; font-family: var(--font-mono);
  background: rgba(0,229,255,0.1); padding: 0.15rem 0.6rem; border-radius: 8px; border: 1px solid rgba(0,229,255,0.2);
}
#dash-account-status {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.8rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 99px; text-transform: uppercase;
}
#dash-account-status.status-verified {
  background: rgba(6, 214, 160, 0.1); color: var(--green-neon); border: 1px solid rgba(6, 214, 160, 0.2);
}
#dash-account-status.status-unverified {
  background: rgba(255, 68, 68, 0.1); color: var(--red-neon); border: 1px solid rgba(255, 68, 68, 0.2);
}
#dash-account-status.status-flagged {
  background: rgba(255, 77, 109, 0.1); color: var(--red-neon); border: 1px solid rgba(255, 77, 109, 0.2);
}
.hero-badges { display: flex; gap: 0.5rem; align-items: center; }
.hero-badges span {
  background: rgba(255,255,255,0.05); padding: 0.2rem 0.6rem; border-radius: 99px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
}
.hero-badges #dash-elite-tag { color: var(--gold-premium); border-color: rgba(255,209,102,0.3); }


/* -------------------------------------------
   CIRCULAR BALANCES (Portfolio Hub)
   ------------------------------------------- */
.balances-hub {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
}
.balances-hub::before {
  content: ''; position: absolute; inset: 20px; border-radius: 50%; border: 1px dashed rgba(255,255,255,0.05);
}

.center-balance {
  width: 160px; height: 160px;
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 10;
  position: relative;
}

/* The spinning border layer */
.center-balance::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 0deg, rgba(0,229,255,0.05) 0%, rgba(0,229,255,0.05) 60%, var(--neon-cyan) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  box-shadow: 0 0 20px rgba(0,229,255,0.5);
}

/* The inner background layer */
.center-balance::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(157,78,221,0.1));
  z-index: -1;
}



.center-balance .balance-label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; font-weight: 700; margin-bottom:0.25rem; }
.center-balance .balance-val { font-size: 1.6rem; font-family: var(--font-display); font-weight: 800; color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0,229,255,0.5); }

/* Orbiting Balances */
.orbit-node {
  position: absolute;
  width: 90px; height: 90px;
  background: rgba(15, 20, 28, 0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.orbit-node:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 20px rgba(255,255,255,0.4); border-color: #fff; z-index: 20;
}
.orbit-node .node-label { font-size: 0.6rem; color: var(--text-dim); text-transform: uppercase; font-weight: 700; }
.orbit-node .node-val { font-size: 0.9rem; font-family: var(--font-display); font-weight: 700; color: #fff; margin-top: 0.2rem; transition: color 0.3s; text-shadow: 0 0 10px rgba(255,255,255,0.2); }

/* Specific Hover Colors */
/* EQUBOT Wallet */
.orbit-node.pos-1:hover { border-color: var(--neon-purple); box-shadow: 0 0 20px rgba(157, 78, 221, 0.5); }
.orbit-node.pos-1:hover .node-val { color: var(--neon-purple); text-shadow: 0 0 10px rgba(157, 78, 221, 0.5); }

/* TRX */
.orbit-node.pos-2:hover { border-color: #ff4d6d; box-shadow: 0 0 20px rgba(255, 77, 109, 0.5); }
.orbit-node.pos-2:hover .node-val { color: #ff4d6d; text-shadow: 0 0 10px rgba(255, 77, 109, 0.5); }

/* MATIC */
.orbit-node.pos-3:hover { border-color: #8247E5; box-shadow: 0 0 20px rgba(130, 71, 229, 0.5); }
.orbit-node.pos-3:hover .node-val { color: #8247E5; text-shadow: 0 0 10px rgba(130, 71, 229, 0.5); }

/* EQUBOT Bank */
.orbit-node.pos-4:hover { border-color: var(--gold-premium); box-shadow: 0 0 20px rgba(255, 209, 102, 0.5); }
.orbit-node.pos-4:hover .node-val { color: var(--gold-premium); text-shadow: 0 0 10px rgba(255, 209, 102, 0.5); }

/* EQUCOIN */
.orbit-node.pos-5:hover { border-color: var(--green-neon); box-shadow: 0 0 20px rgba(6, 214, 160, 0.5); }
.orbit-node.pos-5:hover .node-val { color: var(--green-neon); text-shadow: 0 0 10px rgba(6, 214, 160, 0.5); }

/* Position them around the circle via left/top percentages. Center is 50%, 50% */
.orbit-node.pos-1 { top: 10%; left: 50%; } /* Top */
.orbit-node.pos-2 { top: 38%; left: 90%; } /* Right-ish */
.orbit-node.pos-3 { top: 85%; left: 75%; } /* Bottom Right */
.orbit-node.pos-4 { top: 85%; left: 25%; } /* Bottom Left */
.orbit-node.pos-5 { top: 38%; left: 10%; } /* Left-ish */

/* -------------------------------------------
   CONSOLIDATED BENTO GRID
   ------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .bento-grid { grid-template-columns: repeat(12, 1fr); }
  .bento-col-4 { grid-column: span 6; }
  .bento-col-8 { grid-column: span 12; }
  .bento-col-12 { grid-column: span 12; }
}
@media (min-width: 1280px) {
  .bento-col-4 { grid-column: span 4; }
  .bento-col-6 { grid-column: span 6; }
  .bento-col-8 { grid-column: span 8; }
}

.sleek-card {
  background: linear-gradient(145deg, rgba(15, 20, 28, 0.6), rgba(10, 14, 20, 0.8));
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.sleek-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%, rgba(255,255,255,0.02));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}
.sleek-card a, .sleek-card button, .sleek-card input, .sleek-card select, .sleek-card .btn-sleek {
  position: relative;
  z-index: 2;
}
.sleek-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 15px 40px rgba(0,229,255,0.08), 0 8px 16px rgba(0,0,0,0.5); }
.card-title {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--text-primary);
  margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between;
  position: relative; padding-left: 1rem;
}
.card-title::before {
  content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple)); box-shadow: 0 0 10px rgba(0,229,255,0.5);
}

/* -------------------------------------------
   WIDGETS & CONSOLIDATED STYLES
   ------------------------------------------- */

/* Progress Circular (kept for the fallback/bonus visual, but integrated) */
.progress-widget { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1rem; }
.progress-ring { width: 60px; height: 60px; position: relative; }
.progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 6; stroke-linecap: round; }
.progress-ring .bg { stroke: rgba(255,255,255,0.05); }
.progress-ring .fill { stroke: var(--neon-purple); stroke-dasharray: 214; stroke-dashoffset: 214; transition: stroke-dashoffset 1s ease; filter: drop-shadow(0 0 4px rgba(157,78,221,0.5)); }
.progress-ring .lvl { position: absolute; inset:0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.progress-details { flex: 1; } 
#lp-max-msg { color: var(--gold-premium); font-size: 0.85rem; font-weight: 700; display: none; }

/* SMALLER Daily Quests */
#daily-quests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem; }
.quest-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem; border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.03);
  position: relative; overflow: hidden;
}
.quest-item::before { content:''; position:absolute; left:0; top:0; width:3px; height:100%; background: var(--text-faint); transition: background 0.3s; }
.quest-item.is-complete::before { background: var(--green-neon); box-shadow: 0 0 10px var(--green-neon); }
.quest-icon {
  width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center; color: var(--text-dim); font-size: 0.75rem;
}
.quest-item.is-complete .quest-icon { background: rgba(6, 214, 160, 0.1); color: var(--green-neon); }
.quest-info { flex: 1; display:flex; flex-direction:column; gap:0.1rem; }
.quest-info strong { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.quest-info span { font-size: 0.7rem; color: var(--text-dim); }
.quest-reward { font-size: 0.75rem; font-weight: 700; color: var(--neon-cyan); background: rgba(0,229,255,0.1); padding: 0.15rem 0.4rem; border-radius: 4px; }

/* Recessed Inputs & Forms */
.input-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.input-label { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 0.4rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px;}
.input-wrapper { position: relative; display: flex; align-items: center; }

.sleek-input {
  width: 100%; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
  padding: 0.75rem 1rem; color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem;
  transition: all 0.3s; box-sizing: border-box;
}
.sleek-input:focus { outline: none; border-color: var(--neon-cyan); background: rgba(0, 229, 255, 0.02); box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15); }
.copy-icon-btn {
  position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: var(--text-dim);
  cursor: pointer; padding: 0.4rem; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: all 0.2s;
}
.copy-icon-btn:hover { color: var(--neon-cyan); background: rgba(0,229,255,0.1); }

/* Buttons */
.btn-sleek {
  background: linear-gradient(135deg, var(--neon-cyan), #00b4d8); color: #000; border: none;
  padding: 0.8rem 1.2rem; min-height: 44px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  cursor: pointer; transition: all 0.3s; width: 100%; text-transform: uppercase; letter-spacing: 1px; position: relative; overflow: hidden;
  user-select: none; -webkit-tap-highlight-color: transparent;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-sleek::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg) translateY(-100%); transition: transform 0.6s;
}
.btn-sleek:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0, 229, 255, 0.5); }
.btn-sleek:hover::after { transform: rotate(45deg) translateY(100%); }
.btn-sleek:active { transform: translateY(0) scale(0.98); }
.btn-sleek:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }
.btn-sleek:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

select.sleek-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300E5FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
select.sleek-input option { background-color: var(--bg-dark); color: var(--text-primary); }

/* Tables Premium */
.table-wrap { overflow-x: auto; margin-top: 1rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.03); }
.sleek-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.8rem; }
.sleek-table th { text-align: left; padding: 0.8rem 1rem; color: var(--text-dim); font-weight: 600; background: rgba(0,0,0,0.2); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.7rem; }
.sleek-table td { padding: 0.8rem 1rem; border-top: 1px solid rgba(255,255,255,0.02); color: var(--text-primary); background: rgba(255,255,255,0.01); }
.sleek-table tbody tr:hover td { background: rgba(0, 229, 255, 0.03); }

/* Tabbed Interface for History */
.history-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.5rem; }
.history-tab {
  background: transparent; border: none; color: var(--text-dim); font-family: var(--font-display); font-weight: 600;
  font-size: 0.9rem; cursor: pointer; padding: 0.5rem 1rem; border-radius: 8px; transition: all 0.2s;
}
.history-tab:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.history-tab.active { color: var(--neon-cyan); background: rgba(0,229,255,0.1); }
.history-content { display: none; }
.history-content.active { display: block; }

/* Status Badges */
.status-badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.5rem; border-radius: 99px; font-size: 0.7rem; font-weight: 600; }
.status-badge::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; }
.status-badge.completed { background: rgba(6, 214, 160, 0.1); color: var(--green-neon); }
.status-badge.completed::before { background: var(--green-neon); box-shadow: 0 0 8px var(--green-neon); }
.status-badge.pending { background: rgba(255, 209, 102, 0.1); color: var(--gold-premium); }
.status-badge.pending::before { background: var(--gold-premium); box-shadow: 0 0 8px var(--gold-premium); }

/* Typography utility classes */
.text-dim { color: var(--text-dim); }
.text-faint { color: var(--text-faint); }
.text-primary { color: var(--text-primary); }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.text-accent { color: var(--neon-cyan); }
.text-gold { color: var(--gold-premium); }

/* Loading state */
.dash-loading { color: var(--neon-cyan); font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 2px; text-transform: uppercase; padding: 3rem; text-align: center; animation: dash-loading-pulse 1.4s ease-in-out infinite; }
@keyframes dash-loading-pulse { 0%, 100% { opacity: 0.3; filter: blur(2px); } 50% { opacity: 1; filter: blur(0); text-shadow: 0 0 20px rgba(0,229,255,0.5); } }

/* Animations (now handled by Anime.js) */
/* Elements are animated from opacity 0 to 1 in JS, so they should be visible by default in CSS */

/* Linkvertise Grid Updates */
.lv-tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; }
.lv-tier-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem; border-radius: 10px; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); transition: all 0.3s; }
.lv-tier-card:hover { border-color: rgba(0,229,255,0.3); background: rgba(0,229,255,0.05); }
.lv-tier-card.is-locked { opacity: 0.55; filter: grayscale(1); pointer-events: none; }
.lv-tier-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.lv-tier-head strong { font-family: var(--font-display); color: var(--text-primary); font-size: 0.9rem; }
.lv-tier-reward { font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 99px; background: rgba(255,209,102,0.1); color: var(--gold-premium); border: 1px solid rgba(255,209,102,0.2); }
.lv-tier-sub { margin: 0; font-size: 0.75rem; color: var(--text-dim); flex-grow: 1; }
.lv-cooldown { margin-top: 1rem; padding: 0.75rem 1rem; border-radius: 10px; background: rgba(0,229,255,0.05); border: 1px dashed rgba(0,229,255,0.2); color: var(--neon-cyan); font-size: 0.85rem; font-family: var(--font-mono); text-align: center; }

/* Sidebar Discord CTA */
.sidebar-discord-cta { display: block; margin-top: 1rem; padding: 1.25rem; border-radius: 16px; background: linear-gradient(135deg, rgba(88,101,242,0.15), rgba(88,101,242,0.05)); border: 1px solid rgba(88,101,242,0.3); text-decoration: none; transition: all 0.3s; position: relative; overflow: hidden; }
.sidebar-discord-cta:hover { transform: translateY(-2px); border-color: rgba(88,101,242,0.6); box-shadow: 0 10px 20px rgba(88,101,242,0.15); }
.sidebar-discord-cta strong { display: block; color: #fff; font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 0.25rem; position: relative; z-index: 1;}
.sidebar-discord-cta span { color: var(--text-dim); font-size: 0.75rem; line-height: 1.5; display: block; position: relative; z-index: 1;}

/* EquPremium Dashboard Enhancements */
body.theme-premium .dash-main { background: radial-gradient(circle at top right, rgba(255,209,102,0.03), transparent 50%); }
body.theme-premium .dashboard-card { border-color: rgba(255,209,102,0.2); }
body.theme-premium .dashboard-card:hover { border-color: rgba(255,209,102,0.4); box-shadow: 0 0 20px rgba(255,209,102,0.1); }
body.theme-premium #dash-trx-balance,
body.theme-premium #dash-polygon-balance,
body.theme-premium #dash-equcoin-balance,
body.theme-premium #lp-fp-current { color: var(--gold-premium); text-shadow: 0 0 15px rgba(255,209,102,0.4); }
body.theme-premium .header-brand { background: linear-gradient(90deg, #fff, var(--gold-premium)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* -------------------------------------------
   NEW DASHBOARD SKELETON PRELOADER
   ------------------------------------------- */
.skeleton-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}

.skeleton-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--dash-glass);
  border: 1px solid var(--dash-glass-border);
  border-radius: 20px;
}
@media (min-width: 992px) {
  .skeleton-hero { flex-direction: row; align-items: center; justify-content: space-between; }
}

.skeleton-profile { display: flex; align-items: center; gap: 1.25rem; }
.skeleton-avatar { width: 68px; height: 68px; border-radius: 50%; }
.skeleton-details { display: flex; flex-direction: column; gap: 0.5rem; width: 180px; }
.skeleton-line { height: 14px; border-radius: 6px; }
.skeleton-line.h-lg { height: 22px; width: 140px; }
.skeleton-line.h-sm { height: 12px; width: 90px; }

.skeleton-orbit { display: flex; gap: 1rem; flex-wrap: wrap; }
.skeleton-orbit-pill { width: 110px; height: 60px; border-radius: 12px; }

.skeleton-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.skeleton-card {
  grid-column: span 12;
  height: 240px;
  background: var(--dash-glass);
  border: 1px solid var(--dash-glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 992px) {
  .skeleton-card.col-4 { grid-column: span 4; }
  .skeleton-card.col-12 { grid-column: span 12; }
}

/* Header SVG Icons */
.card-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.card-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--neon-cyan);
  flex-shrink: 0;
}

/* Percentage Presets */
.amount-presets {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.4rem;
}
.preset-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  position: relative;
}
.preset-pill:hover {
  background: rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--neon-cyan);
}
.preset-pill:active {
  transform: scale(0.95);
}

/* Inline Address Copy Wrap */
.equ-address-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.equ-address-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--neon-cyan);
  word-break: break-all;
}

/* Button Spinner */
.btn-sleek .spinner-icon {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin-btn 0.6s linear infinite;
  margin-right: 0.5rem;
}
.btn-sleek.is-loading .spinner-icon {
  display: inline-block;
}
@keyframes spin-btn {
  to { transform: rotate(360deg); }
}

/* Empty State Styling */
.empty-state-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--text-dim);
}
.empty-state-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  margin-bottom: 0.75rem;
}

/* Password Toggle Eye Icon and Similar Absolute Buttons */
.toggle-pwd-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s;
}

.input-wrapper {
  position: relative;
  display: block;
  width: 100%;
}
.toggle-pwd-btn:hover {
  color: var(--neon-cyan);
}

/* Tooltip styling */
[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background: var(--bg-dark-secondary);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--text-primary);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  font-family: var(--font-body);
}
[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Extra Animations */
.sleek-card:hover .card-title-icon svg {
  color: var(--neon-cyan);
}

@keyframes float-pulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 10px rgba(255,209,102,0.1); }
  50% { transform: translateY(-4px); box-shadow: 0 0 25px rgba(255,209,102,0.4); }
}
.pulse-anim {
  animation: float-pulse 3s infinite ease-in-out;
}

.sleek-input {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sleek-input:focus {
  transform: scale(1.02);
}

/* ── Daily Survey Stars ── */
.star-group .star {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.1s ease;
  line-height: 1;
  user-select: none;
}
.star-group .star:hover,
.star-group .star.hovered,
.star-group .star.selected {
  color: var(--gold-premium);
  transform: scale(1.15);
}
.star-group.done .star {
  pointer-events: none;
  cursor: default;
}
.survey-question {
  transition: opacity 0.3s ease;
}
.survey-question.completed {
  opacity: 0.55;
}

/* New Sleek Grid for Balances */
.new-balances-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.new-balances-grid .main-balance {
  grid-column: span 3;
  padding: 2rem;
  background: radial-gradient(circle at center, rgba(0,229,255,0.1) 0%, rgba(15,20,28,0.9) 100%);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0,229,255,0.2);
}
.new-balances-grid .balance-card {
  background: rgba(15, 20, 28, 0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.new-balances-grid .balance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.3);
}
.new-balances-grid .balance-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.new-balances-grid .main-balance .balance-val {
  font-size: 2.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0,229,255,0.5);
}
.new-balances-grid .balance-val {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}
@media (max-width: 768px) {
  .new-balances-grid {
    grid-template-columns: 1fr;
  }
  .new-balances-grid .main-balance {
    grid-column: span 1;
  }
}
