:root{
  --bg: #071018;
  --card: rgba(255,255,255,0.04);
  --muted: rgba(255,255,255,0.7);
  --accent: #00bfff;
  --success: #00ffa6;
  --danger: #ff6b6b;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color:#eaf6ff;
  -webkit-font-smoothing:antialiased;
}

/* App container */
.app-container{ max-width:1200px; margin:28px auto; padding:18px; }

/* Topbar */
.topbar{ display:flex; justify-content:space-between; gap:20px; align-items:center; padding:14px; border-radius:12px; border:1px solid rgba(255,255,255,0.06); background:var(--card); }
.brand{ display:flex; align-items:center; gap:12px; }
.logo{ width:64px; opacity:0.95; }
.brand h1{ font-size:20px; margin:0; }

.controls{ display:flex; gap:12px; align-items:end; flex-wrap:wrap; }
.controls label{ font-size:12px; color:var(--muted); display:block; margin-bottom:6px; }
.controls select, .btn{ padding:10px 12px; border-radius:10px; border:none; background: rgba(255,255,255,0.06); color:#fff; font-size:14px; }

/* Buttons */
.btn{ background:var(--accent); color:#001; font-weight:700; cursor:pointer; }

/* Summary card */
.summary{ padding:16px; margin-top:18px; border-radius:12px; border:1px solid rgba(255,255,255,0.06); }
.live{ font-size:18px; font-weight:700; }
.updated{ color:var(--muted); font-size:13px; margin-bottom:10px; }

.levels-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin:12px 0; }
.level{ background: rgba(0,0,0,0.25); padding:12px; border-radius:10px; text-align:center; font-weight:700; }

.trend-zone{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.trend{ font-size:18px; font-weight:800; }
.sr{ text-align:right; color:var(--muted); font-size:13px; }

/* Chart */
.chart-box{ margin-top:16px; padding:10px; border-radius:12px; height:540px; overflow:hidden; }
.tv-chart{ width:100%; height:100%; border-radius:8px; }

/* Glass common */
.glass{ background:var(--card); backdrop-filter:blur(12px); }

/* Responsive */
@media(max-width:900px){
  .levels-grid{ grid-template-columns:repeat(3,1fr); }
  .controls{ gap:8px; }
  .topbar{ flex-direction:column; align-items:flex-start; }
}
@media(max-width:600px){
  .levels-grid{ grid-template-columns:repeat(2,1fr); }
  .chart-box{ height:420px; }
}
