
:root{
  --theme:#d4af37;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  color:#eee;
  background: radial-gradient(1200px 800px at 10% 10%, rgba(212,175,55,.20), transparent 40%),
              radial-gradient(1000px 700px at 90% 20%, rgba(255,255,255,.08), transparent 50%),
              linear-gradient(180deg, #0a0a0c 0%, #0f0f13 100%);
}
body.has-bg{ background-attachment:fixed; }
.header{
  padding:18px 0;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.25));
  color:#fff;
  position:sticky; top:0; z-index:20;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.container{max-width:1120px;margin:0 auto;padding:16px}
.header h1{margin:0;font-size:24px; letter-spacing:.3px}
.header small{opacity:.85}
.card{
  background: rgba(255,255,255,.06);
  border-radius:22px;
  padding:16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
}
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(150px,1fr));
  gap:16px;
}
.tile{
  display:flex; flex-direction:column; align-items:center; gap:10px;
  padding:16px 14px;
  text-align:center;
  border-radius:18px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  text-decoration:none; color:#fff;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.tile:hover{ transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.35);}
.tile img{ width:60px; height:60px; object-fit:contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.footer{ text-align:center; color:#aaa; padding:34px 10px; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:11px 16px; border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  text-decoration:none; color:#fff; background: rgba(255,255,255,.05);
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
}
.btn-primary{ background: linear-gradient(135deg, var(--theme), #ffd966); color:#111; }
.actions{display:flex; gap:12px; flex-wrap:wrap}
.notice{padding:12px 14px; background:rgba(255,217,102,.12); border:1px solid rgba(255,217,102,.28); color:#ffe9a6; border-radius:12px}

/*** Player ***/
.player{
  position:relative; overflow:hidden;
  border-radius:20px;
  background: radial-gradient(600px 300px at -10% -20%, rgba(255,217,102,.18), transparent 40%),
              rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding:16px;
}
.player-header{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px;}
.player-title{ font-weight:600; letter-spacing:.2px }
.player-body{ display:flex; align-items:center; gap:16px; }
.play-btn{ width:64px; height:64px; border-radius:50%; display:grid; place-items:center; cursor:pointer; border:none;
  background: radial-gradient(220px 220px at 30% 30%, #fff, #ffe38a 60%, #f5c542 80%);
  box-shadow: 0 12px 30px rgba(0,0,0,.35), inset 0 0 16px rgba(255,255,255,.6);
}
.play-btn svg{ width:28px; height:28px; fill:#111 }
.playing .play-btn{ animation: pulse 1.6s infinite ease-in-out; }
@keyframes pulse{ 0%{ box-shadow:0 12px 30px rgba(0,0,0,.35), 0 0 0 0 rgba(212,175,55,.45)} 70%{ box-shadow:0 12px 30px rgba(0,0,0,.35), 0 0 0 18px rgba(212,175,55,0)} 100%{ box-shadow:0 12px 30px rgba(0,0,0,.35), 0 0 0 0 rgba(212,175,55,0)} }
.bar{ flex:1 }
.range{ width:100% }
.vol{ width:140px }

/*** Page ***/
.page{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px; padding:18px; color:#eaeaea;
}
.page h2{margin-top:0}

/*** Splash Loader ***/
.splash{ position:fixed; inset:0; z-index:999; display:grid; place-items:center;
  background: radial-gradient(1200px 800px at 10% 10%, rgba(212,175,55,.20), transparent 40%),
             radial-gradient(1000px 700px at 90% 20%, rgba(255,255,255,.08), transparent 50%),
             linear-gradient(180deg,#060607,#0f0f13);
  animation: aurora 6s linear infinite;
}
.splash .logo{ display:flex; flex-direction:column; align-items:center; gap:10px; padding:26px 28px; border-radius:22px;
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.splash .dot{ width:14px; height:14px; border-radius:50%; background: radial-gradient(50% 50% at 30% 30%, #fff, #ffe38a 70%, #f5c542);
  animation: bounce 1.2s infinite ease-in-out; }
@keyframes bounce{ 0%,100%{ transform: translateY(0)} 50%{ transform: translateY(-10px)} }
@keyframes aurora{ 0%{ filter:hue-rotate(0deg) } 100%{ filter:hue-rotate(20deg) } }

/*** Painel ***/
.painel{ display:grid; grid-template-columns:240px 1fr; min-height:100vh; background:#0c0c0e; }
.sidebar{ background: rgba(255,255,255,.06); color:#fff; padding:18px; position:sticky; top:0; height:100vh; backdrop-filter: blur(10px);}
.sidebar a{color:#fff; text-decoration:none; display:block; padding:10px 12px; border-radius:10px; margin:4px 0}
.sidebar a.active, .sidebar a:hover{ background: rgba(255,255,255,.12); }
.main{ padding:20px; color:#eaeaea}
.panel-card{ background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:16px; padding:16px; margin-bottom:16px; }
.input, select, textarea{ width:100%; padding:10px 12px; border-radius:10px; border:1px solid rgba(255,255,255,.14); outline:none; background:rgba(0,0,0,.25); color:#eee; }
.table{width:100%; border-collapse:collapse}
.table th,.table td{ padding:10px; border-bottom:1px solid rgba(255,255,255,.1) }
.badge{display:inline-block; padding:4px 8px; border-radius:10px; font-size:12px; background:#222; color:#ddd}
.login-box{ max-width:360px; margin:8vh auto; color:#111 }
