:root{
  --bg:#0a0e15;
  --card:#1a1f2e;
  --card-hover:#212738;
  --muted:#8b95a8;
  --accent:#5eead4;
  --accent-glow: rgba(94, 234, 212, 0.15);
  --success:#10b981;
  --glass: rgba(255,255,255,0.03);
}

* { box-sizing: border-box; }

html,body{
  height:100%;
  margin:0;
  padding:0;
}

body{
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(ellipse at top, rgba(94, 234, 212, 0.08), transparent 50%), 
              radial-gradient(ellipse at bottom, rgba(59, 130, 246, 0.05), transparent 50%),
              var(--bg);
  color:#e6eef6;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.header-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #14b8a6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0a0e15;
  font-size: 14px;
}

.dashboard-container {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
  flex: 1;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  flex: 1;
  align-items: start;
}

.main-column {
  display: grid;
  grid-template-rows: auto auto auto auto auto;
  gap: 20px;
  height: fit-content;
}

.card-dark{
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border-radius:16px;
  border: 1px solid rgba(255,255,255,0.08);
  padding:24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.card-dark:hover{
  border-color: rgba(94, 234, 212, 0.2);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5), 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

.small-muted{
  color:var(--muted);
  font-size:11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.big-amount{
  font-weight:800;
  font-size:42px;
  letter-spacing:-2px;
  background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.6s ease;
}

.green{
  color:var(--accent);
  font-weight:700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.btn-claim{
  background: linear-gradient(135deg, var(--accent) 0%, #14b8a6 100%);
  border-radius:12px;
  border:none;
  color:#0a0e15;
  padding:14px 28px;
  font-weight:700;
  font-size: 13px;
  letter-spacing: 0.5px;
  display:inline-block;
  width:100%;
  text-align:center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(94, 234, 212, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.btn-claim::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-claim:hover::before {
  width: 300px;
  height: 300px;
}

.btn-claim:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(94, 234, 212, 0.5);
}

.btn-claim:active {
  transform: translateY(0);
}

.counter-display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 72px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.08), rgba(59, 130, 246, 0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -3px;
  pointer-events: none;
  z-index: 1;
  animation: countPulse 3s ease-in-out infinite;
}

@keyframes countPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.95); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
}

.panel-title{
  font-weight:700;
  color:#f0f7ff;
  font-size: 15px;
}

.mini-card{
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(10px);
  border-radius:12px;
  padding:18px;
  border:1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
  height: 100%;
}

.mini-card:hover {
  border-color: rgba(94, 234, 212, 0.15);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 16px;
  max-width: 280px;
  margin: 0 auto;
  width: 100%;
}

.action-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.15), rgba(94, 234, 212, 0.05));
  border: 2px solid rgba(94, 234, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.action-card:hover .action-icon {
  transform: scale(1.1);
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(94, 234, 212, 0.4);
}

.btn-action {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.2), rgba(94, 234, 212, 0.1));
  border-radius: 10px;
  border: 1px solid rgba(94, 234, 212, 0.3);
  color: var(--accent);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-action:hover {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.3), rgba(94, 234, 212, 0.15));
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(94, 234, 212, 0.3);
}

.chart-box{
  background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(255,255,255,0.02));
  backdrop-filter: blur(10px);
  border-radius:12px;
  padding:16px;
  border:1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
  height: 100%;
  min-height: 280px;
}

.chart-box:hover {
  border-color: rgba(94, 234, 212, 0.2);
}

.stat-number {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease backwards;
}

.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.3);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
}

.middle-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.bottom-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: fit-content;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding: 40px 0 20px;
}

.footer-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  color: var(--muted);
  font-size: 12px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(94, 234, 212, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (min-width: 1600px) {
  .dashboard-container {
    padding: 32px;
  }
  .dashboard-grid {
    gap: 32px;
  }
  .main-column {
    gap: 24px;
  }
}

@media (max-width: 1400px) {
  .dashboard-grid {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .sidebar-column {
    position: relative;
    top: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .dashboard-container {
    padding: 12px;
    gap: 12px;
  }
  .main-column {
    gap: 12px;
  }
  .middle-row, .bottom-row {
    gap: 12px;
  }
  .big-amount {
    font-size: 32px;
  }
  .card-dark {
    padding: 18px;
  }
  .counter-display {
    font-size: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .big-amount {
    font-size: 28px;
  }
  .counter-display {
    font-size: 36px;
  }
}