:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #121212;
  --surface-2: #181818;
  --surface-3: #242424;
  --line: rgba(255, 255, 255, .08);
  --text: #fff;
  --muted: #b3b3b3;
  --muted-2: #777;
  --green: #1db954;
  --green-soft: rgba(29, 185, 84, .18);
  --danger: #ff5c5c;
}

.section-intro,
.feature-grid,
.home-stats,
.plus-strip,
.plus-feature-grid,
.plus-comparison,
.plus-final-cta,
.site-footer,
.legal-layout {
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

.motion-paused,
.motion-paused *,
.motion-paused::before,
.motion-paused::after,
.motion-paused *::before,
.motion-paused *::after,
.motion-suspended *,
.motion-suspended::before,
.motion-suspended::after,
.motion-suspended *::before,
.motion-suspended *::after {
  animation-play-state: paused !important;
}

@keyframes labelFocus {
  50% { transform: translateX(3px); }
}

@keyframes menuBounce {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes optionSlide {
  to { transform: translateX(4px); }
}

@keyframes linePulse {
  50% { opacity: .72; }
}

@keyframes statTileBreathe {
  50% { border-color: rgba(29, 185, 84, .2); background-color: rgba(29, 185, 84, .045); }
}

@keyframes switchKnob {
  50% { box-shadow: 0 0 14px rgba(255, 255, 255, .55); }
}

@keyframes accountPlusDance {
  50% { transform: rotate(-13deg) scale(1.18); box-shadow: 0 8px 23px rgba(168, 85, 247, .7); }
}

@keyframes avatarBreathe {
  50% { transform: scale(1.035); opacity: .94; }
}

@keyframes badgeHover {
  50% { transform: translateY(-2px); opacity: .88; }
}

@keyframes tinyFloat {
  50% { transform: translateY(-3px) rotate(-1deg); }
}

@keyframes pointerSpark {
  from { transform: translate3d(var(--spark-left), var(--spark-top), 0) scale(1); opacity: 1; }
  to { transform: translate3d(calc(var(--spark-left) + var(--spark-x)), calc(var(--spark-top) + var(--spark-y)), 0) scale(0); opacity: 0; }
}

.trend-line {
  animation-name: lineDraw, linePulse;
  animation-duration: 1.2s, 3.6s;
  animation-timing-function: ease, ease-in-out;
  animation-fill-mode: forwards;
  animation-iteration-count: 1, infinite;
}

.trend-line.leaves {
  animation-delay: .12s, -1.8s;
}

.chart-totals span,
.guild-card-meta span,
.guild-list-summary span {
  animation: statTileBreathe 4.4s ease-in-out infinite;
}

.chart-totals span:nth-child(2),
.guild-card-meta span:nth-child(2n),
.guild-list-summary span:nth-child(2) {
  animation-delay: -2.2s;
}

.guild-card-glow {
  position: absolute;
  right: -100px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(29, 185, 84, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(29, 185, 84, .025), 0 0 0 95px rgba(29, 185, 84, .018);
  pointer-events: none;
  animation: glowBreathe 7s ease-in-out infinite;
}

.guild-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--muted);
  background: rgba(0, 0, 0, .28);
  font-size: .72rem;
  font-weight: 900;
  transition: transform .3s ease, box-shadow .3s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-7deg) scale(1.07);
  box-shadow: 0 0 32px rgba(29, 185, 84, .3);
}

.guild-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #777;
}

.guild-status.online {
  color: #c8ffda;
}

.guild-status.online::before {
  background: var(--green);
  box-shadow: 0 0 12px rgba(29, 185, 84, .65);
}

.guild-card-copy h3 {
  overflow: hidden;
  margin-top: 7px;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  letter-spacing: -.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guild-card-copy p {
  overflow: hidden;
  max-width: 650px;
  line-height: 1.5;
  white-space: normal;
}

.guild-feature-tags,
.guild-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guild-feature-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
  font-size: .74rem;
  font-weight: 850;
  transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
}

.guild-feature-tags span:hover {
  border-color: rgba(29, 185, 84, .28);
  color: #c9ffda;
  background: rgba(29, 185, 84, .08);
  transform: translateY(-3px);
}

.guild-card-insights {
  display: grid;
  place-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 26px;
  padding: 18px;
  background: rgba(0, 0, 0, .22);
  backdrop-filter: blur(15px);
}

.guild-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
}

.guild-orbit i {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(29, 185, 84, .28);
  border-radius: 50%;
  animation: orbitSpin 7s linear infinite;
}

.guild-orbit i::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #48eb7d;
  box-shadow: 0 0 18px rgba(29, 185, 84, .8);
}

.guild-orbit i:nth-child(2) {
  inset: 24px;
  border-color: rgba(192, 132, 252, .28);
  animation-duration: 5s;
  animation-direction: reverse;
}

.guild-orbit i:nth-child(2)::after {
  background: #c084fc;
  box-shadow: 0 0 18px rgba(168, 85, 247, .8);
}

.guild-orbit i:nth-child(3) {
  inset: 37px;
  border-style: dashed;
  animation-duration: 10s;
}

.guild-orbit i:nth-child(3)::after {
  display: none;
}

.guild-orbit b {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: #051208;
  background: linear-gradient(135deg, #52ed84, #119f42);
  box-shadow: 0 12px 32px rgba(29, 185, 84, .25);
  font-size: 1.35rem;
}

.guild-card-meta span {
  flex: 1 1 calc(50% - 5px);
  min-width: 100px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 12px;
  background: rgba(0, 0, 0, .2);
}

.guild-card-meta small,
.guild-list-summary small {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 800;
}

.guild-card-meta strong {
  display: block;
  margin-top: 5px;
  font-size: .92rem;
}

.guild-action {
  align-self: flex-start;
  min-width: 225px;
  justify-content: space-between;
  width: auto;
}

.guild-action b {
  font-size: 1.05rem;
  transition: transform .2s ease;
}

.guild-action:hover b {
  transform: translate(3px, -3px);
}

.guild-list-head {
  justify-content: space-between;
  gap: 24px;
}

.guild-list-head > div:first-child {
  max-width: 760px;
}

.guild-list-summary {
  gap: 10px;
  flex: 0 0 auto;
}

.guild-list-summary span {
  min-width: 126px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 15px;
  background: rgba(18, 18, 18, .82);
}

.guild-list-summary strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.65rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 22% -10%, rgba(29, 185, 84, .28), transparent 26rem),
    linear-gradient(180deg, #1b1b1b 0, #000 34rem);
  background-size: 120% 120%;
  animation: pageDrift 16s ease-in-out infinite alternate;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .12;
  pointer-events: none;
}

body::before {
  top: 8%;
  left: -20%;
  background: var(--green);
  animation: ambientFloat 15s ease-in-out infinite;
}

body::after {
  right: -22%;
  bottom: -8%;
  background: #8b5cf6;
  animation: ambientFloat 18s ease-in-out -6s infinite reverse;
}

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

code {
  padding: .18rem .42rem;
  border-radius: .45rem;
  background: #222;
  color: #9cffbd;
}

.shell {
  position: relative;
  isolation: isolate;
  width: min(1440px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0 40px;
}

.shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .72) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(139, 92, 246, .5) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(29, 185, 84, .42) 0 1px, transparent 1.4px);
  background-position: 18px 24px, 92px 118px, 154px 52px;
  background-size: 190px 190px, 270px 270px, 340px 340px;
  opacity: .32;
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 70px;
  margin-bottom: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .26), inset 0 1px rgba(255, 255, 255, .03);
  animation: topbarPulse 7s ease-in-out infinite;
}

.brand,
.nav-links,
.actions,
.server-chip,
.guild-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark,
.guild-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green), #0c7d35);
  color: #031108;
  font-weight: 900;
}

.brand-mark {
  object-fit: cover;
  box-shadow: 0 0 24px rgba(29, 185, 84, .18);
}

.brand small,
.server-chip small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
}

.nav-links a:hover {
  background: var(--surface-3);
  color: var(--text);
}

.account-menu {
  position: relative;
}

.account-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px 9px 6px 6px;
  color: var(--text);
  background: #171717;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.account-trigger:hover,
.account-menu.is-open .account-trigger {
  border-color: rgba(168, 85, 247, .42);
  background: #222;
  transform: translateY(-1px);
}

.account-avatar-wrap {
  position: relative;
  flex: 0 0 auto;
}

.account-avatar-wrap img {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
}

.account-plus-mark {
  position: absolute;
  top: -8px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 2px solid #171717;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #c084fc);
  box-shadow: 0 6px 16px rgba(168, 85, 247, .45);
  font-size: .9rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  transform: rotate(14deg);
}

.account-copy {
  display: grid;
  min-width: 0;
  text-align: left;
}

.account-copy strong {
  max-width: 150px;
  overflow: hidden;
  font-size: .86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-copy small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 800;
}

.account-copy small:first-letter {
  text-transform: uppercase;
}

.account-chevron {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.account-menu.is-open .account-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

.account-dropdown {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 210px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 7px;
  background: rgba(22, 22, 22, .98);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scale(.98);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease;
}

.account-menu.is-open .account-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.account-dropdown a {
  border-radius: 12px;
  padding: 11px 12px;
}

.account-dropdown .account-logout {
  margin-top: 4px;
  border-top: 1px solid var(--line);
  color: #ff9191;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: stretch;
  padding: 70px 0 32px;
}

.hero h1,
.page-head h1,
.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 5.4rem);
  letter-spacing: -.06em;
  line-height: .92;
}

.hero p,
.page-head p,
.dashboard-hero p,
.system-head p,
.guild-card p {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 900;
  font-size: .74rem;
}

.hero-card,
.guild-card,
.notice,
.system-card,
.savebar,
.side-rail,
.dashboard-hero {
  border: 1px solid var(--line);
  background: rgba(18, 18, 18, .88);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.hero-card {
  border-radius: 28px;
  padding: 28px;
}

.hero-card strong {
  display: block;
  font-size: 5rem;
  line-height: 1;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: #06130b;
  background: var(--green);
  cursor: pointer;
  font-weight: 900;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}

.button:hover,
button.button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.button.ghost {
  border: 1px solid var(--line);
  background: #1f1f1f;
  color: var(--text);
}

.button.danger {
  border: 1px solid rgba(255, 92, 92, .32);
  background: rgba(255, 92, 92, .14);
  color: #ffd1d1;
}

.button.compact {
  min-height: 36px;
  padding: 0 13px;
  font-size: .84rem;
}

.button.small {
  min-height: 36px;
  padding: 0 14px;
  margin-left: auto;
}

.button.full {
  width: 100%;
}

.page-head {
  padding: 54px 0 26px;
}

.page-head > *,
.dashboard-hero > *,
.legal-head > * {
  animation: softEnter .65s ease both;
}

.page-head > *:nth-child(2),
.dashboard-hero > *:nth-child(2),
.legal-head > *:nth-child(2) {
  animation-delay: .08s;
}

.page-head > *:nth-child(3),
.legal-head > *:nth-child(3) {
  animation-delay: .16s;
}

.page-head h1,
.dashboard-hero h1 {
  background: linear-gradient(90deg, #fff 0%, #fff 42%, #80f7aa 54%, #fff 66%, #fff 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: headingShine 8s ease-in-out infinite;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 20px;
  background: rgba(18, 18, 18, .86);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .24);
}

.feature-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--green);
  font-weight: 900;
}

.feature-card h3 {
  margin: 0 0 8px;
}

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

.plus-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, .22), transparent 24rem),
    rgba(18, 18, 18, .88);
}

.plus-strip h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -.04em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding: 28px 6px 8px;
  color: var(--muted);
}

.footer-brand {
  display: grid;
  gap: 5px;
}

.footer-brand strong {
  color: var(--text);
  font-size: .96rem;
}

.footer-brand span {
  font-size: .88rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: .88rem;
  font-weight: 800;
}

.footer-links a {
  color: var(--muted);
  transition: color .16s ease;
}

.footer-links a:hover {
  color: var(--green);
}

.legal-page {
  padding: 42px 0 10px;
}

.legal-head {
  max-width: 850px;
  margin-bottom: 28px;
}

.legal-head h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.legal-head p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.legal-head small {
  color: var(--muted-2);
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.legal-summary,
.legal-content {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(18, 18, 18, .88);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.legal-summary {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

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

.legal-content {
  padding: 12px 24px;
}

.legal-content section {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.profile-page {
  display: grid;
  gap: 18px;
  padding: 38px 0 10px;
}

.profile-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: clamp(26px, 6vw, 70px);
  background:
    radial-gradient(circle at 82% 20%, rgba(29, 185, 84, .18), transparent 25rem),
    linear-gradient(145deg, rgba(28, 28, 28, .98), rgba(8, 8, 8, .98));
  box-shadow: 0 38px 110px rgba(0, 0, 0, .4);
}

.profile-hero.has-plus {
  background:
    radial-gradient(circle at 82% 20%, rgba(168, 85, 247, .3), transparent 26rem),
    linear-gradient(145deg, #21142c, #09070b 65%);
}

.profile-identity {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-avatar {
  position: relative;
  flex: 0 0 auto;
}

.profile-avatar img {
  display: block;
  width: clamp(110px, 15vw, 170px);
  height: clamp(110px, 15vw, 170px);
  border: 3px solid rgba(255, 255, 255, .1);
  border-radius: 38%;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  animation: avatarBreathe 4s ease-in-out infinite;
}

.profile-avatar b {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 4px solid #17101e;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #c084fc);
  box-shadow: 0 12px 32px rgba(168, 85, 247, .5);
  font-size: 1.6rem;
  transform: rotate(14deg);
  animation: accountPlusDance 2.8s ease-in-out infinite;
}

.profile-identity h1 {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: -.07em;
}

.profile-identity > div > span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.profile-membership {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  padding: 24px;
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.profile-membership > span {
  color: var(--green);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.has-plus .profile-membership > span {
  color: #d5a8ff;
}

.profile-membership strong {
  font-size: 1.75rem;
  letter-spacing: -.04em;
}

.profile-membership small {
  margin-bottom: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.profile-orbit {
  position: absolute;
  right: 4%;
  bottom: -65%;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(29, 185, 84, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(29, 185, 84, .02), 0 0 0 140px rgba(29, 185, 84, .012);
  animation: slowSpin 24s linear infinite;
}

.profile-orbit i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px rgba(29, 185, 84, .8);
}

.profile-orbit i:nth-child(1) { top: 4%; left: 48%; }
.profile-orbit i:nth-child(2) { top: 50%; right: -6px; background: #c084fc; }
.profile-orbit i:nth-child(3) { bottom: 8%; left: 18%; }

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.profile-badges {
  display: grid;
  gap: 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
  background:
    radial-gradient(circle at 88% 10%, rgba(168, 85, 247, .19), transparent 20rem),
    radial-gradient(circle at 12% 120%, rgba(29, 185, 84, .1), transparent 17rem),
    linear-gradient(145deg, #171717, #121212);
}

.profile-badges::after {
  position: absolute;
  top: -52px;
  right: -38px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(192, 132, 252, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(168, 85, 247, .025), 0 0 0 60px rgba(168, 85, 247, .015);
  content: "";
  pointer-events: none;
}

.profile-badges-head {
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.profile-badges-head > div > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.profile-badges-head > strong {
  flex: none;
  border: 1px solid rgba(192, 132, 252, .24);
  border-radius: 999px;
  padding: 8px 12px;
  color: #ead5ff;
  background: rgba(168, 85, 247, .09);
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.profile-badges h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: -.05em;
}

.profile-badge-list {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.profile-badge-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 78px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 19px;
  padding: 12px 42px 12px 12px;
  background: rgba(255, 255, 255, .025);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.profile-badge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 132, 252, .35);
  background: rgba(168, 85, 247, .075);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.profile-badge-card > i {
  position: absolute;
  top: 13px;
  right: 14px;
  color: rgba(255, 255, 255, .16);
  font-style: normal;
  transition: color .2s ease, transform .2s ease;
}

.profile-badge-card:hover > i {
  color: #c084fc;
  transform: rotate(18deg) scale(1.15);
}

.profile-badge-card.is-owner {
  border-color: rgba(250, 204, 21, .18);
  background: linear-gradient(135deg, rgba(250, 204, 21, .08), rgba(255, 255, 255, .02));
}

.profile-badge-card.is-plus {
  border-color: rgba(192, 132, 252, .21);
  background: linear-gradient(135deg, rgba(168, 85, 247, .11), rgba(255, 255, 255, .02));
}

.profile-badge-icon {
  display: grid;
  flex: none;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: rgba(0, 0, 0, .2);
  font-size: 1.65rem;
}

.profile-badge-card.is-owner .profile-badge-icon {
  border-color: rgba(250, 204, 21, .22);
  background: rgba(250, 204, 21, .08);
}

.profile-badge-card.is-plus .profile-badge-icon {
  border-color: rgba(192, 132, 252, .27);
  background: rgba(168, 85, 247, .12);
}

.discord-custom-emoji {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.badge-unicode {
  line-height: 1;
}

.profile-badge-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.profile-badge-copy strong {
  overflow: hidden;
  color: #f6f3f8;
  font-size: .94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-badge-copy small,
.profile-badge-empty small {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 750;
}

.profile-badge-empty {
  display: flex;
  align-items: center;
  gap: 13px;
  grid-column: 1 / -1;
  border: 1px dashed rgba(255, 255, 255, .1);
  border-radius: 19px;
  padding: 18px;
  color: var(--muted);
}

.profile-badge-empty > span {
  color: #c084fc;
  font-size: 1.8rem;
}

.profile-badge-empty > div {
  display: grid;
  gap: 4px;
}

.profile-badge-empty strong {
  color: var(--text);
}

.profile-stat-grid article {
  position: relative;
  overflow: hidden;
  min-height: 165px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, .12), transparent 14rem),
    #181818;
}

.profile-stat-grid span,
.profile-stat-grid small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.profile-stat-grid strong {
  display: block;
  margin: 22px 0 8px;
  font-size: 2rem;
  letter-spacing: -.05em;
  animation: metricGlow 3.8s ease-in-out infinite;
}

.guild-grid {
  display: grid;
  gap: 18px;
}

.guild-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 26px;
  overflow: hidden;
  min-height: 330px;
  border-radius: 32px;
  padding: 28px;
  background:
    radial-gradient(circle at 90% 15%, rgba(29, 185, 84, .2), transparent 23rem),
    linear-gradient(115deg, rgba(29, 185, 84, .08), transparent 36%),
    linear-gradient(145deg, rgba(30, 30, 30, .96), rgba(13, 13, 13, .98));
}

.guild-card::before,
.guild-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.guild-card::before {
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 0 5px 5px 0;
  background: var(--green);
  box-shadow: 0 0 18px rgba(29, 185, 84, .35);
}

.guild-card::after {
  top: -60%;
  left: -35%;
  width: 28%;
  height: 230%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .055), transparent);
  animation: cardSheen 8s ease-in-out infinite;
}

.guild-card.muted {
  opacity: .72;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .045), transparent 28%),
    linear-gradient(145deg, rgba(28, 28, 28, .95), rgba(12, 12, 12, .98));
}

.guild-card.muted::before {
  background: #777;
  box-shadow: none;
}

.guild-card h3,
.system-head h2 {
  margin: 0;
}

.guild-card p,
.system-head p {
  margin: 4px 0 0;
}

.guild-card-main,
.guild-card-meta,
.guild-list-head,
.guild-list-summary {
  display: flex;
  align-items: center;
}

.guild-card-content,
.guild-card-insights {
  position: relative;
  z-index: 2;
}

.guild-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.guild-card-main {
  gap: 15px;
  min-width: 0;
}

.guild-card .guild-icon {
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  border-radius: 25px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
  animation: iconFloat 5s ease-in-out infinite;
}

.guild-icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.dashboard-board {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
}

.side-rail {
  position: sticky;
  top: 14px;
  height: calc(100vh - 28px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 28px;
  padding: 18px;
}

.server-chip {
  min-height: 68px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, #202020, #151515);
}

.system-nav {
  display: grid;
  gap: 6px;
  overflow: auto;
  padding-right: 4px;
}

.system-nav a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  color: var(--muted);
}

.system-nav a:hover,
.system-nav a.is-on {
  background: var(--surface-3);
  color: var(--text);
}

.system-nav a.is-selected {
  background: var(--green);
  color: #06130b;
}

.system-nav a span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #101010;
}

.system-nav a.is-on span {
  background: var(--green-soft);
  color: var(--green);
}

.system-nav a.is-selected span {
  background: rgba(0, 0, 0, .18);
  color: #06130b;
}

.system-nav small {
  color: var(--muted-2);
  font-weight: 800;
}

.system-nav a.is-selected small {
  color: rgba(6, 19, 11, .72);
}

.dashboard-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 22px;
  align-items: end;
  border-radius: 32px;
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, .24), transparent 24rem),
    linear-gradient(135deg, #242424, #121212);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-metrics div {
  min-height: 92px;
  border-radius: 20px;
  padding: 14px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line);
}

.hero-metrics span {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.hero-metrics strong {
  display: block;
  margin-top: 12px;
  font-size: 1.55rem;
}

.notice {
  border-radius: 20px;
  padding: 16px 18px;
}

.notice.success {
  border-color: rgba(29, 185, 84, .42);
  color: #c9ffd9;
}

.notice.error {
  border-color: rgba(255, 92, 92, .45);
  color: #ffd1d1;
}

.status-toast {
  position: fixed;
  z-index: 1000;
  top: 92px;
  right: max(18px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
  width: min(390px, calc(100vw - 30px));
  overflow: hidden;
  border: 1px solid rgba(29, 185, 84, .35);
  border-radius: 20px;
  padding: 12px;
  color: #eafff0;
  background: rgba(15, 24, 18, .94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .48), 0 0 30px rgba(29, 185, 84, .08);
  backdrop-filter: blur(20px);
  animation: statusToastArrive .55s cubic-bezier(.18, .89, .32, 1.22) both;
}

.status-toast::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform-origin: left;
  animation: statusTimer 5.2s linear both;
}

.status-toast > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  color: #05130a;
  background: var(--green);
  box-shadow: 0 0 24px rgba(29, 185, 84, .32);
  font-size: 1.15rem;
  font-weight: 1000;
  animation: statusIconPop .7s .12s cubic-bezier(.18, .89, .32, 1.5) both;
}

.status-toast.success > span::before { content: "✓"; }
.status-toast.error > span::before { content: "!"; }
.status-toast.is-logout > span::before { content: "↗"; transform: rotate(180deg); }

.status-toast.error {
  border-color: rgba(255, 92, 92, .4);
  color: #ffe8e8;
  background: rgba(30, 16, 17, .95);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .48), 0 0 30px rgba(255, 92, 92, .08);
}

.status-toast.error::after,
.status-toast.error > span {
  background: var(--danger);
}

.status-toast > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.status-toast strong {
  font-size: .9rem;
}

.status-toast small {
  overflow: hidden;
  color: var(--muted);
  font-size: .77rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.status-toast button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
}

.status-toast button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .1);
}

.status-toast.is-leaving {
  animation: statusToastLeave .3s ease-in both;
}

.is-logging-out .shell {
  animation: logoutPage .42s ease-in both;
}

.settings-form {
  display: grid;
  gap: 16px;
}

.system-card {
  position: relative;
  scroll-margin-top: 22px;
  border-radius: 28px;
  padding: 22px;
  background: #181818;
}

.system-card.has-open-select {
  z-index: 80;
  overflow: visible;
}

.system-card[hidden] {
  display: none;
}

.system-card:hover {
  background: #1d1d1d;
}

.plus-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(168, 85, 247, .42);
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, .16), transparent 24rem),
    #18141f;
}

.plus-card:hover {
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, .22), transparent 24rem),
    #1d1728;
}

.plus-card .system-head {
  padding-top: 28px;
}

.plus-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 10px 28px rgba(124, 58, 237, .35);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .02em;
}

.plus-lock {
  margin-bottom: 14px;
  border-color: rgba(168, 85, 247, .38);
  color: #eadcff;
  background: rgba(88, 28, 135, .25);
  box-shadow: none;
}

.plus-card.is-locked .form-grid {
  position: relative;
  filter: saturate(.35);
}

.plus-card.is-locked .form-grid::after {
  content: "Plus üyelik gerekli";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(192, 132, 252, .28);
  border-radius: 18px;
  color: #e9d5ff;
  background: rgba(20, 12, 28, .38);
  backdrop-filter: blur(1.5px);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .02em;
  pointer-events: none;
}

.plus-card.is-locked input,
.plus-card.is-locked textarea,
.plus-card.is-locked .custom-select-trigger {
  cursor: not-allowed;
}

.overview-section {
  display: grid;
  gap: 16px;
}

.overview-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.overview-stat-grid article,
.overview-chart-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(29, 185, 84, .11), transparent 12rem),
    #181818;
}

.overview-stat-grid article {
  position: relative;
  overflow: hidden;
  min-height: 142px;
  padding: 19px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.overview-stat-grid article::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 92px;
  height: 92px;
  border: 18px solid rgba(29, 185, 84, .08);
  border-radius: 50%;
}

.overview-stat-grid article:hover {
  border-color: rgba(29, 185, 84, .28);
  background-color: #1e1e1e;
  transform: translateY(-3px);
}

.overview-stat-grid span,
.chart-head span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.overview-stat-grid strong {
  display: block;
  margin: 17px 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -.06em;
}

.overview-stat-grid small {
  color: var(--muted);
  font-weight: 700;
}

.stat-positive { color: #5ee38b; }
.stat-negative { color: #ff8585; }

.overview-chart-card {
  padding: 22px;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.chart-head strong {
  display: block;
  margin-top: 5px;
  font-size: 1.1rem;
}

.chart-totals {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.chart-totals span {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(29, 185, 84, .2);
  border-radius: 999px;
  padding: 8px 11px;
  color: #bffbd1;
  background: rgba(29, 185, 84, .08);
  text-transform: none;
}

.chart-totals .leave {
  border-color: rgba(168, 85, 247, .22);
  color: #e5c8ff;
  background: rgba(168, 85, 247, .08);
}

.weekly-line-chart {
  position: relative;
  min-height: 245px;
  border-radius: 20px;
  padding: 10px 12px 8px;
  background:
    repeating-linear-gradient(to top, transparent 0, transparent 54px, rgba(255, 255, 255, .05) 55px),
    rgba(0, 0, 0, .2);
  overflow: hidden;
}

.weekly-line-chart svg {
  display: block;
  width: 100%;
  height: 205px;
  overflow: visible;
}

.trend-line,
.line-area {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-area {
  fill: url(#joinArea);
  stroke: none;
}

.trend-line {
  stroke-width: 5;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: lineDraw 1.2s ease forwards;
}

.trend-line.joins {
  stroke: #42e477;
  filter: drop-shadow(0 0 7px rgba(29, 185, 84, .4));
}

.trend-line.leaves {
  stroke: #c084fc;
  filter: drop-shadow(0 0 7px rgba(168, 85, 247, .38));
  animation-delay: .12s;
}

.chart-range {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}

.system-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.system-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid label:has(textarea) {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.embed-preview {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 18px;
  padding: 16px;
  background: #111;
}

.embed-preview strong {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.embed-preview h3 {
  margin: 0 0 8px;
}

.embed-preview p {
  margin: 0;
  color: var(--muted);
  white-space: pre-wrap;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--text);
  background: #2a2a2a;
  outline: none;
}

textarea {
  min-height: 116px;
  padding: 14px;
  resize: vertical;
  line-height: 1.45;
}

input[type="color"] {
  padding: 6px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

input,
textarea,
.custom-select-trigger {
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

input:hover:not(:disabled),
textarea:hover:not(:disabled),
.custom-select-trigger:hover:not(:disabled) {
  border-color: rgba(29, 185, 84, .22);
  background: #303030;
  transform: translateY(-1px);
}

select[multiple] {
  min-height: 136px;
  padding: 10px;
}

.native-select {
  display: none;
}

.custom-select {
  position: relative;
  z-index: 1;
  width: 100%;
}

.custom-select.is-open {
  z-index: 100;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 0 14px;
  color: var(--text);
  background: #2a2a2a;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.custom-select-trigger:hover,
.custom-select.is-open .custom-select-trigger {
  border-color: rgba(29, 185, 84, .55);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.custom-select-value {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.select-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .8;
  transition: transform .16s ease;
}

.custom-select.is-open .select-icon {
  transform: rotate(225deg) translate(-2px, -2px);
}

.custom-select-menu {
  position: absolute;
  z-index: 1000;
  inset: calc(100% + 8px) 0 auto 0;
  display: none;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #202020;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .45);
}

.custom-select.is-open .custom-select-menu {
  display: grid;
  gap: 4px;
}

.custom-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.custom-select-option:hover,
.custom-select-option.is-selected {
  color: var(--text);
  background: var(--surface-3);
}

.option-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 2px solid #555;
  border-radius: 6px;
}

.custom-select-option.is-selected .option-check {
  border-color: var(--green);
  background: var(--green);
}

.custom-select-option.is-selected .option-check::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #06130b;
  border-bottom: 2px solid #06130b;
  transform: rotate(-45deg);
}

.custom-select.is-disabled,
input:disabled,
textarea:disabled {
  opacity: .58;
}

.checkline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 46px;
}

.checkline input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.switch input { display: none; }

.switch span {
  position: relative;
  display: block;
  width: 62px;
  height: 34px;
  border-radius: 999px;
  background: #333;
  border: 1px solid var(--line);
}

.switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--muted);
  transition: .18s ease;
}

.switch input:checked + span {
  background: var(--green);
}

.switch input:checked + span::after {
  transform: translateX(28px);
  background: #fff;
}

.savebar {
  position: sticky;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-radius: 22px;
  padding: 14px;
  background: rgba(18, 18, 18, .9);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(.98);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}

.settings-form.is-dirty .savebar {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.savebar span {
  color: var(--muted);
  font-weight: 800;
}

.savebar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.always-on-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(29, 185, 84, .3);
  border-radius: 999px;
  padding: 0 13px;
  color: #c9ffda;
  background: rgba(29, 185, 84, .1);
  font-size: .78rem;
  font-weight: 900;
}

.unsaved-shake {
  animation: unsavedShake .52s ease both !important;
}

@keyframes unsavedShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(9px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(4px); }
}

@media (max-width: 980px) {
  .dashboard-board,
  .dashboard-hero,
  .hero {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    height: auto;
  }

  .system-nav {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .overview-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guild-card {
    grid-template-columns: 1fr;
  }

  .guild-card-insights {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .profile-hero {
    grid-template-columns: 1fr;
  }

  .profile-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 20px, 1440px); }
  .savebar {
    position: static;
    flex-wrap: wrap;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .savebar-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero-metrics,
  .form-grid,
  .feature-grid,
  .overview-stat-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    margin-left: auto;
  }

  .nav-links.is-authenticated > a {
    display: none;
  }

  .nav-links.is-guest {
    gap: 6px;
  }

  .nav-links.is-guest > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    color: #e9e9e9;
    background: rgba(255, 255, 255, .045);
    font-size: .75rem;
    white-space: nowrap;
  }

  .nav-links.is-guest > .nav-plus {
    border-color: rgba(192, 132, 252, .36);
    color: #ebd5ff;
    background: rgba(168, 85, 247, .16);
  }

  .nav-links.is-guest > .nav-login {
    border-color: rgba(29, 185, 84, .38);
    color: #06130b;
    background: var(--green);
  }

  .account-copy {
    display: none;
  }

  .account-trigger {
    border-radius: 15px;
    padding-right: 6px;
  }

  .chart-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .chart-totals {
    flex-wrap: wrap;
  }

  .weekly-line-chart {
    min-height: 205px;
    padding-inline: 5px;
  }

  .weekly-line-chart svg {
    height: 170px;
  }

  .guild-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .guild-list-summary {
    width: 100%;
  }

  .guild-list-summary span {
    flex: 1;
    min-width: 0;
  }

  .guild-card {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 20px;
  }

  .guild-card-insights {
    grid-template-columns: 1fr;
  }

  .guild-card-meta {
    width: 100%;
  }

  .guild-card-meta span {
    flex: 1;
  }

  .guild-action {
    width: 100%;
  }

  .profile-identity {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-stat-grid {
    grid-template-columns: 1fr;
  }

  .profile-badges-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .plus-strip,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .legal-summary {
    position: static;
  }
}

@media (max-width: 430px) {
  .topbar {
    gap: 7px;
    padding: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand strong {
    font-size: .83rem;
  }

  .brand small {
    display: none;
  }

  .nav-links.is-guest > a {
    min-height: 36px;
    padding: 7px 10px;
    font-size: .7rem;
  }
}

/* Landing experience */
.landing-stage,
.plus-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: clamp(34px, 6vw, 82px);
  background:
    radial-gradient(circle at 82% 18%, rgba(29, 185, 84, .18), transparent 27rem),
    linear-gradient(145deg, rgba(30, 30, 30, .96), rgba(7, 7, 7, .98));
  box-shadow: 0 38px 120px rgba(0, 0, 0, .42);
}

.landing-copy,
.plus-copy {
  position: relative;
  z-index: 3;
}

.landing-copy h1,
.plus-copy h1 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 7.4rem);
  line-height: .88;
  letter-spacing: -.075em;
}

.landing-copy h1 span {
  color: var(--green);
  text-shadow: 0 0 42px rgba(29, 185, 84, .23);
}

.landing-copy > p:not(.eyebrow),
.plus-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.status-pill,
.plus-crown {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 8px 13px;
  color: #d6ffe3;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(14px);
  font-size: .78rem;
  font-weight: 900;
}

.status-pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(29, 185, 84, .55);
  animation: statusPulse 2s infinite;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
  color: var(--muted-2);
  font-size: .78rem;
  font-weight: 900;
}

.hero-notes span::before {
  content: "✓";
  margin-right: 6px;
  color: var(--green);
}

.ambient-orb,
.plus-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .5;
  pointer-events: none;
}

.orb-one {
  top: -90px;
  right: 22%;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(29, 185, 84, .5), transparent 68%);
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-two {
  bottom: -120px;
  left: 30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(111, 45, 189, .4), transparent 68%);
  animation: orbFloat 10s ease-in-out -3s infinite reverse;
}

.dashboard-showcase {
  position: relative;
  z-index: 2;
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  padding: 16px;
  background: rgba(13, 13, 13, .86);
  box-shadow: 30px 42px 100px rgba(0, 0, 0, .48), 0 0 80px rgba(29, 185, 84, .08);
  backdrop-filter: blur(22px);
  animation: showcaseFloat 7s ease-in-out infinite;
}

.showcase-top,
.showcase-layout,
.showcase-content,
.activity-card > div:first-child {
  display: flex;
  align-items: center;
}

.showcase-top {
  gap: 10px;
  padding: 5px 5px 15px;
}

.showcase-top div {
  display: grid;
  gap: 2px;
}

.showcase-top small,
.activity-card small,
.mini-stat small {
  color: var(--muted-2);
}

.showcase-top > i {
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.showcase-logo {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(29, 185, 84, .2);
}

.showcase-layout {
  align-items: stretch;
  gap: 12px;
}

.showcase-nav {
  display: grid;
  align-content: start;
  gap: 7px;
  width: 128px;
  border-radius: 19px;
  padding: 9px;
  background: #171717;
}

.showcase-nav span {
  border-radius: 11px;
  padding: 10px;
  color: var(--muted-2);
  font-size: .72rem;
  font-weight: 900;
}

.showcase-nav span.active {
  color: #06130b;
  background: var(--green);
}

.showcase-content {
  flex: 1;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-stat {
  display: grid;
  gap: 7px;
  flex: 1;
  min-width: 120px;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 15px;
  background: linear-gradient(145deg, #202020, #161616);
}

.mini-stat strong {
  font-size: 1.9rem;
}

.mini-stat b {
  color: var(--green);
  font-size: .7rem;
}

.mini-stat.purple b {
  color: #c69cff;
}

.activity-card {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 15px;
  background: #161616;
}

.activity-card > div:first-child {
  justify-content: space-between;
}

.activity-bars {
  display: flex;
  align-items: end;
  gap: 7px;
  height: 105px;
  margin-top: 14px;
}

.activity-bars i {
  flex: 1;
  height: 35%;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, var(--green), rgba(29, 185, 84, .18));
  animation: barBreathe 2.8s ease-in-out infinite alternate;
}

.activity-bars i:nth-child(2) { height: 58%; animation-delay: -.8s; }
.activity-bars i:nth-child(3) { height: 42%; animation-delay: -1.2s; }
.activity-bars i:nth-child(4) { height: 74%; animation-delay: -.4s; }
.activity-bars i:nth-child(5) { height: 66%; animation-delay: -1.8s; }
.activity-bars i:nth-child(6) { height: 90%; animation-delay: -.9s; }
.activity-bars i:nth-child(7) { height: 78%; animation-delay: -1.5s; }

.marquee {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #111;
  contain: inline-size;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  padding: 15px 0;
  animation: marqueeScroll 66s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.marquee-group span {
  padding: 0 26px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-group i {
  flex-shrink: 0;
  color: var(--green);
  font-style: normal;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr);
  gap: 30px;
  align-items: end;
  padding: 74px 6px 20px;
}

.section-intro h2,
.plus-final-cta h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.section-intro > p {
  color: var(--muted);
  line-height: 1.7;
}

.landing-grid .feature-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

.landing-grid .feature-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 185, 84, .18), transparent 70%);
  transition: transform .4s ease;
}

.landing-grid .feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(29, 185, 84, .38);
  background: #1b1b1b;
}

.landing-grid .feature-card:hover::after {
  transform: scale(1.35);
}

.landing-grid .feature-card.featured {
  background: linear-gradient(145deg, rgba(29, 185, 84, .17), #181818 65%);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 16px;
  color: #06130b;
  background: var(--green);
  box-shadow: 0 14px 30px rgba(29, 185, 84, .18);
  font-size: 1.4rem;
  font-weight: 1000;
  transition: transform .3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-7deg) scale(1.08);
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.home-stats article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  background: #111;
}

.home-stats strong {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -.06em;
}

.home-stats span {
  color: var(--muted);
  font-weight: 800;
}

.plus-cta {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  min-height: 260px;
  padding: clamp(28px, 5vw, 60px);
  background:
    radial-gradient(circle at 78% 30%, rgba(180, 100, 255, .34), transparent 23rem),
    linear-gradient(145deg, #21152d, #111);
}

.plus-cta::after {
  content: "PLUS";
  position: absolute;
  right: 5%;
  bottom: -27%;
  color: rgba(255, 255, 255, .025);
  font-size: clamp(8rem, 20vw, 20rem);
  font-weight: 1000;
  letter-spacing: -.1em;
  pointer-events: none;
}

.plus-cta p:not(.eyebrow) {
  max-width: 650px;
  color: #cdbed7;
}

/* Plus experience */
.plus-stage {
  min-height: 670px;
  background:
    radial-gradient(circle at 75% 20%, rgba(162, 89, 255, .28), transparent 28rem),
    linear-gradient(145deg, #23152e, #09070b 60%);
}

.plus-copy h1 span {
  color: #bd7bff;
  text-shadow: 0 0 42px rgba(170, 100, 255, .3);
}

.plus-crown {
  color: #ead8ff;
  background: rgba(160, 82, 255, .13);
  border-color: rgba(190, 130, 255, .25);
}

.plus-glow {
  top: -15%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(174, 96, 255, .26), transparent 66%);
  animation: glowBreathe 6s ease-in-out infinite;
}

.plus-pass {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 370px;
  transform: rotate(5deg);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 34px;
  padding: 32px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, .12), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(235, 207, 255, .35), transparent 22rem),
    linear-gradient(145deg, #8d43d3, #35124f 66%);
  box-shadow: 30px 46px 100px rgba(0, 0, 0, .5), 0 0 100px rgba(150, 75, 235, .22);
  animation: plusPassFloat 7s ease-in-out infinite;
}

.plus-pass::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 33px;
  pointer-events: none;
}

.plus-pass-shine {
  position: absolute;
  top: -80%;
  left: -50%;
  width: 50%;
  height: 260%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
  animation: passShine 5s ease-in-out infinite;
}

.plus-pass-top,
.plus-pass-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 1000;
  letter-spacing: .12em;
}

.plus-pass-top b {
  border-radius: 999px;
  padding: 7px 10px;
  color: #421864;
  background: #f0d9ff;
  font-size: .7rem;
}

.plus-pass > strong {
  position: relative;
  z-index: 2;
  display: block;
  margin: 88px 0;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.plus-pass-bottom {
  color: #dfc5f2;
  font-size: .72rem;
}

.plus-pass-bottom i {
  font-size: 1.8rem;
  font-style: normal;
}

.plus-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.plus-feature {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border: 1px solid rgba(180, 120, 255, .17);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 42px);
  background:
    radial-gradient(circle at top right, rgba(155, 82, 224, .12), transparent 22rem),
    #151218;
  transition: transform .3s ease, border-color .3s ease;
}

.plus-feature:hover {
  transform: translateY(-7px);
  border-color: rgba(195, 143, 255, .44);
}

.plus-feature.large,
.plus-feature.wide {
  grid-column: 1 / -1;
}

.plus-feature.large {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(330px, 1.2fr);
  min-height: 370px;
}

.plus-feature.wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.plus-feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 38px;
  border: 1px solid rgba(205, 165, 255, .26);
  border-radius: 16px;
  color: #dfbcff;
  background: rgba(165, 90, 235, .12);
  font-size: 1.25rem;
}

.plus-feature > span,
.plus-feature > div > span {
  color: #c995fa;
  font-size: .75rem;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.plus-feature h3 {
  max-width: 700px;
  margin: 12px 0;
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.plus-feature p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.65;
}

.welcome-demo {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 150px;
  transform: rotate(-2deg);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 28px;
  padding: 25px;
  background:
    radial-gradient(circle at right, rgba(157, 82, 229, .38), transparent 15rem),
    linear-gradient(145deg, #28202f, #121014);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  animation: demoFloat 5s ease-in-out infinite;
}

.welcome-demo i {
  width: 72px;
  height: 72px;
  border: 5px solid #aa64e8;
  border-radius: 50%;
  background: linear-gradient(145deg, #5c2a86, #1f102d);
}

.welcome-demo div {
  display: grid;
  gap: 7px;
}

.welcome-demo strong {
  font-size: 1.15rem;
}

.welcome-demo small {
  color: var(--muted);
}

.floating-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  max-width: 430px;
}

.floating-tags b {
  border: 1px solid rgba(200, 155, 255, .2);
  border-radius: 999px;
  padding: 10px 13px;
  color: #ddc4f5;
  background: rgba(160, 90, 225, .08);
  font-size: .75rem;
  animation: tagFloat 4s ease-in-out infinite;
}

.floating-tags b:nth-child(2) { animation-delay: -.8s; }
.floating-tags b:nth-child(3) { animation-delay: -1.5s; }

.plus-comparison {
  display: grid;
  grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin: 74px 0;
}

.plus-comparison h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid rgba(190, 135, 255, .18);
  border-radius: 28px;
  background: #151218;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  border-bottom: 1px solid var(--line);
}

.comparison-row:last-child {
  border-bottom: 0;
}

.comparison-row > * {
  padding: 17px;
}

.comparison-row b {
  text-align: center;
}

.comparison-row.heading {
  color: var(--muted);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.plus-column {
  color: #d5a6ff;
  background: rgba(157, 82, 229, .09);
}

.plus-final-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  min-height: 420px;
  border: 1px solid rgba(190, 135, 255, .18);
  border-radius: 36px;
  padding: clamp(40px, 8vw, 90px) 20px;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(158, 80, 230, .23), transparent 29rem),
    #121014;
}

.plus-final-cta p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.65;
}

.plus-final-symbol {
  position: absolute;
  color: rgba(210, 170, 255, .045);
  font-size: 26rem;
  line-height: 1;
  animation: slowSpin 26s linear infinite;
}

.plus-final-cta > *:not(.plus-final-symbol) {
  position: relative;
  z-index: 2;
}

/* Dashboard micro-interactions */
.dashboard-main > *,
.side-rail,
.guild-card,
.legal-content,
.legal-summary,
.feature-card,
.plus-feature,
.home-stats article {
  animation: softEnter .55s ease both;
}

.dashboard-main > *:nth-child(2) { animation-delay: .06s; }
.dashboard-main > *:nth-child(3) { animation-delay: .12s; }
.guild-card:nth-child(2n),
.feature-card:nth-child(2n),
.plus-feature:nth-child(2n) { animation-delay: .08s; }
.guild-card:nth-child(3n),
.feature-card:nth-child(3n),
.plus-feature:nth-child(3n) { animation-delay: .16s; }

.system-card,
.guild-card,
.hero-metrics div,
.feature-card,
.plus-feature,
.overview-stat-grid article,
.guild-list-summary span,
.comparison-row {
  transition: transform .24s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
}

.system-card:hover,
.guild-card:hover,
.feature-card:hover,
.plus-feature:hover,
.guild-list-summary span:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 185, 84, .25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
}

.guild-card:hover {
  transform: translateY(-5px) scale(1.006);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .5), 0 0 70px rgba(29, 185, 84, .08);
}

.guild-card:hover .guild-icon {
  transform: rotate(-5deg) scale(1.08);
  box-shadow: 0 18px 44px rgba(29, 185, 84, .16);
}

.guild-card:hover .guild-orbit {
  filter: brightness(1.24);
}

.hero-metrics div:hover,
.overview-stat-grid article:hover,
.home-stats article:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(29, 185, 84, .24);
  box-shadow: 0 24px 65px rgba(0, 0, 0, .34);
}

.plus-card:hover {
  border-color: rgba(180, 110, 255, .42);
}

.system-nav a {
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.system-nav a:hover {
  transform: translateX(3px);
}

.system-nav a span,
.showcase-nav span,
.plus-feature-icon {
  transition: transform .24s ease, filter .24s ease;
}

.system-nav a:hover span,
.showcase-nav span:hover,
.plus-feature:hover .plus-feature-icon {
  transform: rotate(-7deg) scale(1.13);
  filter: brightness(1.2);
}

.system-nav a.is-selected {
  animation: selectedGlow 3s ease-in-out infinite;
}

.button {
  position: relative;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
  transition: transform .45s ease;
}

.button:hover::after {
  transform: translateX(110%);
}

.button:active {
  transform: translateY(1px) scale(.98);
}

.site-footer {
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-footer:hover {
  border-color: rgba(29, 185, 84, .16);
  background: rgba(18, 18, 18, .92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .32);
}

@keyframes statusPulse {
  70% { box-shadow: 0 0 0 8px rgba(29, 185, 84, 0); }
  100% { box-shadow: 0 0 0 0 rgba(29, 185, 84, 0); }
}

@keyframes pageDrift {
  to { background-position: 12% 18%; }
}

@keyframes ambientFloat {
  50% { transform: translate3d(18vw, 10vh, 0) scale(1.18); opacity: .2; }
}

@keyframes topbarPulse {
  50% { border-color: rgba(29, 185, 84, .13); box-shadow: 0 20px 70px rgba(0, 0, 0, .34), 0 0 35px rgba(29, 185, 84, .04); }
}

@keyframes headingShine {
  0%, 58% { background-position: 100% 0; }
  82%, 100% { background-position: -20% 0; }
}

@keyframes cardSheen {
  0%, 45% { transform: translateX(-120%) rotate(18deg); opacity: 0; }
  60% { opacity: 1; }
  78%, 100% { transform: translateX(650%) rotate(18deg); opacity: 0; }
}

@keyframes iconFloat {
  50% { transform: translateY(-5px) rotate(2deg); }
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes orbFloat {
  50% { transform: translate3d(25px, 30px, 0) scale(1.12); }
}

@keyframes showcaseFloat {
  50% { transform: perspective(1200px) rotateY(-5deg) rotateX(1deg) translateY(-12px); }
}

@keyframes barBreathe {
  to { filter: brightness(1.25); transform: scaleY(.88); transform-origin: bottom; }
}

@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

@keyframes statusToastArrive {
  from { opacity: 0; transform: translate3d(40px, -12px, 0) scale(.94); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes statusToastLeave {
  to { opacity: 0; transform: translate3d(30px, -8px, 0) scale(.96); }
}

@keyframes statusIconPop {
  from { opacity: 0; transform: rotate(-25deg) scale(.4); }
  to { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes statusTimer {
  to { transform: scaleX(0); }
}

@keyframes logoutPage {
  to { opacity: 0; transform: scale(.985); filter: blur(4px); }
}

@keyframes glowBreathe {
  50% { transform: scale(1.12); opacity: .72; }
}

@keyframes plusPassFloat {
  50% { transform: rotate(2deg) translateY(-13px); }
}

@keyframes passShine {
  0%, 30% { transform: translateX(-80%) rotate(24deg); }
  60%, 100% { transform: translateX(430%) rotate(24deg); }
}

@keyframes demoFloat {
  50% { transform: rotate(1deg) translateY(-8px); }
}

@keyframes tagFloat {
  50% { transform: translateY(-5px); }
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

@keyframes softEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes selectedGlow {
  50% { box-shadow: 0 0 0 4px rgba(29, 185, 84, .1); }
}

@keyframes lineDraw {
  to { stroke-dashoffset: 0; }
}

@media (max-width: 1100px) {
  .landing-stage,
  .plus-stage {
    grid-template-columns: 1fr;
  }

  .dashboard-showcase,
  .plus-pass {
    max-width: 700px;
    transform: none;
  }

  .plus-feature.large {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .landing-stage,
  .plus-stage {
    min-height: auto;
    border-radius: 28px;
    padding: 34px 22px;
  }

  .landing-copy h1,
  .plus-copy h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .dashboard-showcase {
    transform: none;
  }

  .showcase-layout,
  .plus-feature.wide {
    align-items: stretch;
    flex-direction: column;
  }

  .showcase-nav {
    display: none;
  }

  .section-intro,
  .home-stats,
  .plus-feature-grid,
  .plus-comparison {
    grid-template-columns: 1fr;
  }

  .plus-feature.large,
  .plus-feature.wide {
    grid-column: auto;
  }

  .floating-tags {
    justify-content: flex-start;
  }

  .comparison-row {
    grid-template-columns: 1fr 80px 80px;
  }

  .comparison-row > * {
    padding: 13px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* High motion layer */
:root {
  --pointer-x: 50vw;
  --pointer-y: 50vh;
}

.motion-layer {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}

.motion-layer i {
  position: absolute;
  left: var(--x);
  bottom: -20px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(109, 255, 159, .75);
  box-shadow: 0 0 18px rgba(29, 185, 84, .65);
  animation: particleRise var(--duration) linear var(--delay) infinite;
  will-change: transform, opacity;
}

.motion-layer i:nth-child(3n) {
  background: rgba(201, 145, 255, .8);
  box-shadow: 0 0 18px rgba(168, 85, 247, .65);
}

.cursor-glow {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 185, 84, .13), rgba(168, 85, 247, .04) 44%, transparent 70%);
  pointer-events: none;
  transform: translate3d(calc(50vw - 140px), calc(50vh - 140px), 0);
  mix-blend-mode: screen;
  contain: strict;
  will-change: transform;
}

.pointer-spark {
  position: fixed;
  z-index: 2000;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7dffa9;
  box-shadow: 0 0 10px rgba(29, 185, 84, .95);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--spark-left, -20px), var(--spark-top, -20px), 0);
  will-change: transform, opacity;
}

.pointer-spark.is-active {
  animation: pointerSpark .7s ease-out forwards;
}

.topbar::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -1px;
  left: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), #b76cff, transparent);
  background-size: 220% 100%;
  opacity: .65;
  animation: borderRunner 4s linear infinite;
}

.nav-links > a {
  position: relative;
  overflow: hidden;
}

.nav-links > a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 5px;
  left: 50%;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(29, 185, 84, .7);
  transition: right .25s ease, left .25s ease;
}

.nav-links > a:hover::after {
  right: 20%;
  left: 20%;
}

.feature-card,
.plus-feature,
.system-card,
.overview-chart-card,
.comparison-row,
.embed-preview {
  position: relative;
  overflow: hidden;
  contain: layout paint style;
}

.feature-card::after,
.plus-feature::after,
.system-card::after,
.overview-chart-card::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: -2px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0 65%, rgba(29, 185, 84, .52), rgba(180, 100, 255, .45), transparent 88%);
  opacity: .24;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderOrbit 7s linear infinite;
  will-change: transform;
}

.plus-feature::after,
.plus-card::after {
  animation-direction: reverse;
  animation-duration: 5.5s;
}

.side-rail::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  background: radial-gradient(circle at 50% var(--rail-light, 0%), rgba(29, 185, 84, .13), transparent 29%);
  pointer-events: none;
  animation: railScanner 6s ease-in-out infinite;
  will-change: background-position;
}

.system-nav a.is-on span {
  animation: navIconBob 2.8s ease-in-out infinite;
}

.system-nav a:nth-child(2n).is-on span { animation-delay: -.7s; }
.system-nav a:nth-child(3n).is-on span { animation-delay: -1.4s; }

.eyebrow,
.status-pill,
.plus-crown,
.guild-status {
  animation: badgeHover 3.5s ease-in-out infinite;
}

.guild-feature-tags span:nth-child(2n),
.floating-tags b:nth-child(2n),
.hero-notes span:nth-child(2n) {
  animation-delay: -1.2s;
}

.guild-feature-tags span,
.floating-tags b,
.hero-notes span {
  animation: tinyFloat 3.2s ease-in-out infinite;
}

.hero-metrics strong,
.overview-stat-grid strong,
.home-stats strong,
.guild-list-summary strong {
  animation: metricGlow 3.8s ease-in-out infinite;
}

.system-card::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(29, 185, 84, .07);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(29, 185, 84, .02), 0 0 0 58px rgba(29, 185, 84, .013);
  pointer-events: none;
  animation: systemHalo 7s ease-in-out infinite;
  will-change: transform, opacity;
}

.plus-badge {
  animation: plusBadgePulse 2.4s ease-in-out infinite;
}

.switch input:checked + span {
  animation: switchPulse 2.5s ease-in-out infinite;
}

.switch input:checked + span::after {
  animation: switchKnob 2.5s ease-in-out infinite;
}

.account-plus-mark {
  animation: accountPlusDance 2.8s ease-in-out infinite;
}

.account-avatar-wrap img {
  animation: avatarBreathe 4s ease-in-out infinite;
}

.savebar {
  animation: savebarFloat 4.5s ease-in-out infinite;
}

.embed-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .055), transparent 55%);
  transform: translateX(-120%);
  animation: previewSweep 6s ease-in-out infinite;
  pointer-events: none;
}

.weekly-line-chart::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100px;
  width: 100px;
  background: linear-gradient(90deg, transparent, rgba(29, 185, 84, .1), transparent);
  animation: chartScanner 5s linear infinite;
  pointer-events: none;
  will-change: transform;
}

.landing-stage::after,
.plus-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -42%;
  border-radius: 42%;
  background: conic-gradient(from 0deg, transparent, rgba(29, 185, 84, .045), transparent 38%, rgba(174, 96, 255, .065), transparent 70%);
  pointer-events: none;
  animation: stageRotate 22s linear infinite;
  will-change: transform;
}

.plus-stage::after {
  animation-direction: reverse;
  animation-duration: 18s;
}

.landing-stage > *:not(.ambient-orb),
.plus-stage > *:not(.plus-glow) {
  position: relative;
  z-index: 2;
}

.comparison-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30%;
  width: 20%;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, .08), transparent);
  animation: comparisonSweep 8s ease-in-out infinite;
}

.comparison-row:nth-child(2n)::after { animation-delay: -3s; }

label:focus-within {
  color: #c9ffda;
  animation: labelFocus .45s ease;
}

.custom-select.is-open .custom-select-menu {
  animation: menuBounce .28s cubic-bezier(.2, .9, .3, 1.2);
}

.custom-select-option:hover {
  animation: optionSlide .25s ease forwards;
}

.click-ripple {
  position: absolute;
  z-index: 10;
  width: 12px;
  height: 12px;
  margin: -6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  pointer-events: none;
  animation: clickRipple .65s ease-out forwards;
}

.interactive-tilt {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-x: 50%;
  --spot-y: 50%;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform .16s ease, border-color .24s ease, background .24s ease, box-shadow .24s ease;
  will-change: transform;
}

.interactive-tilt:hover {
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-4px);
}

.interactive-tilt::before {
  background-image: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 255, 255, .09), transparent 37%);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px) scale(.985);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .8, .2, 1);
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-footer::before {
  content: "✦";
  position: absolute;
  top: 10px;
  left: 50%;
  color: rgba(29, 185, 84, .35);
  animation: footerStar 5s ease-in-out infinite;
}

/* Site imagery */
.stage-mascot,
.showcase-mascot,
.feature-mascot,
.cta-mascot,
.plus-pass-mascot,
.profile-mascot,
.guild-card-mascot,
.dashboard-hero-mascot,
.footer-mascot {
  user-select: none;
  pointer-events: none;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .42));
}

.stage-mascot {
  position: absolute !important;
  z-index: 6 !important;
  width: clamp(160px, 18vw, 260px);
  opacity: .92;
  animation: mascotFloat 7s ease-in-out infinite;
}

.stage-mascot-home {
  right: clamp(18px, 4vw, 62px);
  bottom: clamp(10px, 3vw, 42px);
}

.stage-mascot-plus {
  right: clamp(18px, 4vw, 56px);
  top: clamp(92px, 12vw, 150px);
  width: clamp(128px, 13vw, 190px);
  transform: rotate(8deg);
  animation-delay: -2.4s;
}

.showcase-mascot {
  position: absolute;
  z-index: 5;
  right: -44px;
  top: -72px;
  width: 138px;
  transform: rotate(7deg);
  animation: mascotFloat 6s ease-in-out -1.2s infinite;
}

.feature-mascot {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  width: 118px;
  opacity: .22;
  transform: rotate(-8deg);
  transition: opacity .28s ease, transform .28s ease, filter .28s ease;
}

.feature-card > :not(.feature-mascot) {
  position: relative;
  z-index: 2;
}

.feature-card:hover .feature-mascot {
  opacity: .48;
  transform: translate(-10px, -10px) rotate(2deg) scale(1.05);
  filter: drop-shadow(0 24px 38px rgba(29, 185, 84, .24));
}

.feature-mascot.is-bright {
  opacity: .34;
}

.cta-mascot {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 8vw, 128px);
  bottom: 6px;
  width: clamp(132px, 16vw, 220px);
  opacity: .54;
  animation: mascotFloat 6.5s ease-in-out infinite;
}

.plus-cta > div,
.plus-cta > .button {
  position: relative;
  z-index: 3;
}

.plus-pass-mascot {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  width: 150px;
  opacity: .34;
  transform: rotate(-9deg);
}

.plus-pass > :not(.plus-pass-mascot) {
  position: relative;
  z-index: 3;
}

.mascot-demo-card {
  align-self: center;
  justify-self: end;
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  width: min(100%, 420px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  padding: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(29, 185, 84, .18), transparent 15rem),
    linear-gradient(145deg, rgba(32, 32, 32, .96), rgba(13, 13, 13, .98));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  animation: demoFloat 5.5s ease-in-out infinite;
}

.mascot-demo-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(29, 185, 84, .22);
  border-radius: 24px;
  pointer-events: none;
}

.mascot-demo-card img {
  width: clamp(150px, 18vw, 220px);
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, .45));
}

.mascot-demo-card strong,
.mascot-demo-card small {
  position: relative;
  z-index: 2;
}

.mascot-demo-card strong {
  margin-top: 8px;
  font-size: 1.15rem;
}

.mascot-demo-card small {
  color: var(--muted);
  font-weight: 800;
}

.profile-hero {
  overflow: hidden;
}

.profile-mascot {
  position: absolute;
  z-index: 1;
  right: clamp(12px, 4vw, 62px);
  bottom: -52px;
  width: clamp(170px, 20vw, 285px);
  opacity: .2;
  animation: mascotFloat 7s ease-in-out infinite;
}

.profile-identity,
.profile-membership {
  position: relative;
  z-index: 2;
}

.guild-card-insights {
  position: relative;
  overflow: hidden;
}

.guild-card-mascot {
  position: absolute;
  z-index: 1;
  right: 10px;
  top: 8px;
  width: 116px;
  opacity: .2;
  transform: rotate(10deg);
  animation: mascotFloat 6.8s ease-in-out infinite;
}

.guild-card:hover .guild-card-mascot {
  opacity: .36;
}

.guild-orbit,
.guild-card-meta {
  position: relative;
  z-index: 3;
}

.dashboard-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.dashboard-hero-mascot {
  position: absolute;
  z-index: 1;
  right: clamp(18px, 27vw, 360px);
  bottom: 6px;
  width: clamp(118px, 12vw, 175px);
  opacity: .2;
  transform: rotate(-8deg);
  animation: mascotFloat 7.5s ease-in-out infinite;
}

.dashboard-hero > :not(.dashboard-hero-mascot) {
  position: relative;
  z-index: 2;
}

.site-footer {
  position: relative;
  overflow: hidden;
  min-height: 118px;
}

.footer-mascot {
  position: absolute;
  right: 10px;
  bottom: -38px;
  z-index: 0;
  width: 132px;
  opacity: .16;
  animation: mascotFloat 8s ease-in-out -3s infinite;
}

.footer-brand,
.footer-links {
  position: relative;
  z-index: 2;
}

@property --spin-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@property --rail-light {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

@keyframes particleRise {
  from { transform: translate3d(0, 0, 0) scale(.5); opacity: 0; }
  12% { opacity: .8; }
  to { transform: translate3d(var(--drift), -110vh, 0) scale(1.35); opacity: 0; }
}

@keyframes borderRunner {
  to { background-position: 220% 0; }
}

@keyframes borderOrbit {
  to { transform: rotate(360deg); }
}

@keyframes railScanner {
  50% { --rail-light: 100%; }
}

@keyframes navIconBob {
  50% { transform: translateY(-3px) rotate(-5deg) scale(1.09); opacity: .82; }
}

@keyframes metricGlow {
  50% { text-shadow: 0 0 14px rgba(29, 185, 84, .28); opacity: .86; }
}

@keyframes systemHalo {
  50% { transform: translate(-25px, 25px) scale(1.14) rotate(20deg); opacity: .7; }
}

@keyframes plusBadgePulse {
  50% { transform: translateY(-2px) scale(1.045); box-shadow: 0 14px 38px rgba(168, 85, 247, .5); }
}

@keyframes switchPulse {
  50% { box-shadow: 0 0 0 7px rgba(29, 185, 84, 0); filter: brightness(1.2); }
}

@keyframes savebarFloat {
  50% { transform: translateY(-4px); box-shadow: 0 24px 70px rgba(0, 0, 0, .35), 0 0 28px rgba(29, 185, 84, .05); }
}

@keyframes previewSweep {
  0%, 25% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(130%); }
}

@keyframes chartScanner {
  to { transform: translateX(calc(100vw + 160px)); }
}

@keyframes stageRotate {
  to { transform: rotate(360deg); }
}

@keyframes comparisonSweep {
  0%, 45% { transform: translateX(-100%); }
  75%, 100% { transform: translateX(750%); }
}

@keyframes clickRipple {
  to { transform: scale(18); opacity: 0; }
}

@keyframes footerStar {
  50% { transform: translateY(-8px) rotate(180deg) scale(1.4); color: rgba(192, 132, 252, .55); }
}

@keyframes mascotFloat {
  50% { transform: translateY(-10px) rotate(3deg) scale(1.025); }
}

@media (max-width: 720px) {
  .cursor-glow { display: none; }
  .pointer-spark { display: none; }
  .motion-layer i:nth-child(n + 15) { display: none; }
  .stage-mascot,
  .showcase-mascot,
  .cta-mascot,
  .plus-pass-mascot,
  .profile-mascot,
  .dashboard-hero-mascot {
    opacity: .12;
  }
  .feature-mascot {
    width: 116px;
    opacity: .14;
  }
  .mascot-demo-card {
    justify-self: stretch;
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-layer,
  .cursor-glow {
    display: none !important;
  }

  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Performance profile: animations stay visible, expensive paint work is reduced. */
.guild-card,
.feature-card,
.plus-feature,
.system-card,
.overview-section,
.plus-comparison,
.profile-stat-grid article,
.home-stats article,
.legal-content section {
  content-visibility: auto;
  contain-intrinsic-size: auto 260px;
}

.interactive-tilt {
  will-change: auto;
}

.interactive-tilt.is-tilting {
  will-change: transform;
}

body.motion-lite {
  background-size: 100% 100%;
  animation-duration: 30s;
}

body.motion-lite::before,
body.motion-lite::after {
  width: 32vw;
  height: 32vw;
  filter: blur(52px);
  opacity: .09;
  animation-duration: 32s;
}

.motion-lite .topbar,
.motion-lite .profile-membership,
.motion-lite .guild-card-insights,
.motion-lite .landing-stage,
.motion-lite .plus-stage {
  backdrop-filter: blur(10px);
}

.motion-lite .motion-layer i {
  box-shadow: 0 0 10px rgba(29, 185, 84, .5);
  animation-duration: calc(var(--duration) * 1.6);
}

.motion-lite .motion-layer i:nth-child(3n) {
  box-shadow: 0 0 10px rgba(168, 85, 247, .5);
}

.motion-lite .cursor-glow {
  width: 240px;
  height: 240px;
  opacity: .78;
}

.motion-lite .feature-card::after,
.motion-lite .plus-feature::after,
.motion-lite .system-card::after,
.motion-lite .overview-chart-card::after {
  opacity: .16;
  animation-duration: 15s;
  will-change: auto;
}

.motion-lite .system-card::before,
.motion-lite .landing-stage::after,
.motion-lite .plus-stage::after,
.motion-lite .weekly-line-chart::after,
.motion-lite .comparison-row::after {
  animation-duration: 18s;
  will-change: auto;
}

.motion-lite .system-nav a.is-on span,
.motion-lite .eyebrow,
.motion-lite .status-pill,
.motion-lite .plus-crown,
.motion-lite .guild-status,
.motion-lite .guild-feature-tags span,
.motion-lite .floating-tags b,
.motion-lite .hero-notes span,
.motion-lite .hero-metrics strong,
.motion-lite .overview-stat-grid strong,
.motion-lite .home-stats strong,
.motion-lite .guild-list-summary strong,
.motion-lite .plus-badge,
.motion-lite .account-plus-mark,
.motion-lite .account-avatar-wrap img,
.motion-lite .savebar,
.motion-lite .stage-mascot,
.motion-lite .showcase-mascot,
.motion-lite .cta-mascot,
.motion-lite .profile-mascot,
.motion-lite .guild-card-mascot,
.motion-lite .dashboard-hero-mascot,
.motion-lite .footer-mascot {
  animation-duration: 8s;
}

/* Paint containment clips an open custom dropdown at the card boundary.
   Temporarily lift the active card so its menu stays above the Plus card. */
.settings-form .system-card.has-open-select {
  z-index: 5000;
  overflow: visible;
  contain: none;
  content-visibility: visible;
}

.settings-form:has(.custom-select.is-open) .system-card:not(.has-open-select) {
  z-index: 0;
}

/* Plus showcase */
.plus-proof-strip,
.plus-journey {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
}

.plus-quick-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.plus-quick-benefits span,
.plus-command-pills b {
  border: 1px solid rgba(205, 165, 255, .2);
  border-radius: 999px;
  padding: 9px 12px;
  color: #dfc7f7;
  background: rgba(166, 94, 235, .09);
  font-size: .72rem;
  font-weight: 900;
}

.plus-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}

.plus-proof-strip article {
  position: relative;
  display: grid;
  gap: 7px;
  overflow: hidden;
  min-height: 135px;
  border: 1px solid rgba(193, 135, 255, .16);
  border-radius: 24px;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(169, 92, 240, .14), transparent 12rem),
    #141116;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.plus-proof-strip article:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 148, 255, .4);
  background-color: #19141c;
}

.plus-proof-strip span {
  color: #a96bea;
  font-size: .7rem;
  font-weight: 1000;
  letter-spacing: .14em;
}

.plus-proof-strip strong {
  font-size: 1.15rem;
}

.plus-proof-strip small {
  color: var(--muted);
  line-height: 1.45;
}

.plus-music-feature {
  align-items: center;
  background:
    radial-gradient(circle at 80% 15%, rgba(176, 94, 255, .22), transparent 25rem),
    linear-gradient(145deg, #1c1421, #111 68%);
}

.plus-command-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}

.plus-music-player {
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  overflow: hidden;
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 30px;
  padding: 22px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, .08), transparent 35%),
    rgba(12, 9, 14, .82);
  box-shadow: 24px 34px 80px rgba(0, 0, 0, .42), 0 0 55px rgba(161, 82, 235, .14);
  backdrop-filter: blur(18px);
  animation: plusPlayerFloat 7s ease-in-out infinite;
}

.music-cover {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  color: #f3e4ff;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .2), transparent 30%),
    linear-gradient(145deg, #b266f5, #4e176e);
  box-shadow: 0 18px 42px rgba(115, 45, 169, .34);
}

.music-cover i {
  font-size: 2.4rem;
  font-style: normal;
  animation: musicNotePulse 2.4s ease-in-out infinite;
}

.music-now {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
}

.music-now small {
  color: #b97bf0;
  font-size: .62rem;
  font-weight: 1000;
  letter-spacing: .13em;
}

.music-now strong {
  overflow: hidden;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-now span {
  color: var(--muted);
  font-size: .72rem;
}

.music-now span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.music-progress {
  grid-column: 1 / -1;
  overflow: hidden;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
}

.music-progress i {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9f55e3, #e1b9ff);
  animation: musicProgress 5s ease-in-out infinite alternate;
}

.music-controls {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.music-controls button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: #ead8f9;
  background: rgba(255, 255, 255, .06);
  pointer-events: none;
}

.music-controls .play {
  color: #321044;
  background: #d9a7ff;
}

.plus-journey {
  display: grid;
  grid-template-columns: minmax(240px, .45fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  margin: 72px 0;
  border: 1px solid rgba(190, 135, 255, .17);
  border-radius: 34px;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 15% 15%, rgba(163, 83, 235, .15), transparent 24rem),
    #121014;
}

.plus-journey h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.plus-journey > div > p:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.plus-journey ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plus-journey li {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, .025);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.plus-journey li:hover {
  transform: translateX(5px);
  border-color: rgba(190, 130, 255, .35);
  background: rgba(170, 90, 235, .07);
}

.plus-journey li > span {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #e4c5ff;
  background: rgba(169, 92, 235, .15);
  font-size: .72rem;
  font-weight: 1000;
}

.plus-journey li div {
  display: grid;
  gap: 4px;
}

.plus-journey li small {
  color: var(--muted);
  line-height: 1.45;
}

@keyframes plusPlayerFloat {
  50% { transform: perspective(900px) rotateY(-2deg) rotateX(1deg) translateY(-8px); }
}

@keyframes musicNotePulse {
  50% { transform: scale(1.12) rotate(-7deg); filter: brightness(1.25); }
}

@keyframes musicProgress {
  to { width: 88%; }
}

@media (max-width: 860px) {
  .plus-proof-strip,
  .plus-journey {
    grid-template-columns: 1fr;
  }

  .plus-music-player {
    transform: none;
  }
}

@media (max-width: 520px) {
  .plus-music-player {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 16px;
  }

  .music-cover {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
}

/* Plus page: comparison-first, compact feature groups */
.plus-comparison-spotlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: minmax(260px, .4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  margin: 24px 0 0;
  border: 1px solid rgba(199, 145, 255, .25);
  border-radius: 36px;
  padding: clamp(28px, 5vw, 58px);
  background:
    radial-gradient(circle at 84% 18%, rgba(177, 95, 255, .22), transparent 28rem),
    linear-gradient(145deg, rgba(35, 21, 46, .96), rgba(13, 10, 16, .98));
  box-shadow: 0 34px 100px rgba(0, 0, 0, .38), 0 0 80px rgba(160, 82, 235, .08);
}

.plus-comparison-spotlight::before {
  content: "PLUS";
  position: absolute;
  z-index: -1;
  right: -3%;
  bottom: -17%;
  color: rgba(255, 255, 255, .018);
  font-size: clamp(10rem, 22vw, 22rem);
  font-weight: 1000;
  letter-spacing: -.1em;
  pointer-events: none;
}

.comparison-intro {
  display: grid;
  align-content: center;
  justify-items: start;
}

.comparison-kicker {
  display: inline-flex;
  margin-bottom: 22px;
  border: 1px solid rgba(207, 164, 255, .25);
  border-radius: 999px;
  padding: 7px 11px;
  color: #e2c5ff;
  background: rgba(173, 95, 239, .11);
  font-size: .68rem;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.comparison-intro h2 {
  max-width: 560px;
  font-size: clamp(2.3rem, 4.6vw, 4.6rem);
}

.comparison-intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 20px 0 26px;
  color: #b9afc0;
  line-height: 1.7;
}

.comparison-shell {
  min-width: 0;
  border: 1px solid rgba(213, 172, 255, .16);
  border-radius: 30px;
  padding: 10px;
  background: rgba(8, 7, 10, .56);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.comparison-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 9px 38%;
}

.comparison-plans > div {
  display: grid;
  gap: 4px;
  min-height: 96px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, .025);
}

.comparison-plans > div.is-plus {
  border-color: rgba(209, 157, 255, .36);
  background:
    radial-gradient(circle at 90% 10%, rgba(216, 177, 255, .17), transparent 10rem),
    linear-gradient(145deg, rgba(159, 78, 230, .25), rgba(91, 36, 130, .14));
  box-shadow: 0 18px 42px rgba(119, 44, 175, .16);
}

.comparison-plans span {
  color: var(--muted-2);
  font-size: .65rem;
  font-weight: 1000;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.comparison-plans .is-plus span {
  color: #dbb5ff;
}

.comparison-plans strong {
  font-size: 1rem;
}

.comparison-plans small {
  color: var(--muted);
  font-size: .7rem;
}

.plus-comparison-spotlight .comparison-table {
  border-color: rgba(213, 172, 255, .12);
  border-radius: 22px;
  background: rgba(20, 16, 23, .78);
}

.plus-comparison-spotlight .comparison-row {
  grid-template-columns: minmax(180px, 1fr) minmax(125px, .65fr) minmax(145px, .75fr);
}

.plus-comparison-spotlight .comparison-row:not(.heading):hover {
  z-index: 2;
  transform: translateX(3px);
  background: rgba(255, 255, 255, .025);
}

.plus-comparison-spotlight .comparison-row.is-highlight {
  background: rgba(173, 91, 242, .07);
}

.plus-comparison-spotlight .plus-column {
  border-left: 1px solid rgba(205, 156, 255, .12);
  color: #eedcff;
  background: rgba(169, 87, 237, .12);
}

.comparison-yes {
  color: #80f7aa;
  font-size: 1.05rem;
}

.plus-column.comparison-yes {
  color: #e2bbff;
}

.comparison-no {
  color: #746c79;
}

.plus-feature-grid-condensed {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plus-feature-grid-condensed .plus-music-feature {
  grid-column: 1 / -1;
}

.plus-feature-cluster {
  min-height: 0;
  border-radius: 26px;
  padding: clamp(24px, 3vw, 32px);
}

.plus-feature-cluster .plus-feature-icon {
  margin-bottom: 24px;
}

.plus-feature-cluster h3 {
  min-height: 2.2em;
  margin: 11px 0 20px;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.06;
}

.plus-mini-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.plus-mini-list li {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 13px 0 13px 22px;
  line-height: 1.45;
}

.plus-mini-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #b976f2;
}

@media (max-width: 1100px) {
  .plus-comparison-spotlight {
    grid-template-columns: 1fr;
  }

  .comparison-intro {
    max-width: 760px;
  }

  .plus-feature-grid-condensed {
    grid-template-columns: 1fr 1fr;
  }

  .plus-feature-grid-condensed .plus-feature-cluster:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .plus-comparison-spotlight {
    border-radius: 28px;
    padding: 24px 16px;
  }

  .comparison-shell {
    overflow: hidden;
    padding: 7px;
  }

  .comparison-plans,
  .plus-comparison-spotlight .comparison-table {
    min-width: 0;
  }

  .comparison-plans {
    gap: 4px;
    margin-left: 36%;
  }

  .comparison-plans > div {
    min-height: 88px;
    border-radius: 15px;
    padding: 10px 8px;
  }

  .comparison-plans strong {
    font-size: .78rem;
  }

  .plus-comparison-spotlight .comparison-row {
    grid-template-columns: minmax(110px, 1.25fr) minmax(72px, .65fr) minmax(84px, .8fr);
  }

  .plus-comparison-spotlight .comparison-row > * {
    padding: 11px 6px;
    font-size: .72rem;
  }

  .plus-comparison-spotlight .comparison-row > span {
    font-size: .78rem;
  }

  .plus-feature-grid-condensed {
    grid-template-columns: 1fr;
  }

  .plus-feature-grid-condensed .plus-feature-cluster:last-child {
    grid-column: auto;
  }

  .plus-feature-cluster h3 {
    min-height: 0;
  }
}
