/* IF YOU ARE READING THIS IT'S A BIT OF A MESS SORRY ABOUT THAT LOL*/

/*  NAVBAR LOGO IMAGE  */
.brand-logo-img {
  height: 40px; /* adjust for your logo size */
  width: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-logo-img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0f;
  --panel: #13131a;
  --text: #e6e6eb;
  --muted: #9ea3b0;
  --brand: #9146ff;
  --border: #252634;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial;
}

.shell {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  background: rgba(19, 19, 26, 0.7);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-logo {
  width: 28px;
  height: 28px;
}

.links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgb(145 70 255 / 10%);
}

.btn.ghost {
  background: transparent;
}

.content {
  padding: 16px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  max-width: 1200px;
  margin-inline: auto;
}

.mt-16 {
  margin-top: 16px;
}

.mb-10 {
  margin-bottom: 10px;
}

.frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

#twitch-embed {
  position: absolute;
  inset: 0;
}

#offlineCover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.h2 {
  font-size: 1.2rem;
  margin: 0;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.menu-toggle:focus {
  outline: 2px solid var(--brand);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(19, 19, 26, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .links.open {
    display: flex;
  }

  .nav {
    position: sticky;
  }
}

@media (max-width: 640px) {
  .btn {
    padding: 8px 10px;
    font-size: 0.95rem;
  }

  .content {
    padding: 12px;
  }

  .card {
    padding: 10px;
    border-radius: 14px;
  }
}

/* SPONSORS */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 800px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.support-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  border: 1px solid var(--border);
  background: #0f0f15;
  border-radius: 12px;
  padding: 10px;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;

  /* ✅ Make the inside content fill the card so we can anchor the buttons */
  align-items: stretch;
}

.support-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgb(145 70 255 / 10%);
}

.support-media {
  display: block;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}

.support-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  transition: transform 0.3s ease; /* ✅ smooth zoom animation */
}

.support-media:hover .support-logo {
  transform: scale(1.08); /* ✅ zoom in slightly on hover */
}

.support-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ✅ pushes button group to the bottom */
  gap: 8px;
}

.support-title {
  margin: 0;
  font-weight: 700;
}

.support-text {
  margin: 0;
  color: var(--muted);
  flex-grow: 1;
}

.support-actions {
  display: flex;
  justify-content: flex-end; /* ✅ align buttons to bottom right */
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto; /* ensures it stays at bottom */
}


/* FOOTER */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0e0e14;
  margin-top: 16px;
}

/* FOOTER — centered + stacked */
.site-footer .footer-inner{
  display: flex;
  flex-direction: column;   /* puts links on their own line */
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.site-footer .url{
  display: inline-block;
  margin: 0 10px;           /* spacing between Rules / Privacy */
}

.site-footer .muted{
  margin: 0;                /* remove default p margin */
}


.muted.mobile-tip {
  display: none; /* hidden by default */
}

@media (max-width: 640px) {
  .muted.mobile-tip {
    display: inline; /* only visible on mobile */
  }
}

/*  SOCIALS PAGE  */
/* Socials avatar (non-breaking addition) */
.social-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 0 12px rgba(145, 70, 255, 0.25);
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .social-avatar {
    width: 100px;
    height: 100px;
  }
}

.socials-page .content.center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: calc(100vh - 160px);
  text-align: center;
}

.social-card {
  max-width: 500px;
  width: 100%;
  display: grid;
  gap: 16px;
  text-align: center;
  justify-items: center;
}

.h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.social-buttons {
  display: grid;
  gap: 12px;
  width: 100%;
}

.btn.social {
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

/* Color accents for each platform */
.btn.social.yt:hover {
  border-color: #ff0000;
  color: #ff0000;
}

.btn.social.fb:hover {
  border-color: #1877f2;
  color: #1877f2;
}

.btn.social.x:hover {
  border-color: #1da1f2;
  color: #1da1f2;
}

.btn.social.ig:hover {
  border-color: #e1306c;
  color: #e1306c;
}

.btn.social.tk:hover {
  border-color: #69c9d0;
  color: #69c9d0;
}

.btn.social.dc:hover {
  border-color: #0314ff;
  color: #4400ff;
}

@media (max-width: 640px) {
  .social-card {
    padding: 16px;
  }

  .h1 {
    font-size: 1.5rem;
  }
}

/*  ACTIVE NAV BUTTON  */
.nav .btn.active {
  border-color: var(--brand);
  box-shadow: 0 0 8px 2px rgba(145, 70, 255, 0.5);
  color: var(--brand);
}

/*  ABOUT PAGE  */
.about-hero {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  box-shadow: 0 0 12px rgba(145, 70, 255, 0.25);
}

.about-headings {
  display: grid;
  gap: 6px;
}

.about-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Unified stacked layout (same width for all cards) */
.about-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.about-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  display: grid;
  gap: 8px;
}

.about-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.about-list li {
  color: var(--muted);
}

@media (max-width: 640px) {
  .about-avatar {
    width: 100px;
    height: 100px;
  }

  .about-card {
    padding: 14px 16px;
    max-width: 95%;
  }
}

/*  404 PAGE  */
.error-page .content.center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: calc(100vh - 160px);
  text-align: center;
}

.error-card {
  max-width: 600px;
  width: 100%;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}

.error-card .h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.error-card .muted {
  font-size: 1rem;
  line-height: 1.5;
}

.error-logo {
  width: 120px;
  height: auto;
  opacity: 0.8;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.error-logo:hover {
  transform: scale(1.05);
  opacity: 1;
}

.error-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .error-card {
    padding: 16px;
    border-radius: 14px;
  }

  .error-card .h1 {
    font-size: 1.6rem;
  }
}

/* === Make every page match the main width (1200px) === */
.content {
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
}

/*  PRIVACY PAGE (sexy edition)  */
.privacy-page {
  --card-pad: 28px;
  --radius: 16px;
}

/* Center the page content nicely */
.privacy-page .content.center {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: start center;
  padding: 24px;
}

/* Hero */
.privacy-hero {
  max-width: 900px;
  width: 100%;
  margin: 8px auto 18px;
  text-align: center;
}

.privacy-hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.privacy-hero h1 {
  margin: 8px 0 6px;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.15;
  background: linear-gradient(92deg, var(--text), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.privacy-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Card */
.privacy-card {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.02)) padding-box, /* subtle glass */
              var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--card-pad);
  display: grid;
  gap: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  overflow: hidden;
}

/* Brand accent bar + soft glow */
.privacy-card::before,
.privacy-card::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand), color-mix(in oklab, var(--brand), transparent 40%));
}
.privacy-card::after {
  filter: blur(12px);
  opacity: .45;
  top: 2px;
}

/* Section headings */
.privacy-card h2 {
  margin: 14px 0 6px;
  font-size: 1.15rem;
  line-height: 1.25;
}
.privacy-card h3 {
  margin: 10px 0 4px;
  font-size: 1.02rem;
  color: var(--text);
}

/* Body copy */
.privacy-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* Lists with neat markers */
.privacy-card ul,
.privacy-card ol {
  margin: 6px 0 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}
.privacy-card li {
  margin: 6px 0;
}
.privacy-card ul li::marker {
  color: var(--brand);
}

/* Inline links */
.privacy-card a {
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in oklab, var(--brand), transparent 40%);
}
.privacy-card a:hover {
  border-bottom-style: solid;
}

/* Subtle dividers */
.privacy-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 10px 0;
}

/* Callouts for key points */
.privacy-callout {
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel), black 8%);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 6px;
}

/* Sticky mini-TOC (optional if you add one) */
.privacy-toc {
  position: sticky;
  top: 16px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--panel), black 6%);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 6px;
}
.privacy-toc a {
  color: var(--muted);
  text-decoration: none;
}
.privacy-toc a:hover { color: var(--text); }

/* Buttons inline with brand */
.privacy-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 4px;
}

/* Mobile polish */
@media (max-width: 640px) {
  .privacy-page .content.center { padding: 16px; }
  .privacy-card { padding: 18px; border-radius: 14px; }
}


/*  RULES PAGE  */
.rules-page .content.center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: calc(100vh - 160px);
  text-align: center;
}

.rules-card {
  max-width: 700px;
  width: 100%;
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}

.rules-list {
  list-style: disc;
  padding-left: 22px;
  margin: 12px 0;
  display: grid;
  gap: 8px;
}

.rules-list li {
  color: var(--muted);
  line-height: 1.5;
}

.rules-card .muted {
  text-align: center;
}

@media (max-width: 640px) {
  .rules-card {
    max-width: 95%;
    padding: 16px;
  }
}

/* Override page-specific narrow cards */
.card,
.about-card,
.social-card,
.error-card {
  max-width: 1200px;
  margin-inline: auto;
}

/*  STREAMING SCHEDULE TABLE  */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.95rem;
}

.schedule-table th,
.schedule-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.schedule-table th {
  background: var(--brand);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr:hover td {
  background: #1d1d25;
}

@media (max-width: 600px) {
  .schedule-table th,
  .schedule-table td {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}



/* Sexy purple glow */

/* Nav subtle depth */
.nav {
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}

/* Buttons + toggles: brand focus glow  */
.btn:focus-visible,
.menu-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgb(145 70 255 / 20%), 0 0 24px rgb(145 70 255 / 20%);
  border-color: var(--brand);
}

/* Base cards: soft shadow + brand accent bar */
.card,
.about-card,
.social-card,
.error-card,
.rules-card {
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  overflow: hidden;
}

.card::before,
.about-card::before,
.social-card::before,
.error-card::before,
.rules-card::before,
.card::after,
.about-card::after,
.social-card::after,
.error-card::after,
.rules-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 3px;
  top: 0;
  background: linear-gradient(90deg, var(--brand), color-mix(in oklab, var(--brand), transparent 40%));
}

.card::after,
.about-card::after,
.social-card::after,
.error-card::after,
.rules-card::after {
  filter: blur(12px);
  opacity: .45;
  top: 2px;
}

/* Support cards: baseline depth */
.support-card {
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* Avatars: extra soft glow */
.social-avatar,
.about-avatar {
  box-shadow: 0 0 12px rgba(145, 70, 255, 0.25), 0 0 36px rgba(145, 70, 255, 0.12);
}

/* Error logo: subtle hover glow (keeps your scale effect) */
.error-logo:hover {
  filter: drop-shadow(0 0 16px rgba(145,70,255,.35));
}

/* Schedule table: quiet elevation */
.schedule-table {
  box-shadow: 0 10px 24px rgba(0,0,0,.30);
}
.schedule-table th {
  text-shadow: 0 0 10px rgba(0,0,0,.35);
}

/* Brand focus rings for buttons in grouped actions */
.support-actions .btn:focus-visible,
.error-actions .btn:focus-visible,
.about-actions .btn:focus-visible,
.privacy-actions .btn:focus-visible,
.links .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgb(145 70 255 / 20%), 0 0 24px rgb(145 70 255 / 18%);
  border-color: var(--brand);
}

/* Brand logo: gentle hover glow */
.brand-logo-img:hover {
  filter: drop-shadow(0 0 12px rgba(145,70,255,.35));
}
