/*
  SoloStayz static stylesheet
  Plain authored CSS — no Tailwind, Bootstrap, Sass, or CSS framework required.
*/

:root {
  --bg: #060b14;
  --bg-deep: #04080f;
  --bg-panel: rgba(12, 22, 28, 0.88);
  --ink: #f3ead4;
  --muted: #b8c4be;
  --cyan: #5dcc4a;
  --cyan-hot: #8be86a;
  --accent: #5dcc4a;
  --accent-hot: #8be86a;
  --cream: #f3ead4;
  --navy: #0a1630;
  --crimson: #b91c2c;
  --online: #5dcc4a;
  --idle: #e8c14a;
  --dnd: #c41e3a;
  --offline: #6b7280;
  --line: rgba(243, 234, 212, 0.12);
  --shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
  --lift: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.35);
  --font: "Outfit", "Open Sans", "Roboto", sans-serif;
  --radius: 18px;
  --radius-ctrl: 10px;
  --space: clamp(1.1rem, 3vw, 2.25rem);
  --content: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(26, 74, 40, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(10, 22, 48, 0.7), transparent 50%),
    var(--bg-deep);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--cyan);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--cyan-hot);
}

.wrap {
  width: min(var(--content), calc(100% - 2 * var(--space)));
  margin-inline: auto;
}

.narrow {
  max-width: none;
  width: min(var(--content), calc(100% - 2 * var(--space)));
}

/* Hero */
.hero {
  position: relative;
  min-height: 0;
  display: grid;
  align-items: center;
  padding: 1.5rem 0 0.35rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.55) 0%, rgba(4, 8, 15, 0.78) 55%, var(--bg-deep) 100%),
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(93, 204, 74, 0.12), transparent 60%),
    url("../img/avatar.png") center 30% / cover no-repeat,
    var(--bg-deep);
  filter: saturate(0.85);
  transform: scale(1.04);
  animation: drift 22s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 15, 0.28);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.85rem 1.5rem 1.7rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 28, 26, 0.92), rgba(8, 14, 20, 0.94));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--lift);
  animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.profile {
  margin-bottom: 1.25rem;
}

.avatar-ring {
  width: 128px;
  height: 128px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  padding: 4px;
  background: radial-gradient(circle at 30% 30%, #8be86a, #2d7a38 55%, #1a4a28 100%);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.45),
    0 0 0 3px rgba(93, 204, 74, 0.28),
    var(--lift);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
}

.brand {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.handle {
  margin: 0.35rem 0 0.55rem;
  color: var(--cyan);
  font-size: 1.15rem;
  font-weight: 600;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.15rem 0 0;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-ctrl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.28));
  box-shadow: var(--lift);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--offline);
  box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.25);
}

.live-dot[data-status="online"] {
  background: var(--online);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.live-dot[data-status="idle"] {
  background: var(--idle);
}

.live-dot[data-status="dnd"] {
  background: var(--dnd);
}

.hero-line {
  margin: 0 auto 1.35rem;
  max-width: 40rem;
  color: var(--muted);
}

.cta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.2rem, 1fr));
  gap: 0.65rem;
  width: 100%;
}

.cta-row .btn {
  width: 100%;
  min-height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-ctrl);
  padding: 0.7rem 0.7rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.15rem;
  gap: 0.75rem;
}

.social-row a,
.social-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.28));
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35), var(--lift);
  opacity: 1;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.social-row a:hover,
.social-icon:hover {
  transform: translateY(-3px);
  border-color: rgba(93, 204, 74, 0.45);
}

.social-row img,
.social-icon img {
  width: 22px;
  height: 22px;
  border-radius: 0;
  object-fit: contain;
  filter: brightness(0) invert(0.93) sepia(0.25) saturate(0.4);
}

/* Site chrome */
.site-top {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.55rem 0;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(4, 8, 15, 0.94), rgba(4, 8, 15, 0.72));
  backdrop-filter: blur(14px);
  box-shadow: none;
}

.site-top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.75rem;
  padding: 0.5rem 0.7rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 28, 26, 0.96), rgba(8, 14, 20, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--lift);
}

.site-top-brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-ctrl);
  border: 1px solid transparent;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-top-brand:hover {
  color: var(--cyan-hot);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.site-nav a,
.account-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-ctrl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.24));
  box-shadow: var(--lift);
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.account-link a:hover {
  color: var(--cream);
  border-color: rgba(93, 204, 74, 0.42);
}

.site-nav a.is-active {
  background: linear-gradient(180deg, #7ae05a, #3d9a32);
  border-color: rgba(139, 232, 106, 0.45);
  color: #08120a;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3), var(--lift);
}

.account-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.lang-toggle {
  position: relative;
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.15rem;
  padding: 0.3rem 1.55rem 0.3rem 0.7rem;
  border-radius: var(--radius-ctrl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 28, 26, 0.98), rgba(8, 14, 20, 0.98));
  box-shadow: var(--lift);
  color: var(--cream);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-toggle::-webkit-details-marker {
  display: none;
}

.lang-toggle::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg) translateY(-1px);
}

.lang-toggle:hover,
.lang-switch[open] .lang-toggle {
  color: var(--cream);
  border-color: rgba(93, 204, 74, 0.42);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 50;
  min-width: 10.5rem;
  padding: 0.35rem;
  display: grid;
  gap: 0.25rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 28, 26, 0.98), rgba(6, 11, 18, 0.98));
  box-shadow: var(--shadow), var(--lift);
}

.lang-option {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-ctrl);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.lang-option:hover {
  background: rgba(93, 204, 74, 0.14);
  color: var(--cyan-hot);
}

.lang-option.is-active {
  background: linear-gradient(180deg, #7ae05a, #3d9a32);
  color: #08120a;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.public-page .page-hero {
  padding: 1.5rem 0 0.35rem;
  border-bottom: 0;
  background: transparent;
}

.public-page .page-hero .wrap {
  padding: 1.6rem 1.45rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 28, 26, 0.94), rgba(8, 14, 20, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--lift);
}

.public-page .page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.public-page .page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 40rem;
}

.public-page .page-image {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.public-page .page-image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.public-page .page-copy p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.rules-box {
  margin: 1.5rem 0;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 36, 32, 0.95), rgba(8, 14, 20, 0.96));
  box-shadow: var(--shadow), var(--lift);
}

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

.rules-box ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.rules-box li {
  margin-bottom: 0.45rem;
}

.vc-placeholder {
  margin-top: 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px dashed rgba(93, 204, 74, 0.35);
  border-radius: var(--radius);
  background: rgba(93, 204, 74, 0.06);
  box-shadow: var(--lift);
}

.vc-placeholder h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.vc-placeholder p {
  margin: 0;
  color: var(--muted);
}

.tool-grid,
.public-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.tool-card,
.public-card {
  display: grid;
  gap: 0.65rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 36, 32, 0.95), rgba(8, 14, 20, 0.96));
  box-shadow: var(--shadow), var(--lift);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tool-card:hover,
.public-card:hover {
  border-color: rgba(94, 231, 255, 0.45);
  color: var(--ink);
  transform: translateY(-2px);
}

.tool-card img,
.public-card img,
.tool-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--lift);
}

.tool-card img.tool-logo--on-light,
img.tool-logo.tool-logo--on-light {
  background: var(--cream);
  background-color: #f3ead4;
  padding: 0;
  box-sizing: border-box;
  box-shadow: none;
}

.tool-logo[src*="logo-alight"] {
  object-fit: cover;
  background: #0b1424;
  border-radius: 14px;
}

.tool-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-ctrl);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(94, 231, 255, 0.12);
  color: var(--cyan);
}

.tool-badge.is-paid {
  background: rgba(240, 180, 41, 0.15);
  color: var(--idle);
}

.spotify-band {
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 36, 32, 0.95), rgba(8, 14, 20, 0.96));
  box-shadow: var(--shadow), var(--lift);
}

.spotify-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.spotify-now-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem 1.15rem;
  align-items: center;
}

.spotify-art {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-ctrl);
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--lift);
  background: #111;
}

.spotify-now-meta {
  display: grid;
  gap: 0.25rem;
  justify-items: start;
}

.spotify-now-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan);
}

.spotify-now-meta strong {
  font-size: 1.2rem;
}

.spotify-now-meta span {
  color: var(--muted);
}

.spotify-idle {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 520px) {
  .spotify-now-card {
    grid-template-columns: 1fr;
  }
}

.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.subsection-title {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.2rem;
}

.site-footer-rich .footer-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.site-footer-rich .footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.28));
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), var(--lift);
}

.site-footer-rich .footer-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(0.93) sepia(0.25) saturate(0.4);
}

.footer-invite {
  margin: 0 0 0.5rem;
}

.footer-meta {
  margin: 0;
}

.footer-sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

@media (max-width: 720px) {
  .site-top-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-nav {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    -webkit-overflow-scrolling: touch;
  }

  .account-link {
    margin-left: auto;
  }
}


.btn {
  appearance: none;
  border: 1px solid rgba(243, 234, 212, 0.16);
  border-radius: var(--radius-ctrl);
  padding: 0.72rem 1.2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #7ae05a, #3d9a32);
  border-color: rgba(139, 232, 106, 0.45);
  color: #08120a;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), var(--lift);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #8be86a, #449f38);
  color: #08120a;
}

.btn-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.22));
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--lift);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--ink);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: calc(var(--space) * 1.35) 0;
  border-top: 0;
  background: transparent;
}

.section > .wrap {
  padding: 1.6rem 1.45rem 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 28, 26, 0.94), rgba(8, 14, 20, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--lift);
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.about-split {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.about-photo {
  width: 140px;
  height: 140px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--lift);
}

.about-copy p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .about-split {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

.page-kicker {
  margin: 0 0 0.35rem;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lush-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.lush-facts div {
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 36, 32, 0.95), rgba(8, 14, 20, 0.96));
  box-shadow: var(--lift);
}

.lush-facts dt {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lush-facts dd {
  margin: 0;
}

.server-ip {
  display: inline-block;
  padding: 0.1rem 0.15rem;
  color: var(--cyan);
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  user-select: all;
}

.lush-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0 0;
}

.lush-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.lush-steps li {
  margin-bottom: 0.45rem;
}

.lush-aside {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 36, 32, 0.95), rgba(8, 14, 20, 0.96));
  box-shadow: var(--shadow), var(--lift);
}

.lush-aside h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.lush-aside p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-ctrl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16, 28, 26, 0.96), rgba(8, 14, 20, 0.98));
  box-shadow: var(--lift);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.video-card {
  margin: 0;
  padding: 0.65rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 30, 28, 0.96), rgba(8, 12, 18, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), var(--lift);
}

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

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.video-card figcaption {
  margin-top: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.video-card figcaption a {
  color: var(--ink);
  text-decoration: none;
}

.video-card figcaption a:hover {
  color: var(--cyan);
}

.more-videos {
  margin: 1.4rem 0 0;
  text-align: center;
}

/* Discord status */
.status-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 36, 32, 0.95), rgba(8, 14, 20, 0.96));
  box-shadow: var(--shadow), var(--lift);
  backdrop-filter: blur(8px);
}

.status-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(93, 204, 74, 0.45);
  object-fit: cover;
}

.status-dot-wrap {
  position: relative;
  width: 72px;
  height: 72px;
}

.status-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #0c0e12;
  background: var(--offline);
}

.status-dot[data-status="online"] {
  background: var(--online);
}

.status-dot[data-status="idle"] {
  background: var(--idle);
}

.status-dot[data-status="dnd"] {
  background: var(--dnd);
}

.status-meta strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.status-label {
  color: var(--muted);
}

.status-activity {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 1.3em;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.contact-facts {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.contact-facts li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.55rem;
}

.contact-label {
  font-weight: 600;
  color: var(--ink);
}

.contact-secret {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.08em;
}

.reveal-btn {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-ctrl);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
}

.reveal-btn:hover {
  border-color: rgba(94, 231, 255, 0.45);
  color: var(--cyan-hot);
}

.contact-hint {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-hint-inline {
  margin: 0;
  flex: 1 1 12rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

/* Contact modal */
body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: var(--space);
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  border: 0;
  padding: 0;
  cursor: pointer;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #0c0e12;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.45rem;
}

.modal-close {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-close:hover {
  border-color: rgba(94, 231, 255, 0.45);
  color: var(--cyan-hot);
}

.modal-intro {
  margin: 0 0 1rem;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font: inherit;
  padding: 0.8rem 0.95rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(93, 204, 74, 0.55);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.flash {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-weight: 600;
}

.flash-ok {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.flash-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.site-footer {
  padding: 1.4rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28, 48, 40, 0.96), rgba(8, 14, 20, 0.98));
  color: var(--cream);
  box-shadow: var(--shadow), var(--lift);
  cursor: pointer;
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top:hover {
  border-color: rgba(93, 204, 74, 0.5);
  color: var(--cyan-hot);
}

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

@keyframes drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-1%, -1%, 0);
  }
}

@media (max-width: 720px) {
  .cta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 0.5rem;
  }
}

/* Scroll reveal — only while JS is available (html.js-reveal from <head>) */
html.js-reveal .hero-content {
  animation: none;
}

html.js-reveal .hero-content:not(.is-inview),
html.js-reveal .page-hero > .wrap:not(.is-inview),
html.js-reveal .section > .wrap:not(.is-inview),
html.js-reveal .tool-card:not(.is-inview),
html.js-reveal .public-card:not(.is-inview),
html.js-reveal .video-card:not(.is-inview),
html.js-reveal .lush-facts > div:not(.is-inview),
html.js-reveal .faq-list details:not(.is-inview),
html.js-reveal .spotify-band:not(.is-inview),
html.js-reveal .status-panel:not(.is-inview),
html.js-reveal .rules-box:not(.is-inview),
html.js-reveal .lush-aside:not(.is-inview),
html.js-reveal .vc-placeholder:not(.is-inview) {
  opacity: 0;
  transform: translateY(18px);
}

html.js-reveal .hero-content,
html.js-reveal .page-hero > .wrap,
html.js-reveal .section > .wrap,
html.js-reveal .tool-card,
html.js-reveal .public-card,
html.js-reveal .video-card,
html.js-reveal .lush-facts > div,
html.js-reveal .faq-list details,
html.js-reveal .spotify-band,
html.js-reveal .status-panel,
html.js-reveal .rules-box,
html.js-reveal .lush-aside,
html.js-reveal .vc-placeholder {
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

html.js-reveal .tool-card.is-inview,
html.js-reveal .public-card.is-inview {
  transition: opacity 0.55s ease, transform 0.15s ease, border-color 0.15s ease;
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg,
  .hero-content {
    animation: none;
  }

  html.js-reveal .hero-content:not(.is-inview),
  html.js-reveal .page-hero > .wrap:not(.is-inview),
  html.js-reveal .section > .wrap:not(.is-inview),
  html.js-reveal .tool-card:not(.is-inview),
  html.js-reveal .public-card:not(.is-inview),
  html.js-reveal .video-card:not(.is-inview),
  html.js-reveal .lush-facts > div:not(.is-inview),
  html.js-reveal .faq-list details:not(.is-inview),
  html.js-reveal .spotify-band:not(.is-inview),
  html.js-reveal .status-panel:not(.is-inview),
  html.js-reveal .rules-box:not(.is-inview),
  html.js-reveal .lush-aside:not(.is-inview),
  html.js-reveal .vc-placeholder:not(.is-inview) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Login/member UI retained from the original export */
/* Logged-in app chrome (admin + members + auth) — matches public site palette */

.app-body {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(93, 204, 74, 0.12), transparent 55%),
    #04080f;
}

.app-top {
  border-bottom: 1px solid var(--line);
  background: rgba(4, 8, 15, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.app-top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}

.app-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.app-brand:hover {
  color: var(--cyan-hot);
}

.app-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  font-size: 0.92rem;
}

.app-nav a {
  text-decoration: none;
  color: var(--muted);
}

.app-nav a:hover,
.app-nav a.is-active {
  color: var(--cyan);
}

.app-user {
  color: var(--ink);
  font-weight: 600;
}

.app-main {
  padding: 2rem 0 3.5rem;
}

.app-page-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.app-lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.app-section {
  margin-bottom: 2.25rem;
}

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

.app-card-list {
  display: grid;
  gap: 1rem;
}

.app-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.app-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.app-card p {
  margin: 0;
  color: var(--muted);
}

.app-card .meta {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--offline);
}

.app-empty {
  color: var(--muted);
  font-style: italic;
}

.auth-box {
  margin-top: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
}

.auth-box .field {
  margin-bottom: 1rem;
}

.auth-box label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.auth-box input,
.auth-box textarea,
.auth-box select,
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--ink);
  font: inherit;
}

.auth-box textarea,
.admin-form textarea {
  min-height: 110px;
  resize: vertical;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.25rem;
}

.auth-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.admin-nav a {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  color: #111;
  background: #fff;
  border-color: #fff;
}

.admin-form .field {
  margin-bottom: 1rem;
}

.admin-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.admin-form .hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-weight: 600;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-danger {
  background: transparent;
  border: 1px solid var(--dnd);
  color: #fecaca;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #fff;
}

.invite-url {
  word-break: break-all;
  font-size: 0.85rem;
  color: var(--cyan);
}

.stack-gap {
  display: grid;
  gap: 1.25rem;
}

.wrap-wide {
  max-width: 980px;
}

.members-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
}

.members-nav a {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.members-nav a:hover,
.members-nav a.is-active {
  color: #111;
  background: #fff;
  border-color: #fff;
}

.presence-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  font-size: 0.92rem;
}

.presence-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--offline);
  box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.25);
}

.presence-pill.is-online .presence-dot {
  background: var(--online);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.presence-meta {
  color: var(--muted);
  font-size: 0.85rem;
}

.member-page-head {
  margin-bottom: 0.75rem;
}

.member-page-image {
  margin: 0 0 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.member-page-image img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.member-page-body {
  margin-bottom: 1.75rem;
}

.member-page-body p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0.25rem 0 !important;
}

.stats-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.stats-sub {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stats-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-list em {
  font-style: normal;
  opacity: 0.7;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.explore-card {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.explore-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.explore-card:hover {
  border-color: rgba(94, 231, 255, 0.45);
  color: var(--ink);
  transform: translateY(-1px);
}

.link-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.link-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.link-card:hover {
  border-color: rgba(94, 231, 255, 0.45);
  color: var(--ink);
  transform: translateY(-1px);
}

.link-card-img,
.link-card-fallback {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.link-card-fallback {
  display: grid;
  place-items: center;
  background: rgba(94, 231, 255, 0.12);
  color: var(--cyan);
  font-weight: 700;
  font-size: 1.4rem;
}

.link-card-meta {
  display: grid;
  gap: 0.15rem;
}

.link-card-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.section-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.section-row h2 {
  margin: 0;
}

.member-video-grid {
  margin-top: 0.5rem;
}

.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.spotify-embed-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}

.admin-thumb-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.admin-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.admin-thumb.sm {
  width: 48px;
  height: 48px;
}

.admin-card-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.inline-check {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.inline-check input {
  width: auto !important;
}

/* Static-build helper states */
.form-status { margin-top: .75rem; color: var(--muted); font-size: .92rem; }
.form-status.is-error { color: #ff9b9b; }
.form-status.is-success { color: var(--cyan-hot); }


/* ===== Home-page centering/layout fixes (v3) ===== */

/* Centre the home sections consistently from About through Contact. */
#about .section-head,
#lushmc .section-head,
#videos .section-head,
#spotify .section-head,
#status .section-head,
#contact .section-head {
  text-align: center;
}

/* ABOUT
   Stack the image above the copy so the About heading and text share
   the exact same centre line instead of the image pushing the copy right. */
#about .about-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#about .about-photo {
  margin-left: auto;
  margin-right: auto;
}

#about .about-copy {
  width: 100%;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* LUSHMC
   Centre the heading, description, server details, add-in-Minecraft line
   and both bottom buttons. */
#lushmc > .wrap {
  text-align: center;
}

#lushmc .section-head,
#lushmc .about-copy,
#lushmc > .wrap > p {
  width: 100%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#lushmc .lush-facts {
  width: min(100%, 760px);
  margin: 1.25rem auto;
  text-align: center;
}

#lushmc .lush-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

/* VIDEOS
   The old two-column grid left a single YouTube card in the first column.
   A flex row keeps one video exactly centred while remaining responsive. */
#videos > .wrap {
  text-align: center;
}

#videos .video-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

#videos .video-card {
  flex: 0 1 560px;
  width: min(100%, 560px);
  margin-left: auto;
  margin-right: auto;
}

#videos .video-frame {
  width: 100%;
}

#videos .subsection-title,
#videos .more-videos,
#videos > .wrap > p {
  text-align: center;
}

/* SPOTIFY / DISCORD STATUS / CONTACT */
#spotify > .wrap,
#contact > .wrap {
  text-align: center;
}

#spotify .spotify-band,
#status .status-panel {
  width: min(100%, 900px);
  margin-left: auto;
  margin-right: auto;
}

#spotify .spotify-idle {
  text-align: center;
}

#status .status-panel {
  grid-template-columns: auto minmax(0, 1fr);
}

#status .status-activity {
  text-align: center;
}

#contact .contact-cta {
  justify-content: center;
  text-align: center;
}

#contact .contact-hint-inline {
  max-width: 650px;
}

/* When index.html is opened directly with file://, YouTube cannot receive
   the HTTP referrer it requires and otherwise shows Error 153. */
.video-file-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(35,35,35,.96), rgba(20,20,20,.98));
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.video-file-fallback strong {
  font-size: 1.05rem;
}

.video-file-fallback span {
  max-width: 30rem;
  color: var(--muted);
  font-size: .9rem;
}

.video-file-fallback:hover strong {
  color: var(--cyan-hot);
}

@media (max-width: 640px) {
  #about .about-split {
    align-items: center;
  }

  #status .status-panel {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  #status .status-meta {
    text-align: center;
  }
}

/* ===== Public-page centering/layout fixes (v4) ===== */

/*
   Centre all standalone public pages:
   Discord, LushMC, Tools, Donations, and translated equivalents.
   This deliberately targets .public-page so the homepage layout is untouched.
*/

/* Page hero/title panel */
.public-page .page-hero > .wrap {
  text-align: center;
}

.public-page .page-hero h1,
.public-page .page-hero .page-kicker {
  text-align: center;
}

.public-page .page-hero p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Main content panel */
.public-page main.section > .wrap {
  text-align: center;
}

/* General body copy */
.public-page main .page-copy {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.public-page main .page-copy p,
.public-page main.section > .wrap > p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Buttons/actions */
.public-page .lush-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  margin-right: auto;
}

.public-page main.section > .wrap > p:has(.btn) {
  text-align: center;
}

/* LushMC information cards */
.public-page .lush-facts {
  width: min(100%, 900px);
  margin: 1.25rem auto;
  text-align: center;
}

.public-page .lush-facts div,
.public-page .lush-facts dt,
.public-page .lush-facts dd {
  text-align: center;
}

/* LushMC headings and instructions */
.public-page .subsection-title {
  text-align: center;
}

.public-page .lush-steps {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  text-align: left;
}

/* FAQ area */
.public-page .faq-list {
  width: min(100%, 900px);
  margin-left: auto;
  margin-right: auto;
}

.public-page .faq-list details,
.public-page .faq-list summary,
.public-page .faq-list details p {
  text-align: center;
}

/* Discord page */
.public-page .lush-aside,
.public-page .rules-box,
.public-page .vc-placeholder {
  width: min(100%, 900px);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.public-page .lush-aside h2,
.public-page .lush-aside p,
.public-page .rules-box h2,
.public-page .vc-placeholder h2,
.public-page .vc-placeholder p {
  text-align: center;
}

/* Keep numbered rules readable, but centre the list itself */
.public-page .rules-box ol {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  text-align: left;
}

/* Editing Tools page */
.public-page .tool-grid {
  width: min(100%, 1000px);
  margin-left: auto;
  margin-right: auto;
}

.public-page .tool-card {
  justify-items: center;
  align-content: start;
  text-align: center;
}

.public-page .tool-card img,
.public-page .tool-logo {
  margin-left: auto;
  margin-right: auto;
}

/* Other reusable public cards */
.public-page .public-card-grid {
  width: min(100%, 1000px);
  margin-left: auto;
  margin-right: auto;
}

.public-page .public-card {
  justify-items: center;
  text-align: center;
}

/* Donation/support page and other simple pages */
.public-page main.section > .wrap > h1,
.public-page main.section > .wrap > h2,
.public-page main.section > .wrap > h3 {
  text-align: center;
}

/* Footer remains centred */
.public-page .site-footer,
.public-page .site-footer .wrap,
.public-page .footer-invite,
.public-page .footer-meta {
  text-align: center;
}

/* Responsive tuning */
@media (max-width: 720px) {
  .public-page .page-hero > .wrap,
  .public-page main.section > .wrap {
    text-align: center;
  }

  .public-page .tool-grid,
  .public-page .public-card-grid,
  .public-page .lush-facts {
    grid-template-columns: 1fr;
  }

  .public-page .lush-actions {
    justify-content: center;
  }

  .public-page .lush-actions .btn {
    flex: 0 1 auto;
  }
}


/* ===== Motion + liquid-glass refresh (v5) ===== */
:root {
  --glass-bg: rgba(12, 20, 28, 0.50);
  --glass-bg-strong: rgba(10, 18, 24, 0.72);
  --glass-line: rgba(255, 255, 255, 0.12);
  --glass-highlight: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --ease-spring: cubic-bezier(.2,.85,.25,1.15);
}

body {
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .16;
  pointer-events: none;
  z-index: -1;
  animation: ambient-orb 18s ease-in-out infinite alternate;
}

body::before {
  left: -12rem;
  top: 18vh;
  background: #55e06d;
}

body::after {
  right: -14rem;
  top: 48vh;
  background: #4cc6ff;
  animation-delay: -8s;
}

/* Floating, rounded, detached navigation */
.site-top {
  position: sticky;
  top: .75rem;
  z-index: 100;
  padding: .45rem 0 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}

.site-top-inner {
  pointer-events: auto;
  position: relative;
  isolation: isolate;
  overflow: visible;
  border-radius: 999px;
  padding: .48rem .62rem;
  background:
    linear-gradient(120deg, rgba(255,255,255,.10), rgba(255,255,255,.025) 35%, rgba(93,204,74,.08) 72%, rgba(255,255,255,.06)),
    var(--glass-bg-strong);
  border: 1px solid var(--glass-line);
  box-shadow: 0 14px 45px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.15), inset 0 -1px 0 rgba(0,0,0,.24);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transition: transform .34s var(--ease-spring), box-shadow .34s ease, background .34s ease;
}

.site-top.is-scrolled .site-top-inner {
  transform: translateY(.1rem) scale(.985);
  box-shadow: 0 18px 55px rgba(0,0,0,.42), 0 0 0 1px rgba(93,204,74,.08), inset 0 1px 0 rgba(255,255,255,.14);
  background:
    linear-gradient(120deg, rgba(255,255,255,.12), rgba(255,255,255,.025) 38%, rgba(93,204,74,.10)),
    rgba(7, 13, 18, .76);
}

.site-top-inner::before {
  content: "";
  position: absolute;
  inset: 1px 12% auto;
  height: 1px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  opacity: .7;
  pointer-events: none;
}

.site-top-brand,
.site-nav a,
.account-link a,
.lang-toggle {
  border-radius: 999px !important;
  transition: transform .22s var(--ease-spring), color .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.site-top-brand::before {
  content: "🐢";
  margin-right: .42rem;
  filter: drop-shadow(0 3px 7px rgba(0,0,0,.35));
  transform-origin: center;
  transition: transform .28s var(--ease-spring);
}

.site-top-brand:hover::before {
  transform: rotate(-12deg) scale(1.18);
}

.site-nav a:hover,
.account-link a:hover,
.lang-toggle:hover,
.site-top-brand:hover {
  transform: translateY(-2px) scale(1.035);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(93,204,74,.08));
  box-shadow: 0 8px 18px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.16);
}

.site-nav a.is-active {
  background: linear-gradient(135deg, #8bf06d 0%, #56c84a 58%, #42b86c 100%);
  box-shadow: 0 10px 24px rgba(77, 209, 84, .2), inset 0 1px 0 rgba(255,255,255,.42);
}

.site-nav .home-nav-link {
  color: var(--cream);
}

/* Liquid-glass surfaces */
.hero-content,
.video-card,
.public-card,
.tool-card,
.status-panel,
.spotify-band,
.faq-list details,
.lush-aside,
.rules-box,
.vc-placeholder,
.public-page .page-hero > .wrap {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.025) 34%, rgba(93,204,74,.055) 68%, rgba(255,255,255,.035)),
    var(--glass-bg) !important;
  border: 1px solid var(--glass-line) !important;
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255,255,255,.13), inset 0 -1px 0 rgba(0,0,0,.25) !important;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.hero-content::after,
.video-card::after,
.public-card::after,
.tool-card::after,
.status-panel::after,
.spotify-band::after,
.public-page .page-hero > .wrap::after {
  content: "";
  position: absolute;
  inset: -80% -35%;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.15) 49%, transparent 60%);
  transform: translateX(-42%) rotate(5deg);
  pointer-events: none;
  transition: transform .75s ease;
}

.hero-content:hover::after,
.video-card:hover::after,
.public-card:hover::after,
.tool-card:hover::after,
.status-panel:hover::after,
.spotify-band:hover::after,
.public-page .page-hero > .wrap:hover::after {
  transform: translateX(42%) rotate(5deg);
}

.section > .wrap,
.public-page main.section > .wrap {
  transition: transform .5s ease, opacity .5s ease;
}

.btn,
.social-icon,
.to-top {
  border-radius: 999px !important;
  transition: transform .2s var(--ease-spring), box-shadow .2s ease, filter .2s ease, border-color .2s ease, background .2s ease !important;
}

.btn:hover,
.social-icon:hover,
.to-top:hover {
  transform: translateY(-3px) scale(1.045);
  filter: brightness(1.06);
}

.btn:active,
.social-icon:active,
.to-top:active {
  transform: translateY(0) scale(.97);
}

.social-icon:hover {
  box-shadow: 0 10px 26px rgba(93,204,74,.18), inset 0 1px 0 rgba(255,255,255,.16);
}

/* Video cards: fluid resize, perspective and gentle motion */
#videos .video-grid {
  perspective: 1200px;
  align-items: center;
}

#videos .video-card {
  width: min(100%, 900px);
  justify-self: center;
  transform-origin: 50% 55%;
  will-change: transform;
  transition: transform .4s var(--ease-spring), box-shadow .4s ease, border-color .4s ease;
  animation: video-float 6.5s ease-in-out infinite;
}

#videos .video-card:hover {
  z-index: 2;
  border-color: rgba(139,232,106,.38) !important;
  box-shadow: 0 32px 75px rgba(0,0,0,.46), 0 0 38px rgba(93,204,74,.08), inset 0 1px 0 rgba(255,255,255,.14) !important;
}

#videos .video-frame {
  border-radius: 20px;
  transition: transform .35s var(--ease-spring), border-radius .35s ease;
}

#videos .video-card:hover .video-frame {
  transform: scale(1.012);
  border-radius: 24px;
}

/* Turtle theme: shell pattern + ambient turtle badge */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image:
    radial-gradient(circle at center, transparent 0 28%, rgba(139,232,106,.8) 29% 31%, transparent 32%),
    linear-gradient(30deg, transparent 48%, rgba(139,232,106,.8) 49% 51%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, rgba(139,232,106,.8) 49% 51%, transparent 52%);
  background-size: 94px 82px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.turtle-float {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 29;
  width: 3.15rem;
  height: 3.15rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(145deg, rgba(139,232,106,.16), rgba(11,18,24,.78));
  box-shadow: 0 14px 35px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 1.55rem;
  text-decoration: none;
  transform-origin: 50% 70%;
  animation: turtle-bob 4.8s ease-in-out infinite;
}

.turtle-float:hover {
  transform: translateY(-5px) rotate(-7deg) scale(1.08);
}

/* Cursor trail canvas */
#cursor-trail {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Back to top refresh */
.to-top {
  right: 1rem;
  bottom: 1rem;
  width: 3.15rem;
  height: 3.15rem;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(11,18,24,.82));
  backdrop-filter: blur(15px) saturate(130%);
  -webkit-backdrop-filter: blur(15px) saturate(130%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 35px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.14);
}

@keyframes video-float {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(0,-7px,0) scale(1.012); }
}

@keyframes turtle-bob {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(4deg); }
}

@keyframes ambient-orb {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(7vw,7vh,0) scale(1.18); }
}

@media (max-width: 920px) {
  .site-top { top: .35rem; }
  .site-top-inner { border-radius: 26px; }
  .site-nav { justify-content: center; }
  .site-top-brand { order: 0; }
  .account-link { margin-left: auto; }
  .site-nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .15rem; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display:none; }
  .site-nav a { flex: 0 0 auto; }
}

@media (max-width: 640px) {
  .site-top-inner { width: calc(100% - .8rem); padding: .42rem .5rem; }
  .site-top-brand { font-size: .9rem; }
  .site-nav a, .account-link a, .lang-toggle { min-height: 2rem; padding: .28rem .6rem; }
  .turtle-float { left: .75rem; bottom: .75rem; width: 2.85rem; height: 2.85rem; }
  .to-top { right: .75rem; bottom: .75rem; width: 2.85rem; height: 2.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  #videos .video-card,
  .turtle-float { animation: none !important; }
  #cursor-trail { display: none !important; }
}

/* ==========================================================
   SoloStayz liquid sliding selectors
   ========================================================== */
.site-nav {
  position: relative;
  isolation: isolate;
  padding: .14rem;
}

.site-nav a {
  position: relative;
  z-index: 2;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transition:
    color .24s ease,
    transform .22s var(--ease-spring),
    text-shadow .24s ease !important;
}

.site-nav.has-slider a:hover,
.site-nav.has-slider a:focus-visible,
.site-nav.has-slider a.is-active {
  background: transparent !important;
  border-color: transparent !important;
}

.site-nav a.is-active {
  color: #08120a;
  text-shadow: 0 1px 0 rgba(255,255,255,.24);
}

.nav-slider {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.10) 24%, transparent 25%),
    linear-gradient(135deg, #9af77d 0%, #59d451 52%, #46c78e 100%);
  border: 1px solid rgba(202,255,191,.56);
  box-shadow:
    0 9px 22px rgba(65,214,91,.25),
    0 0 26px rgba(81,218,129,.12),
    inset 0 1px 0 rgba(255,255,255,.72),
    inset 0 -1px 0 rgba(2,40,20,.2);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  transition:
    transform .48s cubic-bezier(.2,.9,.2,1.15),
    width .42s cubic-bezier(.2,.9,.2,1.08),
    height .42s cubic-bezier(.2,.9,.2,1.08),
    opacity .18s ease;
  will-change: transform, width, height;
}

.nav-slider::before {
  content: "";
  position: absolute;
  inset: 2px 12% auto;
  height: 42%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.48), transparent);
  filter: blur(.2px);
  opacity: .62;
}

.nav-slider::after {
  content: "";
  position: absolute;
  width: 32%;
  height: 135%;
  left: 8%;
  top: -18%;
  border-radius: 50%;
  background: rgba(255,255,255,.24);
  filter: blur(11px);
  opacity: .48;
}

.nav-slider.is-ready { opacity: 1; }
.nav-slider.is-jumping { transition: none !important; }

/* Language menu gets its own vertical liquid-glass slider. */
.lang-menu {
  isolation: isolate;
  overflow: hidden;
  padding: .42rem;
  border-radius: 18px;
}

.lang-menu .lang-option {
  position: relative;
  z-index: 2;
  background: transparent !important;
  color: var(--cream);
  transition:
    color .22s ease,
    transform .22s var(--ease-spring),
    text-shadow .22s ease !important;
}

.lang-menu .lang-option:hover,
.lang-menu .lang-option:focus-visible {
  transform: translateX(4px);
  color: #effff0;
}

.lang-menu .lang-option.is-active,
.lang-menu .lang-option[aria-selected="true"] {
  color: #07120a;
  text-shadow: 0 1px 0 rgba(255,255,255,.28);
}

.lang-slider {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  background:
    linear-gradient(110deg, rgba(255,255,255,.54), transparent 26%),
    linear-gradient(135deg, #98f57d 0%, #55d052 60%, #42c58f 100%);
  border: 1px solid rgba(208,255,198,.48);
  box-shadow:
    0 8px 19px rgba(66,214,95,.2),
    inset 0 1px 0 rgba(255,255,255,.68),
    inset 0 -1px 0 rgba(2,40,20,.18);
  transition:
    transform .42s cubic-bezier(.2,.9,.2,1.14),
    width .36s cubic-bezier(.2,.9,.2,1.08),
    height .36s cubic-bezier(.2,.9,.2,1.08),
    opacity .16s ease;
  will-change: transform, width, height;
}

.lang-slider::after {
  content: "";
  position: absolute;
  inset: 2px 12% 52%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.52), transparent);
  opacity: .64;
}

.lang-slider.is-ready { opacity: 1; }
.lang-slider.is-jumping { transition: none !important; }

.lang-switch[open] .lang-menu {
  animation: language-menu-pop .28s cubic-bezier(.2,.9,.2,1.15) both;
}

@keyframes language-menu-pop {
  from { opacity: 0; transform: translateY(-7px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 920px) {
  .site-nav { scroll-padding-inline: .5rem; }
  .nav-slider { position: absolute; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-slider,
  .lang-slider {
    transition: none !important;
  }
  .lang-switch[open] .lang-menu { animation: none !important; }
}


/* ===== User-requested refinement pack (Sep 2026) ===== */
:root {
  --trail-spectrum: linear-gradient(90deg,
    rgba(56, 170, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.96) 20%,
    rgba(255, 86, 86, 0.92) 50%,
    rgba(255, 255, 255, 0.96) 80%,
    rgba(56, 170, 255, 0.88) 100%);
}

.hero-content,
.video-card,
.public-card,
.tool-card,
.status-panel,
.spotify-band,
.faq-list details,
.lush-aside,
.rules-box,
.vc-placeholder,
.public-page .page-hero > .wrap {
  isolation: isolate;
}

.hero-content::before,
.video-card::before,
.public-card::before,
.tool-card::before,
.status-panel::before,
.spotify-band::before,
.public-page .page-hero > .wrap::before {
  content: "";
  position: absolute;
  left: -22%;
  right: -22%;
  top: 18%;
  height: 44%;
  border-radius: 999px;
  background: var(--trail-spectrum);
  filter: blur(20px);
  opacity: .28;
  transform: translate3d(-12%, 0, 0) rotate(-8deg) scale(1.08);
  transform-origin: center;
  animation: glass-trail 9.2s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero-content > *,
.video-card > *,
.public-card > *,
.tool-card > *,
.status-panel > *,
.spotify-band > *,
.public-page .page-hero > .wrap > * {
  position: relative;
  z-index: 1;
}

.hero-content::after,
.video-card::after,
.public-card::after,
.tool-card::after,
.status-panel::after,
.spotify-band::after,
.public-page .page-hero > .wrap::after {
  z-index: 0;
}

.hero .btn,
.cta-row .btn,
.lush-actions .btn,
.contact-cta .btn,
.more-videos .btn {
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04) 34%, rgba(56,170,255,.10) 58%, rgba(255,86,86,.08) 100%),
    rgba(10, 18, 24, .44) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow:
    0 12px 26px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.22) !important;
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
}

.hero .btn:hover,
.cta-row .btn:hover,
.lush-actions .btn:hover,
.contact-cta .btn:hover,
.more-videos .btn:hover {
  border-color: rgba(255,255,255,.24) !important;
  box-shadow:
    0 18px 36px rgba(0,0,0,.34),
    0 0 18px rgba(56,170,255,.12),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(0,0,0,.2) !important;
}

.social-row,
.footer-social {
  gap: .9rem;
}

.social-row a,
.social-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 32%, rgba(255,255,255,.02) 100%),
    rgba(7, 13, 18, .46) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow:
    0 14px 32px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.22) !important;
}

.social-row img,
.social-icon img {
  width: 28px !important;
  height: 28px !important;
  filter: none !important;
  image-rendering: auto;
}

.social-icon[aria-label="Discord"]:hover,
.footer-social a[aria-label="Discord"]:hover { box-shadow: 0 16px 34px rgba(88,101,242,.26), inset 0 1px 0 rgba(255,255,255,.18); }
.social-icon[aria-label="Twitch"]:hover,
.footer-social a[aria-label="Twitch"]:hover { box-shadow: 0 16px 34px rgba(145,70,255,.26), inset 0 1px 0 rgba(255,255,255,.18); }
.social-icon[aria-label="TikTok"]:hover,
.footer-social a[aria-label="TikTok"]:hover { box-shadow: 0 16px 34px rgba(37,244,238,.18), inset 0 1px 0 rgba(255,255,255,.18); }
.social-icon[aria-label="YouTube"]:hover,
.footer-social a[aria-label="YouTube"]:hover { box-shadow: 0 16px 34px rgba(255,0,0,.26), inset 0 1px 0 rgba(255,255,255,.18); }

.zoom-hold {
  transition: transform .16s ease, box-shadow .16s ease !important;
}

.zoom-hold.is-press-zoom {
  transform: scale(1.08) !important;
  box-shadow: 0 24px 54px rgba(0,0,0,.42), 0 0 26px rgba(255,255,255,.08), inset 0 1px 0 rgba(255,255,255,.16) !important;
  z-index: 8;
}

@keyframes glass-trail {
  0% {
    transform: translate3d(-12%, -2%, 0) rotate(-8deg) scale(1.08);
    opacity: .24;
  }
  50% {
    transform: translate3d(6%, 4%, 0) rotate(-5deg) scale(1.16);
    opacity: .34;
  }
  100% {
    transform: translate3d(14%, -1%, 0) rotate(-2deg) scale(1.1);
    opacity: .27;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content::before,
  .video-card::before,
  .public-card::before,
  .tool-card::before,
  .status-panel::before,
  .spotify-band::before,
  .public-page .page-hero > .wrap::before {
    animation: none !important;
  }
}


/* ===== Professional turtle identity + continuous ribbon polish ===== */
:root {
  --turtle-deep: #0f3f3a;
  --turtle-mid: #1e6a5b;
  --turtle-bright: #6ee7b7;
  --turtle-sea: #37a3ff;
  --turtle-cream: #f7f3e8;
}

/* Stronger but restrained turtle/ocean identity. */
body {
  background:
    radial-gradient(ellipse 76% 46% at 50% -8%, rgba(28, 104, 88, .30), transparent 58%),
    radial-gradient(ellipse 48% 38% at 100% 10%, rgba(55, 163, 255, .14), transparent 54%),
    linear-gradient(180deg, #04090d 0%, #061017 42%, #04090f 100%);
}

body::before {
  background: #2b8a72;
  opacity: .12;
}

body::after {
  background: #37a3ff;
  opacity: .10;
}

.site-top-inner {
  background:
    linear-gradient(112deg, rgba(255,255,255,.12), rgba(255,255,255,.025) 28%, rgba(46,138,114,.10) 62%, rgba(55,163,255,.07)),
    rgba(6, 15, 19, .76);
  border-color: rgba(173, 255, 226, .13);
}

.site-top-brand {
  display: inline-flex;
  align-items: center;
  gap: .48rem;
}

.site-top-brand::before {
  content: "" !important;
  width: 1.55rem;
  height: 1.55rem;
  display: inline-block;
  flex: 0 0 auto;
  background: url("../img/turtle-mark.svg") center / contain no-repeat;
  filter: drop-shadow(0 5px 12px rgba(34, 197, 150, .20));
}

/* The floating home mark is now a proper turtle emblem rather than an emoji. */
.turtle-float {
  font-size: 0 !important;
  border-color: rgba(110,231,183,.20);
  background:
    linear-gradient(145deg, rgba(110,231,183,.13), rgba(55,163,255,.06)),
    rgba(6,15,19,.76);
}

.turtle-float::before {
  content: "";
  width: 2rem;
  height: 2rem;
  background: url("../img/turtle-mark.svg") center / contain no-repeat;
  filter: drop-shadow(0 7px 14px rgba(0,0,0,.28));
}

/* Subtle shell stamp behind key panels. */
.hero-content,
.status-panel,
.video-card,
.public-card,
.tool-card {
  background:
    radial-gradient(circle at 92% 14%, rgba(110,231,183,.06) 0 3rem, transparent 3.1rem),
    linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.02) 34%, rgba(42,117,100,.055) 68%, rgba(55,163,255,.035)),
    rgba(7, 16, 21, .56) !important;
}

.hero-content::marker,
.status-panel::marker,
.video-card::marker { display:none; }

.hero-content .brand {
  text-shadow: 0 10px 30px rgba(0,0,0,.32), 0 0 24px rgba(110,231,183,.05);
}

.section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}

.section-head h2::before {
  content: "";
  width: 1.12rem;
  height: 1.12rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(110,231,183,.30) 0 28%, transparent 30%),
    linear-gradient(30deg, transparent 46%, rgba(110,231,183,.42) 47% 53%, transparent 54%),
    linear-gradient(-30deg, transparent 46%, rgba(110,231,183,.42) 47% 53%, transparent 54%),
    rgba(15,63,58,.65);
  border: 1px solid rgba(110,231,183,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 0 16px rgba(110,231,183,.07);
}

.hero::after {
  opacity: .035;
  background-image:
    radial-gradient(circle at center, transparent 0 27%, rgba(110,231,183,.85) 28% 30%, transparent 31%),
    linear-gradient(30deg, transparent 48%, rgba(110,231,183,.72) 49% 51%, transparent 52%),
    linear-gradient(-30deg, transparent 48%, rgba(110,231,183,.72) 49% 51%, transparent 52%);
  background-size: 84px 74px;
}

/* Thin ocean-current accent at the top of glass panels. */
.hero-content > :first-child::before,
.status-panel > :first-child::before,
.video-card > :first-child::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 0;
  height: 0;
}

.site-footer-rich::before {
  content: "";
  display: block;
  width: min(200px, 38vw);
  height: 1px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(90deg, transparent, rgba(110,231,183,.45), rgba(55,163,255,.30), transparent);
}

/* Cursor ribbon should read as a luminous line, not particles. */
#cursor-trail {
  mix-blend-mode: screen;
  opacity: .95;
  filter: saturate(1.06);
}

/* Refine overly playful motion; keep the page premium. */
#videos .video-card {
  animation-duration: 8.5s;
  animation-timing-function: ease-in-out;
}

.turtle-float {
  animation-duration: 6.8s;
}

@media (max-width: 640px) {
  .section-head h2::before {
    width: .92rem;
    height: .92rem;
  }
}


/* ===== YouTube player correction (v5) ===== */
#videos .video-grid {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
}

#videos .video-card {
  flex: 0 1 820px !important;
  width: min(100%, 820px) !important;
  margin: 0 auto !important;
  padding: .72rem !important;
}

#videos .video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,.12);
}

#videos .video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

#videos .video-card figcaption {
  padding: .3rem .25rem .05rem;
  text-align: left;
}

#videos .more-videos {
  display: flex;
  justify-content: center;
}

/* Direct-file preview: uses the familiar YouTube-style presentation without loading
   an official iframe under file:// (which YouTube rejects with Error 153). Play opens
   the live SoloStayz page at the exact video; only the separate YouTube button leaves
   SoloStayz for youtube.com. */
.youtube-local-preview {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #000;
}

.youtube-local-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.002);
  image-rendering: auto;
}

.youtube-local-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.04) 34%, rgba(0,0,0,.03) 58%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

.youtube-local-channel {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  text-shadow: 0 2px 5px rgba(0,0,0,.85);
}

.youtube-local-channel img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  object-fit: cover;
}

.youtube-local-channel span {
  display: grid;
  min-width: 0;
}

.youtube-local-channel strong {
  max-width: min(60vw, 35rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
}

.youtube-local-channel small {
  margin-top: .12rem;
  color: rgba(255,255,255,.94);
  font-size: .8rem;
  font-weight: 600;
}

.youtube-local-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #ff0033;
  box-shadow: 0 8px 22px rgba(0,0,0,.34);
  transform: translate(-50%, -50%);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.youtube-local-play i {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 17px solid #fff;
}

.youtube-local-watch {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .32rem .48rem;
  border-radius: 6px;
  color: #fff;
  background: rgba(0,0,0,.52);
  font-size: .9rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}

.youtube-local-preview:hover .youtube-local-play,
.youtube-local-preview:focus-visible .youtube-local-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ff1744;
  box-shadow: 0 10px 28px rgba(0,0,0,.42), 0 0 0 5px rgba(255,255,255,.08);
}

.youtube-local-preview:focus-visible {
  outline: 3px solid rgba(255,255,255,.82);
  outline-offset: -4px;
}

@media (max-width: 640px) {
  #videos .video-card {
    padding: .5rem !important;
  }

  #videos .video-frame {
    border-radius: 13px;
  }

  .youtube-local-channel {
    top: .65rem;
    left: .65rem;
  }

  .youtube-local-channel img {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .youtube-local-channel strong {
    max-width: 54vw;
    font-size: .9rem;
  }

  .youtube-local-channel small {
    font-size: .7rem;
  }

  .youtube-local-play {
    width: 60px;
    height: 42px;
    border-radius: 12px;
  }

  .youtube-local-watch {
    right: .65rem;
    bottom: .65rem;
    font-size: .78rem;
  }
}


/* ===== v6 YouTube preview + centering fix ===== */
#videos .video-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center !important;
  width: 100%;
}

#videos .video-card {
  width: min(100%, 860px) !important;
  max-width: 860px !important;
  margin-inline: auto !important;
  justify-self: center !important;
}

#videos .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

#videos .video-frame iframe,
#videos .video-frame .youtube-local-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.youtube-local-preview {
  cursor: pointer;
  background: #000;
}

.youtube-local-thumb {
  opacity: 1 !important;
  visibility: visible !important;
  object-position: center center;
  background: #111;
}

.youtube-local-watch::before {
  content: "▶";
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.1rem;
  margin-right: .15rem;
  border-radius: .28rem;
  background: #fff;
  color: #ff0033;
  font-size: .68rem;
  line-height: 1;
}

@media (max-width: 640px) {
  #videos .video-card {
    width: 100% !important;
  }
}


/* ===== Navigation order + Minecraft turtle identity (v7) ===== */
.site-top-inner {
  width: min(1480px, calc(100% - 1rem));
  max-width: 1480px;
}

.site-nav {
  align-items: center;
  gap: .28rem;
}

.site-nav a {
  padding-inline: .58rem;
  font-size: .84rem;
  white-space: nowrap;
}

.nav-group-divider {
  position: relative;
  z-index: 2;
  flex: 0 0 1px;
  width: 1px;
  height: 1.5rem;
  margin-inline: .18rem;
  background: linear-gradient(180deg, transparent, rgba(125, 211, 168, .36), rgba(67, 147, 255, .26), transparent);
  box-shadow: 0 0 10px rgba(110, 231, 183, .08);
}

.site-nav a[data-nav="spotify"],
body.spotify-hidden .site-nav a[data-nav="spotify"],
body.spotify-hidden .site-nav a[data-spotify-hero-link] {
  display: inline-flex !important;
  visibility: visible !important;
}

.site-nav .nav-page-link {
  color: rgba(227, 239, 233, .78);
}

.site-nav .nav-page-link::after {
  content: "↗";
  margin-left: .3rem;
  font-size: .72em;
  opacity: .52;
  transform: translateY(-1px);
}

.site-top-brand::before,
.turtle-float::before {
  image-rendering: pixelated;
}

.site-top-brand::before {
  width: 1.9rem;
  height: 1.45rem;
}

.turtle-float {
  border-radius: 16px !important;
}

.turtle-float::before {
  width: 2.25rem;
  height: 1.7rem;
}

/* Make each main section unmistakably turtle/Minecraft themed without turning the
   interface into a novelty skin. */
.section {
  position: relative;
  isolation: isolate;
}

.section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(980px, calc(100% - 3rem));
  height: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: .48;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 14px,
      rgba(65, 147, 94, .34) 14px 22px,
      rgba(103, 191, 105, .50) 22px 30px,
      transparent 30px 46px);
}

.section-head h2::before {
  width: 2.15rem !important;
  height: 1.65rem !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: url("../img/turtle-mark.svg") center / contain no-repeat !important;
  box-shadow: none !important;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .28));
  image-rendering: pixelated;
}

.section-head h2::after {
  content: "";
  width: 2.3rem;
  height: .55rem;
  margin-left: .15rem;
  opacity: .6;
  background:
    linear-gradient(90deg,
      #255f48 0 22%, transparent 22% 28%,
      #4d9d4e 28% 50%, transparent 50% 56%,
      #75bf55 56% 78%, transparent 78% 84%,
      #37a3ff 84% 100%);
  clip-path: polygon(0 20%, 22% 20%, 22% 0, 48% 0, 48% 35%, 72% 35%, 72% 10%, 100% 10%, 100% 80%, 82% 80%, 82% 100%, 54% 100%, 54% 70%, 28% 70%, 28% 100%, 0 100%);
}

/* Pixel turtle stamps in the glass surfaces. The moving glass/ribbon layers remain
   above the stamp, keeping the effect integrated instead of pasted on. */
.hero-content,
.video-card,
.status-panel,
.public-card,
.tool-card,
.spotify-band,
.lush-aside,
.rules-box {
  background-image:
    url("../img/turtle-mark.svg"),
    radial-gradient(circle at 92% 14%, rgba(110,231,183,.07) 0 3rem, transparent 3.1rem),
    linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.02) 34%, rgba(42,117,100,.055) 68%, rgba(55,163,255,.035)) !important;
  background-repeat: no-repeat, no-repeat, no-repeat !important;
  background-position: calc(100% - 1.1rem) 1rem, 92% 14%, center !important;
  background-size: 48px auto, auto, cover !important;
  background-color: rgba(7, 16, 21, .56) !important;
}

.hero-content {
  background-size: 68px auto, auto, cover !important;
  background-position: calc(100% - 1.4rem) 1.25rem, 92% 14%, center !important;
}

/* Minecraft-ocean strip: blocky sand, sea grass, and water highlights behind the hero. */
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 108px;
  pointer-events: none;
  opacity: .18;
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(70,160,104,.85) 6% 7%, transparent 7% 12%, rgba(70,160,104,.72) 12% 13%, transparent 13% 20%, rgba(70,160,104,.75) 20% 21.2%, transparent 21.2% 72%, rgba(70,160,104,.72) 72% 73.2%, transparent 73.2% 82%, rgba(70,160,104,.82) 82% 83%, transparent 83%),
    linear-gradient(0deg, rgba(54,103,70,.58) 0 16px, transparent 16px),
    repeating-linear-gradient(90deg, rgba(132,117,73,.50) 0 34px, rgba(164,145,89,.46) 34px 68px, rgba(113,102,67,.45) 68px 102px);
  background-size: 100% 90px, 100% 100%, 100% 16px;
  background-position: center bottom, center bottom, center bottom;
  background-repeat: no-repeat;
  mask-image: linear-gradient(to top, #000 0 48%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0 48%, transparent 100%);
}

/* Minecraft-like square bubbles in the hero background. */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(110,231,183,.55), rgba(110,231,183,.55)),
    linear-gradient(rgba(55,163,255,.48), rgba(55,163,255,.48)),
    linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.30)),
    linear-gradient(rgba(110,231,183,.40), rgba(110,231,183,.40));
  background-size: 6px 6px, 9px 9px, 5px 5px, 7px 7px;
  background-position: 14% 28%, 82% 36%, 71% 18%, 28% 72%;
  background-repeat: no-repeat;
  animation: turtle-bubbles 9s ease-in-out infinite alternate;
}

.about-photo,
.status-avatar,
.spotify-art {
  outline: 2px solid rgba(72, 157, 81, .34);
  outline-offset: 3px;
  box-shadow:
    0 0 0 6px rgba(12, 43, 34, .30),
    0 14px 34px rgba(0,0,0,.34);
}

.server-ip {
  border: 1px solid rgba(117,191,85,.30);
  border-radius: 7px;
  padding: .12rem .42rem;
  background:
    linear-gradient(90deg, rgba(77,157,78,.10), rgba(55,163,255,.05)),
    rgba(3, 12, 10, .52);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.site-footer-rich {
  position: relative;
  overflow: hidden;
}

.site-footer-rich::after {
  content: "";
  position: absolute;
  right: clamp(1rem, 6vw, 6rem);
  bottom: .8rem;
  width: 5rem;
  height: 3.75rem;
  background: url("../img/turtle-mark.svg") center / contain no-repeat;
  opacity: .15;
  pointer-events: none;
  image-rendering: pixelated;
}

@keyframes turtle-bubbles {
  from { transform: translateY(8px); opacity: .10; }
  to { transform: translateY(-18px); opacity: .20; }
}

@media (max-width: 1180px) {
  .site-top-inner {
    width: calc(100% - .7rem);
  }
  .site-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scrollbar-width: none;
    padding-bottom: .14rem;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .nav-group-divider { flex: 0 0 1px; }
}

@media (max-width: 640px) {
  .section-head h2::after { display: none; }
  .hero-content,
  .video-card,
  .status-panel,
  .public-card,
  .tool-card,
  .spotify-band,
  .lush-aside,
  .rules-box {
    background-size: 38px auto, auto, cover !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before { animation: none !important; }
}


/* ===== White controls + latest-video polish (v9) ===== */
/* Every interactive control keeps a crisp white label over the glass surface. */
.btn,
.btn:visited,
button,
button:visited,
.reveal-btn,
.modal-close,
.to-top,
.site-nav a,
.site-nav a:visited,
.account-link a,
.account-link a:visited,
.lang-toggle,
.lang-option,
.lang-option:visited,
.lush-actions .btn,
.contact-cta .btn,
.more-videos .btn,
.cta-row .btn,
.hero .btn {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.42) !important;
}

.btn:hover,
.btn:focus-visible,
button:hover,
button:focus-visible,
.reveal-btn:hover,
.reveal-btn:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.lang-option:hover,
.lang-option:focus-visible,
.lang-option.is-active,
.lang-option[aria-selected="true"] {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

/* Keep the navigation slider visible without turning its active label black. */
.nav-slider {
  background:
    linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.08) 28%, rgba(55,163,255,.16) 58%, rgba(255,84,103,.12) 100%),
    rgba(10,18,24,.76) !important;
  border-color: rgba(255,255,255,.30) !important;
  box-shadow:
    0 10px 26px rgba(0,0,0,.30),
    0 0 18px rgba(55,163,255,.10),
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -1px 0 rgba(0,0,0,.20) !important;
}

.lang-slider {
  background:
    linear-gradient(135deg, rgba(255,255,255,.24), rgba(255,255,255,.08) 30%, rgba(55,163,255,.14) 60%, rgba(255,84,103,.10) 100%),
    rgba(10,18,24,.88) !important;
  border-color: rgba(255,255,255,.26) !important;
}

/* Social marks are intentionally monochrome white. */
.social-row img,
.social-icon img,
.footer-social .social-icon img,
.footer-social img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

/* Cleaner presentation for the fixed official YouTube player. */
#videos .video-card figcaption a {
  color: rgba(255,255,255,.92) !important;
  -webkit-text-fill-color: rgba(255,255,255,.92) !important;
}

#videos .video-frame iframe {
  background: #000;
}


/* ===== Fixed inline YouTube player ===== */
#videos .video-card figcaption {
  color: #fff !important;
  font-weight: 700;
  text-align: center;
  padding: .85rem 1rem .2rem;
}
#videos .video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
#videos .more-videos {
  text-align: center;
}


/* ===== v11 YouTube Error 153 hardening ===== */
#videos .video-frame iframe[hidden] { display: none !important; }
.youtube-local-preview .youtube-local-watch {
  background: rgba(5, 12, 16, .78);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 8px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.youtube-local-preview .youtube-local-watch::before {
  content: "🐢";
  width: auto;
  height: auto;
  margin-right: .1rem;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: .9rem;
}


/* ===== Latest YouTube inline loader (v12) ===== */
.youtube-loading {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .35rem;
  padding: 2rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 44%, rgba(71, 196, 126, .12), transparent 38%),
    linear-gradient(145deg, rgba(8,15,18,.96), rgba(5,10,15,.98));
  color: #fff;
}
.youtube-loading strong { font-size: clamp(1rem, 2vw, 1.2rem); }
.youtube-loading small { color: rgba(255,255,255,.62); }
.youtube-loading-turtle {
  font-size: 2.15rem;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
  animation: youtube-turtle-swim 1.6s ease-in-out infinite;
}
@keyframes youtube-turtle-swim {
  0%,100% { transform: translate3d(-8px,0,0) rotate(-4deg); }
  50% { transform: translate3d(8px,-5px,0) rotate(5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .youtube-loading-turtle { animation: none !important; }
}


/* ===== v16: native local MP4 player — file:// safe, no crop, no quality loss ===== */
#videos .video-frame {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  background: #000 !important;
}

#videos .video-frame video {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  background: #000 !important;
}

/* Never zoom/crop the actual player on hover. */
#videos .video-card:hover .video-frame,
#videos .video-card:hover .video-frame video {
  transform: none !important;
}

/* ===== Mobile: keep glass, stop header pull, keep Discord visible ===== */

.site-top-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: rgba(7, 16, 21, 0.42);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.public-page .tool-logo,
.tool-card .tool-logo {
  width: 72px;
  height: 72px;
  padding: 0.4rem;
  object-fit: contain !important;
  object-position: center;
  background: #f4efe4 !important;
  filter: none !important;
  border-radius: 14px;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.tool-logo[src*="logo-alight"] {
  object-fit: contain !important;
  background: #f4efe4 !important;
}

.tool-card::before {
  display: none;
}

.tool-card {
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.02) 34%, rgba(42,117,100,.055) 68%, rgba(55,163,255,.035)) !important;
  background-size: cover !important;
}

@media (hover: none) {
  .btn:hover,
  .social-icon:hover,
  .to-top:hover,
  .cta-row .btn:hover {
    transform: none;
    filter: none;
  }

  .zoom-hold.is-press-zoom {
    transform: none !important;
  }
}

@media (max-width: 920px) {
  .site-top {
    top: 0 !important;
    padding: max(0.4rem, env(safe-area-inset-top)) 0 0.35rem !important;
    transform: none !important;
  }

  .site-top-inner,
  .site-top.is-scrolled .site-top-inner {
    transform: none !important;
    width: min(100% - 0.8rem, 1480px) !important;
  }

  .site-nav {
    flex-wrap: wrap !important;
    overflow: visible !important;
    justify-content: flex-start !important;
    width: 100%;
    row-gap: 0.18rem;
    -webkit-overflow-scrolling: auto;
  }

  .cta-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .cta-row .btn {
    width: 100%;
    max-width: 100%;
    min-height: 2.6rem;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  .site-nav .nav-page-link::after {
    display: none;
  }

  .site-nav a {
    font-size: 0.78rem;
    padding-inline: 0.48rem;
  }

  .social-row a,
  .social-icon {
    width: 44px;
    height: 44px;
  }

  .social-row img,
  .social-icon img {
    width: 22px !important;
    height: 22px !important;
  }
}
