:root {
  --bg: #08020e;
  --panel: rgba(29, 8, 48, .86);
  --purple: #aa42ff;
  --pink: #ff37ce;
  --text: #f7efff;
  --muted: #bca9d5;
  --border: rgba(204, 77, 255, .27);
  --green: #53fc18;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 4%, rgba(165, 48, 255, .28), transparent 25rem),
    radial-gradient(circle at 100% 28%, rgba(255, 50, 201, .15), transparent 18rem),
    linear-gradient(155deg, #07020d, #17051f 50%, #08020e);
}

body::before {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 48vh;
  z-index: -1;
  background: url("/images/purple-flame-background.svg") center bottom / cover no-repeat;
  opacity: .32;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  line-height: .94;
  text-transform: uppercase;
}

.m-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  min-height: 68px;
  padding: .68rem .85rem;
  border-bottom: 1px solid rgba(189, 69, 255, .2);
  background: rgba(9, 2, 16, .88);
  backdrop-filter: blur(17px);
}

.m-brand {
  display: flex;
  align-items: center;
  gap: .58rem;
  min-width: 0;
}

.m-brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(239, 126, 255, .46);
  border-radius: 12px;
  background: linear-gradient(140deg, var(--pink), var(--purple), #5622cb);
  color: #fff;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(194, 40, 255, .39);
}

.m-brand strong {
  display: block;
  overflow: hidden;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-brand small {
  display: block;
  margin-top: .15rem;
  color: #9b82b4;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.m-live-link {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  flex: 0 0 auto;
  padding: .55rem .7rem;
  border: 1px solid rgba(83, 252, 24, .29);
  border-radius: 999px;
  color: var(--green);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.pulse-dot {
  display: inline-block;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 11px rgba(83, 252, 24, .75);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  50% { opacity: .48; transform: scale(.82); }
}

.m-page {
  display: grid;
  gap: 1rem;
  padding: 1rem .78rem 5.6rem;
}

.m-hero {
  padding-top: .45rem;
}

.m-eyebrow {
  display: flex;
  align-items: center;
  gap: .52rem;
  margin-bottom: .76rem;
  color: #e9adff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.m-title {
  display: flex;
  flex-direction: column;
  gap: .08rem;
  margin-bottom: .9rem;
  font-size: clamp(4.3rem, 24vw, 6.9rem);
  letter-spacing: .055em;
  text-shadow: 0 15px 42px rgba(96, 17, 156, .48);
}

.m-title span {
  padding-right: .08em;
}

.m-title .gradient {
  color: transparent;
  background: linear-gradient(100deg, #ed61ff, #ad45ff 48%, #ff3dcc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.m-description {
  margin-bottom: 1.08rem;
  font-size: .94rem;
}

.m-hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .58rem;
  margin-bottom: 1rem;
}

.m-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .72rem;
  border-radius: .72rem;
  font-size: .83rem;
  font-weight: 800;
}

.m-button.primary {
  border: 1px solid rgba(242, 119, 255, .46);
  background: linear-gradient(110deg, #7826e8, #cf36ff 55%, #ff36ca);
}

.m-button.secondary {
  border: 1px solid var(--border);
  background: rgba(108, 25, 171, .14);
}

.m-stream-card {
  padding: .7rem;
  border: 1px solid rgba(224, 86, 255, .47);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 50% 48%, rgba(170, 42, 255, .2), transparent 50%),
    linear-gradient(145deg, rgba(35, 8, 60, .96), rgba(13, 4, 25, .98));
  box-shadow: 0 22px 54px rgba(26, 2, 48, .65);
}

.m-stream-top,
.m-stream-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .55rem;
}

.m-stream-top {
  margin-bottom: .55rem;
}

.m-chip {
  padding: .39rem .54rem;
  border: 1px solid rgba(200, 79, 255, .25);
  border-radius: 999px;
  color: #dac6f3;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.m-chip.live {
  display: inline-flex;
  align-items: center;
  gap: .34rem;
  color: #dfffd5;
  border-color: rgba(83, 252, 24, .26);
}

.m-stream-preview {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: .78rem;
  background:
    radial-gradient(circle at 50% 52%, rgba(207, 54, 255, .33), transparent 50%),
    linear-gradient(155deg, rgba(43, 10, 74, .72), rgba(11, 3, 23, .84));
}

.m-stream-logo {
  width: min(102%, 500px);
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(ellipse 67% 67% at 50% 52%, #000 0%, #000 64%, rgba(0,0,0,.75) 80%, transparent 91%);
  mask-image: radial-gradient(ellipse 67% 67% at 50% 52%, #000 0%, #000 64%, rgba(0,0,0,.75) 80%, transparent 91%);
  filter: drop-shadow(0 14px 30px rgba(182, 30, 255, .46));
}

.m-player {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #05020c;
}

.m-player[hidden],
.m-on-air[hidden] {
  display: none;
}

.m-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.m-on-air {
  position: absolute;
  z-index: 5;
  top: .55rem;
  left: .55rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .34rem .53rem;
  border-radius: 999px;
  background: rgba(233, 26, 64, .95);
  color: #fff;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.m-on-air span {
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #fff;
}

.m-stream-bottom {
  margin-top: .62rem;
  padding: 0 .1rem .05rem;
}

.m-stream-bottom strong {
  display: block;
  font-size: .79rem;
}

.m-stream-bottom small {
  display: block;
  margin-top: .18rem;
  color: #947cae;
  font-size: .64rem;
}

.m-stream-bottom a {
  padding: .53rem .72rem;
  border-radius: .58rem;
  background: linear-gradient(110deg, #872cff, #d23cff);
  font-size: .68rem;
  font-weight: 800;
}

.m-panel {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(211, 48, 255, .14), transparent 38%),
    var(--panel);
}

.m-section-heading {
  margin-bottom: .9rem;
}

.m-section-heading .m-eyebrow {
  margin-bottom: .45rem;
}

.m-section-heading h2 {
  margin-bottom: .48rem;
  font-size: clamp(2rem, 12vw, 2.75rem);
}

.m-schedule-list {
  display: grid;
  gap: .58rem;
  margin-bottom: .78rem;
}

.m-schedule-item {
  padding: .76rem;
  border: 1px solid rgba(190, 72, 255, .22);
  border-radius: .72rem;
  background: rgba(55, 12, 88, .38);
}

.m-schedule-item.featured {
  border-color: rgba(219, 84, 255, .4);
}

.m-schedule-item small {
  display: block;
  margin-bottom: .26rem;
  color: #e092ff;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.m-schedule-item strong {
  display: block;
  margin-bottom: .23rem;
  font-size: .88rem;
}

.m-schedule-item p {
  font-size: .72rem;
}

.m-event {
  padding: .85rem;
  border: 1px solid rgba(208, 78, 255, .31);
  border-radius: .82rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 55, 207, .16), transparent 45%),
    rgba(54, 12, 86, .4);
}

.m-event-badge {
  display: inline-flex;
  margin-bottom: .55rem;
  padding: .28rem .48rem;
  border-radius: 999px;
  background: rgba(163, 35, 225, .2);
  color: #edaeff;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.m-event-badge.live {
  background: rgba(232, 27, 62, .2);
  color: #ffd8df;
}

.m-event h3 {
  margin-bottom: .35rem;
  font-size: 1.62rem;
}

.m-event p {
  margin-bottom: .68rem;
  font-size: .73rem;
}

.m-event a {
  color: #eeccff;
  font-size: .7rem;
  font-weight: 800;
}

.m-social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .56rem;
}

.m-social {
  display: flex;
  flex-direction: column;
  gap: .27rem;
  min-height: 101px;
  padding: .68rem;
  border: 1px solid rgba(185, 70, 255, .23);
  border-radius: .72rem;
  background: rgba(53, 13, 83, .34);
}

.m-social[hidden] {
  display: none;
}

.m-social small {
  color: #b092c7;
  font-size: .53rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.m-social strong {
  margin-top: .18rem;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.5rem;
}

.m-social span {
  margin-top: auto;
  color: #d99eff;
  font-size: .64rem;
  font-weight: 700;
}

.m-social.kick {
  border-color: rgba(83, 252, 24, .34);
  background: rgba(45, 63, 30, .3);
}

.m-social.kick strong,
.m-social.kick span {
  color: var(--green);
}

.m-social.discord {
  border-color: rgba(129, 144, 255, .34);
}

.m-tool-grid {
  display: grid;
  gap: .56rem;
}

.m-tool-grid a {
  display: flex;
  flex-direction: column;
  gap: .22rem;
  padding: .75rem .8rem;
  border: 1px solid rgba(190, 74, 255, .21);
  border-radius: .72rem;
  background: rgba(51, 12, 82, .34);
}

.m-tool-grid strong {
  color: #f8efff;
  font-size: .87rem;
}

.m-tool-grid span {
  color: #b59acb;
  font-size: .71rem;
}

.m-bottom-nav {
  position: fixed;
  z-index: 25;
  left: .62rem;
  right: .62rem;
  bottom: max(.58rem, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .18rem;
  padding: .38rem;
  border: 1px solid rgba(210, 80, 255, .29);
  border-radius: 1rem;
  background: rgba(12, 3, 22, .93);
  box-shadow: 0 17px 44px rgba(0,0,0,.46);
  backdrop-filter: blur(18px);
}

.m-bottom-nav a {
  padding: .63rem .2rem;
  border-radius: .65rem;
  color: #c5acd9;
  font-size: .61rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.m-bottom-nav a:active {
  background: rgba(147, 37, 227, .28);
  color: #fff;
}

.m-footer {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  align-items: center;
  padding: .85rem .7rem 5.5rem;
  color: #bea4d4;
}

.m-footer strong {
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.m-footer span {
  font-size: .65rem;
}

@media (min-width: 540px) {
  .m-page {
    max-width: 540px;
    margin: 0 auto;
  }
}


/* ===== MOBILE HIGHLIGHTS NAV LINK 20260603 ===== */

.m-bottom-nav {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.m-bottom-nav a {
  font-size: 0.56rem;
  padding-left: 0.08rem;
  padding-right: 0.08rem;
}

/* ===== MOBILE HIGHLIGHTS NAV LINK END ===== */

/* ===== MOBILE NUTTABUDDY FEATURE SPOTLIGHT 20260603 ===== */

.m-nuttabuddy {
  border-color: rgba(226, 91, 255, .42);
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 56, 206, .16), transparent 34%),
    radial-gradient(circle at 10% 95%, rgba(126, 39, 232, .17), transparent 42%),
    var(--panel);
}

.m-bot-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .56rem;
  margin-bottom: .9rem;
}

.m-bot-feature-grid article {
  display: flex;
  flex-direction: column;
  gap: .34rem;
  min-height: 112px;
  padding: .7rem;
  border: 1px solid rgba(205, 78, 255, .25);
  border-radius: .72rem;
  background: rgba(56, 13, 87, .42);
}

.m-bot-feature-grid strong {
  color: #f8efff;
  font-size: .83rem;
}

.m-bot-feature-grid span {
  color: #bca9d5;
  font-size: .68rem;
  line-height: 1.48;
}

.m-bot-feature-grid b {
  color: #edb9ff;
  font-weight: 800;
}

.m-bot-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .56rem;
}

.m-bot-actions .m-button {
  font-size: .74rem;
  text-align: center;
}

@media (max-width: 370px) {
  .m-bot-feature-grid,
  .m-bot-actions {
    grid-template-columns: 1fr;
  }
}

/* ===== MOBILE NUTTABUDDY FEATURE SPOTLIGHT END ===== */
/* ===== MOBILE NEWEST PUBLIC MEMBERS 20260603 ===== */

.m-newest-members {
  padding: .82rem;
  border-color: rgba(202, 80, 255, .25);
  background: rgba(29, 8, 48, .7);
}

.m-newest-members-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .65rem;
  margin-bottom: .65rem;
}

.m-newest-members-head .m-eyebrow {
  margin-bottom: .24rem;
}

.m-newest-members-head h2 {
  font-size: 1.6rem;
}

.m-newest-members-head > a {
  padding: .38rem .62rem;
  border: 1px solid rgba(215, 89, 255, .32);
  border-radius: 999px;
  color: #ecc3ff;
  font-size: .65rem;
  font-weight: 800;
}

.m-newest-members-list {
  display: flex;
  gap: .42rem;
  overflow-x: auto;
  padding-bottom: .05rem;
  scrollbar-width: thin;
}

.m-newest-members-list > p {
  color: #987eae;
  font-size: .69rem;
}

.m-new-member-chip {
  display: flex;
  flex: 0 0 102px;
  flex-direction: column;
  gap: .1rem;
  padding: .47rem .54rem;
  border: 1px solid rgba(192, 77, 255, .22);
  border-radius: .62rem;
  background: rgba(67, 17, 105, .36);
}

.m-new-member-chip strong,
.m-new-member-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.m-new-member-chip strong {
  color: #f5eaff;
  font-size: .72rem;
}

.m-new-member-chip span {
  color: #cc9ae9;
  font-size: .6rem;
}

/* ===== MOBILE NEWEST PUBLIC MEMBERS END ===== */