:root {
  --bg: #0a0e1a;
  --bg-alt: #0f1428;
  --fortnite-blue: #4d9eff;
  --fortnite-purple: #8b5cf6;
  --fortnite-orange: #ff8c42;
  --gem-white: #eef2ff;
  --brawl-yellow: #ffd23f;
  --brawl-purple: #7b2cbf;
  --brawl-pink: #ff4d8d;
  --samurai-red: #ff4d5e;
  --sniper-green: #6ade8a;
  --text: #f4f6ff;
  --text-dim: #9aa3c0;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  cursor: default;
}

::selection { background: var(--fortnite-purple); color: white; }

/* ---------- CURSOR GLOW ---------- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(139,92,246,0.12), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 0.3s;
  left: 50%;
  top: 50%;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2.5rem;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(10, 14, 26, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 1.1rem;
}
.nav-logo span { color: var(--brawl-yellow); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--fortnite-blue), var(--brawl-yellow));
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ---------- LOADER ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(139,92,246,0.45), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(77,158,255,0.4), transparent 60%),
    var(--bg);
  background-size: 200% 200%;
  animation: heroShift 3s ease-in-out infinite alternate;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-letter {
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(90deg, var(--fortnite-blue), var(--fortnite-purple), var(--brawl-pink), var(--fortnite-blue));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: letterFlow 2.2s linear infinite;
}
@keyframes letterFlow {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}
.loader-bar {
  width: min(240px, 60vw);
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--fortnite-blue), var(--fortnite-purple));
  animation: loaderFill 1.6s ease-in-out forwards;
}
@keyframes loaderFill {
  0% { width: 0; }
  70% { width: 80%; }
  100% { width: 100%; }
}
.loader-dot::after {
  content: '';
  animation: loaderDots 1.2s steps(4) infinite;
}
@keyframes loaderDots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 9rem 1.5rem 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(139,92,246,0.35), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(77,158,255,0.3), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(255,140,66,0.15), transparent 60%),
    var(--bg);
  background-size: 200% 200%;
  animation: heroShift 14s ease-in-out infinite;
}

@keyframes heroShift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 70% 60%, white, transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, white, transparent),
    radial-gradient(1.5px 1.5px at 85% 20%, white, transparent),
    radial-gradient(1.5px 1.5px at 55% 45%, white, transparent),
    radial-gradient(1.5px 1.5px at 10% 65%, white, transparent),
    radial-gradient(1.5px 1.5px at 90% 85%, white, transparent);
  background-repeat: repeat;
  background-size: 600px 600px;
  opacity: 0.5;
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.25; }
  to { opacity: 0.6; }
}

.hero-content { position: relative; z-index: 2; padding: 0 1.5rem; }

.hero-eyebrow {
  letter-spacing: 4px;
  font-size: 0.8rem;
  color: var(--fortnite-blue);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.1s forwards ease-out;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.glitch {
  position: relative;
  background: linear-gradient(90deg, var(--fortnite-blue), var(--fortnite-purple), var(--brawl-pink));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientMove 6s linear infinite, glitchPop 0.9s 0.2s both;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
@keyframes glitchPop {
  0% { opacity: 0; transform: translateY(30px) scale(0.9); filter: blur(6px); }
  60% { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-last {
  font-size: 0.35em;
  font-weight: 700;
  letter-spacing: 10px;
  color: var(--text);
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards ease-out;
  margin-top: 0.4rem;
}

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

.hero-sub {
  margin-top: 1.5rem;
  color: var(--text-dim);
  font-size: 1.05rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards ease-out;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--fortnite-purple), var(--fortnite-blue));
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 0 0 rgba(139,92,246,0.5);
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards ease-out, pulseGlow 2.5s 2s infinite;
  transition: transform 0.25s;
}
.hero-cta:hover { transform: translateY(-3px) scale(1.04); }
.arrow { animation: bounce 1.6s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(139,92,246,0.4); }
  50% { box-shadow: 0 0 28px rgba(77,158,255,0.7); }
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.wheel {
  width: 4px; height: 8px;
  background: var(--text);
  border-radius: 2px;
  animation: scrollWheel 1.6s infinite;
}
@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ---------- SECTION SHARED ---------- */
.section {
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
}
.section .section-inner {
  position: relative;
  z-index: 1;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.section-tag {
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fortnite-blue);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
}
.section-desc {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- FORTNITE SECTION ---------- */
.fortnite-section {
  background: var(--bg-alt);
  padding-top: 5rem;
}

.fortnite-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}
@media (max-width: 800px) {
  .fortnite-grid { grid-template-columns: 1fr; text-align: center; }
}

.llama-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.llama {
  position: relative;
  width: 180px;
  height: 220px;
  animation: float 3.5s ease-in-out infinite, llamaDodge 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes llamaDodge {
  0%, 85%, 100% { transform: translateX(0) rotate(-2deg); }
  87% { transform: translateX(-30px) rotate(-15deg) scaleX(0.9); }
  89% { transform: translateX(35px) rotate(15deg) scaleX(1.1); }
  91% { transform: translateX(-20px) rotate(-8deg) scaleX(0.95); }
  93% { transform: translateX(0) rotate(0deg); }
}
.llama-body {
  position: absolute;
  bottom: 0; left: 20px;
  width: 140px; height: 130px;
  background: 
    /* Main body fur */
    linear-gradient(160deg, #7b2cbf 0%, #9d4edd 30%, #c77dff 60%, #e0aaff 100%),
    /* Belly lighter */
    radial-gradient(ellipse at 50% 80%, #f0d9ff 0%, transparent 60%),
    /* Side shading */
    linear-gradient(90deg, transparent 40%, rgba(123,44,191,0.3) 100%);
  border-radius: 50% 50% 35% 35%;
  box-shadow: 
    0 0 50px rgba(139,92,246,0.4),
    inset 0 -20px 40px rgba(123,44,191,0.3);
}
.llama-body::before {
  content: '';
  position: absolute;
  bottom: 15px; left: 50%;
  width: 60px; height: 25px;
  background: linear-gradient(180deg, #2a1055 0%, #1a0a33 100%);
  border-radius: 50%;
  transform: translateX(-50%);
  filter: blur(8px);
  opacity: 0.4;
}
.llama-head {
  position: absolute;
  top: -10px; left: 50px;
  width: 80px; height: 90px;
  background: 
    linear-gradient(160deg, #7b2cbf 0%, #9d4edd 30%, #c77dff 60%, #e0aaff 100%),
    radial-gradient(ellipse at 50% 30%, #f0d9ff 0%, transparent 50%);
  border-radius: 50% 50% 45% 45%;
  box-shadow: 0 0 30px rgba(139,92,246,0.3);
}
.llama-head::before {
  content: '';
  position: absolute;
  top: 15px; left: 50%;
  width: 40px; height: 8px;
  background: linear-gradient(90deg, #ffd23f, #ff8c42, #ffd23f);
  border-radius: 4px;
  transform: translateX(-50%);
  box-shadow: 0 0 15px #ffd23f;
}
.llama-eye {
  position: absolute;
  top: 38px;
  width: 14px; height: 14px;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #fff 40%, #4a4a6a 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 12px #fff,
    inset 0 -2px 4px rgba(0,0,0,0.3);
  animation: blink 4s ease-in-out infinite;
}
@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}
.llama-eye.left { left: 18px; }
.llama-eye.right { right: 18px; }
.llama-ear {
  position: absolute;
  top: -25px;
  width: 18px; height: 38px;
  background: linear-gradient(160deg, #7b2cbf 0%, #9d4edd 50%, #c77dff 100%);
  border-radius: 50% 50% 10% 10%;
  box-shadow: inset -3px 0 8px rgba(123,44,191,0.4);
}
.llama-ear.left { left: 58px; transform: rotate(-15deg); }
.llama-ear.right { left: 104px; transform: rotate(15deg); }
.llama-ear::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  width: 8px; height: 20px;
  background: linear-gradient(180deg, #f0d9ff 0%, transparent 100%);
  border-radius: 4px;
  transform: translateX(-50%);
}
.llama-spots {
  position: absolute;
  inset: -10px;
  background-image:
    radial-gradient(8px 8px at 25px 65px, #ff8c42, transparent),
    radial-gradient(8px 8px at 55px 25px, #ff8c42, transparent),
    radial-gradient(7px 7px at 70px 65px, #ff8c42, transparent),
    radial-gradient(6px 6px at 35px 40px, #ffd23f, transparent),
    radial-gradient(5px 5px at 80px 45px, #ffd23f, transparent);
  opacity: 0.9;
  pointer-events: none;
}
.llama-legs {
  position: absolute;
  bottom: 0; left: 50%;
  width: 80px; height: 35px;
  transform: translateX(-50%);
}
.llama-legs::before,
.llama-legs::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 22px; height: 35px;
  background: linear-gradient(180deg, #5a1a8a 0%, #7b2cbf 50%, #9d4edd 100%);
  border-radius: 8px 8px 4px 4px;
  box-shadow: inset 0 -5px 10px rgba(0,0,0,0.3);
}
.llama-legs::before { left: 8px; }
.llama-legs::after { right: 8px; }
.llama-tail {
  position: absolute;
  top: 40px; right: -15px;
  width: 12px; height: 45px;
  background: linear-gradient(180deg, #7b2cbf 0%, #9d4edd 50%, #c77dff 100%);
  border-radius: 6px;
  transform: rotate(25deg);
  box-shadow: 0 0 15px rgba(139,92,246,0.3);
}
.llama-tail::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  width: 18px; height: 18px;
  background: radial-gradient(circle at 30% 30%, #e0aaff 0%, #9d4edd 70%, transparent 100%);
  border-radius: 50%;
  transform: translateX(-50%) rotate(-25deg);
}
.llama-saddle {
  position: absolute;
  top: 25px; left: 50%;
  width: 70px; height: 22px;
  background: linear-gradient(180deg, #2a1055 0%, #1a0a33 100%);
  border-radius: 12px;
  transform: translateX(-50%);
  box-shadow: 
    0 4px 12px rgba(0,0,0,0.5),
    inset 0 2px 4px rgba(255,210,63,0.1);
}
.llama-saddle::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 30px; height: 10px;
  background: linear-gradient(90deg, transparent, #ffd23f, transparent);
  border-radius: 5px;
  transform: translate(-50%, -50%);
  opacity: 0.6;
}
.llama-name {
  font-weight: 900;
  color: var(--text);
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-shadow: 0 0 20px rgba(139,92,246,0.5);
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.8rem 1rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--fortnite-blue);
}
.stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--fortnite-blue), var(--fortnite-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.storm-banner {
  margin-top: 4rem;
  padding: 1rem;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,140,66,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(255,140,66,0.3);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--fortnite-orange);
  animation: bannerPulse 2s ease-in-out infinite;
}
@keyframes bannerPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* ---------- FORTNITE TIPS ---------- */
.tips-grid { margin-top: 4.5rem; }
.tips-grid .section-tag {
  color: var(--fortnite-orange);
}
.tips-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 2rem;
}
.tip-card {
  padding: 2.2rem 1.8rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139,92,246,0.25);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.tip-card:hover {
  transform: translateY(-6px);
  border-color: var(--fortnite-purple);
}
.tip-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.tip-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.tip-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- GEMMES SECTION ---------- */
.gem-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(77,158,255,0.15), transparent 60%),
    var(--bg-alt);
}

.gem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2.5rem;
}
.gem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  perspective: 600px;
}
.gem-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.gem {
  width: 90px;
  height: 90px;
  clip-path: polygon(50% 0%, 90% 25%, 100% 65%, 50% 100%, 0% 65%, 10% 25%);
  position: relative;
  animation: gemFloat 4s ease-in-out infinite;
  transition: transform 0.4s ease;
  background-size: 200% 200%;
}
.gem-card:hover .gem {
  transform: rotateY(180deg) scale(1.1);
}
.gem::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%);
  background-size: 250% 250%;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { background-position: -100% -100%; }
  100% { background-position: 200% 200%; }
}
@keyframes gemFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

.diamond  { background: linear-gradient(160deg, #dff3ff, #9adfff, #4d9eff); box-shadow: 0 0 30px rgba(77,158,255,0.55); }
.ruby     { background: linear-gradient(160deg, #ffb3c6, #ff4d6d, #a4133c); box-shadow: 0 0 30px rgba(255,77,109,0.55); }
.emerald  { background: linear-gradient(160deg, #b9fbc0, #2dd881, #0b6e4f); box-shadow: 0 0 30px rgba(45,216,129,0.55); }
.sapphire { background: linear-gradient(160deg, #b8c6ff, #4361ee, #1c2f9e); box-shadow: 0 0 30px rgba(67,97,238,0.55); }
.amethyst { background: linear-gradient(160deg, #e0c3fc, #a259ff, #6423c9); box-shadow: 0 0 30px rgba(162,89,255,0.55); }
.topaz    { background: linear-gradient(160deg, #fff3b0, #ffd23f, #d99000); box-shadow: 0 0 30px rgba(255,210,63,0.55); }

.brawl-banner {
  margin: 4rem 0 4.5rem;
  padding: 1.4rem 1.6rem;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255,210,63,0.15), rgba(255,77,141,0.15));
  border: 1px solid rgba(255,210,63,0.3);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  color: var(--brawl-yellow);
  animation: bannerPulse 2s ease-in-out infinite;
}

/* ---------- BRAWL STARS SECTION ---------- */
.brawl-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(123,44,191,0.25), transparent 60%), var(--bg-alt);
}

.brawl-modes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.mode-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 2rem 1.4rem;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.mode-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--brawl-yellow);
  box-shadow: 0 10px 40px rgba(255,210,63,0.15);
}
.mode-icon {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  animation: iconSpin 5s ease-in-out infinite;
  display: inline-block;
}
@keyframes iconSpin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.1); }
}
.mode-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--brawl-yellow);
}
.mode-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.brawler-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.brawler-highlight {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(123,44,191,0.25), rgba(255,77,141,0.2));
  border: 1px solid var(--brawl-yellow);
  box-shadow: 0 0 30px rgba(255,210,63,0.25);
  animation: pulseGlow 2.5s infinite;
}
.brawler-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: radial-gradient(circle, var(--brawl-purple), #2a1055);
  border: 2px solid var(--brawl-yellow);
  animation: iconSpin 5s ease-in-out infinite;
}
.brawler-info { text-align: left; }
.brawler-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
}
.brawler-prestige {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--brawl-yellow), var(--brawl-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trophy-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  position: relative;
}
.trophy-track {
  max-width: 500px;
  margin: 0;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(123,44,191,0.15), rgba(255,77,141,0.1));
  border: 1px solid rgba(255,210,63,0.2);
  flex: 1;
  min-width: 300px;
}
.trophy-rank-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,210,63,0.2), rgba(255,77,141,0.15));
  border: 2px solid var(--brawl-yellow);
  box-shadow: 0 0 30px rgba(255,210,63,0.25);
  flex-shrink: 0;
}
.trophy-rank-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.trophy-rank-value {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--brawl-yellow), var(--brawl-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trophy-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.trophy-count {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--brawl-yellow), var(--brawl-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.track-bar {
  height: 18px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}
.track-fill {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--brawl-purple), var(--brawl-pink), var(--brawl-yellow));
  background-size: 200% 100%;
  animation: trackShine 3s linear infinite;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.track-fill.filled { width: 82%; }
@keyframes trackShine {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ---------- WAKIZASHI SECTION ---------- */
.wakizashi-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,77,94,0.12), transparent 60%),
    var(--bg-alt);
}
.wakizashi-section .section-tag { color: var(--samurai-red); }

.blade-stage {
  display: flex;
  justify-content: center;
  margin-bottom: 4.5rem;
}
.wakizashi-svg {
  width: min(540px, 100%);
  height: auto;
  animation: bladeFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 24px rgba(255,77,94,0.25));
}
@keyframes bladeFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}
.blade-shine {
  animation: bladeShine 3.5s ease-in-out infinite;
}
@keyframes bladeShine {
  0% { transform: translateX(0); }
  100% { transform: translateX(760px); }
}

.famous-samurai { margin-top: 7rem; }
.famous-samurai .section-tag { color: var(--samurai-red); margin-bottom: 2.5rem; }

.samurai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 2rem;
}
.samurai-card {
  padding: 2.2rem 1.8rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,77,94,0.25);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.samurai-card:hover {
  transform: translateY(-6px);
  border-color: var(--samurai-red);
}
.samurai-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.samurai-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.samurai-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- SNIPER SECTION ---------- */
.sniper-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(106,222,138,0.12), transparent 60%),
    var(--bg-alt);
}
.sniper-section .section-tag { color: var(--sniper-green); }

.sniper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 2rem;
}
.sniper-card {
  padding: 2.2rem 1.8rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(106,222,138,0.25);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.sniper-card:hover {
  transform: translateY(-6px);
  border-color: var(--sniper-green);
}
.sniper-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.sniper-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.sniper-stat {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  background: linear-gradient(90deg, var(--sniper-green), var(--fortnite-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sniper-card p:last-child {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.scope-grid { margin-top: 4.5rem; }
.scope-grid .section-tag { color: var(--sniper-green); }
.scope-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 2rem;
}
.scope-card {
  position: relative;
  padding: 2.2rem 1.8rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(106,222,138,0.25);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.scope-card:hover {
  transform: translateY(-6px);
  border-color: var(--sniper-green);
}
.scope-rank {
  position: absolute;
  top: -14px;
  right: 18px;
  font-size: 1.6rem;
}
.scope-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.scope-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.scope-card p:last-child {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- APPS SECTION ---------- */
.apps-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(88,204,2,0.12), transparent 60%),
    var(--bg-alt);
}
.apps-section .section-tag { color: #58CC02; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.app-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #58CC02;
  box-shadow: 0 16px 48px rgba(88,204,2,0.2);
}
.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  padding: 8px;
  transition: transform 0.3s ease;
}
.app-card:hover .app-icon {
  transform: scale(1.1) rotate(4deg);
}
.app-icon svg {
  width: 100%;
  height: 100%;
}
.app-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------- DÉTENTE SECTION ---------- */
.detente-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,140,66,0.15), transparent 60%),
    var(--bg-alt);
}
.detente-section .section-tag { color: var(--fortnite-orange); }

.game-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

/* WARRIOR GAME */
.warrior-game {
  background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 2px solid rgba(255,77,94,0.3);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.warrior-arena {
  position: relative;
  height: 280px;
  background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.warrior-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse at 50% 50%, rgba(255,77,94,0.15) 0%, transparent 70%),
    repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255,255,255,0.02) 50px, rgba(255,255,255,0.02) 100px);
}
.player, .enemy {
  position: absolute;
  bottom: 40px;
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s ease;
}
.player { left: 10%; }
.enemy { right: 10%; transform: scaleX(-1); }
.fortnite-sprite {
  width: 90px;
  height: 150px;
  position: relative;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
  animation: fortniteIdle 3s ease-in-out infinite;
}
@keyframes fortniteIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.player .fortnite-sprite {
  /* Fortnite default skin style - Jonesy/Recruit */
  background: 
    /* Head/helmet */
    radial-gradient(ellipse at 50% 25%, #ffdab9 0%, #e8c4a0 60%, #d4a888 100%) 50% 8px / 38px 32px no-repeat,
    /* Hair peeking */
    linear-gradient(180deg, #8b5a2b 0%, #6b3d1a 100%) 50% 2px / 36px 10px no-repeat,
    /* Tactical vest - blue rarity */
    linear-gradient(180deg, #1e3a5f 0%, #2a5a8a 40%, #3a7acc 70%, #1e3a5f 100%) 50% 42px / 50px 60px no-repeat,
    /* Vest details */
    linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%) 50% 48px / 40px 8px no-repeat,
    /* Shirt sleeves */
    linear-gradient(180deg, #2d1f1a 0%, #1a100d 100%) 12% 50px / 16px 50px no-repeat,
    linear-gradient(180deg, #2d1f1a 0%, #1a100d 100%) 88% 50px / 16px 50px no-repeat,
    /* Gloves */
    radial-gradient(ellipse at 50% 0%, #1a100d 0%, #0d0806 100%) 12% 98px / 18px 14px no-repeat,
    radial-gradient(ellipse at 50% 0%, #1a100d 0%, #0d0806 100%) 88% 98px / 18px 14px no-repeat,
    /* Cargo pants */
    linear-gradient(180deg, #3d3d3d 0%, #2a2a2a 50%, #1a1a1a 100%) 50% 100px / 44px 50px no-repeat,
    /* Pant pockets */
    linear-gradient(180deg, #4a4a4a 0%, #333 100%) 30% 115px / 12px 20px no-repeat,
    linear-gradient(180deg, #4a4a4a 0%, #333 100%) 70% 115px / 12px 20px no-repeat,
    /* Boots */
    linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%) 35% 142px / 18px 18px no-repeat,
    linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%) 65% 142px / 18px 18px no-repeat,
    /* Backpack glider hint */
    linear-gradient(135deg, rgba(77,158,255,0.2) 0%, transparent 60%) 85% 30px / 25px 35px no-repeat;
}
.enemy .fortnite-sprite {
  /* Enemy - Ravage/Shadow style - purple/black */
  background: 
    /* Head - shadowy */
    radial-gradient(ellipse at 50% 25%, #2a1a3a 0%, #1a0a2a 60%, #0d0515 100%) 50% 8px / 38px 32px no-repeat,
    /* Glowing eyes */
    radial-gradient(circle at 35% 40%, #bb86fc 0%, transparent 50%) 50% 16px / 8px 8px no-repeat,
    radial-gradient(circle at 65% 40%, #bb86fc 0%, transparent 50%) 50% 16px / 8px 8px no-repeat,
    /* Dark tactical armor */
    linear-gradient(180deg, #1a0a2a 0%, #2d1a4a 40%, #4a2a7a 70%, #1a0a2a 100%) 50% 42px / 50px 60px no-repeat,
    /* Armor glowing accents */
    linear-gradient(90deg, transparent 30%, #bb86fc 50%, transparent 70%) 50% 48px / 40px 6px no-repeat,
    /* Shadow sleeves */
    linear-gradient(180deg, #0d0515 0%, #1a0a2a 100%) 12% 50px / 16px 50px no-repeat,
    linear-gradient(180deg, #0d0515 0%, #1a0a2a 100%) 88% 50px / 16px 50px no-repeat,
    /* Dark gloves */
    radial-gradient(ellipse at 50% 0%, #0d0515 0%, #1a0a2a 100%) 12% 98px / 18px 14px no-repeat,
    radial-gradient(ellipse at 50% 0%, #0d0515 0%, #1a0a2a 100%) 88% 98px / 18px 14px no-repeat,
    /* Shadow pants */
    linear-gradient(180deg, #1a0a2a 0%, #0d0515 50%, #05020a 100%) 50% 100px / 44px 50px no-repeat,
    /* Shadow boots */
    linear-gradient(180deg, #05020a 0%, #000 100%) 35% 142px / 18px 18px no-repeat,
    linear-gradient(180deg, #05020a 0%, #000 100%) 65% 142px / 18px 18px no-repeat,
    /* Purple energy trail */
    linear-gradient(135deg, rgba(187,134,252,0.3) 0%, transparent 60%) 85% 30px / 25px 35px no-repeat;
}
.fortnite-sprite::before {
  content: '';
  position: absolute;
  top: 55px; right: -18px;
  width: 14px; height: 60px;
  background: linear-gradient(180deg, #4d9eff 0%, #1e3a5f 50%, #0d1a3a 100%);
  border-radius: 3px;
  transform: rotate(-25deg);
  z-index: 1;
  box-shadow: 
    2px 2px 8px rgba(0,0,0,0.4),
    0 0 15px #4d9eff;
}
.fortnite-sprite::before {
  /* AR Rifle for player */
}
.enemy .fortnite-sprite::before {
  /* Tactical SMG for enemy */
  top: 50px; left: -20px;
  width: 12px; height: 50px;
  background: linear-gradient(180deg, #bb86fc 0%, #4a2a7a 50%, #1a0a2a 100%);
  transform: rotate(20deg);
  box-shadow: 
    2px 2px 8px rgba(0,0,0,0.4),
    0 0 15px #bb86fc;
}
.fortnite-sprite::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  width: 28px; height: 28px;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.player .fortnite-sprite::after { background: #ffdab9; }
.enemy .fortnite-sprite::after { background: #2a1a3a; }

/* Shooting animation */
.fortnite-sprite.shooting {
  animation: fortniteShoot 0.3s ease-out;
}
@keyframes fortniteShoot {
  0% { transform: translateX(0) rotate(0deg); }
  20% { transform: translateX(-8px) rotate(5deg); }
  40% { transform: translateX(4px) rotate(-3deg); }
  60% { transform: translateX(-2px) rotate(1deg); }
  100% { transform: translateX(0) rotate(0deg); }
}
.player .fortnite-sprite.shooting::before {
  animation: muzzleFlashPlayer 0.15s ease-out 3;
}
.enemy .fortnite-sprite.shooting::before {
  animation: muzzleFlashEnemy 0.15s ease-out 3;
}
@keyframes muzzleFlashPlayer {
  0%, 100% { 
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4), 0 0 15px #4d9eff;
    filter: brightness(1);
  }
  50% { 
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4), 0 0 30px #4d9eff, 0 0 50px #4d9eff;
    filter: brightness(1.5);
  }
}
@keyframes muzzleFlashEnemy {
  0%, 100% { 
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4), 0 0 15px #bb86fc;
    filter: brightness(1);
  }
  50% { 
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4), 0 0 30px #bb86fc, 0 0 50px #bb86fc;
    filter: brightness(1.5);
  }
}

/* Death animation */
.fortnite-sprite.dying {
  animation: fortniteDeath 1.2s ease-in forwards;
  pointer-events: none;
}
@keyframes fortniteDeath {
  0% { 
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6)) hue-rotate(0deg);
  }
  20% { 
    transform: translateY(-20px) rotate(-10deg) scale(1.05);
    filter: drop-shadow(0 20px 30px rgba(255,77,94,0.5)) hue-rotate(20deg);
  }
  40% { 
    transform: translateY(10px) rotate(5deg) scale(0.95);
    filter: drop-shadow(0 10px 20px rgba(255,77,94,0.5)) hue-rotate(40deg);
  }
  60% { 
    transform: translateY(30px) rotate(15deg) scale(0.9);
    opacity: 0.8;
    filter: grayscale(0.5) hue-rotate(60deg);
  }
  80% { 
    transform: translateY(60px) rotate(25deg) scale(0.8);
    opacity: 0.4;
    filter: grayscale(0.8) hue-rotate(80deg);
  }
  100% { 
    transform: translateY(100px) rotate(45deg) scale(0.5);
    opacity: 0;
    filter: grayscale(1) brightness(0.3);
  }
}

/* Elimination effect */
.fortnite-sprite.eliminated::after {
  content: 'ELIMINÉ';
  position: absolute;
  top: -40px; left: 50%;
  width: 100px;
  color: #ff4d5e;
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 10px #ff4d5e, 0 0 20px #ff4d5e;
  transform: translateX(-50%) scale(0);
  animation: eliminationText 1s ease-out forwards;
  z-index: 20;
}
@keyframes eliminationText {
  0% { transform: translateX(-50%) scale(0); opacity: 0; }
  20% { transform: translateX(-50%) scale(1.3); opacity: 1; }
  80% { transform: translateX(-50%) translateY(-20px) scale(1); opacity: 1; }
  100% { transform: translateX(-50%) translateY(-40px) scale(0.8); opacity: 0; }
}

/* Hit flash */
.fortnite-sprite.hit {
  animation: hitFlash 0.2s ease-out 3;
}
@keyframes hitFlash {
  0%, 100% { filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6)) brightness(1); }
  50% { filter: drop-shadow(0 10px 20px rgba(255,77,94,0.8)) brightness(1.5) hue-rotate(320deg); }
}

/* Damage numbers */
@keyframes damageFloat {
  0% { 
    transform: translateX(-50%) scale(0.5); 
    opacity: 0; 
  }
  15% { 
    transform: translateX(-50%) translateY(-10px) scale(1.2); 
    opacity: 1; 
  }
  30% { 
    transform: translateX(-50%) translateY(-25px) scale(1); 
    opacity: 1; 
  }
  100% { 
    transform: translateX(-50%) translateY(-80px) scale(0.8); 
    opacity: 0; 
  }
}

.super-damage {
  animation: superDamageFloat 1.5s ease-out forwards !important;
}
@keyframes superDamageFloat {
  0% { 
    transform: translateX(-50%) scale(0.3); 
    opacity: 0; 
    filter: drop-shadow(0 0 5px #ffd700);
  }
  10% { 
    transform: translateX(-50%) translateY(-5px) scale(1.5); 
    opacity: 1; 
    filter: drop-shadow(0 0 20px #ffd700) drop-shadow(0 0 40px #ffd700);
  }
  25% { 
    transform: translateX(-50%) translateY(-30px) scale(1.2); 
    opacity: 1; 
  }
  50% { 
    transform: translateX(-50%) translateY(-50px) scale(1.1); 
    opacity: 1; 
    filter: drop-shadow(0 0 30px #ffd700) drop-shadow(0 0 60px #ffd700);
  }
  100% { 
    transform: translateX(-50%) translateY(-120px) scale(0.8); 
    opacity: 0; 
  }
}

/* Armor / Skin variants */
.player .fortnite-sprite[data-armor="recruit"] { /* Default - already defined */ }
.player .fortnite-sprite[data-armor="agent"] {
  background: 
    radial-gradient(ellipse at 50% 25%, #ffe4b5 0%, #ffd4a0 60%, #ffc488 100%) 50% 8px / 38px 32px no-repeat,
    linear-gradient(180deg, #ffd700 0%, #daa520 100%) 50% 2px / 36px 10px no-repeat,
    linear-gradient(180deg, #fff8dc 0%, #f5e6c8 40%, #ffe4b5 70%, #fff8dc 100%) 50% 42px / 50px 60px no-repeat,
    linear-gradient(90deg, transparent 30%, rgba(255,215,0,0.3) 50%, transparent 70%) 50% 48px / 40px 8px no-repeat,
    linear-gradient(180deg, #ffd700 0%, #daa520 100%) 12% 50px / 16px 50px no-repeat,
    linear-gradient(180deg, #ffd700 0%, #daa520 100%) 88% 50px / 16px 50px no-repeat,
    radial-gradient(ellipse at 50% 0%, #daa520 0%, #b8860b 100%) 12% 98px / 18px 14px no-repeat,
    radial-gradient(ellipse at 50% 0%, #daa520 0%, #b8860b 100%) 88% 98px / 18px 14px no-repeat,
    linear-gradient(180deg, #fff8dc 0%, #f5e6c8 50%, #ffe4b5 100%) 50% 100px / 44px 50px no-repeat,
    linear-gradient(180deg, #ffd700 0%, #daa520 100%) 30% 115px / 12px 20px no-repeat,
    linear-gradient(180deg, #ffd700 0%, #daa520 100%) 70% 115px / 12px 20px no-repeat,
    linear-gradient(180deg, #daa520 0%, #b8860b 100%) 35% 142px / 18px 18px no-repeat,
    linear-gradient(180deg, #daa520 0%, #b8860b 100%) 65% 142px / 18px 18px no-repeat,
    linear-gradient(135deg, rgba(255,215,0,0.3) 0%, transparent 60%) 85% 30px / 25px 35px no-repeat;
}
.player .fortnite-sprite[data-armor="agent"]::before {
  background: linear-gradient(180deg, #ffd700 0%, #daa520 50%, #b8860b 100%);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4), 0 0 15px #ffd700;
}
.player .fortnite-sprite[data-armor="agent"]::after { background: #ffe4b5; }

.player .fortnite-sprite[data-armor="drift"] {
  background: 
    radial-gradient(ellipse at 50% 25%, #ffdab9 0%, #e8c4a0 60%, #d4a888 100%) 50% 8px / 38px 32px no-repeat,
    linear-gradient(180deg, #ff6b35 0%, #e55a2b 100%) 50% 2px / 36px 12px no-repeat,
    linear-gradient(180deg, #ff8c42 0%, #e86c00 40%, #ff6b35 70%, #ff8c42 100%) 50% 42px / 50px 60px no-repeat,
    linear-gradient(90deg, transparent 30%, rgba(255,140,66,0.3) 50%, transparent 70%) 50% 48px / 40px 8px no-repeat,
    linear-gradient(180deg, #ff6b35 0%, #e55a2b 100%) 12% 50px / 16px 50px no-repeat,
    linear-gradient(180deg, #ff6b35 0%, #e55a2b 100%) 88% 50px / 16px 50px no-repeat,
    radial-gradient(ellipse at 50% 0%, #e55a2b 0%, #cc4a1a 100%) 12% 98px / 18px 14px no-repeat,
    radial-gradient(ellipse at 50% 0%, #e55a2b 0%, #cc4a1a 100%) 88% 98px / 18px 14px no-repeat,
    linear-gradient(180deg, #2d1f1a 0%, #1a100d 100%) 50% 100px / 44px 50px no-repeat,
    linear-gradient(180deg, #4a4a4a 0%, #333 100%) 30% 115px / 12px 20px no-repeat,
    linear-gradient(180deg, #4a4a4a 0%, #333 100%) 70% 115px / 12px 20px no-repeat,
    linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%) 35% 142px / 18px 18px no-repeat,
    linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%) 65% 142px / 18px 18px no-repeat,
    linear-gradient(135deg, rgba(255,140,66,0.3) 0%, transparent 60%) 85% 30px / 25px 35px no-repeat;
}
.player .fortnite-sprite[data-armor="drift"]::before {
  background: linear-gradient(180deg, #ff8c42 0%, #ff6b35 50%, #e55a2b 100%);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4), 0 0 15px #ff8c42;
}
.player .fortnite-sprite[data-armor="drift"]::after { background: #ffdab9; }

.player .fortnite-sprite[data-armor="raven"] {
  background: 
    radial-gradient(ellipse at 50% 25%, #1a0a2a 0%, #0d0515 60%, #05020a 100%) 50% 8px / 38px 32px no-repeat,
    radial-gradient(circle at 35% 40%, #bb86fc 0%, transparent 50%) 50% 16px / 8px 8px no-repeat,
    radial-gradient(circle at 65% 40%, #bb86fc 0%, transparent 50%) 50% 16px / 8px 8px no-repeat,
    linear-gradient(180deg, #2d1a4a 0%, #4a2a7a 40%, #6a3a9a 70%, #2d1a4a 100%) 50% 42px / 50px 60px no-repeat,
    linear-gradient(90deg, transparent 30%, #bb86fc 50%, transparent 70%) 50% 48px / 40px 6px no-repeat,
    linear-gradient(180deg, #1a0a2a 0%, #2d1a4a 100%) 12% 50px / 16px 50px no-repeat,
    linear-gradient(180deg, #1a0a2a 0%, #2d1a4a 100%) 88% 50px / 16px 50px no-repeat,
    radial-gradient(ellipse at 50% 0%, #0d0515 0%, #1a0a2a 100%) 12% 98px / 18px 14px no-repeat,
    radial-gradient(ellipse at 50% 0%, #0d0515 0%, #1a0a2a 100%) 88% 98px / 18px 14px no-repeat,
    linear-gradient(180deg, #1a0a2a 0%, #0d0515 100%) 50% 100px / 44px 50px no-repeat,
    linear-gradient(180deg, #2d1a4a 0%, #1a0a2a 100%) 30% 115px / 12px 20px no-repeat,
    linear-gradient(180deg, #2d1a4a 0%, #1a0a2a 100%) 70% 115px / 12px 20px no-repeat,
    linear-gradient(180deg, #05020a 0%, #000 100%) 35% 142px / 18px 18px no-repeat,
    linear-gradient(180deg, #05020a 0%, #000 100%) 65% 142px / 18px 18px no-repeat,
    linear-gradient(135deg, rgba(187,134,252,0.4) 0%, transparent 60%) 85% 30px / 25px 35px no-repeat;
}
.player .fortnite-sprite[data-armor="raven"]::before {
  background: linear-gradient(180deg, #bb86fc 0%, #8b5cf6 50%, #6d28d9 100%);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4), 0 0 15px #bb86fc;
}
.player .fortnite-sprite[data-armor="raven"]::after { background: #1a0a2a; }

.player .fortnite-sprite[data-armor="midas"] {
  background: 
    radial-gradient(ellipse at 50% 25%, #fff8dc 0%, #ffe4b5 60%, #ffd4a0 100%) 50% 8px / 38px 32px no-repeat,
    linear-gradient(180deg, #ffd700 0%, #daa520 100%) 50% 2px / 36px 10px no-repeat,
    linear-gradient(180deg, #ffd700 0%, #ffdf40 40%, #fff8dc 70%, #ffd700 100%) 50% 42px / 50px 60px no-repeat,
    linear-gradient(90deg, transparent 30%, rgba(255,215,0,0.5) 50%, transparent 70%) 50% 48px / 40px 8px no-repeat,
    linear-gradient(180deg, #fff8dc 0%, #ffe4b5 100%) 12% 50px / 16px 50px no-repeat,
    linear-gradient(180deg, #fff8dc 0%, #ffe4b5 100%) 88% 50px / 16px 50px no-repeat,
    radial-gradient(ellipse at 50% 0%, #ffd700 0%, #daa520 100%) 12% 98px / 18px 14px no-repeat,
    radial-gradient(ellipse at 50% 0%, #ffd700 0%, #daa520 100%) 88% 98px / 18px 14px no-repeat,
    linear-gradient(180deg, #ffd700 0%, #ffe4b5 50%, #ffd700 100%) 50% 100px / 44px 50px no-repeat,
    linear-gradient(180deg, #fff8dc 0%, #ffd700 100%) 30% 115px / 12px 20px no-repeat,
    linear-gradient(180deg, #fff8dc 0%, #ffd700 100%) 70% 115px / 12px 20px no-repeat,
    linear-gradient(180deg, #daa520 0%, #b8860b 100%) 35% 142px / 18px 18px no-repeat,
    linear-gradient(180deg, #daa520 0%, #b8860b 100%) 65% 142px / 18px 18px no-repeat,
    linear-gradient(135deg, rgba(255,215,0,0.5) 0%, transparent 60%) 85% 30px / 25px 35px no-repeat;
}
.player .fortnite-sprite[data-armor="midas"]::before {
  background: linear-gradient(180deg, #ffd700 0%, #fff8dc 50%, #daa520 100%);
  box-shadow: 2px 2px 8px rgba(0,0,0,0.4), 0 0 20px #ffd700, 0 0 40px #ffd700;
}
.player .fortnite-sprite[data-armor="midas"]::after { background: #fff8dc; }

/* Armor Selector UI */
.armor-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}
.armor-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-right: 0.5rem;
}
.armor-btn {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.armor-btn:hover {
  border-color: var(--fortnite-blue);
  color: var(--fortnite-blue);
  background: rgba(77,158,255,0.1);
}
.armor-btn.active {
  background: linear-gradient(90deg, var(--fortnite-blue), var(--fortnite-purple));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(77,158,255,0.4);
}

.health-bar {
  width: 100px;
  height: 8px;
  background: rgba(0,0,0,0.5);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.health-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #6ade8a, #4ade80);
  border-radius: 4px;
  transition: width 0.3s ease, background 0.3s ease;
}
.health-fill.low { background: linear-gradient(90deg, #ffd23f, #ff8c42); }
.health-fill.critical { background: linear-gradient(90deg, #ff4d5e, #ff2d3e); }
.health-bar {
  width: 110px;
  height: 10px;
  background: rgba(0, 50, 100, 0.6);
  border-radius: 5px;
  overflow: hidden;
  border: 2px solid rgba(77, 158, 255, 0.4);
  box-shadow: 
    inset 0 2px 6px rgba(0,0,0,0.5),
    0 0 10px rgba(77, 158, 255, 0.2);
}
.health-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #4d9eff, #00d4ff, #4d9eff);
  background-size: 200% 100%;
  border-radius: 3px;
  transition: width 0.3s ease;
  position: relative;
  animation: healthShine 2s linear infinite;
}
@keyframes healthShine {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
.health-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 50%, rgba(0,50,100,0.3) 100%);
}
.health-fill.low { background: linear-gradient(90deg, #4d9eff, #00d4ff, #4d9eff); background-size: 200% 100%; }
.health-fill.critical { background: linear-gradient(90deg, #ff4d5e, #ff6b6b, #ff4d5e); background-size: 200% 100%; }
.attack-indicator {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  border: 3px solid rgba(255,210,63,0.5);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}
.attack-indicator.warning {
  animation: warningPulse 0.5s ease-out 3;
  border-color: #ff4d5e;
  background: rgba(255,77,94,0.1);
}
.attack-indicator.block {
  animation: blockFlash 0.3s ease-out;
  border-color: #4d9eff;
  background: rgba(77,158,255,0.2);
}
.attack-indicator.success {
  animation: successFlash 0.4s ease-out;
  border-color: #6ade8a;
  background: rgba(106,222,138,0.2);
}
@keyframes warningPulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes blockFlash {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
@keyframes successFlash {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
.game-ui {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.game-controls-mobile {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.mobile-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(255,77,94,0.4);
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  touch-action: manipulation;
}
.mobile-btn:active {
  transform: scale(0.92);
  background: linear-gradient(145deg, rgba(255,77,94,0.3), rgba(255,77,94,0.1));
  border-color: var(--samurai-red);
  box-shadow: 0 0 20px rgba(255,77,94,0.5);
}
.mobile-btn#btnAttack:active { border-color: #ff4d5e; box-shadow: 0 0 20px rgba(255,77,94,0.5); }
.mobile-btn#btnBlock:active { border-color: #4d9eff; box-shadow: 0 0 20px rgba(77,158,255,0.5); }
.mobile-btn#btnDodge:active { border-color: #ffd23f; box-shadow: 0 0 20px rgba(255,210,63,0.5); }
.mobile-btn.super-btn {
  background: linear-gradient(145deg, rgba(255,215,0,0.2), rgba(255,140,66,0.1));
  border-color: rgba(255,215,0,0.5);
  color: #ffd700;
  font-size: 2rem;
  animation: superPulse 2s ease-in-out infinite;
}
@keyframes superPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255,215,0,0.3), inset 0 0 10px rgba(255,215,0,0.1); }
  50% { box-shadow: 0 0 30px rgba(255,215,0,0.8), inset 0 0 20px rgba(255,215,0,0.3); }
}
.mobile-btn.super-btn:active {
  transform: scale(0.92);
  background: linear-gradient(145deg, rgba(255,215,0,0.5), rgba(255,140,66,0.3));
  border-color: #ffd700;
  box-shadow: 0 0 40px rgba(255,215,0,0.9), 0 0 80px rgba(255,140,66,0.5);
}
.mobile-btn.super-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  animation: none;
  background: linear-gradient(145deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-color: rgba(255,255,255,0.1);
  color: var(--text-dim);
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.footer-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.footer p { color: var(--text-dim); font-size: 0.9rem; }
.footer p strong { color: var(--text); }
.footer-sub { margin-top: 0.4rem; font-size: 0.75rem; letter-spacing: 1px; opacity: 0.6; }

@media (max-width: 700px) {
  .nav-links { display: none; }
  .section { padding: 6rem 1.2rem; }
}
