/* Disney Streamer Network — disneystreamernetwork.com
   Brand: DSN Red #D62110 · DSN Gold #FCD116 · DSN Navy #051448 */

:root {
  --navy: #051448;
  --navy-deep: #030b2e;
  --navy-card: #0a1f5c;
  --red: #d62110;
  --red-dark: #a81808;
  --gold: #fcd116;
  --white: #ffffff;
  --muted: #a9b4d8;
  --border: rgba(252, 209, 22, 0.14);
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
header.site {
  background: rgba(3, 11, 46, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
}
header.site .wrap {
  display: flex; align-items: center; gap: 14px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 44px; width: auto; }
.brand .name { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.5px; line-height: 1.2; }
.brand .name small { display: block; font-weight: 400; color: var(--muted); font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; }

nav.main { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  color: var(--white); font-weight: 600; font-size: 0.92rem;
  padding: 8px 14px; border-radius: 999px;
}
nav.main a:hover { background: rgba(255,255,255,0.08); text-decoration: none; }
nav.main a.active { background: var(--red); color: #fff; }
nav.main a.cta { background: var(--gold); color: var(--navy-deep); }
nav.main a.cta:hover { background: #ffe066; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 60%, #7a0f04 100%);
  padding: 64px 0 56px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero img.logo { max-width: 340px; width: 70%; height: auto; margin-bottom: 18px; }
.hero h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 10px; }
.hero p.lede { font-size: 1.15rem; color: #ffe9d6; max-width: 640px; margin: 0 auto 26px; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; font-weight: 700; font-size: 1rem;
  padding: 13px 28px; border-radius: 999px; border: 2px solid transparent;
  transition: transform 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-outline { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-red { background: var(--red); color: #fff; }

/* ---------- Sections ---------- */
section.block { padding: 52px 0; }
section.block h2 {
  font-size: 1.7rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.3px;
}
section.block h2 .kicker {
  display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
section.block .sub { color: var(--muted); margin-bottom: 26px; max-width: 680px; }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
a.card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--gold); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card h3 .emoji { margin-right: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card .go { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--gold); font-size: 0.92rem; }

/* ---------- Live strip ---------- */
.live-strip {
  background: var(--navy);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.live-strip .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.live-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(214,33,16,0.7); animation: pulse 1.6s infinite; flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214,33,16,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(214,33,16,0); }
  100% { box-shadow: 0 0 0 0 rgba(214,33,16,0); }
}
.live-strip strong { font-size: 1.05rem; }
.live-strip span { color: var(--muted); }
.live-strip .btn { margin-left: auto; padding: 10px 22px; font-size: 0.92rem; }

/* ---------- Members ---------- */
.member-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.member-card {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; text-align: center;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.member-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.member-card .avatar {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  margin: 0 auto; border: 3px solid var(--gold); background: var(--navy);
}
.member-card .avatar-fallback {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto;
  border: 3px solid var(--gold); background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800;
}
.member-card h3 { font-size: 1.05rem; }
.member-card .meta {
  color: var(--gold); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.member-card .bio {
  color: var(--muted); font-size: 0.88rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.member-card .yt {
  display: inline-block; background: var(--red); color: #fff; font-weight: 700;
  font-size: 0.88rem; padding: 9px 20px; border-radius: 999px; margin-top: 4px;
}
.member-card .yt:hover { background: var(--red-dark); text-decoration: none; }
.member-card .live-badge {
  display: inline-block; background: var(--red); color: #fff; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 1.5px; padding: 3px 10px; border-radius: 999px; text-transform: uppercase;
}
.search-row { margin-bottom: 24px; }
.search-row input {
  width: 100%; max-width: 420px; padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--navy); color: #fff; font-size: 1rem;
}
.search-row input::placeholder { color: var(--muted); }
.search-row input:focus { outline: none; border-color: var(--gold); }

/* ---------- News ---------- */
.news-post {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 18px;
}
.news-post .date {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.news-post h3 { font-size: 1.3rem; margin-bottom: 10px; }
.news-post p { color: var(--muted); }
.news-post p + p { margin-top: 10px; }

/* ---------- How-to ---------- */
.howto-step {
  background: var(--navy-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 16px;
  display: flex; gap: 18px; align-items: flex-start;
}
.howto-step .num {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.howto-step h3 { margin-bottom: 6px; }
.howto-step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 36px 0; margin-top: 20px; color: var(--muted); font-size: 0.88rem;
}
footer.site .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.site .fine { flex: 1; min-width: 240px; }
footer.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer.site nav a { color: var(--muted); }
footer.site .socials {
  width: 100%; display: flex; gap: 6px 16px; flex-wrap: wrap; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--border); margin-top: 6px;
}
footer.site .socials span {
  font-weight: 700; color: var(--gold); font-size: 0.76rem;
  letter-spacing: 1.5px; text-transform: uppercase; margin-right: 4px;
}
footer.site .socials a { color: var(--muted); font-size: 0.86rem; }

/* ---------- Redirect page ---------- */
.redirect-box { text-align: center; padding: 100px 20px; }
.redirect-box h1 { font-size: 1.8rem; margin-bottom: 12px; }
.redirect-box p { color: var(--muted); margin-bottom: 24px; }
.spinner {
  width: 44px; height: 44px; margin: 0 auto 24px;
  border: 4px solid rgba(255,255,255,0.15); border-top-color: var(--gold);
  border-radius: 50%; animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  nav.main { width: 100%; }
  .live-strip .btn { margin-left: 0; }
}
