:root{
  --gold:#d7b35a;
  --gold2:#ffdc7a;
  --bg:#05070b;
  --text:#f2f2f2;
}

/* CRITICAL: hidden must REALLY hide */
[hidden]{ display:none !important; }

*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
button{font:inherit}

.stage{
  position:relative;
  width:100vw;
  height:100vh;
  overflow:hidden;
  background:#000;
}

/* BG VIDEO */
.bgVideo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
}

/* TOP BAR */
.topbar{
  position:absolute;
  top:14px;
  left:14px;
  right:14px;
  display:flex;
  align-items:center;
  gap:12px;
  z-index:10; /* above everything */
}

.toolbtn{
  background:rgba(0,0,0,.55);
  border:1px solid rgba(215,179,90,.45);
  color:#fff;
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:8px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.toolbtn:hover{border-color:rgba(215,179,90,.8)}
.toolbtnText{letter-spacing:.12em;font-weight:700;font-size:12px}

.brand{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  color:rgba(255,255,255,.85);
  font-size:13px;
  letter-spacing:.10em;
  text-transform:uppercase;
  text-shadow:0 2px 10px rgba(0,0,0,.55);
}
.brandSep{opacity:.55}
.brandDot{opacity:.95}

/* AUDIO BUTTON (Divine Ray) */
.audiobtn{
  position:relative;
  overflow:hidden;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(215,179,90,.55);
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  box-shadow:0 10px 30px rgba(0,0,0,.35);
}
.audiobtn:hover{border-color:rgba(255,220,122,.9)}
.audioText{font-weight:700;letter-spacing:.02em}
.audiobtn .ray{
  position:absolute;
  left:-40%;
  top:-120%;
  width:45%;
  height:350%;
  background:linear-gradient(90deg, transparent, rgba(255,220,122,.35), transparent);
  transform:rotate(22deg);
  animation:raySweep 3.4s linear infinite;
  pointer-events:none;
}
@keyframes raySweep{ 0%{left:-55%} 100%{left:120%} }

/* SUBS */
.subsWrap{
  position:absolute;
  left:0;
  right:0;
  bottom:64px;
  display:flex;
  justify-content:center;
  z-index:6;
  padding:0 14px;
}
.subsBubble{
  width:min(980px, 96vw);
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  padding:18px 18px;
  backdrop-filter: blur(10px);
  box-shadow:0 20px 55px rgba(0,0,0,.45);
  text-align:center;
}
.subLine{
  font-size:26px;
  line-height:1.15;
  font-weight:800;
  text-shadow:0 2px 10px rgba(0,0,0,.7);
}
.subHY{ margin-top:8px; font-size:22px; font-weight:700; opacity:.95; }

/* TICKER */
.ticker{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:12; /* above subs */
  border-top:1px solid rgba(215,179,90,.45);
  background:rgba(0,0,0,.62);
}
.tickerRail{ overflow:hidden; white-space:nowrap; padding:10px 0; }
.tickerMove{
  display:inline-block;
  will-change:transform;
  animation:ticker 30s linear infinite;
}
.tickerMove span{
  color:var(--gold2);
  font-weight:800;
  letter-spacing:.04em;
  text-shadow:0 2px 10px rgba(0,0,0,.7);
  font-size:16px;
}
.tickerGap{opacity:.6; padding:0 18px}
@keyframes ticker{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

/* OVERLAY: only blocks when visible */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  z-index:30;
}
.overlay[hidden]{ display:none !important; }

/* DRAWER */
.drawer{
  position:fixed;
  top:0;
  left:0;
  height:100%;
  width:min(420px, 92vw);
  background:rgba(5,7,11,.92);
  border-right:1px solid rgba(215,179,90,.35);
  z-index:35;
  padding:14px;
  backdrop-filter: blur(10px);
}
.drawerHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 10px;
  border:1px solid rgba(215,179,90,.25);
  border-radius:16px;
  background:rgba(0,0,0,.35);
}
.drawerTitle{
  font-weight:900;
  letter-spacing:.06em;
  color:rgba(255,220,122,.95);
  text-transform:uppercase;
  font-size:13px;
}
.drawerClose{
  width:42px;height:42px;border-radius:14px;
  border:1px solid rgba(215,179,90,.35);
  background:rgba(0,0,0,.35);
  color:#fff;
  cursor:pointer;
}
.drawerList{margin-top:12px; display:flex; flex-direction:column; gap:10px;}
.drawerItem{
  text-align:left;
  padding:14px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.35);
  color:#fff;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.drawerItem:hover{border-color:rgba(215,179,90,.55)}
.drawerHint{font-size:12px; opacity:.75; font-weight:600}
.drawerFooter{ position:absolute; left:14px; right:14px; bottom:14px; }
.smallNote{
  border:1px solid rgba(215,179,90,.22);
  background:rgba(0,0,0,.32);
  border-radius:16px;
  padding:12px;
  font-size:12px;
  opacity:.9;
  line-height:1.35;
}

/* MODAL */
.modal{
  position:fixed;
  inset:0;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(0,0,0,.55);
}
.modal[hidden]{ display:none !important; }
.modalCard{
  width:min(860px, 96vw);
  max-height:min(86vh, 860px);
  overflow:auto;
  border-radius:22px;
  background:rgba(5,7,11,.92);
  border:1px solid rgba(215,179,90,.28);
  box-shadow:0 30px 90px rgba(0,0,0,.6);
}
.modalTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.modalTitle{
  font-weight:900;
  letter-spacing:.04em;
  color:rgba(255,220,122,.95);
}
.modalClose{
  width:42px;height:42px;border-radius:14px;
  border:1px solid rgba(215,179,90,.35);
  background:rgba(0,0,0,.35);
  color:#fff;
  cursor:pointer;
}
.modalBody{padding:14px}

/* FORMS */
.fieldRow{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:10px}
.input,.textarea{
  width:100%;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
  border-radius:14px;
  padding:12px;
  outline:none;
}
.textarea{min-height:120px; resize:vertical}
.btn{
  border-radius:14px;
  border:1px solid rgba(215,179,90,.45);
  background:rgba(0,0,0,.35);
  color:#fff;
  padding:10px 12px;
  cursor:pointer;
  font-weight:800;
}
.btn:hover{border-color:rgba(255,220,122,.9)}
.hr{height:1px;background:rgba(255,255,255,.10); margin:12px 0}
.entry{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.30);
  border-radius:16px;
  padding:12px;
  margin-bottom:10px;
}
.entryMeta{font-size:12px; opacity:.75; margin-bottom:6px}
.entryText{white-space:pre-wrap; line-height:1.35}

@media (max-width:700px){
  .brand{display:none}
  .subLine{font-size:20px}
  .subHY{font-size:18px}
  .tickerMove span{font-size:14px}
}
