@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800&family=Inter:wght@400;600;700&display=swap');

:root {
  --ink: #090706;
  --deep: #120b08;
  --wood: #24130d;
  --red: #7b1515;
  --red2: #a41e1e;
  --gold: #d6a83d;
  --gold2: #f0cf72;
  --cream: #f6ead0;
  --muted: #c9bca6;
  --line: rgba(214,168,61,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(164,30,30,.28), transparent 32rem),
    repeating-linear-gradient(90deg, rgba(255,255,255,.015) 0 1px, transparent 1px 58px),
    linear-gradient(180deg, #160c08, var(--ink) 55%, #050404);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(0,0,0,.18) 8px);
}

main {
  width: min(760px, calc(100% - 28px));
  margin: auto;
  padding: 54px 0 34px;
  position: relative;
  z-index: 1;
}

.hero { text-align: center; padding: 20px 8px 36px; }

.emblem {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  font-size: 44px;
  color: var(--gold2);
  background: radial-gradient(circle, #45120f, #160b08 70%);
  box-shadow: 0 0 0 7px rgba(214,168,61,.08), 0 16px 45px #000;
}

.eyebrow, .kicker {
  margin: 0 0 8px;
  color: var(--gold2);
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 800;
}

h1, h2, footer strong {
  font-family: Cinzel, Georgia, serif;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 12vw, 5.7rem);
  line-height: .95;
  letter-spacing: .035em;
  color: #fff5df;
  text-shadow: 0 3px 0 #5e1212, 0 9px 30px #000;
}

.tagline {
  color: var(--gold2);
  font-family: Cinzel, Georgia, serif;
  font-weight: 700;
  margin: 15px 0 0;
}

.intro {
  color: var(--muted);
  max-width: 560px;
  margin: 14px auto 0;
  line-height: 1.65;
}

.panel {
  position: relative;
  overflow: hidden;
  margin: 18px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(123,21,21,.16), transparent 45%),
    rgba(20,13,10,.91);
  box-shadow: 0 18px 55px rgba(0,0,0,.3);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(214,168,61,.08);
  border-radius: 14px;
  pointer-events: none;
}

h2 { margin: 0 0 18px; font-size: clamp(1.45rem, 6vw, 2rem); }

.links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.button {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(214,168,61,.48);
  border-radius: 13px;
  color: #fff8e8;
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(135,27,24,.92), rgba(74,14,13,.95));
  transition: transform .15s ease, border-color .15s ease, filter .15s ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--gold2);
  filter: brightness(1.12);
}

.button span { color: var(--gold2); font-size: 1.1rem; }

.discord p:not(.kicker) { color: var(--muted); line-height: 1.6; }
.primary { margin-top: 18px; background: linear-gradient(180deg, var(--red2), #68110f); }

.game-grid { display: grid; gap: 10px; }
.game-grid article {
  display: grid;
  gap: 5px;
  padding: 17px;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,.035);
}
.game-grid span { color: var(--muted); font-size: .9rem; }

footer {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 35px 10px 10px;
  color: var(--muted);
  text-align: center;
}
footer strong { color: var(--gold2); letter-spacing: .12em; }
footer small { margin-top: 9px; opacity: .65; }

@media (max-width: 520px) {
  main { padding-top: 28px; }
  .panel { padding: 23px 18px; }
  .links { grid-template-columns: 1fr; }
  .button { min-height: 62px; }
}

/* ================================
   LIVE STREAM STATUS
   ================================ */

.stream-status {
  position: relative;
  overflow: hidden;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 16px;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(255,255,255,.04);
}

.status-label {
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--muted);
}

.stream-status h2 {
  margin-bottom: 10px;
}

.stream-status .stream-game {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.stream-button {
  width: 100%;
}

/* Future LIVE state */
.stream-status.is-live {
  border-color: var(--red2);
  box-shadow:
    0 0 25px rgba(164, 30, 30, .18),
    inset 0 0 30px rgba(164, 30, 30, .05);
}

.stream-status.is-live .status-dot {
  background: #e84b4b;
  box-shadow: 0 0 12px rgba(232, 75, 75, .8);
  animation: livePulse 1.5s infinite;
}

.stream-status.is-live .status-label {
  color: #ff7777;
}

@keyframes livePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.35);
    opacity: .65;
  }
}
