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

:root {
  --red: #ED1639;
  --dark-red: #B3122D;
  --bg: #050B1A;
  --bg2: #0A1228;
  --silver: #E6E6E6;
  --white: #FFFFFF;
  --card-bg: rgba(10,18,40,0.85);
  --glow: 0 0 20px rgba(237,22,57,0.5);
  --glow-lg: 0 0 40px rgba(237,22,57,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; }
.section-max { width: 100%; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 76px;
  background: rgba(5,11,26,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(237,22,57,0.15);
  overflow: visible;
}
nav::after {
  content: '';
  position: absolute; bottom: 0; left: -100%; width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: navScan 4s ease-in-out infinite;
}
@keyframes navScan {
  0% { left: -40%; }
  100% { left: 140%; }
}

.nav-brand { flex-shrink: 0; z-index: 1002; }

.nav-logo {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
  transition: transform .25s;
}
.nav-logo:hover { transform: scale(1.04); }

/* ── Logo (black PNG blends into dark bg) ── */
.logo-aura {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-aura img {
  position: relative;
  z-index: 1;
  mix-blend-mode: lighten;
  -webkit-mix-blend-mode: lighten;
}

.nav-logo-img {
  width: 62px; height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(237,22,57,0.35));
  transition: filter .25s;
}
.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 16px rgba(237,22,57,0.5));
}
.nav-logo-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--red); font-weight: 800;
}
.nav-logo-wrap { display: flex; flex-direction: column; line-height: 1.15; gap: 2px; }

.nav-links {
  display: flex; align-items: center;
  gap: clamp(26px, 3.4vw, 44px);
  list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links > li { position: relative; }
.nav-links > li > a:not(.nav-cta) {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--silver); text-decoration: none;
  padding: 8px 10px;
  transition: color .3s ease, letter-spacing .3s ease, text-shadow .3s ease, transform .3s ease;
  position: relative;
  display: inline-block;
}
.nav-links > li > a:not(.nav-cta)::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  filter: blur(6px);
  transition: transform .35s cubic-bezier(.25,1,.5,1), opacity .35s ease;
  z-index: -1;
}
.nav-links > li > a:not(.nav-cta):hover::before,
.nav-links > li > a:not(.nav-cta).active::before {
  transform: translate(-50%, -50%) scale(6);
  opacity: 0.16;
}
.nav-links > li > a:not(.nav-cta)::after {
  content: ''; position: absolute; bottom: 2px; left: 50%;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 20%, var(--red) 80%, transparent);
  box-shadow: 0 0 10px rgba(237,22,57,0.9), 0 0 2px rgba(255,255,255,0.6);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateX(-50%);
}
.nav-links > li > a:not(.nav-cta):hover {
  color: var(--white); letter-spacing: 2.2px;
  text-shadow: 0 0 12px rgba(237,22,57,0.45);
  transform: translateY(-1px);
}
.nav-links > li > a:not(.nav-cta):hover::after { width: 85%; }
.nav-links > li > a:not(.nav-cta).active::after { width: 85%; }
.nav-links > li > a:not(.nav-cta).active { color: var(--red); }

.nav-menu-cta { display: none; }

.nav-actions {
  display: flex; align-items: center; gap: 12px;
  margin-left: auto; z-index: 1002;
}

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  color: var(--white); border: none; padding: 11px 26px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  cursor: pointer; text-decoration: none;
  transition: box-shadow .25s, transform .15s;
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap;
}
.nav-cta:hover { box-shadow: var(--glow); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  background: rgba(237,22,57,0.12);
  border: 1px solid rgba(237,22,57,0.35);
  cursor: pointer; padding: 8px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  z-index: 1001;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .2s ease;
}
.nav-toggle:hover {
  background: rgba(237,22,57,0.22);
  border-color: rgba(237,22,57,0.65);
  box-shadow: 0 0 16px rgba(237,22,57,0.35);
}
.nav-toggle:active { transform: scale(0.92); }
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--white);
  transition: transform .35s cubic-bezier(.25,1,.5,1), opacity .3s ease, background .3s ease;
}
.nav-toggle:hover span { background: var(--red); }
.nav-toggle.open { background: rgba(237,22,57,0.28); border-color: var(--red); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(5, 11, 26, 0.82);
  backdrop-filter: blur(32px) saturate(1.3);
  -webkit-backdrop-filter: blur(32px) saturate(1.3);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav-backdrop.open {
  display: block;
  opacity: 1;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding-top: 76px;
}

/* Hero atmosphere canvas (soft dots + rain) */
#particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

/* Red corner accents */
.hero-corner { position: absolute; width: 200px; height: 200px; }
.hero-corner.tl { top: 80px; left: 0; border-top: 3px solid var(--red); border-left: 3px solid var(--red); animation: cornerPulse 3s ease-in-out infinite; }
.hero-corner.tr { top: 80px; right: 0; border-top: 3px solid var(--red); border-right: 3px solid var(--red); animation: cornerPulse 3s ease-in-out infinite 0.5s; }
.hero-corner.bl { bottom: 0; left: 0; border-bottom: 3px solid var(--red); border-left: 3px solid var(--red); animation: cornerPulse 3s ease-in-out infinite 1s; }
.hero-corner.br { bottom: 0; right: 0; border-bottom: 3px solid var(--red); border-right: 3px solid var(--red); animation: cornerPulse 3s ease-in-out infinite 1.5s; }
@keyframes cornerPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; box-shadow: 0 0 20px rgba(237,22,57,0.3); }
}

/* Diagonal slash decorations */
.hero-slash {
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(237,22,57,0.12) 50%, transparent 100%);
}
.hero-slash.left { left: 80px; transform: skewX(-8deg); }
.hero-slash.right { right: 80px; transform: skewX(8deg); }

/* Hero atmosphere — no hard circles behind logo */
.hero-fx {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  overflow: hidden;
}
.hero-mist {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,11,26,0.55) 0%, transparent 35%, transparent 55%, rgba(5,11,26,0.65) 100%),
    radial-gradient(ellipse 90% 45% at 50% 85%, rgba(237,22,57,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-vignette {
  position: absolute; inset: 0;
  box-shadow: inset 0 0 120px rgba(0,0,0,0.45);
  pointer-events: none;
}
#storm {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}
.hero-flash-sky {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at var(--flash-x, 50%) 28%,
    rgba(220,235,255,0.28) 0%, rgba(180,210,240,0.08) 40%, transparent 68%);
  opacity: 0;
  pointer-events: none;
}
.hero-flash-sky.active {
  animation: skyFlashSide 0.75s ease-out forwards;
}
@keyframes skyFlashSide {
  0%, 100% { opacity: 0; }
  6% { opacity: 1; }
  18% { opacity: 0.4; }
  28% { opacity: 0.75; }
  45% { opacity: 0.15; }
}

.hero-content {
  position: relative; z-index: 4;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 20px;
}

.hero-logo-wrap {
  width: 280px; height: 280px;
  position: relative;
}
.hero-logo-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  filter:
    drop-shadow(0 8px 24px rgba(0,0,0,0.5))
    drop-shadow(0 0 20px rgba(237,22,57,0.4));
  animation: heroLogoShine 4s ease-in-out infinite;
}
@keyframes heroLogoShine {
  0%, 100% {
    filter:
      drop-shadow(0 8px 24px rgba(0,0,0,0.5))
      drop-shadow(0 0 20px rgba(237,22,57,0.4));
  }
  50% {
    filter:
      drop-shadow(0 10px 28px rgba(0,0,0,0.55))
      drop-shadow(0 0 32px rgba(237,22,57,0.65));
  }
}

.hero-tagline-top {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--red); font-weight: 600;
  animation: fadeSlideDown 1s ease forwards;
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > .hero-logo-wrap { animation: floatLogo 3s ease-in-out infinite, fadeSlideDown 1s ease 0.2s both; }
@keyframes floatLogo {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}
.hero-content > .hero-title { animation: fadeSlideDown 1s ease 0.4s both; }
.hero-content > .hero-sub { animation: fadeSlideDown 1s ease 0.6s both; }
.hero-content > .hero-btns { animation: fadeSlideDown 1s ease 0.8s both; }
.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900; font-style: italic;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 2px;
}
.hero-title span {
  color: var(--red);
  display: inline-block;
  animation: textGlitch 4s ease-in-out infinite;
}
@keyframes textGlitch {
  0%, 90%, 100% { transform: translate(0); text-shadow: none; }
  92% { transform: translate(-2px, 1px); text-shadow: 2px 0 var(--red), -2px 0 cyan; }
  94% { transform: translate(2px, -1px); text-shadow: -2px 0 var(--red), 2px 0 cyan; }
  96% { transform: translate(0); text-shadow: none; }
}
.hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--silver); font-weight: 600;
}

.hero-btns { display: flex; gap: 16px; margin-top: 8px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  color: var(--white); border: none; padding: 14px 32px;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  cursor: pointer; text-decoration: none;
  transition: box-shadow .25s, transform .15s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: btnShimmer 3s ease-in-out infinite;
}
@keyframes btnShimmer {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}
.btn-primary:hover { box-shadow: var(--glow-lg); transform: translateY(-2px) scale(1.03); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  background: transparent;
  color: var(--white); border: 2px solid rgba(230,230,230,0.4); padding: 12px 30px;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
  cursor: pointer; text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }

.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(230,230,230,0.4); font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; font-family: 'Barlow Condensed', sans-serif;
  animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown { 0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(6px)} }

/* ── STATS BAR ── */
#stats {
  background: var(--bg2);
  border-top: 1px solid rgba(237,22,57,0.2);
  border-bottom: 1px solid rgba(237,22,57,0.2);
  padding: 36px 48px;
}
.stats-grid {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
  max-width: 1100px; margin: 0 auto;
}
.stat-item {
  flex: 1; min-width: 200px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  padding: 12px 40px;
  border-right: 1px solid rgba(230,230,230,0.1);
  transition: transform .3s, background .3s, box-shadow .3s;
}
.stat-item:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(237,22,57,0.05);
}
.stat-item:hover .stat-num { color: var(--red); text-shadow: 0 0 20px rgba(237,22,57,0.5); }
.stat-item:hover .stat-icon { transform: scale(1.15) rotate(-5deg); }
.stat-item:last-child { border-right: none; }
.stat-num { transition: color .3s, text-shadow .3s; }
.stat-icon {
  font-size: 28px; flex-shrink: 0;
  animation: iconFloat 3s ease-in-out infinite;
  transition: transform .3s;
}
.stat-item:nth-child(2) .stat-icon { animation-delay: 0.5s; }
.stat-item:nth-child(3) .stat-icon { animation-delay: 1s; }
.stat-item:nth-child(4) .stat-icon { animation-delay: 1.5s; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.stat-text { text-align: left; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px; font-weight: 900; color: var(--white); line-height: 1;
}
.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(230,230,230,0.5); font-weight: 600; margin-top: 2px;
}

/* ── SECTION COMMON ── */
section { padding: 100px 48px; }
.section-max { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px;
}
.eyebrow-line { width: 40px; height: 2px; background: var(--red); }
.eyebrow-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--red); font-weight: 700;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900; font-style: italic;
  text-transform: uppercase; line-height: 1;
  color: var(--white);
}
.section-title span {
  color: var(--red);
  position: relative;
}
.section-title span::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0; height: 3px;
  background: var(--red);
  transform: scaleX(0); transform-origin: left;
  animation: titleUnderline 0.8s ease forwards;
}
@keyframes titleUnderline {
  to { transform: scaleX(1); }
}

/* CENTER TITLE (for roster, achievements) */
.title-center { text-align: center; }
.title-center .section-eyebrow { justify-content: center; }

/* ── ABOUT ── */
#about { background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.about-text-col {}
.about-desc {
  color: rgba(230,230,230,0.7); line-height: 1.8; font-size: 16px; margin: 24px 0 32px;
}
.about-cards-col {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}

.about-card {
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.12);
  padding: 28px;
  position: relative;
  transition: border-color .3s, box-shadow .3s;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--red);
}
.about-card:hover {
  border-color: rgba(237,22,57,0.4); box-shadow: var(--glow);
  transform: translateX(8px);
}
.about-card { transition: border-color .3s, box-shadow .3s, transform .3s; }
.about-card-icon { font-size: 28px; color: var(--red); margin-bottom: 12px; }
.about-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; color: var(--white); margin-bottom: 8px;
}
.about-card-text { font-size: 14px; color: rgba(230,230,230,0.6); line-height: 1.6; }

/* ── ROSTER ── */
#roster { background: var(--bg2); position: relative; overflow: hidden; }
#roster::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(237,22,57,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── OWNER (featured top) ── */
.roster-owner {
  display: flex; justify-content: center;
  margin-top: 48px;
  margin-bottom: 8px;
}
#roster .section-max { max-width: 1320px; }

.player-card--owner {
  max-width: 380px; width: 100%;
  border-color: rgba(212,175,55,0.35);
  box-shadow: 0 8px 32px rgba(212,175,55,0.12), 0 0 0 1px rgba(237,22,57,0.2);
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  animation: cardReveal .7s cubic-bezier(.22,1,.36,1) 0.15s forwards, ownerCardGlow 4s ease-in-out 0.85s infinite;
}
@keyframes ownerCardGlow {
  0%, 100% { box-shadow: 0 8px 32px rgba(212,175,55,0.12), 0 0 0 1px rgba(237,22,57,0.2); }
  50% { box-shadow: 0 12px 40px rgba(212,175,55,0.22), 0 0 24px rgba(237,22,57,0.2); }
}
.player-card--owner .player-role-badge {
  background: linear-gradient(90deg, #8B6914, #D4AF37, #8B6914);
  background-size: 200% 100%;
  font-size: 11px; letter-spacing: 3px;
}
.player-card--owner .player-img-bg {
  height: 340px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(237,22,57,0.08) 0%, rgba(5,11,26,0.98) 100%);
}
.player-card--owner .player-img-bg::after {
  height: 48px;
}
.player-card--owner .player-img-bg::before {
  display: none !important;
  animation: none !important;
}
.player-card--owner::before,
.player-card--owner::after {
  display: none !important;
  content: none !important;
}
.player-card--owner:hover::before,
.player-card--owner:hover::after {
  display: none !important;
  animation: none !important;
  opacity: 0 !important;
}
.player-card--owner .player-tag::before {
  display: none;
}
.player-card--owner:hover .player-img-bg::before,
.player-card--owner:hover .player-img-bg img {
  animation: none !important;
}
.player-card--owner .player-img-bg img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  animation: none;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.player-card--owner:hover .player-img-bg img {
  transform: scale(1.06);
}
.player-card--owner:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 52px rgba(212,175,55,0.32), 0 0 40px rgba(212,175,55,0.18);
}

.roster-squad {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  margin-top: 40px;
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}
.roster-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  flex: 0 1 270px;
  width: 100%;
  max-width: 280px;
}
.roster-col .player-card {
  width: 100%;
  margin: 0;
}

/* ── STAFF hex cards (Manager + Coach) ── */
.staff-card {
  background: linear-gradient(160deg, rgba(15,25,50,0.95) 0%, rgba(5,11,26,0.98) 100%);
  border: 1px solid rgba(230,230,230,0.12);
  padding: 34px 24px 30px;
  text-align: center;
  width: 100%;
  min-height: 268px;
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .4s;
  opacity: 0;
  animation: cardReveal .65s cubic-bezier(.22,1,.36,1) forwards;
}
.staff-card::before {
  content: '';
  position: absolute; inset: 3px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: radial-gradient(circle at 50% 30%, rgba(237,22,57,0.12) 0%, transparent 65%);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity .35s;
}
.staff-card::after {
  content: '';
  position: absolute; inset: -1px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, rgba(237,22,57,0.5), transparent 40%, transparent 60%, rgba(237,22,57,0.4));
  background-size: 250% 250%;
  animation: staffHexShine 5s ease-in-out infinite;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
}
@keyframes staffHexShine {
  0%, 100% { background-position: 0% 50%; opacity: 0.25; }
  50% { background-position: 100% 50%; opacity: 0.5; }
}
.staff-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 16px 44px rgba(237,22,57,0.3), 0 0 32px rgba(237,22,57,0.15);
  border-color: rgba(237,22,57,0.55);
}
.staff-card:hover::before { opacity: 1; }
.staff-img-wrap {
  width: 140px; height: 140px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid var(--red);
  box-shadow: 0 0 20px rgba(237,22,57,0.35);
  overflow: hidden;
  background: rgba(5,11,26,0.9);
  transition: box-shadow .35s, transform .35s;
  position: relative;
  animation: staffRingPulse 3s ease-in-out infinite;
}
@keyframes staffRingPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(237,22,57,0.3); }
  50% { box-shadow: 0 0 28px rgba(237,22,57,0.55); }
}
.staff-card:hover .staff-img-wrap {
  box-shadow: 0 0 36px rgba(237,22,57,0.65);
  transform: scale(1.08);
  animation: none;
}
.staff-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.staff-card:hover .staff-img-wrap img { transform: scale(1.1) translateY(-4px); }
.staff-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px; font-weight: 900; font-style: italic;
  text-transform: uppercase; color: var(--white); letter-spacing: 1.5px;
}
.staff-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; color: var(--red);
  text-transform: uppercase; letter-spacing: 2px; margin-top: 8px;
  font-weight: 700;
  padding: 5px 14px;
  background: rgba(237,22,57,0.08);
  border: 1px solid rgba(237,22,57,0.25);
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  position: relative;
  overflow: hidden;
  animation: tagGlow 2.5s ease-in-out infinite;
  transition: letter-spacing .35s, color .35s, transform .35s, background .35s, border-color .35s;
}
.staff-tag::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(237,22,57,0.2), transparent);
  animation: tagShimmer 3s ease-in-out infinite;
}
.staff-card:hover .staff-tag {
  letter-spacing: 3px;
  color: var(--white);
  background: rgba(237,22,57,0.18);
  border-color: rgba(237,22,57,0.5);
  transform: scale(1.06);
  animation: tagGlowHover 1.2s ease-in-out infinite;
}

/* Executive Management Cards (Head of Manager & Assistant Manager) */
.staff-card--head {
  background: linear-gradient(165deg, rgba(42, 12, 25, 0.96) 0%, rgba(12, 5, 14, 0.98) 100%);
  border: 1px solid rgba(255, 45, 85, 0.6);
  box-shadow: 0 8px 32px rgba(255, 45, 85, 0.22), inset 0 0 18px rgba(255, 45, 85, 0.12);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  padding: 22px 18px 20px;
}

.staff-card--assistant {
  background: linear-gradient(165deg, rgba(12, 36, 52, 0.96) 0%, rgba(4, 15, 26, 0.98) 100%);
  border: 1px solid rgba(0, 200, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 200, 255, 0.2), inset 0 0 18px rgba(0, 200, 255, 0.1);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  padding: 22px 18px 20px;
}

.staff-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.staff-badge--head {
  background: linear-gradient(90deg, #ff2d55, #cc0033);
  color: var(--white);
  box-shadow: 0 0 14px rgba(255, 45, 85, 0.5);
}

.staff-badge--assistant {
  background: linear-gradient(90deg, rgba(0,180,220,0.85), rgba(0,120,180,0.95));
  color: var(--white);
  box-shadow: 0 0 12px rgba(0,180,220,0.4);
}

.staff-img-wrap--head {
  border-color: #ff2d55 !important;
  box-shadow: 0 0 28px rgba(255, 45, 85, 0.55) !important;
}

.staff-img-wrap--assistant {
  border-color: #00c8ff !important;
  box-shadow: 0 0 28px rgba(0, 200, 255, 0.5) !important;
}

.staff-tag--head {
  background: rgba(255, 45, 85, 0.15) !important;
  border-color: rgba(255, 45, 85, 0.5) !important;
  color: #ff5c7c !important;
  font-weight: 800 !important;
}

.staff-tag--assistant {
  background: rgba(0,200,255,0.15) !important;
  border-color: rgba(0,200,255,0.5) !important;
  color: #00e1ff !important;
  font-weight: 800 !important;
}

.staff-card--head:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(255, 45, 85, 0.45), 0 0 35px rgba(255, 45, 85, 0.3);
  border-color: #ff2d55;
}

.staff-card--assistant:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 200, 255, 0.4), 0 0 35px rgba(0, 200, 255, 0.25);
  border-color: #00c8ff;
}

.roster-col:nth-child(1) .player-card { animation-delay: 0.05s; }
.roster-col:nth-child(2) .staff-card { animation-delay: 0.1s; }
.roster-col:nth-child(2) .player-card { animation-delay: 0.2s; }
.roster-col:nth-child(3) .player-card { animation-delay: 0.3s; }
.roster-col:nth-child(4) .staff-card { animation-delay: 0.35s; }
.roster-col:nth-child(4) .player-card { animation-delay: 0.45s; }
.roster-col:nth-child(5) .player-card { animation-delay: 0.55s; }

.profile-trigger, [data-player] {
  cursor: pointer !important;
}

.player-card {
  background: linear-gradient(180deg, rgba(15,25,50,0.95) 0%, rgba(5,11,26,0.98) 100%);
  border: 1px solid rgba(230,230,230,0.1);
  padding: 0 0 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .4s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  animation: cardReveal .65s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes cardReveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.player-card::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(237,22,57,0.12), transparent);
  transition: left .7s;
  z-index: 3; pointer-events: none;
}
.player-card::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none; z-index: 4;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  opacity: 0;
  transition: opacity .35s;
  box-shadow: inset 0 0 0 1px rgba(237,22,57,0), 0 0 0 rgba(237,22,57,0);
}
.player-card:hover::before { left: 150%; }
.player-card:hover::after {
  opacity: 1;
  animation: cardEdgePulse 1.8s ease-in-out infinite;
}
@keyframes cardEdgePulse {
  0%, 100% { box-shadow: inset 0 0 20px rgba(237,22,57,0.08), 0 0 24px rgba(237,22,57,0.2); }
  50% { box-shadow: inset 0 0 32px rgba(237,22,57,0.18), 0 0 40px rgba(237,22,57,0.4); }
}
.player-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 16px 48px rgba(237,22,57,0.28), 0 0 0 1px rgba(237,22,57,0.45);
  border-color: rgba(237,22,57,0.55);
}
.player-card:hover .player-img-bg::before { animation-duration: 2.5s; }
.player-card:hover .player-img-bg img {
  transform: scale(1.08) translateY(-6px);
}
.player-card:hover .player-name {
  text-shadow: 0 0 18px rgba(237,22,57,0.45);
  transform: scale(1.04);
}
.player-card:hover .player-slot {
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 0 12px rgba(237,22,57,0.5);
}

.player-role-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; background: linear-gradient(90deg, var(--dark-red), var(--red), var(--dark-red));
  background-size: 200% 100%;
  animation: badgeShine 3s linear infinite;
  color: var(--white);
  padding: 7px 0; text-align: center;
  position: relative; z-index: 2;
  transition: letter-spacing .3s;
}
@keyframes badgeShine {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.player-img-bg {
  width: 100%; height: 230px;
  background: linear-gradient(180deg, rgba(237,22,57,0.06) 0%, rgba(5,11,26,0.95) 100%);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
  position: relative;
}
.player-img-bg::before {
  content: '';
  position: absolute; top: -50%; left: 0; right: 0; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(237,22,57,0.18), transparent);
  z-index: 2; pointer-events: none;
  animation: imgScan 5s ease-in-out infinite;
}
@keyframes imgScan {
  0%, 100% { top: -50%; opacity: 0; }
  8% { opacity: 0; }
  15% { opacity: 1; }
  55% { top: 110%; opacity: 0.45; }
  65% { opacity: 0; }
}
.player-img-bg::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(transparent, rgba(5,11,26,0.9));
  z-index: 1; pointer-events: none;
}
.player-img-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}
.player-info { padding: 14px 12px 4px; position: relative; z-index: 2; }
.player-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(16px, 2vw, 22px); font-weight: 900; font-style: italic;
  text-transform: uppercase;
  color: var(--white); letter-spacing: 2px;
  line-height: 1;
  transition: transform .35s, text-shadow .35s;
}
.player-tag {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; color: var(--red);
  text-transform: uppercase; letter-spacing: 2px; margin-top: 8px; font-weight: 700;
  padding: 5px 14px;
  background: rgba(237,22,57,0.08);
  border: 1px solid rgba(237,22,57,0.25);
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  position: relative;
  overflow: hidden;
  animation: tagGlow 2.5s ease-in-out infinite;
  transition: letter-spacing .35s, color .35s, transform .35s, background .35s, border-color .35s;
}
.player-tag::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(237,22,57,0.2), transparent);
  animation: tagShimmer 3s ease-in-out infinite;
}
.player-card:hover .player-tag,
.player-card--owner:hover .player-tag {
  letter-spacing: 3.5px;
  color: var(--white);
  background: rgba(237,22,57,0.18);
  border-color: rgba(237,22,57,0.5);
  transform: scale(1.06);
  animation: tagGlowHover 1.2s ease-in-out infinite;
}
@keyframes tagGlow {
  0%, 100% { box-shadow: 0 0 6px rgba(237,22,57,0.15); }
  50% { box-shadow: 0 0 14px rgba(237,22,57,0.35); }
}
@keyframes tagGlowHover {
  0%, 100% { box-shadow: 0 0 10px rgba(237,22,57,0.35); }
  50% { box-shadow: 0 0 20px rgba(237,22,57,0.55); }
}
@keyframes tagShimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

.player-card--owner .player-tag {
  background: rgba(212,175,55,0.1);
  border-color: rgba(212,175,55,0.35);
  color: #D4AF37;
  animation: tagGlowGold 2.5s ease-in-out infinite;
}
.player-card--owner .player-tag::before {
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.25), transparent);
}
.player-card--owner:hover .player-tag {
  color: #fff;
  background: rgba(212,175,55,0.2);
  border-color: rgba(212,175,55,0.55);
  animation: tagGlowGoldHover 1.2s ease-in-out infinite;
}
.player-card--owner:hover .player-name {
  text-shadow: 0 0 20px rgba(212,175,55,0.5);
}
@keyframes tagGlowGold {
  0%, 100% { box-shadow: 0 0 6px rgba(212,175,55,0.2); }
  50% { box-shadow: 0 0 14px rgba(212,175,55,0.4); }
}
@keyframes tagGlowGoldHover {
  0%, 100% { box-shadow: 0 0 12px rgba(212,175,55,0.4); }
  50% { box-shadow: 0 0 22px rgba(212,175,55,0.6); }
}
.social-link--labeled {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; min-height: 32px;
  padding: 6px 14px; gap: 7px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(230,230,230,0.55);
  background: rgba(237,22,57,0.06);
  border: 1px solid rgba(237,22,57,0.22);
  text-decoration: none;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  transition: color .22s, border-color .22s, background .22s, box-shadow .22s, transform .22s;
}
.social-link--labeled:hover {
  color: var(--white);
  background: rgba(237,22,57,0.18);
  border-color: var(--red);
  box-shadow: 0 0 14px rgba(237,22,57,0.35);
  transform: translateY(-2px);
}
.social-link--labeled svg { width: 14px; height: 14px; }

.fb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  color: var(--white);
  background: rgba(237,22,57,0.12);
  border: 1px solid rgba(237,22,57,0.4);
  padding: 9px 16px;
  min-height: 36px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  transition: transform .22s, box-shadow .22s, background .22s, border-color .22s;
  cursor: pointer;
}
.fb-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.fb-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  border-color: var(--red);
  box-shadow: var(--glow);
}
.fb-btn--sm {
  padding: 6px 14px;
  min-height: 32px;
  font-size: 10px;
  letter-spacing: 1.2px;
}
.fb-btn--sm svg { width: 14px; height: 14px; }
.contact-card-icon--fb {
  background: linear-gradient(135deg, var(--red), var(--dark-red)) !important;
  color: var(--white) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(237,22,57,0.35);
}
.contact-card-icon--fb svg { width: 20px; height: 20px; }
.contact-card--discord:hover {
  border-color: rgba(88, 101, 242, 0.45) !important;
}
.contact-card-icon--discord {
  background: linear-gradient(135deg, #5865F2, #404EED) !important;
  color: var(--white) !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}
.contact-card-icon--discord svg { width: 20px; height: 20px; }
.social-btn--fb {
  background: rgba(237,22,57,0.12);
  border-color: rgba(237,22,57,0.4) !important;
  color: var(--white) !important;
  width: 40px; height: 40px;
}
.social-btn--fb:hover {
  border-color: var(--red) !important;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  color: var(--white) !important;
  box-shadow: var(--glow) !important;
  transform: translateY(-2px);
}
.social-btn--fb svg { width: 18px; height: 18px; }
.social-btn--discord {
  background: rgba(88, 101, 242, 0.12);
  border-color: rgba(88, 101, 242, 0.4) !important;
  color: var(--white) !important;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
}
.social-btn--discord:hover {
  border-color: #5865F2 !important;
  background: linear-gradient(135deg, #5865F2, #404EED);
  color: var(--white) !important;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.5) !important;
  transform: translateY(-2px);
}
.social-btn--discord svg { width: 18px; height: 18px; }
.footer-contact-item .fb-btn--inline {
  padding: 4px 10px;
  min-height: 28px;
  font-size: 10px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ── APPLY MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(5,11,26,0.88);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-overlay.open .apply-modal { transform: translateY(0) scale(1); opacity: 1; }

.apply-modal {
  background: linear-gradient(160deg, var(--bg2) 0%, var(--bg) 100%);
  border: 1px solid rgba(237,22,57,0.35);
  max-width: 520px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), var(--glow-lg);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .35s;
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(237,22,57,0.15); border: 1px solid rgba(237,22,57,0.3);
  color: var(--white); font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.modal-close:hover { background: var(--red); transform: rotate(90deg); }

.modal-header {
  padding: 32px 32px 0;
  text-align: center;
}
.modal-header .logo-aura--modal { margin: 0 auto 12px; }
.modal-header .logo-aura--modal img {
  width: 72px; height: 72px; object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(237,22,57,0.35));
}
.modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 900; font-style: italic;
  text-transform: uppercase; color: var(--white);
}
.modal-title span { color: var(--red); }
.modal-sub {
  font-size: 13px; color: rgba(230,230,230,0.5); margin-top: 6px;
  letter-spacing: 1px;
}

.apply-form { padding: 24px 32px 32px; display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(230,230,230,0.6); font-weight: 600;
}
.form-group input, .form-group select {
  background: rgba(5,11,26,0.8);
  border: 1px solid rgba(230,230,230,0.12);
  color: var(--white);
  padding: 12px 14px;
  font-family: 'Barlow', sans-serif; font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(237,22,57,0.15);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg2); }

.form-submit {
  margin-top: 8px;
  width: 100%;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  color: var(--white); border: none; padding: 14px;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  cursor: pointer;
  transition: box-shadow .25s, transform .15s;
}
.form-submit:hover { box-shadow: var(--glow-lg); transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success {
  display: none; text-align: center; padding: 48px 32px;
}
.form-success.show { display: block; }
.form-success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px; font-weight: 900; color: var(--white);
  text-transform: uppercase; margin-bottom: 8px;
}
.form-success p { color: rgba(230,230,230,0.6); font-size: 14px; }

/* ── ACHIEVEMENTS ── */
#achievements { background: var(--bg); }
.ach-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.ach-item {
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.1);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .4s;
  opacity: 0;
  transform: translateY(40px);
}
.ach-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.ach-item:hover {
  transform: translateY(-8px);
  border-color: rgba(237,22,57,0.45);
  box-shadow: 0 16px 48px rgba(237,22,57,0.2);
}
.ach-img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 16/10;
}
.ach-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.ach-item:hover .ach-img-wrap img { transform: scale(1.06); }
.ach-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(5,11,26,0.95));
  pointer-events: none;
}
.ach-rank-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  color: var(--white);
  padding: 6px 14px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  animation: badgePulse 2.5s ease-in-out infinite;
}
.ach-rank-badge.gold {
  background: linear-gradient(135deg, #D4AF37, #8B6914);
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237,22,57,0.4); }
  50% { box-shadow: 0 0 16px 4px rgba(237,22,57,0.25); }
}
.ach-details {
  padding: 24px 24px 28px;
  position: relative;
}
.ach-details::before {
  content: '';
  position: absolute; top: 0; left: 24px; right: 24px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: scaleX(0);
  transition: transform .5s;
}
.ach-item:hover .ach-details::before { transform: scaleX(1); }
.ach-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 6px;
}
.ach-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px); font-weight: 900; font-style: italic;
  text-transform: uppercase; color: var(--white);
  letter-spacing: 1px; line-height: 1.2; margin-bottom: 6px;
}
.ach-stage {
  font-size: 13px; color: rgba(230,230,230,0.55);
  letter-spacing: 1px; margin-bottom: 14px;
}
.ach-stats {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.ach-stat-pill {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 700;
  background: rgba(237,22,57,0.1);
  border: 1px solid rgba(237,22,57,0.25);
  color: rgba(230,230,230,0.8);
  padding: 5px 12px;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  transition: background .3s, border-color .3s;
}
.ach-item:hover .ach-stat-pill {
  background: rgba(237,22,57,0.18);
  border-color: rgba(237,22,57,0.4);
}

/* ── VIDEOS (carousel) ── */
#videos {
  background: linear-gradient(180deg, #050505 0%, #0a0a0a 50%, #070707 100%);
  padding: 80px 48px 48px;
  position: relative;
  overflow: hidden;
}
#videos::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: min(100%, 800px); height: 320px;
  background: radial-gradient(ellipse at 50% 0%, rgba(237,22,57,0.14) 0%, transparent 72%);
  pointer-events: none;
}
#videos .section-max { position: relative; z-index: 1; }
#videos .videos-player-box {
  background: rgba(10,10,10,0.95);
  border-color: rgba(237,22,57,0.35);
}
#videos .videos-side-card {
  background: rgba(10,10,10,0.95);
  border-color: rgba(237,22,57,0.22);
}
#videos .videos-player-head {
  background: rgba(237,22,57,0.07);
  border-bottom-color: rgba(237,22,57,0.18);
}
#videos .videos-auto-badge {
  background: rgba(237,22,57,0.1);
  border-color: rgba(237,22,57,0.28);
  color: rgba(230,230,230,0.7);
}
.videos-header-note {
  text-align: center;
  color: rgba(230,230,230,0.5);
  font-size: 14px;
  margin-top: 10px;
}
.videos-shell {
  margin-top: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
}
/* Feed mode: player width matches FB embed — no empty gap */
.videos-shell--feed {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(0, 500px) 260px;
  justify-content: center;
}
.videos-shell--feed .videos-player-box {
  width: 100%;
  max-width: 500px;
}
.videos-player-box {
  background: var(--card-bg);
  border: 1px solid rgba(237,22,57,0.25);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  padding: 4px;
}
.videos-player-box::before {
  content: '';
  display: block; height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.videos-player-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(237,22,57,0.12);
  background: rgba(237,22,57,0.04);
  flex-wrap: wrap; gap: 8px;
}
.videos-player-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red); font-weight: 700;
}
.videos-auto-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(230,230,230,0.55);
  font-weight: 600;
  background: rgba(5,11,26,0.6);
  border: 1px solid rgba(230,230,230,0.1);
  padding: 5px 12px;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}
.videos-auto-badge strong { color: var(--red); }
.video-carousel-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.video-carousel-stage--feed {
  aspect-ratio: auto;
  min-height: 560px;
  background: #111;
  overflow: hidden;
}
.video-carousel-stage--feed iframe {
  width: 100% !important;
  max-width: 500px;
  min-height: 560px;
  border: none;
  display: block;
  margin: 0 auto;
}
.video-carousel-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease;
}
.video-carousel-slide.active {
  opacity: 1; visibility: visible; z-index: 1;
}
.video-carousel-slide iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: none; display: block;
}
.video-carousel-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(230,230,230,0.4);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase;
}
.video-carousel-progress {
  height: 3px;
  background: rgba(230,230,230,0.08);
}
.video-carousel-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--red), #ff6b8a);
  transition: width .1s linear;
}
.video-carousel-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid rgba(237,22,57,0.1);
  gap: 12px; flex-wrap: wrap;
}
.video-carousel-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 900; font-style: italic;
  text-transform: uppercase; color: var(--white);
  letter-spacing: 1px;
}
.video-carousel-nav {
  display: flex; align-items: center; gap: 8px;
}
.video-carousel-nav button {
  width: 34px; height: 34px;
  background: rgba(237,22,57,0.12);
  border: 1px solid rgba(237,22,57,0.35);
  color: var(--white); cursor: pointer;
  font-size: 16px;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  transition: background .2s, border-color .2s;
}
.video-carousel-nav button:hover {
  background: rgba(237,22,57,0.28);
  border-color: var(--red);
}
.video-carousel-count {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 2px;
  color: rgba(230,230,230,0.45); font-weight: 600;
  min-width: 48px; text-align: center;
}
.video-carousel-dots {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(230,230,230,0.06);
  justify-content: center;
}
.video-carousel-dot {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  background: rgba(237,22,57,0.08);
  border: 1px solid rgba(237,22,57,0.2);
  color: rgba(230,230,230,0.55);
  cursor: pointer;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-carousel-dot.active,
.video-carousel-dot:hover {
  background: rgba(237,22,57,0.22);
  border-color: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.video-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 18px 16px;
}
.video-mini-slot {
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  border: 1px solid rgba(237,22,57,0.15);
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.video-mini-slot iframe {
  width: 100%; height: 100%; border: none; display: block;
}
@media (max-width: 768px) {
  .video-mini-grid { grid-template-columns: 1fr; }
  .video-carousel-stage--feed { min-height: 480px; }
  .video-carousel-stage--feed iframe { min-height: 480px; }
}
.videos-side {
  display: flex; flex-direction: column; gap: 14px;
}
.videos-side-card {
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.1);
  padding: 18px 16px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.videos-side-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px; font-weight: 900; font-style: italic;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 8px; letter-spacing: 1px;
}
.videos-side-text {
  font-size: 12px; color: rgba(230,230,230,0.55);
  line-height: 1.6; margin-bottom: 14px;
}
.videos-side-card .btn-primary,
.videos-side-card .btn-outline {
  width: 100%; justify-content: center;
  font-size: 11px; padding: 10px 14px;
}
.videos-side-card .btn-outline { margin-top: 8px; }
@media (max-width: 960px) {
  .videos-shell { grid-template-columns: 1fr; }
  .videos-shell--feed {
    max-width: 500px;
    grid-template-columns: 1fr;
  }
  .videos-side { flex-direction: row; flex-wrap: wrap; }
  .videos-side-card { flex: 1 1 240px; }
}
@media (max-width: 560px) {
  #videos { padding: 64px 20px 36px; }
  .video-carousel-play-icon { width: 52px; height: 52px; font-size: 20px; }
  .videos-side { flex-direction: column; }
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  box-shadow: 0 4px 20px rgba(237,22,57,0.4);
  opacity: 0; visibility: hidden;
  transform: translateY(16px);
  transition: opacity .35s, visibility .35s, transform .35s, box-shadow .25s;
}
.back-to-top.visible {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 6px 28px rgba(237,22,57,0.6);
  transform: translateY(-3px);
}

/* ── VISITOR COUNTER ── */
.visitor-stat {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-top: 8px;
}
.visitor-stat-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700;
  background: rgba(237,22,57,0.1);
  border: 1px solid rgba(237,22,57,0.28);
  color: rgba(230,230,230,0.75);
  padding: 8px 18px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.visitor-stat-pill strong {
  color: var(--red); font-size: 18px; letter-spacing: 1px;
  min-width: 2ch; text-align: center;
}
.footer-visitor {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(230,230,230,0.45);
}
.footer-visitor strong { color: var(--red); font-size: 15px; }

.player-slot {
  position: absolute; top: 36px; left: 10px; z-index: 4;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 900; letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  background: rgba(5,11,26,0.7);
  border: 1px solid rgba(237,22,57,0.3);
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
  transition: border-color .3s, color .3s, box-shadow .3s, transform .3s;
}

/* ── CTA BANNER (legacy — recruitment uses #cta section) ── */
#cta {
  background: var(--bg);
  padding: 100px 48px;
  position: relative; overflow: hidden;
}
.recruit-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-top: 48px;
  align-items: start;
}
.recruit-main {
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.1);
  padding: 36px 36px 32px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  position: relative;
}
.recruit-main::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.recruit-open-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  color: var(--white);
  padding: 6px 16px;
  margin-bottom: 16px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  animation: badgePulse 2.5s ease-in-out infinite;
}
.recruit-role-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900; font-style: italic;
  text-transform: uppercase; color: var(--white);
  letter-spacing: 1px; line-height: 1.15;
  margin-bottom: 20px;
}
.recruit-role-title span { color: var(--red); }
.recruit-body {
  color: rgba(230,230,230,0.72);
  font-size: 15px; line-height: 1.75;
  margin-bottom: 24px;
}
.recruit-body p + p { margin-top: 14px; }
.recruit-req-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red);
  font-weight: 700; margin-bottom: 12px;
}
.recruit-req-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.recruit-req-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(230,230,230,0.8); line-height: 1.5;
}
.recruit-req-list li::before {
  content: '▸';
  color: var(--red); font-weight: 700; flex-shrink: 0;
}
.recruit-track {
  margin-top: 24px;
  padding: 16px 18px;
  background: rgba(237,22,57,0.06);
  border: 1px solid rgba(237,22,57,0.18);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.recruit-track-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--red);
  font-weight: 700; margin-bottom: 8px;
}
.recruit-track-text {
  font-size: 14px; color: rgba(230,230,230,0.7); line-height: 1.6;
}
.recruit-side {
  display: flex; flex-direction: column; gap: 24px;
}
.recruit-perks-card {
  background: var(--card-bg);
  border: 1px solid rgba(237,22,57,0.2);
  padding: 28px 26px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}
.recruit-perks-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 900; font-style: italic;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 18px; letter-spacing: 1px;
}
.recruit-perks-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.recruit-perks-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: rgba(230,230,230,0.85);
  font-weight: 500;
}
.recruit-perks-list li .perk-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(237,22,57,0.12);
  border: 1px solid rgba(237,22,57,0.3);
  color: #4ade80; font-size: 14px; font-weight: 700;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.recruit-future-note {
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(5,11,26,0.9) 100%);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 18px 20px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.recruit-future-note p {
  font-size: 13px; color: rgba(230,230,230,0.65);
  line-height: 1.65; font-style: italic;
}
.recruit-future-note strong {
  color: #D4AF37;
  font-style: normal;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
}
.recruit-actions {
  display: flex; flex-direction: column; gap: 12px;
}
.recruit-actions .btn-primary,
.recruit-actions .btn-chat,
.recruit-actions .btn-discord {
  width: 100%; justify-content: center;
  font-size: 14px; padding: 14px 24px;
}
.btn-chat {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(237,22,57,0.1);
  color: var(--white);
  border: 1px solid rgba(237,22,57,0.45);
  padding: 14px 24px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  cursor: pointer; text-decoration: none;
  transition: box-shadow .25s, transform .15s, background .25s, border-color .25s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-chat:hover {
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  border-color: var(--red);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}
.btn-chat svg { flex-shrink: 0; }
.btn-discord {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  background: rgba(88, 101, 242, 0.1);
  color: var(--white);
  border: 1px solid rgba(88, 101, 242, 0.45);
  padding: 14px 24px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  cursor: pointer; text-decoration: none;
  transition: box-shadow .25s, transform .15s, background .25s, border-color .25s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-discord:hover {
  background: linear-gradient(135deg, #5865F2, #404EED);
  border-color: #5865F2;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.55);
  transform: translateY(-2px);
}
.btn-discord svg { flex-shrink: 0; }

/* ── FLOATING CHAT FAB ── */
.fab-container {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-fab {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.12);
  transition: transform .25s, box-shadow .25s;
}
.chat-fab:hover {
  transform: scale(1.08);
}
.fb-fab {
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  box-shadow: 0 4px 24px rgba(237,22,57,0.45);
  animation: chatFabPulse 3s ease-in-out infinite;
}
.fb-fab:hover {
  box-shadow: 0 6px 32px rgba(237,22,57,0.65);
}
.discord-fab {
  background: linear-gradient(135deg, #5865F2, #404EED);
  box-shadow: 0 4px 24px rgba(88, 101, 242, 0.45);
  animation: discordFabPulse 3s ease-in-out infinite;
}
.discord-fab:hover {
  box-shadow: 0 6px 32px rgba(88, 101, 242, 0.65);
}
.chat-fab-tooltip {
  position: absolute; left: calc(100% + 12px); top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  background: rgba(8,8,8,0.95);
  border: 1px solid rgba(237,22,57,0.35);
  color: var(--white);
  padding: 8px 14px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.discord-fab .chat-fab-tooltip {
  border-color: rgba(88, 101, 242, 0.45);
}
.chat-fab:hover .chat-fab-tooltip { opacity: 1; }
@keyframes chatFabPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(237,22,57,0.4); }
  50% { box-shadow: 0 4px 32px rgba(237,22,57,0.65); }
}
@keyframes discordFabPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(88, 101, 242, 0.4); }
  50% { box-shadow: 0 4px 32px rgba(88, 101, 242, 0.65); }
}
@media (max-width: 960px) {
  .recruit-layout { grid-template-columns: 1fr; }
  .chat-fab-tooltip { display: none; }
}
@media (max-width: 560px) {
  #cta { padding: 64px 20px; }
  .recruit-main { padding: 24px 20px; }
  .fab-container { bottom: 88px; left: 20px; gap: 10px; }
  .chat-fab { width: 50px; height: 50px; }
}

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 3px solid var(--red);
  padding: 64px 48px 32px;
  position: relative; overflow: hidden;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: -50%; width: 50%; height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: footerShine 4s ease-in-out infinite;
}
@keyframes footerShine {
  0% { left: -50%; }
  100% { left: 150%; }
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}

.footer-brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 900; color: var(--white);
  letter-spacing: 2px; margin-bottom: 4px;
}
.footer-brand-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.footer-brand-desc { font-size: 14px; color: rgba(230,230,230,0.5); line-height: 1.7; }
.footer-tagline { font-size: 13px; color: rgba(230,230,230,0.35); margin-top: 12px; font-style: italic; }

.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--silver); font-weight: 700; margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(237,22,57,0.25);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px; color: rgba(230,230,230,0.5); text-decoration: none;
  transition: color .2s; display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--red); font-size: 16px; }
.footer-links a:hover { color: var(--red); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(230,230,230,0.5);
  margin-bottom: 12px;
}
.footer-contact-item span:first-child { color: var(--red); font-size: 16px; flex-shrink: 0; margin-top: 1px; }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(230,230,230,0.08);
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(230,230,230,0.3); }

.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(230,230,230,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(230,230,230,0.5); font-size: 16px; text-decoration: none;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.social-btn:hover { border-color: var(--red); color: var(--red); box-shadow: var(--glow); }

/* ── SIDEBAR SOCIALS ── */
.sidebar-social {
  position: fixed; left: 20px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 100;
}
.sidebar-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(237,22,57,0.22);
  background: rgba(237,22,57,0.05);
  display: flex; align-items: center; justify-content: center;
  color: rgba(230,230,230,0.5); font-size: 14px; text-decoration: none;
  transition: border-color .2s, color .2s, background .2s, box-shadow .2s;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}
.sidebar-social a svg { width: 16px; height: 16px; }
.sidebar-social a:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(237,22,57,0.12);
  box-shadow: 0 0 12px rgba(237,22,57,0.3);
}
.sidebar-social a[title*="Discord"]:hover {
  border-color: #5865F2;
  color: #5865F2;
  background: rgba(88, 101, 242, 0.12);
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.3);
}

/* ── SECTION DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237,22,57,0.3), transparent);
  max-width: 1200px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.divider::after {
  content: '';
  position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  animation: dividerSweep 3s ease-in-out infinite;
}
@keyframes dividerSweep {
  0% { left: -30%; }
  100% { left: 130%; }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(60px) skewY(-1.5deg) scale(0.97);
  transition: opacity 0.95s cubic-bezier(.16, 1, .3, 1), transform 0.95s cubic-bezier(.16, 1, .3, 1);
  will-change: transform, opacity;
  position: relative;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) skewY(0deg) scale(1);
  animation: revealGlitchFlash 0.55s cubic-bezier(.16, 1, .3, 1) forwards;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.85) rotate(-1deg);
  transition: opacity 0.85s cubic-bezier(.16, 1, .3, 1), transform 0.85s cubic-bezier(.16, 1, .3, 1);
  will-change: transform, opacity;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  animation: revealGlitchFlash 0.55s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes revealGlitchFlash {
  0% {
    filter: brightness(1.8) contrast(1.2);
  }
  30% {
    filter: brightness(0.8) contrast(1.1);
  }
  65% {
    filter: brightness(1.3) contrast(1.15);
  }
  100% {
    filter: brightness(1) contrast(1);
  }
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* touch ripple on mobile */
@media (hover: none) {
  .player-card:active { transform: scale(0.98); }
  .btn-primary:active { transform: scale(0.97); }
  .ach-item:active { transform: scale(0.98); }
}

#nav-apply-btn { animation: ctaPulse 2.5s ease-in-out infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237,22,57,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(237,22,57,0); }
}

.ach-item:hover { animation: none; transform: translateY(-8px); }

@media (max-width: 768px) {
  .ach-showcase { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

.form-note {
  font-size: 11px; color: rgba(230,230,230,0.4);
  text-align: center; letter-spacing: 0.5px;
  padding: 0 32px 8px;
}

/* ── CONTACT ── */
#contact { background: var(--bg2); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-top: 48px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.1);
  padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: border-color .3s, box-shadow .3s, transform .3s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.contact-card:hover {
  border-color: rgba(237,22,57,0.4);
  box-shadow: var(--glow);
  transform: translateX(6px);
}
.contact-card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(237,22,57,0.12);
  border: 1px solid rgba(237,22,57,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--red);
}
.contact-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--silver); margin-bottom: 4px;
}
.contact-card a, .contact-card p {
  font-size: 15px; color: rgba(230,230,230,0.7);
  text-decoration: none; transition: color .2s;
}
.contact-card a:hover { color: var(--red); }
.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.1);
  padding: 32px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.contact-form-wrap h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800; text-transform: uppercase;
  margin-bottom: 20px; color: var(--white);
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form .form-group input, .contact-form .form-group textarea {
  background: rgba(5,11,26,0.8);
  border: 1px solid rgba(230,230,230,0.12);
  color: var(--white); padding: 12px 14px;
  font-family: 'Barlow', sans-serif; font-size: 14px;
  outline: none; width: 100%;
  transition: border-color .2s, box-shadow .2s;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.contact-form .form-group textarea { min-height: 100px; resize: vertical; }
.contact-form .form-group input:focus, .contact-form .form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(237,22,57,0.15);
}

@media (max-width: 1280px) {
  .nav-links { gap: clamp(22px, 2.8vw, 36px); }
  .nav-links > li > a:not(.nav-cta) { font-size: 13px; letter-spacing: 1.2px; padding: 8px 8px; }
  .roster-squad {
    justify-content: center;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1180px) {
  .nav-links { gap: clamp(18px, 2.2vw, 28px); }
  .nav-links > li > a:not(.nav-cta) { font-size: 12px; letter-spacing: 1px; padding: 8px 6px; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 16px; height: 68px; }
  #hero { padding-top: 68px; }
  .nav-logo-img { width: 52px; height: 52px; }
  .nav-logo-sub { font-size: 12px; letter-spacing: 4px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
    height: calc(100vh - 68px);
    height: calc(100dvh - 68px);
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
    flex-direction: column; align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 48px 28px 56px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(5, 11, 26, 0.98);
    backdrop-filter: blur(40px) saturate(1.5);
    -webkit-backdrop-filter: blur(40px) saturate(1.5);
    border-top: 1px solid rgba(237,22,57,0.3);
    z-index: 999;
    transform: none;
    box-sizing: border-box;
    animation: menuFadeIn .35s ease;
  }
  .nav-links.open { display: flex; }
  .nav-links.open::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(237,22,57,0.1) 0%, transparent 55%);
    pointer-events: none;
  }
  .nav-links > li {
    position: relative; z-index: 1;
    width: 100%; max-width: 300px;
    text-align: center;
    opacity: 0;
    animation: menuItemSlide .5s cubic-bezier(.22,1,.36,1) forwards;
  }
  .nav-links > li > a:not(.nav-cta) {
    display: block;
    font-size: 22px; letter-spacing: 3px;
    padding: 18px 16px;
    color: var(--white);
  }
  .nav-links > li > a:not(.nav-cta)::after { bottom: 8px; }
  .nav-links.open li:nth-child(1) { animation-delay: 0.06s; }
  .nav-links.open li:nth-child(2) { animation-delay: 0.11s; }
  .nav-links.open li:nth-child(3) { animation-delay: 0.16s; }
  .nav-links.open li:nth-child(4) { animation-delay: 0.21s; }
  .nav-links.open li:nth-child(5) { animation-delay: 0.26s; }
  .nav-links.open li:nth-child(6) { animation-delay: 0.31s; }
  .nav-links.open li:nth-child(7) { animation-delay: 0.36s; }
  .nav-links.open li:nth-child(8) { animation-delay: 0.41s; }
  .nav-links.open li:nth-child(9) { animation-delay: 0.46s; }
  .nav-menu-cta {
    display: list-item;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(237,22,57,0.25);
    position: relative;
  }
  .nav-menu-cta::before {
    content: '';
    position: absolute; top: 0; left: 50%;
    width: 60%; height: 1px; transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    box-shadow: 0 0 8px rgba(237,22,57,0.7);
  }
  .nav-menu-cta .nav-cta {
    display: flex !important;
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    letter-spacing: 3px;
    animation: ctaPulse 2.5s ease-in-out infinite;
  }
  .nav-actions .nav-cta#nav-apply-btn { display: none; }
  @keyframes menuFadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes menuItemSlide {
    from { opacity: 0; transform: translateY(-14px) scale(.94); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  section { padding: 64px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-text-col { text-align: center; }
  .about-text-col .section-eyebrow { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-corner { display: none; }
  .sidebar-social { display: none; }
  #stats { padding: 32px 16px; }
  .stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 400px;
    margin: 0 auto;
  }
  .stat-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 12px;
    border-right: none;
    min-width: unset;
    background: rgba(10,18,40,0.6);
    border: 1px solid rgba(237,22,57,0.2);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  }
  .stat-text { text-align: center; }
  .stat-num { font-size: 36px; }
  .stat-icon { font-size: 32px; }
  .hero-btns { flex-direction: column; width: 100%; max-width: 280px; }
  .roster-squad {
    justify-content: center;
    max-width: 600px;
    gap: 18px;
  }
  .jersey-showcase {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 32px auto 0;
    gap: 24px;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  footer { padding: 48px 24px 28px; }
  .hero-btns a { justify-content: center; width: 100%; }
  .hero-title { font-size: clamp(28px, 8vw, 48px); }
  .hero-tagline-top { font-size: 10px; letter-spacing: 3px; }
  .cta-inner { flex-direction: column; align-items: center; text-align: center; }
  .cta-inner .section-eyebrow { justify-content: center; }
  .title-center { text-align: center; }
}

/* ── NAV: SMALL PHONES ── */
@media (max-width: 480px) {
  nav { padding: 0 14px; height: 62px; }
  #hero { padding-top: 62px; }
  .nav-logo-img { width: 44px; height: 44px; }
  .nav-logo-sub { font-size: 10px; letter-spacing: 3px; }
  .nav-toggle { width: 36px; height: 36px; padding: 7px; }
  .nav-links {
    top: 62px;
    height: calc(100vh - 62px);
    height: calc(100dvh - 62px);
    max-height: calc(100vh - 62px);
    max-height: calc(100dvh - 62px);
    padding: 36px 20px 40px;
    gap: 4px;
  }
  .nav-links > li { max-width: 100%; }
  .nav-links > li > a:not(.nav-cta) {
    font-size: 18px; letter-spacing: 2px; padding: 14px 12px;
  }
  .nav-links > li > a:not(.nav-cta)::after { bottom: 6px; }
  .nav-menu-cta { margin-top: 18px; padding-top: 18px; }
  .nav-menu-cta .nav-cta { font-size: 14px; letter-spacing: 2.4px; padding: 14px 24px; }
  .nav-actions { gap: 8px; }
}
@media (max-width: 360px) {
  nav { padding: 0 10px; height: 58px; }
  #hero { padding-top: 58px; }
  .nav-logo-sub { display: none; }
  .nav-logo-img { width: 40px; height: 40px; }
  .nav-toggle { width: 34px; height: 34px; }
  .nav-links {
    top: 58px;
    height: calc(100vh - 58px);
    height: calc(100dvh - 58px);
    max-height: calc(100vh - 58px);
    max-height: calc(100dvh - 58px);
    padding: 28px 14px 32px;
  }
  .nav-links > li > a:not(.nav-cta) {
    font-size: 16px; letter-spacing: 1.5px; padding: 12px 10px;
  }
  .nav-menu-cta .nav-cta { font-size: 13px; letter-spacing: 2px; padding: 12px 20px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-links a { justify-content: center; }
  .footer-contact-item { justify-content: center; }
  .social-links { justify-content: center; }
  .modal-overlay { padding: 16px; align-items: flex-end; }
  .apply-modal { max-height: 92vh; margin-bottom: 8px; }
  .back-to-top { bottom: 24px; right: 18px; width: 44px; height: 44px; font-size: 20px; }
  footer { padding: 40px 20px 24px; }
  .hero-logo-wrap { width: 200px; height: 200px; }
  .hero-sub { font-size: 14px; letter-spacing: 3px; }
  .player-img-bg { height: 240px; }
  .player-card--owner { max-width: 340px; }
  .player-card--owner .player-img-bg { height: 320px; }
  .player-card--owner .player-img-bg img { object-position: center center; height: 100%; }
  .roster-squad {
    grid-template-columns: 1fr;
    max-width: 360px;
    gap: 20px;
  }
  .jersey-showcase {
    max-width: 280px;
  }
  .player-card, .staff-card { max-width: 360px; margin: 0 auto; width: 100%; }
  .roster-col { display: contents; }
  .player-order-2 { order: 2; }
  .player-order-3 { order: 3; }
  .player-order-4 { order: 4; }
  .player-order-5 { order: 5; }
  .player-order-6 { order: 6; }
  .player-order-7 { order: 7; }
  .player-order-8 { order: 8; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .ach-showcase { grid-template-columns: 1fr; max-width: 360px; }
  .apply-modal { clip-path: none; border-radius: 4px; }
  .section-title { font-size: clamp(28px, 8vw, 40px); }
}
@media (max-width: 380px) {
  .stats-grid { grid-template-columns: 1fr; max-width: 260px; }
  .stat-item { padding: 18px 16px; }
}

/* ── ROSTER HIGHLIGHT ── */
.roster-highlight {
  max-width: 1320px; margin: 0 auto 48px;
  background: var(--card-bg);
  border: 1px solid rgba(237,22,57,0.25);
  padding: 12px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.roster-highlight::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(237,22,57,0.15), transparent);
  animation: rosterShine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rosterShine { 0% { left: -100%; } 20%, 100% { left: 200%; } }
.roster-highlight-img {
  width: 100%; display: block;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.roster-highlight:hover .roster-highlight-img { transform: scale(1.02); }

/* ── JERSEY SECTION ── */
#jersey {
  background: linear-gradient(180deg, var(--bg2) 0%, #03060d 100%);
  position: relative; overflow: hidden;
}
#jersey::before {
  content: ''; position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at 50% 50%, rgba(237,22,57,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.jersey-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  max-width: 900px; margin: 48px auto 0;
  align-items: center;
}
.jersey-card {
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  padding: 5px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  perspective: 1000px;
  cursor: pointer;
  overflow: hidden;
  
  /* Continuous rotating fire border (red & white) */
  border: 1.5px solid transparent;
  background-image: 
    linear-gradient(rgba(10, 18, 40, 0.42), rgba(5, 11, 26, 0.58)), 
    conic-gradient(from var(--angle, 0deg), var(--red), var(--white) 25%, var(--red) 50%, var(--white) 75%, var(--red) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: rotateBorderAngle 4s linear infinite;
  
  transition: transform 0.4s, box-shadow 0.4s;
}
.jersey-card:hover {
  background-image: 
    linear-gradient(rgba(15, 25, 50, 0.55), rgba(10, 18, 40, 0.7)), 
    conic-gradient(from var(--angle, 0deg), var(--red), var(--white) 15%, var(--red) 30%, var(--white) 45%, var(--red) 60%, var(--white) 75%, var(--red) 90%, var(--white) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: rotateBorderAngle 1.5s linear infinite;
  box-shadow: 0 20px 52px rgba(237, 22, 57, 0.25), 0 0 30px rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
}
.jersey-card::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
  pointer-events: none;
}
.jersey-img-wrap {
  width: 100%; aspect-ratio: 4/5;
  background: #000;
  overflow: hidden;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform .6s cubic-bezier(.175,.885,.32,1.275), box-shadow .6s;
  transform-style: preserve-3d;
}
.jersey-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.jersey-card:hover .jersey-img-wrap {
  transform: rotateX(8deg) rotateY(-8deg) scale(1.02);
  box-shadow: -10px 15px 30px rgba(0,0,0,0.8);
}
.jersey-card:hover .jersey-img-wrap img { transform: scale(1.05); }
.jersey-label {
  position: absolute; bottom: 16px; left: 16px; z-index: 2;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: var(--white);
  background: rgba(237,22,57,0.85);
  padding: 6px 16px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  backdrop-filter: blur(4px);
}
@media (max-width: 600px) {
  .jersey-label {
    font-size: 11px; letter-spacing: 2px; padding: 4px 10px;
  }
}


/* ══════════════════════════════════════════════════════
   PROFILE PAGE
   ══════════════════════════════════════════════════════ */

.profile-cover {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin-top: 76px;
}
.profile-cover-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.7);
  transition: transform 1s cubic-bezier(.22,1,.36,1);
}
.profile-cover:hover .profile-cover-img {
  transform: scale(1.03);
}
.profile-cover-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(5,11,26,0) 0%,
    rgba(5,11,26,0.3) 40%,
    rgba(5,11,26,0.85) 80%,
    var(--bg) 100%);
  pointer-events: none;
}
.profile-cover-scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,
    transparent,
    transparent 2px,
    rgba(237,22,57,0.015) 2px,
    rgba(237,22,57,0.015) 4px);
  pointer-events: none;
}

/* ── Profile Header ── */
.profile-header {
  position: relative;
  max-width: 1200px;
  margin: -120px auto 0;
  padding: 0 48px;
  z-index: 10;
}
.profile-header-inner {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}
.profile-avatar-wrap {
  flex-shrink: 0;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.profile-avatar {
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 4px solid var(--red);
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 0 30px rgba(237,22,57,0.4), 0 8px 32px rgba(0,0,0,0.5);
  background: var(--bg2);
  transition: box-shadow 0.4s, transform 0.4s;
}
.profile-avatar-wrap:hover .profile-avatar {
  box-shadow: 0 0 50px rgba(237,22,57,0.6), 0 12px 40px rgba(0,0,0,0.6);
  transform: scale(1.04);
}
.profile-avatar-ring {
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(237,22,57,0.3);
  animation: profileRingPulse 3s ease-in-out infinite;
}
@keyframes profileRingPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.04); }
}
.profile-header-info {
  flex: 1;
  padding-bottom: 8px;
}
.profile-role-badge {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  color: var(--white);
  padding: 6px 18px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(237,22,57,0.3);
}
.profile-role-badge--gold {
  background: linear-gradient(135deg, #D4AF37, #8B6914);
  box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}
.profile-player-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900; font-style: italic;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.profile-player-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--red);
  margin-top: 8px;
}
.profile-social-row {
  display: flex; gap: 12px;
  margin-top: 16px;
}
.profile-fb-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--white);
  background: rgba(237,22,57,0.12);
  border: 1px solid rgba(237,22,57,0.4);
  padding: 10px 20px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  text-decoration: none;
  transition: all 0.25s;
}
.profile-fb-btn:hover {
  background: linear-gradient(135deg, var(--red), var(--dark-red));
  border-color: var(--red);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}
.profile-fb-btn svg { width: 16px; height: 16px; }

/* ── Profile Content Grid ── */
.profile-content {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 48px;
}
.profile-bio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.profile-bio-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.1);
  padding: 32px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
  overflow: hidden;
}
.profile-bio-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%),
    linear-gradient(90deg, rgba(237, 22, 57, 0.01), rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.01));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}
.profile-bio-card:hover {
  border-color: rgba(237,22,57,0.45);
  box-shadow: 0 12px 40px rgba(237,22,57,0.15);
  transform: translateY(-4px);
}
.profile-bio-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(237,22,57,0.2);
}
.profile-bio-card p {
  font-size: 15px;
  color: rgba(230,230,230,0.7);
  line-height: 1.8;
}
.profile-bio-card p + p { margin-top: 14px; }

/* Quick stats sidebar */
.profile-stats-sidebar {
  display: flex; flex-direction: column; gap: 16px;
}
.profile-stat-box {
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.1);
  padding: 24px;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.profile-stat-box:hover {
  border-color: rgba(237,22,57,0.4);
  box-shadow: 0 8px 24px rgba(237,22,57,0.15);
  transform: translateY(-4px);
}
.profile-stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px; font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.profile-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(230,230,230,0.5);
  margin-top: 6px;
}

/* ── Info Cards Grid ── */
.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.profile-info-card {
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.1);
  padding: 28px;
  position: relative;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  opacity: 0;
  transform: translateY(50px) skewY(-1deg) scale(0.97);
  transition: opacity 0.85s cubic-bezier(.16, 1, .3, 1), transform 0.85s cubic-bezier(.16, 1, .3, 1), border-color 0.4s, box-shadow 0.4s;
  will-change: transform, opacity;
}
.profile-info-card.visible {
  opacity: 1;
  transform: translateY(0) skewY(0deg) scale(1);
  animation: revealGlitchFlash 0.55s cubic-bezier(.16, 1, .3, 1) forwards;
}
.profile-info-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.3s;
}
.profile-info-card:hover::before { opacity: 1; }
.profile-info-card:hover {
  border-color: rgba(237,22,57,0.4);
  box-shadow: 0 12px 36px rgba(237,22,57,0.12);
  transform: translateY(-6px);
}
.profile-info-card-icon {
  font-size: 24px;
  margin-bottom: 14px;
  display: inline-block;
  transition: transform 0.3s;
}
.profile-info-card:hover .profile-info-card-icon {
  transform: scale(1.15) rotate(-5deg);
}
.profile-info-card h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.profile-info-card p,
.profile-info-card ul {
  font-size: 14px;
  color: rgba(230,230,230,0.65);
  line-height: 1.7;
}
.profile-info-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.profile-info-card ul li::before {
  content: '▸';
  color: var(--red);
  margin-right: 8px;
  font-weight: 700;
}

/* ── Tournament Performance ── */
.profile-tournaments {
  margin-bottom: 48px;
}
.profile-tournament-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.profile-tournament-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.08);
  padding: 20px 24px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.profile-tournament-row:hover {
  border-color: rgba(237,22,57,0.35);
  box-shadow: 0 8px 24px rgba(237,22,57,0.1);
  transform: translateX(6px);
}
.profile-tournament-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 1px;
}
.profile-tournament-perf {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 6px 14px;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}
.profile-tournament-perf--gold {
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.35);
  color: #D4AF37;
}
.profile-tournament-perf--silver {
  background: rgba(192,192,192,0.12);
  border: 1px solid rgba(192,192,192,0.3);
  color: #C0C0C0;
}
.profile-tournament-perf--default {
  background: rgba(237,22,57,0.1);
  border: 1px solid rgba(237,22,57,0.25);
  color: var(--red);
}
.profile-tournament-rating {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 900;
  color: var(--white);
}
.profile-tournament-rating .star {
  color: #D4AF37;
  font-size: 14px;
}

/* ── Profile Media Grid (Jersey + Videos) ── */
/* ── Profile Jersey ── */
/* ── Profile Media Grid ── */
.profile-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.profile-jersey-section {
  margin-bottom: 0;
}
.profile-fb-section {
  margin-bottom: 0;
}

.profile-jersey-card {
  max-width: 100%;
  margin: 24px 0 0;
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  padding: 5px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  perspective: 1200px;
  cursor: pointer;
  overflow: hidden;
  
  /* Continuous rotating fire border (red & white) */
  border: 1.5px solid transparent;
  background-image: 
    linear-gradient(rgba(10, 18, 40, 0.42), rgba(5, 11, 26, 0.58)), 
    conic-gradient(from var(--angle, 0deg), var(--red), var(--white) 25%, var(--red) 50%, var(--white) 75%, var(--red) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: rotateBorderAngle 4s linear infinite;
  
  transition: transform 0.4s, box-shadow 0.4s;
}
.profile-jersey-card:hover {
  background-image: 
    linear-gradient(rgba(15, 25, 50, 0.55), rgba(10, 18, 40, 0.7)), 
    conic-gradient(from var(--angle, 0deg), var(--red), var(--white) 15%, var(--red) 30%, var(--white) 45%, var(--red) 60%, var(--white) 75%, var(--red) 90%, var(--white) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: rotateBorderAngle 1.5s linear infinite;
  box-shadow: 0 20px 52px rgba(237, 22, 57, 0.25), 0 0 30px rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
}
.profile-jersey-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transform-style: preserve-3d;
  animation: jerseyFloat 4s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(.175,.885,.32,1.275);
}
.profile-jersey-card:hover .profile-jersey-img {
  animation-play-state: paused;
  transform: rotateY(-10deg) rotateX(5deg) scale(1.03);
}
@keyframes jerseyFloat {
  0%, 100% { transform: translateY(0) rotateY(0); }
  25% { transform: translateY(-8px) rotateY(3deg); }
  75% { transform: translateY(-8px) rotateY(-3deg); }
}

/* ── Profile Facebook Feed ── */
.profile-fb-section {
  margin-bottom: 48px;
}
.profile-fb-embed {
  max-width: 100%;
  margin: 24px 0 0;
  background: var(--card-bg);
  border: 1px solid rgba(230,230,230,0.1);
  padding: 16px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  overflow: hidden;
}
.profile-fb-embed iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* Profile responsive */
@media (max-width: 1040px) {
  .profile-content {
    max-width: 100%;
    padding: 0 32px;
  }
  .profile-media-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 900px) {
  .profile-cover { height: 300px; margin-top: 68px; }
  .profile-header { padding: 0 20px; margin-top: -80px; }
  .profile-header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .profile-avatar { width: 140px; height: 140px; }
  .profile-social-row { justify-content: center; }
  .profile-content { padding: 0 20px; }
  .profile-bio-grid { grid-template-columns: 1fr; }
  .profile-info-grid { grid-template-columns: 1fr; }
  .profile-tournament-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  .profile-header { margin-top: -60px; }
  .profile-avatar { width: 130px; height: 130px; }
  .profile-player-name { font-size: clamp(24px, 6vw, 36px); }
}
@media (max-width: 600px) {
  .profile-cover { height: 220px; }
  .profile-avatar { width: 120px; height: 120px; }
  .profile-player-name { font-size: clamp(22px, 5vw, 32px); }
  .profile-content { padding: 0 16px; }
  .profile-jersey-card { padding: 5px; }
}
@media (max-width: 480px) {
  .profile-cover { height: 200px; margin-top: 60px; }
  .profile-header { margin-top: -50px; padding: 0 12px; }
  .profile-avatar { width: 100px; height: 100px; }
  .profile-player-name { font-size: 20px; }
  .profile-player-tag { font-size: 10px; padding: 3px 10px; }
  .profile-content { padding: 0 12px; }
  .profile-bio-grid { gap: 20px; }
  .profile-jersey-card { padding: 5px; }
}
@media (max-width: 380px) {
  .profile-cover { height: 180px; margin-top: 55px; }
  .profile-header { margin-top: -40px; }
  .profile-avatar { width: 90px; height: 90px; }
  .profile-player-name { font-size: 18px; }
  .profile-content { padding: 0 10px; }
}


/* ══════════════════════════════════════════════════════
   GALLERY PAGE
   ══════════════════════════════════════════════════════ */

.gallery-hero {
  padding-top: 120px;
  padding-bottom: 64px;
  background: var(--bg);
}

/* Roster Poster */
.gallery-poster {
  max-width: 900px;
  margin: 32px auto 0;
  background: var(--card-bg);
  border: 1px solid rgba(237,22,57,0.25);
  padding: 12px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  position: relative;
  transition: box-shadow 0.4s;
}
.gallery-poster::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(237,22,57,0.15), transparent);
  animation: rosterShine 6s ease-in-out infinite;
  pointer-events: none;
}
.gallery-poster:hover {
  box-shadow: 0 20px 60px rgba(237,22,57,0.2);
}
.gallery-poster img {
  width: 100%; display: block;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}
.gallery-poster:hover img {
  transform: scale(1.02);
}

/* Jersey Grid */
.gallery-jerseys {
  padding: 80px 48px;
  background: var(--bg2);
}
.gallery-jersey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 40px auto 0;
}
.gallery-jersey-item {
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  padding: 16px;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  perspective: 1000px;
  cursor: pointer;
  overflow: hidden;
  
  /* Continuous rotating fire border (red & white) */
  border: 1.5px solid transparent;
  background-image: 
    linear-gradient(rgba(10, 18, 40, 0.42), rgba(5, 11, 26, 0.58)), 
    conic-gradient(from var(--angle, 0deg), var(--red), var(--white) 25%, var(--red) 50%, var(--white) 75%, var(--red) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: rotateBorderAngle 4s linear infinite;
  
  transition: transform 0.4s, box-shadow 0.4s;
}
.gallery-jersey-item:hover {
  background-image: 
    linear-gradient(rgba(15, 25, 50, 0.55), rgba(10, 18, 40, 0.7)), 
    conic-gradient(from var(--angle, 0deg), var(--red), var(--white) 15%, var(--red) 30%, var(--white) 45%, var(--red) 60%, var(--white) 75%, var(--red) 90%, var(--white) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: rotateBorderAngle 1.5s linear infinite;
  box-shadow: 0 20px 52px rgba(237, 22, 57, 0.25), 0 0 30px rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
}
.gallery-jersey-item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(.175,.885,.32,1.275);
}
.gallery-jersey-item:hover img {
  transform: rotateX(5deg) rotateY(-5deg) scale(1.03);
}
.gallery-jersey-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(230,230,230,0.6);
  text-align: center;
  margin-top: 14px;
  transition: color 0.3s;
}
.gallery-jersey-item:hover .gallery-jersey-label {
  color: var(--red);
}

/* Story section */
.gallery-story {
  padding: 80px 48px;
  background: var(--bg);
}
.gallery-story-content {
  max-width: 800px;
  margin: 24px auto 0;
  text-align: center;
}
.gallery-story-content p {
  font-size: 16px;
  color: rgba(230,230,230,0.65);
  line-height: 1.8;
}
.gallery-story-content p + p {
  margin-top: 16px;
}

/* Gallery responsive */
@media (max-width: 900px) {
  .gallery-hero { padding-top: 100px; }
  .gallery-jerseys { padding: 64px 20px; }
  .gallery-jersey-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }
  .gallery-story { padding: 64px 20px; }
}
@media (max-width: 600px) {
  .gallery-jersey-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .gallery-jersey-item { padding: 10px; }
}

/* ══════════════════════════════════════════════════════
   EXTREME GAMING ANIMATIONS & HUD STYLES
   ══════════════════════════════════════════════════════ */

/* Dynamic Cyber Grid Background Overlay */
.cyber-grid-mesh {
  position: relative;
  overflow: hidden;
}
.cyber-grid-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(237, 22, 57, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 22, 57, 0.022) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
  animation: gridShift 30s linear infinite;
}

@keyframes gridShift {
  from { background-position: 0 0; }
  to { background-position: 40px 40px; }
}

/* Cyber Accent Corner Crosshairs */
.cyber-header-wrap {
  position: relative;
  display: inline-block;
  padding: 8px 24px;
}
.cyber-crosshair {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(237, 22, 57, 0.4);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), border-color 0.3s;
}
.cyber-crosshair-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.cyber-crosshair-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.cyber-crosshair-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.cyber-crosshair-br { bottom: 0; right: 0; border-left: none; border-top: none; }

.title-center:hover .cyber-crosshair-tl,
.title-center:hover .cyber-crosshair-br,
.player-card:hover .cyber-crosshair-tl,
.player-card:hover .cyber-crosshair-br,
.gallery-jersey-item:hover .cyber-crosshair-tl,
.gallery-jersey-item:hover .cyber-crosshair-br {
  transform: translate(-3px, -3px) rotate(90deg);
  border-color: var(--red);
}
.title-center:hover .cyber-crosshair-tr,
.title-center:hover .cyber-crosshair-bl,
.player-card:hover .cyber-crosshair-tr,
.player-card:hover .cyber-crosshair-bl,
.gallery-jersey-item:hover .cyber-crosshair-tr,
.gallery-jersey-item:hover .cyber-crosshair-bl {
  transform: translate(3px, -3px) rotate(-90deg);
  border-color: var(--red);
}

/* Glitch Typography for Section Titles */
.glitch-hover-title {
  position: relative;
  cursor: pointer;
}
.glitch-hover-title:hover {
  animation: cyberTextGlitch 0.25s steps(2) infinite;
}

@keyframes cyberTextGlitch {
  0% {
    text-shadow: 2px -1px 0 rgba(237,22,57,0.7), -1px 2px 0 rgba(0,255,240,0.6);
    transform: skew(1deg);
  }
  50% {
    text-shadow: -2px 2px 0 rgba(237,22,57,0.7), 2px -1px 0 rgba(0,255,240,0.6);
    transform: skew(-2deg) scale(1.01);
  }
  100% {
    text-shadow: 1px -2px 0 rgba(237,22,57,0.7), -2px 2px 0 rgba(0,255,240,0.6);
    transform: skew(0deg);
  }
}

/* Sleek Ambient Cyber Card Glow (Red Laser Scan Line Removed) */
.cyber-scan-overlay {
  display: none !important;
}

.player-card, .staff-card, .ach-item, .gallery-jersey-item {
  position: relative;
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s cubic-bezier(.22,1,.36,1), border-color 0.4s;
}

.player-card:hover, .staff-card:hover, .ach-item:hover, .gallery-jersey-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 40px rgba(237, 22, 57, 0.28), 0 0 20px rgba(237, 22, 57, 0.15);
  border-color: rgba(237, 22, 57, 0.8) !important;
}

/* Kinetic Cyber-Reveal Animations */
.reveal-cyber {
  opacity: 0;
  transform: translateY(50px) skewX(-4deg) scale(0.96);
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1), transform 0.8s cubic-bezier(.22,1,.36,1);
  position: relative;
}
.reveal-cyber::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  transition: width 0.8s cubic-bezier(.22,1,.36,1);
}
.reveal-cyber.visible {
  opacity: 1;
  transform: translateY(0) skewX(0deg) scale(1);
}
.reveal-cyber.visible::before {
  width: 100%;
}

/* Interactive Card Glowing Border (for player-card, ach-item, etc.) */
.cyber-glow-wrap {
  position: relative;
  z-index: 1;
}
.cyber-glow-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(237,22,57,0.3) 0%, transparent 40%, rgba(237,22,57,0.3) 100%);
  z-index: -1;
  opacity: 0.5;
  transition: opacity 0.4s, background 0.4s;
  pointer-events: none;
  clip-path: inherit;
}
.cyber-glow-wrap:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, var(--red) 0%, transparent 20%, transparent 80%, var(--red) 100%);
}

/* 3D Magnetic Tilt Container */
.magnetic-tilt {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s;
}
.magnetic-tilt > * {
  transform: translateZ(20px);
}

/* Extra hover styles for buttons */
.btn-primary, .btn-outline {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease-in-out;
  z-index: -1;
}
.btn-primary:hover::after {
  left: 100%;
}

/* Neon Glow Ambient Lights behind sections */
.ambient-light-red {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(237, 22, 57, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: plus-lighter;
  filter: blur(40px);
}

/* Moving Border Animation Keyframes */
@keyframes movingBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Gold Cyber Glow wrap for Owner Card (replaces red border glow) */
.cyber-glow-wrap--owner::before {
  background: linear-gradient(135deg, rgba(212,175,55,0.35) 0%, transparent 40%, rgba(212,175,55,0.35) 100%) !important;
}
.cyber-glow-wrap--owner:hover::before {
  background: linear-gradient(135deg, #D4AF37 0%, transparent 20%, transparent 80%, #D4AF37 100%) !important;
}

/* Gold Scanline Sweep Overlay for Owner Card */
.cyber-scan-overlay--owner::after {
  background: linear-gradient(180deg, transparent, rgba(212,175,55,0.18) 50%, transparent) !important;
  animation-delay: var(--scan-delay, 0s) !important;
}

/* Conic Border Rotating Angle property registration */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Keyframes to rotate the angle property for fire border animation */
@keyframes rotateBorderAngle {
  to { --angle: 360deg; }
}

/* Dynamic Holographic HUD Flash Overlay (Disabled per request) */
.cyber-flash-overlay, .cyber-flash-overlay--owner {
  display: none !important;
}

/* ── Profile Page Custom Cyber Sonar Pulse Animation ── */
.cyber-sonar-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(237, 22, 57, 0.4);
  clip-path: inherit;
  opacity: 0;
  z-index: 10;
}
.profile-bio-card:hover .cyber-sonar-ring,
.profile-stats-sidebar:hover .cyber-sonar-ring,
.profile-info-card:hover .cyber-sonar-ring {
  animation: cyberSonarRipple 0.8s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes cyberSonarRipple {
  0% {
    transform: scale(0.98);
    opacity: 0.8;
    border-color: rgba(237, 22, 57, 0.6);
  }
  100% {
    transform: scale(1.04);
    opacity: 0;
    border-color: rgba(237, 22, 57, 0);
    box-shadow: 0 0 20px rgba(237, 22, 57, 0.3);
  }
}

/* Lock-on target bracket expansion for profile crosshair corners on hover */
.profile-bio-card:hover .cyber-crosshair-tl,
.profile-stats-sidebar:hover .cyber-crosshair-tl,
.profile-info-card:hover .cyber-crosshair-tl {
  transform: translate(-4px, -4px);
  border-color: var(--red);
  filter: drop-shadow(0 0 4px var(--red));
}
.profile-bio-card:hover .cyber-crosshair-br,
.profile-stats-sidebar:hover .cyber-crosshair-br,
.profile-info-card:hover .cyber-crosshair-br {
  transform: translate(4px, 4px);
  border-color: var(--red);
  filter: drop-shadow(0 0 4px var(--red));
}