/* =========================================
   Pulse — Core Site Styles (Black + Blue)
   Use on: index, discover, watch, channel, go-live, etc.
   ========================================= */

:root{
  --bg: #020617;           /* deep black */
  --bg2:#0b1222;           /* slightly lighter */
  --panel:#07101f;         /* card/panel */
  --panel2:#0a1630;        /* alt panel */
  --text:#e5e7eb;          /* main text */
  --muted:#94a3b8;         /* secondary text */
  --line: rgba(96,165,250,.16);
  --blue:#60a5fa;          /* Mercedes-ish blue */
  --blue2:#3b82f6;
  --good:#22c55e;
  --warn:#f59e0b;
  --bad:#ef4444;

  --radius: 14px;
  --radius2: 10px;

  --shadow: 0 20px 50px rgba(0,0,0,.75);
  --shadow2: 0 0 0 1px rgba(96,165,250,.14);
}

*{
  box-sizing:border-box;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html,body{
  height:100%;
}

body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(circle at top, #0f172a, var(--bg) 70%);
  line-height:1.55;
}

/* ---------- Layout ---------- */

.container{
  width:min(1100px, 92vw);
  margin:0 auto;
  padding: 28px 0 48px;
}

.page{
  width:min(1100px, 92vw);
  margin:0 auto;
  padding: 28px 0 48px;
}

/* If your pages already have no wrapper, this helps */
body > h1,
body > h2,
body > h3,
body > p,
body > ul,
body > ol,
body > nav,
body > header,
body > main,
body > footer{
  width:min(1100px, 92vw);
  margin-left:auto;
  margin-right:auto;
}

/* ---------- Links ---------- */

a{
  color: var(--blue);
  text-decoration:none;
}

a:hover{
  text-decoration: underline;
}

/* ---------- Header / Brand ---------- */

header{
  padding: 18px 0 10px;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 12px;
}

.brand .logo,
.brand a.logo{
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .4px;
  color: var(--blue);
  text-decoration:none;
}

.tagline{
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 14px;
}

/* ---------- Navigation ---------- */

nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  padding: 10px 0 18px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

nav a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(2,6,23,.35);
  border: 1px solid rgba(96,165,250,.14);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration:none;
}

nav a:hover{
  border-color: rgba(96,165,250,.35);
  background: rgba(2,6,23,.55);
  text-decoration:none;
}

/* ---------- Sections / Cards ---------- */

.section{
  margin-top: 22px;
}

.card{
  background: linear-gradient(180deg, var(--panel), rgba(2,6,23,.92));
  border-radius: var(--radius);
  padding: 18px 18px;
  box-shadow: var(--shadow2), var(--shadow);
  border: 1px solid rgba(255,255,255,.04);
}

.card + .card{
  margin-top: 16px;
}

.card h2, .card h3{
  margin-top: 0;
}

hr{
  border:0;
  height:1px;
  background: rgba(255,255,255,.08);
  width:min(1100px, 92vw);
  margin: 22px auto;
}

/* ---------- Typography ---------- */

h1{
  font-size: 34px;
  margin: 18px auto 10px;
  color: #f8fafc;
}

h2{
  font-size: 22px;
  margin: 18px auto 10px;
  color: #f8fafc;
}

h3{
  font-size: 18px;
  margin: 14px auto 8px;
  color: #f8fafc;
}

p{
  color: var(--text);
  margin: 10px auto;
}

.muted{
  color: var(--muted);
}

/* ---------- Lists ---------- */

ul, ol{
  padding-left: 18px;
}

li{
  margin: 7px 0;
  color: var(--text);
}

/* ---------- Buttons ---------- */

.btn,
button,
input[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  color: #020617;
  font-weight: 800;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(59,130,246,.45);
}

.btn:active,
button:active,
input[type="submit"]:active{
  transform: translateY(0);
  opacity: .92;
}

.btn.secondary{
  background: rgba(2,6,23,.25);
  color: var(--text);
  border: 1px solid rgba(96,165,250,.22);
  box-shadow: none;
}

.btn.secondary:hover{
  border-color: rgba(96,165,250,.45);
  box-shadow: none;
}

/* ---------- Inputs / Forms ---------- */

form{
  margin: 0;
}

label{
  display:block;
  margin: 10px 0 6px;
  color: #cbd5f5;
  font-size: 13px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
select,
textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(96,165,250,.15);
  background: rgba(2,6,23,.6);
  color: var(--text);
  font-size: 14px;
}

textarea{
  min-height: 110px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder{
  color: #64748b;
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(96,165,250,.35);
}

/* ---------- Tables (if you add later) ---------- */

table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
}

th, td{
  text-align:left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

th{
  color:#cbd5f5;
  background: rgba(2,6,23,.45);
}

/* ---------- Watch / Video ---------- */

video{
  width:100%;
  border-radius: 14px;
  background: #000;
  box-shadow: var(--shadow2), 0 18px 45px rgba(0,0,0,.7);
  border: 1px solid rgba(96,165,250,.20);
}

/* Nice wrapper if you want to add it later */
.player{
  background: rgba(2,6,23,.25);
  border: 1px solid rgba(96,165,250,.12);
  border-radius: var(--radius);
  padding: 14px;
}

/* ---------- “Live” badges ---------- */

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(2,6,23,.35);
}

.badge.live{
  border-color: rgba(239,68,68,.30);
  color: #fecaca;
}

.badge.live::before{
  content:"";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--bad);
  box-shadow: 0 0 0 3px rgba(239,68,68,.18);
}

/* ---------- Footer ---------- */

footer{
  margin-top: 28px;
  padding: 20px 0 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Small screens ---------- */

@media (max-width: 720px){
  h1{ font-size: 28px; }
  nav a{ width: 100%; justify-content:center; }
  .brand{ flex-direction: column; align-items:flex-start; }
}
