/* Haze Fan Hub (unofficial Hazeykthx fan site) · Potter Service, Nov 2026
   Look: "Arcane Haze" = violet mist over BC mountains at night, with an arcane cyan glow. */
:root {
  --night: #0a0918;
  --night-2: #120f2a;
  --panel: rgba(28, 22, 64, .62);
  --panel-solid: #1a1540;
  --line: rgba(167, 139, 250, .22);
  --line-strong: rgba(167, 139, 250, .45);
  --text: #eeeaff;
  --muted: #b3acd6;
  --violet: #a78bfa;
  --violet-deep: #7c3aed;
  --arcane: #5eead4;
  --frost: #7dd3fc;
  --ember: #fbbf24;
  --live: #ff4d6d;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(5, 3, 20, .55);
  --head: 'Chakra Petch', 'Segoe UI', sans-serif;
  --body: 'Manrope', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); font: 16px/1.65 var(--body);
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(124, 58, 237, .28), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(94, 234, 212, .10), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%) fixed;
  min-height: 100vh;
}
a { color: var(--arcane); }
a:hover { color: #99f6e4; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--arcane); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* starfield behind everything */
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 28% 62%, #cfc6ff, transparent),
    radial-gradient(1.2px 1.2px at 47% 12%, #fff, transparent), radial-gradient(1px 1px at 63% 40%, #a5f3fc, transparent),
    radial-gradient(1.4px 1.4px at 78% 22%, #fff, transparent), radial-gradient(1px 1px at 89% 70%, #cfc6ff, transparent),
    radial-gradient(1px 1px at 7% 84%, #fff, transparent), radial-gradient(1.3px 1.3px at 38% 88%, #a5f3fc, transparent),
    radial-gradient(1px 1px at 55% 75%, #fff, transparent), radial-gradient(1.2px 1.2px at 95% 8%, #fff, transparent);
  animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .45; } to { opacity: .85; } }

/* top bar */
.notice { background: rgba(124, 58, 237, .18); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; padding: 6px 16px; }
.topbar { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); background: rgba(10, 9, 24, .72); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 700 20px var(--head); letter-spacing: .02em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.brand small { display: block; font: 600 11px var(--body); color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: -4px; }
nav.main { display: flex; gap: 4px; margin-left: auto; }
nav.main a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; }
nav.main a:hover { color: var(--text); background: rgba(167, 139, 250, .12); }
nav.main a[aria-current="page"] { color: var(--text); background: rgba(167, 139, 250, .2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.live-pill { display: inline-flex; align-items: center; gap: 7px; font: 700 12.5px var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; white-space: nowrap; }
.live-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #6b6590; }
.live-pill.is-live { color: #fff; border-color: rgba(255, 77, 109, .6); background: rgba(255, 77, 109, .16); }
.live-pill.is-live .dot { background: var(--live); box-shadow: 0 0 0 0 rgba(255, 77, 109, .7); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, .7); } 70% { box-shadow: 0 0 0 10px rgba(255, 77, 109, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); } }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; padding: 7px 12px; font: 700 14px var(--body); cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font: 700 15px var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #12052e; background: linear-gradient(135deg, var(--violet), var(--arcane)); box-shadow: 0 10px 30px rgba(124, 58, 237, .4); }
.btn.primary:hover { color: #12052e; box-shadow: 0 14px 36px rgba(94, 234, 212, .35); }
.btn.ghost { color: var(--text); border-color: var(--line-strong); background: rgba(167, 139, 250, .08); }
.btn.ghost:hover { color: var(--text); background: rgba(167, 139, 250, .18); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art svg { width: 100%; height: 100%; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 86px 0 110px; }
.kicker { font: 700 13px var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--arcane); }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 14px; }
h1 { font-size: clamp(42px, 6.5vw, 76px); letter-spacing: -.01em; }
h1 .glow { background: linear-gradient(90deg, #fff, var(--violet) 45%, var(--arcane)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 0 26px; }

/* cards */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.section { padding: 70px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head p { margin: 0; color: var(--muted); max-width: 560px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }

/* live status card */
.status-card { position: relative; overflow: hidden; }
.status-card::before { content: ''; position: absolute; inset: -40% -20% auto auto; width: 260px; height: 260px; background: radial-gradient(circle, rgba(124, 58, 237, .45), transparent 70%); pointer-events: none; }
.status-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--line-strong); background: linear-gradient(135deg, var(--violet-deep), var(--arcane)); flex: none; object-fit: cover; }
.is-live .avatar, .avatar.live { border-color: var(--live); }
.status-word { font: 700 26px var(--head); }
.status-word.live { color: #ff8fa3; }
.status-title { font-weight: 700; font-size: 17px; margin: 0 0 6px; word-break: break-word; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: rgba(167, 139, 250, .12); border: 1px solid var(--line); color: var(--text); }
.updated { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.skeleton { display: inline-block; min-width: 120px; height: 1em; border-radius: 6px; background: linear-gradient(90deg, rgba(167,139,250,.12), rgba(167,139,250,.28), rgba(167,139,250,.12)); background-size: 200% 100%; animation: shimmer 1.4s infinite; vertical-align: middle; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* stats */
.stat { text-align: left; }
.stat b { display: block; font: 700 34px var(--head); background: linear-gradient(90deg, #fff, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* player */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: #05040d; box-shadow: var(--shadow); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .load { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; background: radial-gradient(circle at 50% 40%, rgba(124, 58, 237, .35), transparent 65%); }
.player .load button { font-size: 17px; }

/* lists */
.vod { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.vod:first-child { border-top: 0; }
.vod .n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(94, 234, 212, .12); color: var(--arcane); font: 700 15px var(--head); }
.vod a { color: var(--text); font-weight: 700; text-decoration: none; }
.vod a:hover { color: var(--arcane); }
.tile { display: block; text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); border-color: var(--line-strong); color: var(--text); }
.tile .ico { font-size: 30px; margin-bottom: 8px; }
.tile p { color: var(--muted); margin: 0; }

/* page banner (inner pages) */
.banner { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.banner .wrap { padding: 64px 0 56px; }
.banner .hero-art { opacity: .85; }

/* footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 38px 0 50px; color: var(--muted); font-size: 14px; background: rgba(5, 4, 15, .5); }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer h4 { font: 700 14px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin: 0 0 10px; }
footer a { color: var(--muted); text-decoration: none; display: block; padding: 3px 0; }
footer a:hover { color: var(--arcane); }
footer .ps { margin-top: 12px; }
footer .ps a { display: inline; color: var(--violet); font-weight: 700; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 56px 0 70px; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: 1fr 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  .menu-btn { display: inline-block; }
  nav.main { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 10px 16px 16px; background: rgba(10, 9, 24, .97); border-bottom: 1px solid var(--line); margin: 0; }
  nav.main.open { display: flex; }
  .topbar .wrap { gap: 12px; }
  .topbar .live-pill { order: 2; }
}
@media (max-width: 620px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .brand small { display: none; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

/* fan zone */
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-opt { font: 700 15px var(--body); color: var(--text); background: rgba(167, 139, 250, .1); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px; cursor: pointer; text-align: left; transition: background .15s; }
.quiz-opt:hover:not(:disabled) { background: rgba(167, 139, 250, .22); }
.quiz-opt.right { background: rgba(94, 234, 212, .22); border-color: var(--arcane); }
.quiz-opt.wrong { background: rgba(255, 77, 109, .2); border-color: var(--live); }
.quiz-msg { min-height: 1.6em; font-weight: 700; margin: 12px 0 0; }
.bingo { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.bingo .sq { aspect-ratio: 1; font: 700 11.5px/1.25 var(--body); color: var(--text); background: rgba(167, 139, 250, .08); border: 1px solid var(--line); border-radius: 10px; padding: 5px; cursor: pointer; overflow: hidden; transition: background .15s, transform .15s; }
.bingo .sq:hover { transform: scale(1.03); }
.bingo .sq.on { background: linear-gradient(135deg, rgba(124, 58, 237, .6), rgba(94, 234, 212, .45)); border-color: var(--arcane); }
.bingo.won { animation: glow 1s ease-in-out 3; }
@keyframes glow { 50% { filter: drop-shadow(0 0 18px rgba(94, 234, 212, .8)); } }
.bingo-msg { min-height: 1.6em; font: 700 18px var(--head); color: var(--arcane); margin: 10px 0 0; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: t; position: relative; }
.timeline .card { position: relative; padding-top: 44px; }
.timeline .card::before { counter-increment: t; content: counter(t); position: absolute; top: 14px; left: 24px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--head); color: #12052e; background: linear-gradient(135deg, var(--violet), var(--arcane)); }
.timeline .card p { margin: 6px 0 0; font-size: 14.5px; }
code { font-family: Consolas, monospace; background: rgba(94, 234, 212, .12); color: var(--arcane); padding: 1px 6px; border-radius: 6px; }
@media (max-width: 960px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .bingo .sq { font-size: 9.5px; padding: 3px; } .quiz-opts { grid-template-columns: 1fr; } }
