/* =====================================================
   CHIE ESPORTS — Main Stylesheet
   Palette: Red #E31B23 | Cyan #00C8FF | Black #0A0A0A | Dark #111 | Gray #1A1A1A
   ===================================================== */

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

:root {
  --red: #E31B23;
  --red-bright: #FF2D36;
  --red-dark: #9E1218;
  --cyan: #00C8FF;
  --black: #0A0A0A;
  --dark: #111111;
  --card: #161616;
  --card-hover: #1C1C1C;
  --border: #2a2a2a;
  --text-primary: #F5F5F5;
  --text-secondary: #999999;
  --text-muted: #555555;
  --font-heading: 'Barlow Condensed', 'Impact', sans-serif;
  --font-body: 'Barlow', -apple-system, sans-serif;
  --nav-height: 64px;
  --section-pad: 100px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---- Utility ---- */
.text-red { color: var(--red); }
.text-cyan { color: var(--cyan); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 12px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  transform: translateX(-100%);
  transition: transform 0.2s ease;
}
.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--red);
  color: #fff;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 27, 35, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.15rem;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 10, 10, 0.85);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, background 0.3s;
}

.nav-header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-logo:hover { color: var(--red); }
.logo-bracket { color: var(--red); }
.logo-sub {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  align-self: flex-end;
  padding-bottom: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 12px;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--red); }
.nav-link.active::after { transform: scaleX(1); }

.nav-link-cta {
  background: var(--red);
  color: #fff !important;
  padding: 8px 20px;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.2s;
}
.nav-link-cta::after { display: none; }
.nav-link-cta:hover {
  background: var(--red-bright) !important;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.25s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  will-change: transform;
}
.hero-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.75) 45%,
    rgba(10, 10, 10, 0.4) 70%,
    rgba(10, 10, 10, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: var(--nav-height);
}

.hero-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--cyan);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-clan {
  display: block;
  color: var(--text-primary);
  -webkit-text-stroke: 2px var(--red);
  text-shadow:
    0 0 40px rgba(227, 27, 35, 0.3),
    0 0 80px rgba(227, 27, 35, 0.1);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollBlink 2s ease-in-out infinite;
}
@keyframes scrollBlink {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* =====================================================
   ABOUT
   ===================================================== */
.about-section {
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text p:not(.about-lead) {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 4px 10px;
  transition: border-color 0.2s, color 0.2s;
}
.tag:hover {
  border-color: var(--red);
  color: var(--red);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, var(--red), transparent);
}
.stat-card:hover {
  transform: translateX(4px);
  box-shadow: -4px 0 16px rgba(227, 27, 35, 0.2);
}

.stat-icon {
  flex-shrink: 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  display: inline;
}
.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red);
  display: inline;
  margin-left: 2px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Pulse glow animation */
.pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(227, 27, 35, 0); }
  50% { box-shadow: 0 0 20px rgba(227, 27, 35, 0.15), inset 0 0 20px rgba(227, 27, 35, 0.03); }
}

/* =====================================================
   STRATEGY
   ===================================================== */
.strategy-section {
  background: var(--black);
  position: relative;
}
.strategy-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.strategy-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.strategy-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}
.strategy-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.strategy-card:hover::after {
  transform: scaleY(1);
}

.strategy-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.strategy-phase {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 3px 8px;
}

.strategy-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.strategy-body {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.strategy-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strategy-points li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.strategy-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 1px;
  background: var(--red);
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-section {
  background: var(--dark);
  position: relative;
}
.gallery-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
  background: var(--card);
}

.gallery-item-featured {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-map {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
}

.gallery-caption {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

/* =====================================================
   ROSTER
   ===================================================== */
.roster-section {
  background: var(--black);
  position: relative;
}
.roster-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.roster-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--red);
  padding: 28px 20px 20px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}
.roster-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(227, 27, 35, 0.2);
  border-color: var(--red);
  border-bottom-color: var(--red);
}

.roster-avatar {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-ring {
  position: absolute;
  inset: 0;
  border: 2px solid var(--border);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: border-color 0.25s;
}
.roster-card:hover .avatar-ring {
  border-color: var(--red);
}
.avatar-inner {
  position: relative;
  z-index: 1;
}

.roster-role-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-bottom: 8px;
}
.role-igl {
  background: rgba(227, 27, 35, 0.15);
  color: var(--red);
  border: 1px solid rgba(227, 27, 35, 0.3);
}
.role-fragger {
  background: rgba(0, 200, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 200, 255, 0.3);
}
.role-support {
  background: rgba(255, 200, 0, 0.1);
  color: #ffc800;
  border: 1px solid rgba(255, 200, 0, 0.3);
}
.role-intel {
  background: rgba(100, 255, 100, 0.08);
  color: #64ff64;
  border: 1px solid rgba(100, 255, 100, 0.2);
}

.roster-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.roster-role-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.roster-stats {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  gap: 4px;
}

.roster-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.rstat-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.rstat-key {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* =====================================================
   JOIN
   ===================================================== */
.join-section {
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.join-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(227, 27, 35, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.join-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.join-accent-line {
  width: 60px;
  height: 3px;
  background: var(--red);
  margin: 0 auto 24px;
}

.join-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.join-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.join-requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 36px;
  text-align: left;
}

.req-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px 14px;
}

.join-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.join-form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 480px;
}

.join-input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
}
.join-input::placeholder { color: var(--text-muted); }
.join-input:focus { border-color: var(--red); }

.join-form .btn-outline {
  clip-path: none;
  flex-shrink: 0;
}

.join-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-weapon-icon {
  opacity: 0.3;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-primary); }

.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for grid children */
.strategy-grid .fade-in-up:nth-child(1) { transition-delay: 0s; }
.strategy-grid .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.strategy-grid .fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.strategy-grid .fade-in-up:nth-child(4) { transition-delay: 0.3s; }

.gallery-grid .fade-in-up:nth-child(1) { transition-delay: 0s; }
.gallery-grid .fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.gallery-grid .fade-in-up:nth-child(3) { transition-delay: 0.15s; }
.gallery-grid .fade-in-up:nth-child(4) { transition-delay: 0.2s; }

.roster-grid .fade-in-up:nth-child(1) { transition-delay: 0s; }
.roster-grid .fade-in-up:nth-child(2) { transition-delay: 0.08s; }
.roster-grid .fade-in-up:nth-child(3) { transition-delay: 0.16s; }
.roster-grid .fade-in-up:nth-child(4) { transition-delay: 0.24s; }
.roster-grid .fade-in-up:nth-child(5) { transition-delay: 0.32s; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .roster-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 0 24px;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
  }
  .nav-link::after { display: none; }
  .nav-link-cta {
    margin: 8px 24px 0;
    width: calc(100% - 48px);
    clip-path: none;
    text-align: center;
  }
  .nav-hamburger { display: flex; }

  .hero-title {
    font-size: clamp(4rem, 22vw, 8rem);
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item-featured {
    grid-column: 1;
    aspect-ratio: 16/9;
  }

  .roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-requirements {
    grid-template-columns: 1fr;
  }

  .join-form {
    flex-direction: column;
  }
  .join-input { border-right: 1px solid var(--border); border-bottom: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .roster-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .roster-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 4.5rem;
  }
}
