/* Brand Tokens */

:root {
  --obsidian: #1E1E1E;
  --elevate: #161616;
  --aqua: #00D9FF;
  --purple: #9D4EDD;
  --rose: #FF4D6D;
  --text: #E8E8E8;
  --muted: #CCCCCC;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

html, body {
  background: var(--obsidian);
}

.text-body {
  color: var(--text);
}

/* Reusable Gradients */

.gradient-bg {
  background-image: linear-gradient(135deg,var(--aqua),var(--purple),var(--rose));
}

.gradient-text {
  background-image: linear-gradient(135deg,var(--aqua),var(--purple),var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}

.btn-gradient {
  background-image: linear-gradient(135deg,var(--aqua),var(--purple));
  border: 0;
  color: #fff !important;
  border-radius: 999px;
  padding: .6rem 1rem;
  box-shadow: var(--shadow);
}

.btn-gradient:hover {
  opacity: .95;
}

.btn-outline-gradient {
  border: 2px solid transparent;
  border-radius: 999px;
  color: #fff !important;
  position: relative;
  padding: .55rem 1rem;
}

.btn-outline-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  background-image: linear-gradient(135deg,var(--aqua),var(--rose));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.link-gradient {
  color: #fff;
  text-decoration: none;
}

.link-gradient:hover {
  opacity: .85;
}

/* Surfaces */

.bg-obsidian {
  background: var(--obsidian);
}

.bg-elevate {
  background: var(--elevate);
}

.card-glow {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-pad {
  padding: 64px 0;
}

@media (max-width: 576px) {
  .section-pad {
    padding: 44px 0;
  }
}

/* Announcement bar */

.gradient-bar {
  background-image: linear-gradient(90deg, var(--aqua), var(--purple), var(--rose));
  color: #fff;
}

/* Logo mark (triangle in circle) */

.logo-mark {
  width: 24px;
  height: 24px;
  display: inline-block;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(255,255,255,.2), transparent 70%), linear-gradient(135deg,var(--aqua),var(--purple),var(--rose));
  -webkit-mask: radial-gradient(circle at center, #000 68%, transparent 69%), linear-gradient(#000 0 0);
  mask: radial-gradient(circle at center, #000 68%, transparent 69%), linear-gradient(#000 0 0);
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid #0000;
  background: linear-gradient(135deg,var(--aqua),var(--rose));
  -webkit-mask: conic-gradient(from 0deg at 50% 78%, #0000 0 60deg, #000 0) top/100% 60% no-repeat, radial-gradient(closest-side, #000 90%, #0000 92%) center/90% 90% no-repeat;
  mask: conic-gradient(from 0deg at 50% 78%, #0000 0 60deg, #000 0) top/100% 60% no-repeat, radial-gradient(closest-side, #000 90%, #0000 92%) center/90% 90% no-repeat;
  border-radius: 50%;
}

/* Hero background flares */

.bg-hero {
  background: radial-gradient(60rem 30rem at 10% -10%, rgba(0,217,255,.20), transparent 60%), radial-gradient(60rem 30rem at 90% 10%, rgba(157,78,221,.18), transparent 60%), radial-gradient(50rem 25rem at 40% 100%, rgba(255,77,109,.14), transparent 60%);
}

/* Profile photo (circular, no distortion) */

.profile-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  border: 6px solid transparent;
  background: linear-gradient(var(--obsidian),var(--obsidian)) padding-box, linear-gradient(135deg,var(--aqua),var(--rose)) border-box;
}

.profile-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Chips */

.chip {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.08);
}

.chip:hover {
  background: rgba(255,255,255,.1);
}

/* Readability helpers */

.hero-lead {
  color: #f5f7fa;
  text-shadow: 0 2px 8px rgba(0,0,0,.55);
  max-width: 56ch;
}

.readable {
  color: #ECECEC;
}

.readable-strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* Live Status Pill */

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  font-size: .95rem;
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, background .25s ease;
}

.live-pill .status-text {
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  font-size: .85rem;
  color: #bbb;
}

#live-status[data-status="live"] .status-text {
  color: #31d67b;
}

.status-dot {
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
  background: #888;
}

#live-status[data-status="live"] .status-dot {
  background: #31d67b;
  box-shadow: 0 0 8px #31d67b;
}

/* LIVE pulse & glow */

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(49,214,123,.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(49,214,123,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(49,214,123,0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#live-status[data-status="live"] {
  background: linear-gradient(135deg, rgba(0,217,255,.15), rgba(157,78,221,.15), rgba(255,77,109,.15));
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite, livePulse 2.2s ease-out infinite;
  border-color: rgba(255,255,255,.2);
}

/* Links inside live pill */

.live-pill a {
  font-size: .85rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  transition: background .2s ease, transform .15s ease, color .2s ease;
  color: #fff;
}

.live-pill a:hover {
  background: linear-gradient(135deg,var(--aqua),var(--purple),var(--rose));
  color: #fff !important;
  transform: translateY(-1px);
}

.live-pill .sep {
  color: var(--muted);
  margin: 0 .25rem;
}

/* "Open" pill buttons in card headers */

.btn-embed {
  display: inline-block;
  font-size: .775rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  transition: background .2s ease, transform .15s ease, color .2s ease;
}

.btn-embed:hover {
  background: linear-gradient(135deg,var(--aqua),var(--purple),var(--rose));
  color: #fff;
  transform: translateY(-1px);
}

/* Bullets */

.bullet {
  width: .6rem;
  height: .6rem;
  border-radius: 999px;
  display: inline-block;
}

.gradient-bullet {
  background-image: linear-gradient(135deg,var(--aqua),var(--purple));
}

/* Chat */

.chatbox {
  background: rgba(0,0,0,.25);
  max-height: 320px;
  overflow: auto;
}

.chat-msg {
  padding: .35rem .55rem;
  border-radius: 10px;
  margin-bottom: .35rem;
  background: rgba(255,255,255,.05);
}

.chat-msg .handle {
  color: #b7e7ff;
  font-family: "JetBrains Mono",monospace;
}

/* Footer */

footer .link-muted {
  color: var(--muted);
  text-decoration: none;
}

footer .link-muted:hover {
  color: #ddd;
}

/* Typography */

.font-mono {
  font-family: "JetBrains Mono", monospace;
}

h1, h2, h3, .navbar-brand {
  font-family: "Lexend",system-ui,sans-serif;
}

body, .btn, .chip, .live-pill, .card, .nav-link, p, li {
  font-family: "Poppins", system-ui, sans-serif;
}

.navbar-brand {
  letter-spacing: .5px;
}

/* Section titles: pure white + gradient underline for clarity */

.section-title {
  color: #FFF !important;
  text-shadow: 0 2px 4px rgba(0,0,0,.6);
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60%;
  height: 3px;
  border-radius: 2px;
  background-image: linear-gradient(90deg, var(--aqua), var(--purple), var(--rose));
}

/* Cards */

.card-header {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.card-header span {
  color: #fff;
}

/* Utilities */

.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.text-muted {
  color: var(--muted)!important;
}

/* Chat */

.chatbox {
  background: rgba(0,0,0,.35);
  max-height: 320px;
  overflow: auto;
  font-size: .95rem;
  line-height: 1.4;
}

.chat-msg {
  padding: .45rem .65rem;
  border-radius: 10px;
  margin-bottom: .45rem;
  background: rgba(255,255,255,.08);
  color: #f1f1f1;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

.chat-msg .handle {
  color: var(--aqua);
  font-weight: 600;
  font-family: "JetBrains Mono", monospace;
  margin-right: .3rem;
}

.chat-msg:nth-child(odd) {
  background: rgba(255,255,255,.12);
}

/* Ensure emojis or any .emoji span inside gradient-text stay visible */

/* Gradient text */

.gradient-text {
  background-image: linear-gradient(135deg, var(--aqua), var(--purple), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}

/* Emoji fix — always show native color */

.emoji {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: initial !important;
  text-shadow: none !important;
}

/* SoundCloud embed rounding */

.sc-embed {
  border-radius: var(--radius);
  overflow: hidden;
}

.sc-embed iframe {
  display: block;
  border: none;
}

