:root{
  --bg:#0b0d10;
  --panel:#121621;
  --panel2:#0f131c;
  --text:#eef2ff;
  --muted:#9aa4b2;
  --line:#222b3a;
  --pill:#1f2a44;
  --live:#0ea5e9;
  --btn:#1d4ed8;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 30% -10%, #1d4ed833 0%, transparent 60%),
              radial-gradient(900px 600px at 80% 0%, #0ea5e933 0%, transparent 55%),
              var(--bg);
  color:var(--text);
}

.wrap{max-width:1100px;margin:0 auto;padding:18px}

header{
  position:sticky; top:0;
  background: linear-gradient(180deg, rgba(11,13,16,.92) 0%, rgba(11,13,16,.75) 70%, rgba(11,13,16,0) 100%);
  backdrop-filter: blur(10px);
  z-index:10;
  border-bottom:1px solid rgba(255,255,255,0.04);
}

.brand{display:flex;gap:14px;align-items:center}
.logo{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  font-weight:800;
}
h1{margin:0;font-size:22px;line-height:1.1}
.sub{margin:4px 0 0;color:var(--muted);font-size:13px}

.controls{
  margin-top:14px;
  display:grid;
  grid-template-columns: 160px 160px 1fr 120px;
  gap:10px;
}
.control label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
select,input,button{
  width:100%;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(18,22,33,0.85);
  color:var(--text);
  outline:none;
}
input::placeholder{color:#738197}
button{
  background: linear-gradient(135deg, rgba(29,78,216,0.95), rgba(14,165,233,0.85));
  border:0;
  cursor:pointer;
  font-weight:700;
}
button:active{transform: translateY(1px)}

.cards{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.card{
  background: rgba(18,22,33,0.85);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  padding:14px;
  min-height:150px;
}
.cardHeader{display:flex;align-items:center;justify-content:space-between;gap:10px}
.card h2{margin:0;font-size:16px}
.cardBody{margin-top:10px}
.pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  background: rgba(31,42,68,0.9);
  border:1px solid rgba(255,255,255,0.08);
}
.pill.live{
  background: rgba(14,165,233,0.16);
  border-color: rgba(14,165,233,0.35);
  color: #bfe9ff;
}
.muted{color:var(--muted)}
.small{font-size:12px}
a{color:#bfe9ff;text-decoration:none}
a:hover{text-decoration:underline}

.panel{
  margin-top:12px;
  background: rgba(18,22,33,0.72);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  padding:14px;
}
.panelHeader{display:flex;align-items:center;justify-content:space-between;gap:10px}
.panelHeader h2{margin:0;font-size:16px}

.tableWrap{overflow:auto;margin-top:10px;border-radius:14px;border:1px solid rgba(255,255,255,0.07)}
table{width:100%;border-collapse:collapse;min-width:760px;background: rgba(15,19,28,0.7)}
thead th{
  text-align:left;
  font-size:12px;
  color:var(--muted);
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  position:sticky; top:0;
  background: rgba(15,19,28,0.95);
}
tbody td{
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,0.06);
  vertical-align:top;
}
tbody tr:hover{background: rgba(255,255,255,0.03)}
td .title{font-weight:700}
.tag{
  display:inline-flex;
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  color: var(--text);
}
.watch a{
  display:inline-flex;
  padding:8px 10px;
  border-radius:12px;
  background: rgba(14,165,233,0.16);
  border:1px solid rgba(14,165,233,0.35);
}

.footer{padding-bottom:30px}

@media (max-width: 880px){
  .controls{grid-template-columns: 1fr 1fr; }
  .cards{grid-template-columns:1fr}
  table{min-width:640px}
}

/* ===== HYPE UPGRADE (Step 1) ===== */
:root{
  --hypePink:#ff3bd4;
  --hypePurple:#7c3aed;
  --hypeCyan:#22d3ee;
  --hypeLime:#22c55e;
}

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 rgba(34,197,94,0.0), 0 0 0 rgba(34,197,94,0.0); }
  50%  { box-shadow: 0 0 18px rgba(34,197,94,0.35), 0 0 44px rgba(34,197,94,0.18); }
  100% { box-shadow: 0 0 0 rgba(34,197,94,0.0), 0 0 0 rgba(34,197,94,0.0); }
}

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

header{
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo{
  background: linear-gradient(135deg, var(--hypePurple), var(--hypeCyan), var(--hypePink));
  background-size: 200% 200%;
  animation: neonSweep 6s linear infinite;
}

.card{
  position: relative;
  overflow: hidden;
}

.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(90deg, rgba(124,58,237,0.0), rgba(34,211,238,0.20), rgba(255,59,212,0.18), rgba(124,58,237,0.0));
  background-size: 220% 100%;
  animation: neonSweep 7s linear infinite;
  pointer-events:none;
  opacity:.55;
}

.card > *{
  position: relative;
}

.pill.live{
  animation: pulseGlow 1.6s ease-in-out infinite;
}

#nowCard{
  border-color: rgba(34,197,94,0.35);
  background: radial-gradient(900px 320px at 20% 0%, rgba(34,197,94,0.18) 0%, transparent 60%), rgba(18,22,33,0.85);
}

#nextCard{
  border-color: rgba(34,211,238,0.35);
  background: radial-gradient(900px 320px at 20% 0%, rgba(34,211,238,0.16) 0%, transparent 60%), rgba(18,22,33,0.85);
}

button{
  background: linear-gradient(135deg, var(--hypePurple), var(--hypeCyan), var(--hypePink));
  background-size: 200% 200%;
  animation: neonSweep 7s linear infinite;
}

.watch a{
  background: rgba(255,59,212,0.12);
  border-color: rgba(255,59,212,0.35);
}

.tableWrap{
  border-color: rgba(255,255,255,0.10);
}

tbody tr:hover{
  background: rgba(255,59,212,0.05);
}


/* ===== HYPE EVENT CARDS ===== */
.scheduleCards{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap:14px;
  margin-top:12px;
}

.eventCard{
  background: rgba(18,22,33,0.85);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:18px;
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
  position:relative;
  overflow:hidden;
}

.eventCard.live{
  border-color: rgba(34,197,94,0.45);
  background:
    radial-gradient(800px 260px at 20% 0%, rgba(34,197,94,0.20) 0%, transparent 60%),
    rgba(18,22,33,0.90);
}

.eventTime{
  font-weight:800;
  font-size:13px;
  color:#dbeafe;
}

.eventTitle{
  font-weight:900;
  line-height:1.2;
  font-size:15px;
}

.eventMeta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.metaPill{
  font-size:11px;
  padding:5px 9px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.metaPill.live{
  border-color: rgba(34,197,94,0.45);
  background: rgba(34,197,94,0.18);
}

.eventActions{
  margin-top:auto;
  display:flex;
  gap:8px;
}

.eventActions a{
  flex:1;
  text-align:center;
  font-weight:800;
}
