@font-face {
  font-family: "Jawn";
  src:
    local("Jawn_fonte Oficial"),
    local("Jawn_fonte Oficial Regular"),
    url("assets/fonts/Jawn_fonteOficial-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─── Variables ─── */
:root {
  --bg: #000;
  --text: #fff;
  --muted: #d8d8d8;
  --muted-soft: rgba(255, 255, 255, .62);
  --line: rgba(255, 255, 255, .16);
  --line-strong: rgba(255, 255, 255, .32);
  --panel: rgba(0, 0, 0, .50);
  --shadow: 0 24px 90px rgba(0, 0, 0, .58);
  --radius: 28px;
  --container: 1180px;
  --font-jawn: "Jawn", "Bebas Neue", "Space Grotesk", Inter, sans-serif;
  --accent: #1487ff;
  --accent-dim: #0a5fcc;
  --accent-glow: rgba(20, 135, 255, .38);
  --accent-soft: rgba(20, 135, 255, .14);
  --neon-blue: #1487ff;
  --neon-cyan: #8bdcff;
  --gold: #f5a623;
  --gold-dim: rgba(245, 166, 35, .22);
  --page-gutter: clamp(14px, 4vw, 32px);
  --section-gap: clamp(54px, 8vw, 86px);
  --touch-target: 44px;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  min-width: 320px;
  scroll-padding-top: clamp(82px, 11vw, 118px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--text);
  background: #000 url("assets/fundo-poster.jpg") center / cover fixed no-repeat;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  min-width: 320px;
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
  -webkit-tap-highlight-color: rgba(139, 220, 255, .18);
}

body.cursor-ready,
body.cursor-ready a,
body.cursor-ready button { cursor: none; }

a { color: inherit; text-decoration: none; }
img, video, svg { display: block; }
img, video { max-width: 100%; }
img { height: auto; }
button { border: 0; font: inherit; color: inherit; }

h1, h2, h3, p, li, a, strong, small, span { overflow-wrap: break-word; }

/* ─── Fixed Layers ─── */
.bg-video, .noise, .vignette, .scanlines, .light-follow,
.cursor-dot, .cursor-ring, .cursor-trail {
  position: fixed;
  pointer-events: none;
}

.bg-video, .noise, .vignette, .scanlines, .light-follow { inset: 0; }

.bg-video {
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  background: #000 url("assets/fundo-poster.jpg?v=20260616-loop1") center / cover no-repeat;
  filter: saturate(.82) contrast(1.12) brightness(.88);
  transform: translateZ(0) scale(1.01);
  backface-visibility: hidden;
  will-change: transform;
}

.noise {
  z-index: 1;
  opacity: .055;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.scanlines {
  z-index: 2;
  opacity: .028;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(180deg, transparent, transparent 2px, rgba(0,0,0,.7) 2px, rgba(0,0,0,.7) 4px);
}

.vignette {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(0,0,0,.60), rgba(0,0,0,.14) 46%, rgba(0,0,0,.52)),
    linear-gradient(180deg, rgba(0,0,0,.44), transparent 34%, rgba(0,0,0,.78)),
    radial-gradient(circle at center, transparent 44%, rgba(0,0,0,.50) 100%);
}

.light-follow {
  z-index: 4;
  opacity: .32;
  mix-blend-mode: screen;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(142,220,255,.07) 0 2.1rem, rgba(20,135,255,.038) 5.4rem, transparent 10.2rem);
  transition: background .08s linear;
}

/* ─── Cursor ─── */
.cursor-dot, .cursor-ring, .cursor-trail {
  top: 0; left: 0;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}

.cursor-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #fff 0 18%, var(--neon-cyan) 42%, var(--neon-blue) 100%);
  box-shadow: 0 0 7px rgba(139,220,255,.52), 0 0 13px rgba(20,135,255,.24);
}

.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(139, 220, 255, .72);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(20,135,255,.13), rgba(0,0,0,.04) 58%, transparent 70%);
  box-shadow: inset 0 0 14px rgba(139,220,255,.16), 0 0 13px rgba(20,135,255,.34), 0 0 32px rgba(20,135,255,.13);
  transition: width .18s ease, height .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

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

.cursor-ring::before {
  inset: 7px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: inherit;
}

.cursor-ring::after {
  top: 50%; left: 50%;
  width: 18px; height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.86), transparent);
  box-shadow: 0 0 12px rgba(139,220,255,.78);
  transform: translate(-50%, -50%) rotate(var(--cursor-angle, -18deg));
}

.cursor-trail {
  width: 5px; height: 5px;
  border-radius: 999px;
  background: rgba(139, 220, 255, .82);
  box-shadow: 0 0 12px rgba(20,135,255,.58);
  mix-blend-mode: screen;
}

body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring { opacity: 1; }

body.cursor-ready .cursor-trail { opacity: var(--trail-opacity, .18); }

body.cursor-hidden .cursor-dot,
body.cursor-hidden .cursor-ring,
body.cursor-hidden .cursor-trail { opacity: 0; }

body.cursor-hover .cursor-dot { width: 10px; height: 10px; }

body.cursor-hover .cursor-ring {
  width: 58px; height: 58px;
  border-color: rgba(255,255,255,.88);
  background: radial-gradient(circle, rgba(139,220,255,.18), rgba(20,135,255,.08) 56%, transparent 72%);
  box-shadow: inset 0 0 13px rgba(255,255,255,.12), 0 0 11px rgba(139,220,255,.30), 0 0 26px rgba(20,135,255,.11);
}

body.cursor-hover .cursor-ring::after { width: 28px; }

body.is-video-dragging .cursor-ring {
  width: 30px; height: 30px;
  border-color: rgba(139,220,255,.58);
  background: rgba(20,135,255,.06);
}

body.is-video-dragging .light-follow { opacity: .18; }
body.is-video-dragging .cursor-trail { opacity: .04 !important; }

/* ─── Topbar ─── */
.topbar {
  position: fixed;
  top: 22px; left: 50%;
  z-index: 50;
  width: min(560px, calc(100% - 32px));
  min-height: 60px; height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 60px rgba(0,0,0,.32);
  overflow: hidden;
}

/* Glass inner highlight — shared by topbar, glass-panel, profile-card, video-card */
.topbar::before, .glass-panel::before, .profile-card::before, .video-card a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 32%, rgba(255,255,255,.08) 70%, transparent);
  opacity: .45;
}

/* Topbar animation override */
.topbar[data-animate] { transform: translate3d(-50%, 22px, 0); }
.topbar[data-animate].is-visible { transform: translate3d(-50%, 0, 0); }

.live-badge {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px;
  border: 1px solid rgba(20,135,255,.40);
  border-radius: 999px;
  background: rgba(20,135,255,.12);
  color: #fff;
  font-size: .68rem; font-weight: 900;
  letter-spacing: .18em; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0;
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
  animation: livePulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--neon-blue); }
  50%       { opacity: .5; box-shadow: 0 0 14px var(--neon-blue); }
}

.nav-links {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  gap: clamp(20px, 5vw, 56px);
  width: 100%;
  justify-content: center;
}

.nav-links a {
  padding: 12px 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #e9e9e9;
  font-family: var(--font-jawn);
  font-size: 1.08rem; font-weight: 400;
  letter-spacing: .025em; line-height: 1;
  text-shadow: 0 1px 10px rgba(0,0,0,.32), 0 0 1px currentColor;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
  min-height: var(--touch-target);
  display: grid; place-items: center;
}

.nav-links a:hover, .nav-links a:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}

/* ─── Shell ─── */
.site-shell, .footer {
  position: relative;
  z-index: 10;
  width: min(var(--container), calc(100% - (var(--page-gutter) * 2)));
  margin: 0 auto;
}

.site-shell {
  padding-top: clamp(92px, 12dvh, 116px);
  padding-bottom: clamp(40px, 7vw, 64px);
}

/* ─── Hero grid ─── */
.hero-grid {
  position: relative;
  min-height: calc(100dvh - 150px);
  display: grid;
  grid-template-columns: minmax(220px, clamp(245px, 28vw, 420px)) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  justify-content: center;
  padding: 18px 0 clamp(76px, 10vw, 104px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding-top: clamp(20px, 6vw, 64px);
  min-width: 0;
  width: 100%;
}

/* ─── Shared float animation (used by profile card, title, description, links section) ─── */
@keyframes jawnFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.25deg); }
  50%       { transform: translate3d(0, -10px, 0) rotate(.35deg); }
}

@keyframes jawnFloatAlt {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(.18deg); }
  50%       { transform: translate3d(0, -10px, 0) rotate(-.28deg); }
}

/* ─── Profile card ─── */
.profile-card {
  position: relative;
  width: clamp(210px, 22vw, 255px);
  padding: 9px;
  overflow: visible;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(0,0,0,.36));
  box-shadow: 0 18px 68px rgba(0,0,0,.50);
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform, filter;
}

.profile-card[data-animate].is-visible {
  animation: jawnFloat 6.2s ease-in-out infinite;
}

.profile-card::before { z-index: 3; }

.profile-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -12px;
  border-radius: 34px;
  opacity: .42;
  filter: blur(12px);
  transform: translateY(8px) scale(.98);
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(139,220,255,.24), transparent 38%),
    radial-gradient(circle at 78% 78%, rgba(20,135,255,.22), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent 58%);
  animation: frameAuraFloat 6.2s ease-in-out infinite;
}

.profile-card:hover,
.profile-card:focus-within {
  border-color: rgba(139,220,255,.46);
  background: linear-gradient(145deg, rgba(139,220,255,.14), rgba(0,0,0,.42) 58%, rgba(20,135,255,.10));
  box-shadow: 0 24px 90px rgba(0,0,0,.62), 0 0 34px rgba(20,135,255,.18);
}

.profile-card:hover::after,
.profile-card:focus-within::after { opacity: .72; filter: blur(18px); transform: translateY(2px) scale(1.04); }

@keyframes frameAuraFloat {
  0%, 100% { opacity: .34; filter: blur(12px); }
  50%       { opacity: .58; filter: blur(16px); }
}

.avatar-float {
  position: relative; z-index: 2;
  border-radius: 18px;
}

.avatar-float::after {
  content: "";
  position: absolute; z-index: 4;
  inset: -5px;
  pointer-events: none;
  border: 1px solid rgba(139,220,255,.28);
  border-radius: 23px;
  opacity: .46;
  mix-blend-mode: screen;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.045),
    0 0 12px rgba(139,220,255,.14),
    0 0 26px rgba(20,135,255,.08);
  animation: framePulseRing 6.2s ease-in-out infinite;
  will-change: opacity, box-shadow;
}

.avatar-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: #050505;
  box-shadow: inset 0 0 18px rgba(139,220,255,.035), 0 14px 34px rgba(0,0,0,.30);
  transform: translateZ(14px);
  transition: transform .42s ease, border-color .35s ease, box-shadow .35s ease, filter .35s ease;
}

.avatar-frame img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(1.06);
  transform: scale(1.02);
  transition: transform .55s ease, filter .35s ease;
}

.avatar-frame::before {
  content: "";
  position: absolute; z-index: 3;
  inset: -35%; pointer-events: none;
  opacity: 0; mix-blend-mode: screen;
  background: linear-gradient(115deg, transparent 42%, rgba(139,220,255,.22) 50%, transparent 58%);
  transform: translateX(-70%) rotate(8deg);
  transition: opacity .35s ease, transform .72s ease;
}

.avatar-frame::after {
  content: "";
  position: absolute; z-index: 2;
  inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 62%, rgba(0,0,0,.28)),
    radial-gradient(circle at 50% 12%, rgba(139,220,255,.12), transparent 42%);
}

.profile-card:hover .avatar-frame,
.profile-card:focus-within .avatar-frame {
  border-color: rgba(139,220,255,.58);
  box-shadow:
    inset 0 0 32px rgba(139,220,255,.10),
    0 22px 54px rgba(0,0,0,.38),
    0 0 0 1px rgba(139,220,255,.20),
    0 0 26px rgba(20,135,255,.22);
  filter: drop-shadow(0 0 10px rgba(139,220,255,.16));
}

.profile-card:hover .avatar-frame img,
.profile-card:focus-within .avatar-frame img {
  filter: saturate(1.02) contrast(1.07) brightness(1.02);
  transform: scale(1.04);
}

.profile-card:hover .avatar-frame::before,
.profile-card:focus-within .avatar-frame::before {
  opacity: 1;
  transform: translateX(70%) rotate(8deg);
}

.profile-card:hover .avatar-float::after,
.profile-card:focus-within .avatar-float::after {
  border-color: rgba(139,220,255,.50);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.09),
    0 0 22px rgba(139,220,255,.28),
    0 0 44px rgba(20,135,255,.18);
}

@keyframes framePulseRing {
  0%, 100% {
    opacity: .48;
    box-shadow: 0 0 0 1px rgba(255,255,255,.055), 0 0 14px rgba(139,220,255,.13), 0 0 28px rgba(20,135,255,.08);
  }
  50% {
    opacity: .72;
    box-shadow: 0 0 0 1px rgba(255,255,255,.075), 0 0 20px rgba(139,220,255,.20), 0 0 38px rgba(20,135,255,.13);
  }
}

/* ─── Hero copy ─── */
.hero-copy {
  position: relative;
  width: 100%;
  max-width: min(100%, 440px);
  text-align: center;
  isolation: isolate;
}

.hero-copy::before {
  content: "";
  position: absolute; z-index: -1;
  inset: -18px -20px -20px;
  border-radius: 34px;
  background: linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.12) 68%, transparent);
  pointer-events: none;
}

/* Hero title — float + glitch */
.hero-title {
  position: relative;
  width: min(100%, clamp(235px, 34vw, 344px));
  margin: 0 auto;
  color: #fff;
  font-family: var(--font-jawn);
  font-weight: 400;
  font-size: clamp(4.15rem, 8.2vw, 7.9rem);
  line-height: .82;
  letter-spacing: clamp(.045em, .95vw, .12em);
  text-transform: uppercase;
  text-shadow: 0 10px 0 rgba(255,255,255,.10), 0 0 40px rgba(255,255,255,.12), 0 0 80px rgba(20,135,255,.08);
  filter: drop-shadow(0 14px 13px rgba(0,0,0,.72)) drop-shadow(0 0 14px rgba(139,220,255,.22));
  transform-origin: center;
  will-change: transform, filter;
  /* glitch runs separately, float is applied via .is-visible below */
}

.hero-copy[data-animate].is-visible .hero-title {
  animation: jawnTitleFloat 6.2s ease-in-out infinite, glitchIdle 8s ease-in-out infinite;
}

@keyframes jawnTitleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-.18deg); }
  50%       { transform: translate3d(0, -10px, 0) rotate(.28deg); }
}

@keyframes glitchIdle {
  0%, 86%, 100% { filter: drop-shadow(0 14px 13px rgba(0,0,0,.72)) drop-shadow(0 0 14px rgba(139,220,255,.22)); }
  88%  { transform: translate3d(-2px, 0, 0) skewX(-1.5deg); filter: brightness(1.12); }
  89%  { transform: translate3d(2px, 0, 0) skewX(1.5deg);  filter: brightness(1.05); }
  90%  { transform: none; filter: drop-shadow(0 14px 13px rgba(0,0,0,.72)) drop-shadow(0 0 14px rgba(139,220,255,.22)); }
  92%  { transform: translate3d(-1px, 1px, 0) skewX(.8deg); }
  93%  { transform: none; }
}

.hero-title::before {
  content: attr(data-text);
  position: absolute; inset: 0; z-index: -2;
  color: var(--neon-blue);
  opacity: .40;
  transform: translate(-3px, 1px);
  mix-blend-mode: screen;
  animation: glitchRed 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-title::after {
  content: attr(data-text);
  position: absolute; inset: 0; z-index: -1;
  color: rgba(255,255,255,.10);
  transform: translate(3px, 2px);
  pointer-events: none;
}

@keyframes glitchRed {
  0%, 86%, 100% { transform: translate(-3px, 1px); opacity: .55; }
  88%  { transform: translate(-6px, -1px); opacity: .8; }
  89%  { transform: translate(1px, 2px);  opacity: .3; }
  90%  { transform: translate(-3px, 1px); opacity: .55; }
  92%  { transform: translate(-5px, 0); opacity: .7; }
  93%  { transform: translate(-3px, 1px); opacity: .55; }
}

.hero-description {
  max-width: min(100%, 41rem);
  margin: 22px auto 0;
  padding: 0 10px;
  text-align: center;
  color: #eee;
  font-size: clamp(.98rem, 1.35vw, 1.17rem);
  transform-origin: center;
  will-change: transform;
}

.hero-copy[data-animate].is-visible .hero-description {
  animation: jawnFloat 6.2s ease-in-out infinite;
}

/* ─── Scroll hint ─── */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 16px; z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-align: center;
  opacity: .9;
  transform: translateX(-50%);
  transition: opacity .2s ease, filter .2s ease;
}

.scroll-hint span {
  color: var(--muted-soft);
  font-size: .68rem; font-weight: 900;
  letter-spacing: .28em; text-transform: uppercase;
}

.scroll-hint strong {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 18px 44px rgba(0,0,0,.42), 0 0 34px rgba(0,122,255,.22);
  backdrop-filter: blur(12px);
  font-size: 1.55rem; line-height: 1;
  animation: scrollHintArrow 1.55s ease-in-out infinite;
}

.scroll-hint:hover, .scroll-hint:focus-visible {
  opacity: 1;
  filter: drop-shadow(0 0 16px rgba(255,255,255,.20));
}

.scroll-hint:focus-visible {
  outline: 2px solid rgba(255,255,255,.72);
  outline-offset: 8px;
  border-radius: 999px;
}

@keyframes scrollHintArrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(9px); }
}

/* ─── Section headings ─── */
.links-section, .videos-section { padding: 0; }

.videos-section[data-animate].is-visible {
  animation: jawnFloat 6.2s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted-soft);
  font-family: var(--font-jawn);
  font-size: .88rem; font-weight: 400;
  letter-spacing: .28em; text-transform: uppercase;
  text-shadow: 0 0 16px rgba(139, 220, 255, .12);
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--neon-blue);
  flex-shrink: 0;
}

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 26px; }
.section-heading.compact { display: block; margin-bottom: 18px; }
.section-heading.compact h2 { display: none; }

.videos-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.videos-kicker { margin: 0; }

.drag-helper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(139,220,255,.22);
  border-radius: 999px;
  color: rgba(255,255,255,.76);
  background: linear-gradient(135deg, rgba(7,16,32,.70), rgba(0,0,0,.38));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 12px 28px rgba(0,0,0,.28), 0 0 22px rgba(20,135,255,.10);
  backdrop-filter: blur(10px);
  font-size: .72rem; font-weight: 850;
  letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.drag-helper span {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 999px;
  color: #fff;
  background: rgba(139,220,255,.14);
  box-shadow: 0 0 16px rgba(139,220,255,.18);
  font-size: .92rem;
  animation: dragHintPulse 1.65s ease-in-out infinite;
}

@keyframes dragHintPulse {
  0%, 100% { transform: translateX(0); opacity: .82; }
  50%       { transform: translateX(4px); opacity: 1; }
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.3vw, 4rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.members-header h2,
.community-card h2,
.contact-card h2 {
  font-family: var(--font-jawn);
  font-weight: 400;
  letter-spacing: .005em;
  line-height: .9;
}

/* ─── Links section float ─── */
.links-section[data-animate].is-visible {
  animation: jawnFloatAlt 6.2s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

/* ─── Social buttons ─── */
.social-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr));
  gap: clamp(10px, 1.8vw, 14px);
  width: 100%;
  overflow: visible;
  padding: 2px 0 10px;
}

.social-button {
  --button-bg: linear-gradient(135deg, #1f1f1f, #070707);
  position: relative;
  min-width: 0;
  height: auto;
  min-height: var(--touch-target);
  padding: 12px clamp(12px, 2vw, 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.008);
  backdrop-filter: blur(12px) saturate(1.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 14px 28px rgba(0,0,0,.24);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.social-button::before, .social-button::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.social-button::before { z-index: -1; background: var(--button-bg); opacity: .46; }
.social-button::after { background: linear-gradient(180deg, rgba(255,255,255,.18), transparent 52%, rgba(0,0,0,.15)); opacity: .38; }

.social-button:hover, .social-button:focus-visible {
  border-color: rgba(255,255,255,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 36px rgba(0,0,0,.34);
  transform: translateY(-4px) scale(1.04);
}

.social-button:hover::before, .social-button:focus-visible::before { opacity: .64; }
.social-button:hover::after, .social-button:focus-visible::after { opacity: .9; }

.social-button .btn-shine {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  pointer-events: none; z-index: 2;
}

.social-button:hover .btn-shine,
.social-button:focus-visible .btn-shine { transform: translateX(120%); }

.social-button:hover .social-icon,
.social-button:focus-visible .social-icon { animation: iconBounce .45s cubic-bezier(.36,.07,.19,.97); }

@keyframes iconBounce {
  0%   { transform: translateY(0) rotate(0deg); }
  30%  { transform: translateY(-5px) rotate(-8deg); }
  60%  { transform: translateY(2px) rotate(4deg); }
  80%  { transform: translateY(-2px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.social-button.youtube:hover, .social-button.youtube:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 22px 44px rgba(0,0,0,.42), 0 0 28px rgba(196,27,27,.50);
}
.social-button.tiktok:hover, .social-button.tiktok:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 22px 44px rgba(0,0,0,.42), 0 0 28px rgba(77,42,149,.60);
}
.social-button.instagram:hover, .social-button.instagram:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 22px 44px rgba(0,0,0,.42), 0 0 28px rgba(227,60,155,.50);
}
.social-button.discord:hover, .social-button.discord:focus-visible {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 22px 44px rgba(0,0,0,.42), 0 0 28px rgba(99,101,241,.60);
}

.social-button.youtube   { --button-bg: linear-gradient(135deg, #c41b1b 0%, #7d0808 100%); }
.social-button.tiktok    { --button-bg: linear-gradient(135deg, #4d2a95 0%, #24135e 100%); }
.social-button.instagram { --button-bg: linear-gradient(135deg, #9146d8 0%, #e33c9b 58%, #c72c80 100%); }
.social-button.discord   { --button-bg: linear-gradient(135deg, #6365f1 0%, #3540b9 100%); }

.social-icon, .social-icon svg { width: 20px; height: 20px; min-width: 20px; }

.social-icon {
  position: relative; z-index: 1;
  display: grid; place-items: center;
}

.social-icon svg { fill: currentColor; }

.social-button strong {
  position: relative; z-index: 1;
  display: block;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-jawn);
  font-size: .94rem; font-weight: 400;
  letter-spacing: .065em; line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── General buttons ─── */
.mini-link, .primary-button, .secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--touch-target);
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-jawn);
  font-weight: 400;
  letter-spacing: .075em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,.30), 0 0 1px currentColor;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.mini-link, .secondary-button {
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255,255,255,.07);
}

.primary-button {
  border: 1px solid rgba(20, 135, 255, .36);
  color: #fff;
  background: linear-gradient(135deg, #1a6fff 0%, #0d4bcc 55%, #071e6b 100%);
  box-shadow: 0 18px 54px rgba(20, 135, 255, .22);
}

.mini-link:hover, .secondary-button:hover,
.mini-link:focus-visible, .secondary-button:focus-visible {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 70px rgba(0,0,0,.42);
}

.primary-button:hover, .primary-button:focus-visible {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 24px 64px rgba(20, 135, 255, .36);
  border-color: rgba(139, 220, 255, .52);
}

/* ─── Video rail ─── */
.video-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(260px, 39vw, 370px);
  gap: clamp(12px, 2vw, 18px);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  overscroll-behavior-x: contain;
  scroll-snap-type: inline proximity;
  scroll-behavior: auto;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 10px;
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none; -webkit-user-select: none;
  scrollbar-width: none; -ms-overflow-style: none;
  align-items: stretch;
}

.video-rail::-webkit-scrollbar { width: 0; height: 0; display: none; }

.video-rail.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.video-rail.is-dragging .video-card,
.video-rail.is-dragging .video-card a,
.video-rail.is-dragging .video-card a:hover,
.video-rail.is-dragging .video-card a:focus-visible { transform: none !important; transition: none !important; }

.video-rail.is-dragging .thumb::before { display: none; }

.video-card { scroll-snap-align: start; height: 100%; }

.video-card a {
  position: relative; contain: layout;
  display: flex; flex-direction: column;
  height: 100%;
  min-height: clamp(270px, 32vw, 314px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 28px);
  background: rgba(0,0,0,.52);
  box-shadow: 0 18px 56px rgba(0,0,0,.30);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
  cursor: pointer;
  touch-action: pan-x pan-y;
  -webkit-tap-highlight-color: rgba(255,255,255,.12);
  -webkit-user-drag: none;
}

.video-card a:hover, .video-card a:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255,255,255,.08);
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 70px rgba(0,0,0,.42);
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: clamp(148px, 18vw, 190px);
  flex: 0 0 auto;
  display: flex;
  align-items: end; justify-content: space-between;
  overflow: hidden;
  padding: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 9rem),
    radial-gradient(circle at 74% 34%, rgba(255,255,255,.12), transparent 9rem),
    linear-gradient(135deg, #151515, #030303);
}

.thumb::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0 30%, rgba(255,255,255,.12) 46%, transparent 62%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}

.video-card:hover .thumb::before { transform: translateX(100%); }

.thumb span {
  position: relative;
  color: rgba(255,255,255,.16);
  font-family: "Bebas Neue", sans-serif;
  font-size: 4.6rem; line-height: .8;
}

.thumb b {
  position: relative;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 34px rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}

.video-info {
  padding: 18px;
  min-height: clamp(112px, 13vw, 128px);
  display: flex; flex-direction: column;
}

.video-info strong {
  display: -webkit-box;
  min-height: 3.6em;
  overflow: hidden;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 1.05rem; line-height: 1.2;
}

.video-info small {
  display: block;
  margin-top: auto;
  color: var(--muted);
  font-size: .72rem; font-weight: 850;
  letter-spacing: .10em; text-transform: uppercase;
}

/* ─── Members section ─── */
.members-section { padding-top: var(--section-gap); }

.members-panel { padding: clamp(24px, 4vw, 44px); }

.members-section[data-animate].is-visible .members-panel {
  animation: jawnFloat 6.2s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.members-header { max-width: 720px; }

.members-header p:not(.section-kicker) {
  margin-top: 14px;
  color: #eee;
  font-size: 1.04rem;
}

.member-levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.member-card {
  contain: layout;
  position: relative;
  min-height: 350px;
  display: flex; flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 28px);
  background: linear-gradient(145deg, rgba(255,255,255,.105), rgba(0,0,0,.42));
  box-shadow: 0 18px 58px rgba(0,0,0,.28);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.member-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 10%, rgba(255,255,255,.12), transparent 9rem),
    linear-gradient(135deg, rgba(255,255,255,.07), transparent 45%);
  pointer-events: none;
}

.member-card:hover, .member-card:focus-within {
  border-color: rgba(20,135,255,.28);
  background: linear-gradient(145deg, rgba(20,135,255,.05), rgba(0,0,0,.40));
  box-shadow: 0 24px 74px rgba(0,0,0,.40), 0 0 30px rgba(20,135,255,.05);
  transform: translateY(-4px);
}

.featured-member {
  border-color: rgba(20,135,255,.28);
  box-shadow:
    0 20px 70px rgba(20,135,255,.14),
    0 18px 58px rgba(0,0,0,.32),
    inset 0 0 0 1px rgba(20,135,255,.10);
}

.featured-member::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(20,135,255,.06), transparent 48%, rgba(20,135,255,.04) 100%);
  pointer-events: none;
}

.featured-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid rgba(20,135,255,.50);
  border-radius: 999px;
  background: rgba(20,135,255,.14);
  color: var(--neon-cyan);
  font-size: .64rem; font-weight: 900;
  letter-spacing: .18em; text-transform: uppercase;
  position: relative; z-index: 1;
  width: fit-content;
}

.member-card-top, .member-card ul, .member-button { position: relative; z-index: 1; }

.member-card-top h3 { font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.12rem; line-height: 1.15; }
.member-card-top strong { display: block; margin-top: 6px; color: #f2f2f2; font-size: 1.04rem; }

.member-card ul { display: grid; gap: 10px; margin: 24px 0 28px; list-style: none; color: #efefef; font-size: .94rem; font-weight: 650; }
.member-card li { display: flex; gap: 10px; }
.member-card li::before { content: "✦"; flex: 0 0 auto; color: var(--neon-cyan); }

.member-button {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-height: 50px;
  margin-top: auto; padding: 0 22px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.10);
  font-family: var(--font-jawn); font-weight: 400;
  letter-spacing: .075em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0,0,0,.30), 0 0 1px currentColor;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.featured-member .member-button {
  background: rgba(20,135,255,.14);
  border-color: rgba(20,135,255,.36);
  color: var(--neon-cyan);
}

.featured-member .member-button:hover, .featured-member .member-button:focus-visible {
  background: rgba(20,135,255,.24);
  border-color: rgba(139,220,255,.58);
  box-shadow: 0 18px 48px rgba(20,135,255,.24);
}

.member-button:hover, .member-button:focus-visible {
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.18);
  box-shadow: 0 18px 48px rgba(255,255,255,.10);
  transform: translateY(-2px);
}

/* ─── Community section ─── */
.community-section { padding-top: var(--section-gap); }

.glass-panel {
  position: relative; overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.community-card { padding: clamp(26px, 5vw, 54px); }

.community-section[data-animate].is-visible .community-card {
  animation: jawnFloatAlt 6.2s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.community-card::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  filter: blur(60px);
  pointer-events: none;
}

.community-card p:not(.section-kicker) {
  max-width: 660px;
  margin-top: 18px;
  color: #eee;
  font-size: 1.06rem;
}

.community-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ─── Contact section ─── */
.contact-section { padding-top: var(--section-gap); }

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
  padding: clamp(26px, 5vw, 54px);
  background:
    radial-gradient(circle at 12% 12%, rgba(139,220,255,.14), transparent 18rem),
    radial-gradient(circle at 84% 24%, rgba(20,135,255,.16), transparent 15rem),
    var(--panel);
}

.contact-section[data-animate].is-visible .contact-card {
  animation: jawnFloat 6.2s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

.contact-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(20,135,255,.16);
  filter: blur(70px);
  pointer-events: none;
}

.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.contact-card p:not(.section-kicker) {
  margin-top: 18px;
  color: #eee;
  font-size: 1.06rem;
}

.contact-mail-button {
  position: relative;
  z-index: 1;
  min-width: min(100%, 330px);
  min-height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 22px;
  overflow: hidden;
  border: 1px solid rgba(139,220,255,.34);
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, rgba(20,135,255,.20), rgba(255,255,255,.075));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 18px 54px rgba(20,135,255,.14);
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.contact-mail-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .58s cubic-bezier(.25,.46,.45,.94);
  pointer-events: none;
}

.contact-mail-button:hover,
.contact-mail-button:focus-visible {
  border-color: rgba(139,220,255,.62);
  background: linear-gradient(135deg, rgba(20,135,255,.28), rgba(255,255,255,.10));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 24px 64px rgba(20,135,255,.26);
  transform: translateY(-3px);
}

.contact-mail-button:hover::before,
.contact-mail-button:focus-visible::before { transform: translateX(120%); }

.contact-mail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--neon-cyan);
  background: rgba(139,220,255,.12);
  box-shadow: 0 0 28px rgba(139,220,255,.18);
}

.contact-mail-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-mail-button small,
.contact-mail-button strong {
  display: block;
  line-height: 1;
}

.contact-mail-button small {
  margin-bottom: 7px;
  color: rgba(255,255,255,.64);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact-mail-button strong {
  font-family: var(--font-jawn);
  font-size: clamp(1rem, 2vw, 1.28rem);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── Back to top ─── */
.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 40;
  width: 54px; height: 54px;
  min-height: var(--touch-target);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.58);
  box-shadow: 0 18px 48px rgba(0,0,0,.46), 0 0 34px rgba(0,122,255,.24), inset 0 1px 0 rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
  opacity: 0; pointer-events: none;
  transform: translateY(14px) scale(.92);
  transition: opacity .22s ease, transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.back-to-top.is-visible { opacity: .94; pointer-events: auto; }

.back-to-top span {
  display: block;
  font-size: 1.65rem; font-weight: 900; line-height: 1;
}

.back-to-top.is-visible {
  animation: jawnFloat 6.2s ease-in-out infinite;
  will-change: transform;
}

.back-to-top:hover, .back-to-top:focus-visible {
  opacity: 1;
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.12);
  box-shadow: 0 20px 56px rgba(0,0,0,.52), 0 0 42px rgba(0,122,255,.32), inset 0 1px 0 rgba(255,255,255,.18);
}

.back-to-top:focus-visible { outline: 2px solid rgba(255,255,255,.76); outline-offset: 7px; }

@keyframes backToTopPulse {
  0%, 100% { transform: translateY(2px); }
  50%       { transform: translateY(-5px); }
}

/* ─── Footer ─── */
.footer {
  display: flex; justify-content: space-between; gap: 16px;
  margin-bottom: 34px;
  padding-top: 22px;
  padding-bottom: max(0px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}

.footer span:first-child {
  font-family: var(--font-jawn);
  font-weight: 400;
  letter-spacing: .055em;
  line-height: 1;
}

/* ─── Reveal animations ─── */
[data-animate] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

.magnetic { backface-visibility: hidden; }

/* content-visibility for below-fold sections */
.members-section, .community-section, .contact-section {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
  scroll-margin-top: clamp(86px, 11vw, 120px);
}

.links-section, .videos-section { scroll-margin-top: clamp(86px, 11vw, 120px); }

/* ─── YouTube thumb ─── */
.youtube-thumb {
  align-items: flex-end; justify-content: space-between;
  background: #060606;
}

.youtube-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .35s ease, filter .35s ease;
}

.youtube-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.62)),
    radial-gradient(circle at 76% 28%, rgba(0,122,255,.22), transparent 42%);
  pointer-events: none;
}

.video-card a:hover .youtube-thumb img,
.video-card a:focus-visible .youtube-thumb img {
  filter: brightness(1.08) saturate(1.12);
  transform: scale(1.08);
}

.youtube-thumb span, .youtube-thumb b { z-index: 1; }
.youtube-thumb span { color: rgba(255,255,255,.34); text-shadow: 0 8px 28px rgba(0,0,0,.7); }

/* Fallback ghost/color thumbs */
.ghost-thumb  { background: linear-gradient(135deg, #1a1a1a, #060606); }
.red-thumb    { background: linear-gradient(135deg, #3a0a0a, #1a0404); }
.purple-thumb { background: linear-gradient(135deg, #1c0a2e, #0a0416); }
.blue-thumb   { background: linear-gradient(135deg, #0a122e, #020510); }

/* ─── Responsive ─── */
@media (hover: none), (pointer: coarse) {
  body.cursor-ready, body.cursor-ready a, body.cursor-ready button { cursor: auto; }
  .cursor-dot, .cursor-ring, .cursor-trail { display: none; }
  .light-follow { display: none; }

  /* disable hover transforms on touch */
  .magnetic, .social-button:hover, .social-button:focus-visible,
  .member-card:hover, .member-card:focus-within,
  .video-card a:hover, .video-card a:focus-visible,
  .primary-button:hover, .secondary-button:hover,
  .mini-link:hover, .member-button:hover, .contact-mail-button:hover { transform: none !important; }

  .profile-card:hover .avatar-frame img,
  .profile-card:focus-within .avatar-frame img { transform: scale(1.02); }

  .videos-section[data-animate].is-visible {
    animation: none;
    transform: none;
  }

  .video-rail {
    cursor: auto;
    scroll-behavior: auto;
    scroll-snap-type: inline proximity;
    touch-action: pan-x pan-y;
  }

  .video-card a {
    cursor: pointer;
    touch-action: pan-x pan-y;
  }
}

@media (max-width: 980px) {
  .topbar {
    left: 50%; right: auto;
    top: max(10px, env(safe-area-inset-top));
    width: min(520px, calc(100vw - max(18px, env(safe-area-inset-left) + env(safe-area-inset-right) + 18px)));
    max-width: calc(100vw - 18px);
    margin-inline: 0;
  }

  .nav-links { gap: clamp(6px, 2vw, 14px); }

  .nav-links a {
    flex: 1 1 0; min-width: 0;
    font-size: clamp(.84rem, 2.9vw, 1.06rem);
    padding-inline: clamp(6px, 2.2vw, 13px);
    white-space: nowrap;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    max-width: 780px;
    margin-inline: auto;
    align-items: start;
    min-height: auto;
  }

  .hero-left {
    justify-self: center;
    max-width: min(100%, 560px);
    margin-inline: auto;
  }

  .hero-right { padding-top: 0; }

  .profile-card { width: clamp(230px, 32vw, 265px); }

  .member-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .member-card { min-height: auto; }

  .scroll-hint {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 16px;
    margin-bottom: 8px;
    align-self: center;
    justify-self: center;
    grid-column: 1 / -1;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .topbar { width: min(520px, calc(100vw - 32px)); padding-inline: 14px; }
  .nav-links a { font-size: clamp(1rem, 2vw, 1.08rem); }
}

@media (max-width: 760px) {
  .topbar { width: calc(100% - 22px); min-height: 56px; padding: 8px 10px; }
  .nav-links { gap: clamp(6px, 2vw, 12px); }

  .hero-grid { gap: clamp(28px, 7vw, 42px); padding-top: 0; padding-bottom: clamp(68px, 16vw, 88px); }

  .scroll-hint {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin-top: 8px;
    align-self: center;
    justify-self: center;
  }

  .profile-card { width: clamp(205px, 62vw, 255px); }

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

  .videos-topline { align-items: stretch; flex-direction: column; }
  .drag-helper { width: 100%; justify-content: center; text-align: center; font-size: .66rem; letter-spacing: .055em; white-space: normal; }

  .video-rail {
    grid-auto-columns: minmax(252px, 84vw);
    margin-inline: calc(var(--page-gutter) * -.35);
    padding-inline: calc(var(--page-gutter) * .35);
    scroll-padding-inline: calc(var(--page-gutter) * .35);
  }

  .thumb { min-height: 142px; }

  .member-levels { grid-template-columns: 1fr; }

  .members-panel, .community-card, .contact-card { padding: clamp(20px, 5vw, 28px); }

  .community-actions { align-items: stretch; }

  .contact-card { grid-template-columns: 1fr; }
  .contact-mail-button { justify-content: flex-start; }
  .primary-button, .secondary-button, .mini-link, .member-button, .contact-mail-button { width: 100%; }
}

@media (max-width: 520px) {
  :root { --page-gutter: 14px; --touch-target: 46px; }

  .topbar { width: calc(100% - 18px); border-radius: 24px; }
  .nav-links a { flex: 1 1 0; min-width: 0; padding-inline: 8px; }

  .hero-left { gap: 20px; }

  .hero-title {
    width: min(100%, 288px);
    font-size: clamp(3.38rem, 20vw, 4.9rem);
    letter-spacing: clamp(.035em, 1.45vw, .075em);
  }

  .hero-description { max-width: 32rem; font-size: .96rem; line-height: 1.58; }

  .section-kicker { gap: 8px; margin-bottom: 12px; font-size: .78rem; letter-spacing: .18em; }
  .section-kicker::before { width: 14px; }

  .social-buttons { grid-template-columns: 1fr; }
  .social-button { justify-content: flex-start; min-height: 54px; padding-inline: 18px; }

  .video-rail { grid-auto-columns: minmax(238px, 88vw); }
  .video-card a { min-height: 258px; }
  .thumb { min-height: 134px; padding: 14px; }
  .thumb span { font-size: 3.45rem; }
  .thumb b { width: 44px; height: 44px; }
  .video-info { min-height: 108px; padding: 16px; }
  .video-info strong { min-height: auto; font-size: 1rem; }

  h2, .members-header h2, .community-card h2, .contact-card h2 {
    font-size: clamp(2.35rem, 14vw, 3.15rem);
    letter-spacing: .005em;
  }

  .members-header p:not(.section-kicker),
  .community-card p:not(.section-kicker),
  .contact-card p:not(.section-kicker) { font-size: .98rem; }

  .member-card { padding: 20px; }

  .footer { align-items: center; text-align: center; flex-direction: column; }
  .live-badge { display: none; }
}

@media (max-width: 380px) {
  .topbar { padding-inline: 8px; }
  .nav-links { gap: 3px; }
  .nav-links a { font-size: clamp(.74rem, 3.35vw, .88rem); letter-spacing: 0; padding-inline: 4px; }
  .hero-title { font-size: clamp(3.1rem, 19vw, 4.1rem); }
  .hero-description { font-size: .93rem; }
  .profile-card { width: min(220px, 72vw); }
  .video-rail { grid-auto-columns: minmax(226px, 90vw); }
}

@media (max-height: 560px) and (orientation: landscape) {
  .site-shell { padding-top: 82px; }
  .hero-grid { min-height: auto; padding-bottom: 56px; }
  .profile-card { width: clamp(180px, 24vw, 220px); }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .scroll-hint strong, .back-to-top span { transform: none !important; }
  .bg-video { display: none; }
  body { background-attachment: scroll; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar, .glass-panel, .profile-card, .social-button, .back-to-top {
    background-color: rgba(0, 0, 0, .78);
  }
}

@media (min-width: 1181px) {
  .hero-grid { max-width: var(--container); margin-inline: auto; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .member-levels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .section-kicker { letter-spacing: .22em; }
}

/* ── Loading indicator do video rail ── */
.video-rail-loading {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 2rem 1rem;
  min-width: 100%;
  justify-content: center;
}

.video-rail-loading-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #e63232);
  opacity: .4;
  animation: rail-pulse 1.2s ease-in-out infinite;
}

.video-rail-loading-dot:nth-child(2) { animation-delay: .2s; }
.video-rail-loading-dot:nth-child(3) { animation-delay: .4s; }

@keyframes rail-pulse {
  0%, 100% { opacity: .2; transform: scale(.8); }
  50%       { opacity: 1;  transform: scale(1.15); }
}
