/* =============================================
   AbhiTechGames - Studio Website CSS
   ============================================= */

/* --- FONTS --- */
@font-face {
  font-family: 'RansiteMedieval';
  src: url('fonts/RansiteMedieval_PERSONAL_USE_ONLY.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'HogarSlab';
  src: url('fonts/HogarSlab-Regular.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'HyperLightDrifter';
  src: url('fonts/Hyper Light Drifter Menu Text.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'ZXSpectrum';
  src: url('fonts/zx-spectrum.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'GlacialIndifference';
  src: url('fonts/GlacialIndifference-Regular.otf') format('opentype');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: 'GlacialIndifference';
  src: url('fonts/GlacialIndifference-Bold.otf') format('opentype');
  font-display: swap;
  font-weight: 700;
}
@font-face {
  font-family: 'RimbaAndalas';
  src: url('fonts/Rimba Andalas.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'PixelifySans';
  src: url('fonts/PixelifySans-Regular.ttf') format('truetype');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: 'PixelifySans';
  src: url('fonts/PixelifySans-Bold.ttf') format('truetype');
  font-display: swap;
  font-weight: 700;
}

/* --- ROOT VARS --- */
:root {
  --gold: #c9a84c;
  --gold-bright: #f0c060;
  --medieval-dark: #0d0a05;
  --medieval-mid: #1a1208;
  --medieval-brown: #4a2e0a;
  --sky-blue: #87ceeb;
  --sky-light: #c8eeff;
  --sky-dawn: #ffd580;
  --lowpoly-teal: #2dd4bf;
  --pixel-red: #e63946;
  --pixel-cyan: #00f5d4;
  --pixel-yellow: #ffd60a;
  --pixel-dark: #050505;
  --pixel-darkgrey: #111114;
  --white: #ffffff;
  --off-white: #f0ece4;
  --font-body: 'GlacialIndifference', sans-serif;
  --font-medieval: 'RansiteMedieval', serif;
  --font-medieval-body: 'HogarSlab', serif;
  --font-pixel: 'PixelifySans', monospace;
  --font-hyperlight: 'HyperLightDrifter', monospace;
  --font-pixel2: 'ZXSpectrum', monospace;
  --font-studio: 'RimbaAndalas', 'RansiteMedieval', serif;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 70px;
  background: rgba(5,5,5,0);
  backdrop-filter: blur(0px);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(5,5,5,0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-studio);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}
.nav-logo img {
  width: 58px; height: 58px;
  object-fit: contain;
  transition: transform 0.28s ease, filter 0.28s ease;
}
.nav-logo:hover img {
  transform: translateY(-2px) scale(1.16) rotate(-3deg);
  filter: drop-shadow(0 0 18px rgba(255,255,255,0.75));
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  display: inline-block;
  font-family: var(--font-studio);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s, transform 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover { color: #fff; transform: translateY(-2px) scale(1.08); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: #fff !important;
  color: #000 !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700 !important;
  font-family: var(--font-studio);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover { background: #fff !important; transform: translateY(-3px) scale(1.05) !important; box-shadow: 0 10px 28px rgba(255,255,255,0.28); }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  transition: 0.3s;
}

/* =============================================
   SECTION 1: ABOUT / HERO
   ============================================= */
.hero-about {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 36%, rgba(255,255,255,0.08), transparent 26%),
    radial-gradient(ellipse at 50% 40%, #111 0%, #050505 48%, #000 100%);
  overflow: hidden;
}

/* Particle Canvas */
#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 104px 32px 54px;
}

.about-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}
.about-logo {
  width: clamp(210px, 24vw, 320px); height: clamp(210px, 24vw, 320px);
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255,255,255,0.28));
  animation: logoPulse 3s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.about-logo:hover {
  transform: translateY(-6px) scale(1.07) rotateX(8deg);
  filter: drop-shadow(0 22px 48px rgba(255,255,255,0.26)) drop-shadow(0 0 52px rgba(255,255,255,0.7));
}
.logo-glow-ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.logo-glow-ring::before,
.logo-glow-ring::after {
  content: '';
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.34);
  opacity: 0;
  transform: scale(0.82) rotate(0deg);
}
.logo-glow-ring::after {
  inset: -36px;
  border-style: solid;
  border-color: rgba(255,255,255,0.16);
}
.about-logo-wrap:hover .logo-glow-ring {
  opacity: 1;
  transform: scale(1.08);
  animation: ringExpand 1.6s ease-in-out infinite;
}
.about-logo-wrap.is-clicking .logo-glow-ring {
  opacity: 1;
  transform: scale(1.22);
  border-color: rgba(255,255,255,0.95);
  box-shadow: 0 0 34px rgba(255,255,255,0.64), inset 0 0 26px rgba(255,255,255,0.28);
  animation: ringClickFlash 820ms ease-out;
}
.about-logo-wrap:hover .logo-glow-ring::before {
  opacity: 1;
  animation: ringOrbit 5.5s linear infinite;
}
.about-logo-wrap:hover .logo-glow-ring::after {
  opacity: 1;
  animation: ringBreathe 2.4s ease-in-out infinite;
}
.about-logo-wrap.is-clicking .logo-glow-ring::before,
.about-logo-wrap.is-clicking .logo-glow-ring::after {
  opacity: 1;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(255,255,255,0.22)); }
  50% { filter: drop-shadow(0 0 34px rgba(255,255,255,0.45)); }
}
@keyframes ringExpand {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.6; }
}
@keyframes ringOrbit {
  0% { transform: scale(0.9) rotate(0deg); }
  100% { transform: scale(1.12) rotate(360deg); }
}
@keyframes ringBreathe {
  0%, 100% { transform: scale(0.9); opacity: 0.1; }
  50% { transform: scale(1.18); opacity: 0.45; }
}
@keyframes ringClickFlash {
  0% { transform: scale(0.92); opacity: 0.95; }
  55% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(1.08); opacity: 0.75; }
}
.logo-click-wave {
  position: fixed;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255,255,255,0.92);
  border-radius: 50%;
  pointer-events: none;
  z-index: 20;
  transform: translate(-50%, -50%) scale(0.35);
  opacity: 0.95;
  mix-blend-mode: screen;
  animation: logoClickWave 900ms ease-out forwards;
}
.logo-click-spark {
  position: fixed;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 21;
  box-shadow: 0 0 18px rgba(255,255,255,0.95), 0 0 42px rgba(255,255,255,0.45);
  animation: logoClickSpark 760ms ease-out forwards;
}
.logo-click-orb {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--orb-size);
  height: var(--orb-size);
  border: 1px solid rgba(255,255,255,0.88);
  border-radius: 50%;
  pointer-events: none;
  z-index: 22;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.55), 0 0 18px rgba(255,255,255,0.68);
  animation: logoClickOrb 980ms cubic-bezier(.15,.85,.25,1) forwards;
}
@keyframes logoClickWave {
  0% { opacity: 0.95; transform: translate(-50%, -50%) scale(0.35); box-shadow: 0 0 24px rgba(255,255,255,0.78); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(13); box-shadow: 0 0 90px rgba(255,255,255,0); }
}
@keyframes logoClickSpark {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y))) scale(0.15); }
}
@keyframes logoClickOrb {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.25); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--orb-x)), calc(-50% + var(--orb-y))) scale(1.35); }
}

/* Glitch */
.studio-name {
  font-family: var(--font-studio);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #fff 30%, var(--gold) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  position: relative;
}
.glitch { animation: glitch 8s infinite; }
@keyframes glitch {
  0%, 90%, 100% { clip-path: none; transform: none; }
  91% { clip-path: polygon(0 20%, 100% 20%, 100% 40%, 0 40%); transform: translate(-3px, 0); }
  92% { clip-path: polygon(0 60%, 100% 60%, 100% 80%, 0 80%); transform: translate(3px, 0); }
  93% { clip-path: none; transform: none; }
  94% { clip-path: polygon(0 10%, 100% 10%, 100% 25%, 0 25%); transform: translate(2px, 0); }
  95% { clip-path: none; transform: none; }
}

.studio-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.studio-desc strong { color: #fff; }

/* Game Icons Row */
.game-icons-row {
  position: absolute;
  inset: 0;
  margin: 0;
  pointer-events: none;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}
.game-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  pointer-events: auto;
  perspective: 700px;
  animation: iconOrbit 8s ease-in-out infinite;
}
.game-icon-link:nth-child(1) { position: absolute; left: -120px; top: 5%; animation-delay: 0s; }
.game-icon-link:nth-child(2) { position: absolute; right: -116px; top: 30%; animation-delay: -2.6s; }
.game-icon-link:nth-child(3) { position: absolute; left: -96px; bottom: 10%; animation-delay: -5.2s; }
@keyframes iconOrbit {
  0%, 100% { transform: translate3d(0, 0, 0) rotateZ(-4deg) rotateY(-10deg); }
  25% { transform: translate3d(14px, -18px, 36px) rotateZ(3deg) rotateY(14deg); }
  50% { transform: translate3d(0, -28px, 50px) rotateZ(6deg) rotateY(0deg); }
  75% { transform: translate3d(-14px, -12px, 30px) rotateZ(-2deg) rotateY(-16deg); }
}
.game-icon {
  width: 96px; height: 96px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.22);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, filter 0.3s;
  background: linear-gradient(145deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02));
  box-shadow: 0 18px 26px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.26);
  transform: rotateX(10deg) rotateY(-14deg);
}
.game-icon-link:hover .game-icon {
  transform: translateY(-10px) scale(1.12) rotateX(4deg) rotateY(12deg);
  box-shadow: 0 28px 60px rgba(0,0,0,0.5), 0 0 32px rgba(255,255,255,0.45);
  border-color: #fff;
}
.icon-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.game-icon-link:hover .icon-label { color: #fff; }

/* Socials */
.about-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.social-btn svg { width: 18px; height: 18px; fill: rgba(255,255,255,0.6); transition: fill 0.3s; }
.social-btn:hover { background: #fff; border-color: #fff; transform: translateY(-3px); }
.social-btn:hover svg { fill: #000; }

/* Scroll Hint */
.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}
.scroll-hint span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.3);
  border-bottom: 2px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(3px,3px); opacity: 1; }
}

/* =============================================
   SECTION 2: WARBOUND
   ============================================= */
.warbound-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--medieval-dark);
}

.warbound-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}
.warbound-bg-img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: left center;
  transform-origin: left center;
  transform: scale(0.82);
  transition: transform 0.1s linear;
  filter: brightness(0.35) saturate(0.8);
}
.warbound-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(13,10,5,0.2) 0%,
    rgba(13,10,5,0.4) 50%,
    rgba(13,10,5,0.97) 100%);
}
.warbound-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%);
}

.warbound-particles {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}

.warbound-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 135px 32px 60px;
  text-align: center;
}

.warbound-badge-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.7s;
}
.warbound-badge-row.visible { opacity: 1; transform: translateY(0); }
.warbound-badge {
  padding: 5px 16px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9a84c;
  background: rgba(201,168,76,0.05);
}

.warbound-title {
  font-family: var(--font-medieval);
  font-size: clamp(3.5rem, 9vw, 7rem);
  color: #f0c060;
  text-shadow: 0 0 40px rgba(201,168,76,0.5), 0 4px 20px rgba(0,0,0,0.8);
  margin-bottom: 8px;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s 0.2s;
}
.warbound-title.visible { opacity: 1; transform: translateY(0); }

.warbound-tagline {
  font-family: var(--font-medieval);
  font-size: 1.4rem;
  color: rgba(201,168,76,0.8);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
  opacity: 0;
  transition: all 0.7s 0.3s;
}
.warbound-tagline.visible { opacity: 1; }

.warbound-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240,236,228,0.8);
  max-width: 640px;
  margin: 0 auto 30px;
  opacity: 0;
  transition: all 0.7s 0.35s;
}
.warbound-desc.visible { opacity: 1; }

.warbound-coming-soon {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 36px;
  opacity: 0;
  transition: all 0.7s 0.4s;
}
.warbound-coming-soon.visible { opacity: 1; }
.coming-soon-text {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.steam-logo-wb { height: 30px; object-fit: contain; }

/* Medieval Trailer Border */
.warbound-trailer-wrap {
  max-width: 720px;
  margin: 0 auto 36px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s 0.45s;
}
.warbound-trailer-wrap.visible { opacity: 1; transform: translateY(0); }
.trailer-border-medieval {
  position: relative;
  border: 2px solid rgba(201,168,76,0.4);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(201,168,76,0.15), 0 20px 60px rgba(0,0,0,0.6);
}
.trailer-corner {
  position: absolute;
  width: 24px; height: 24px;
  border-color: #c9a84c;
  border-style: solid;
  z-index: 3;
}
.trailer-corner.tl { top: -1px; left: -1px; border-width: 3px 0 0 3px; }
.trailer-corner.tr { top: -1px; right: -1px; border-width: 3px 3px 0 0; }
.trailer-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; }
.trailer-corner.br { bottom: -1px; right: -1px; border-width: 0 3px 3px 0; }

.game-trailer {
  width: 100%;
  display: block;
  background: #000;
}
.trailer-link {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.trailer-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.76) saturate(1.08);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.trailer-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.06), rgba(0,0,0,0.38));
}
.trailer-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 16px 42px rgba(0,0,0,0.38);
  transition: transform 0.25s ease, background 0.25s ease;
}
.trailer-play::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 24px solid #000;
}
.trailer-link:hover .trailer-play {
  transform: translate(-50%, -50%) scale(1.1);
}
.trailer-link:hover .trailer-thumb {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1.15);
}

/* CTA Buttons - Medieval */
.warbound-cta-row {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  opacity: 0;
  transition: all 0.7s 0.55s;
}
.warbound-cta-row.visible { opacity: 1; }

.btn-medieval-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: #f0c060;
  color: #140d04;
  font-family: var(--font-medieval-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid var(--gold-bright);
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-medieval-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(201,168,76,0.35), 0 0 28px rgba(240,192,96,0.28);
  background: #ffd77a;
}

.btn-medieval-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px;
  background: rgba(201,168,76,0.08);
  color: var(--gold-bright);
  font-family: var(--font-medieval-body);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border: 1px solid rgba(201,168,76,0.64);
  clip-path: polygon(12px 0%, calc(100% - 12px) 0%, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0% calc(100% - 12px), 0% 12px);
  transition: all 0.2s;
}
.btn-medieval-secondary:hover {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold-bright);
  box-shadow: 0 10px 30px rgba(201,168,76,0.18);
  transform: translateY(-3px);
}

/* Marquee */
.warbound-marquee-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.04);
  padding: 14px 0;
  margin-top: auto;
}
.warbound-marquee {
  display: flex;
  gap: 0;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
.warbound-marquee span {
  font-family: var(--font-medieval);
  font-size: 0.85rem;
  color: rgba(201,168,76,0.6);
  letter-spacing: 0.15em;
  padding: 0 40px;
  white-space: nowrap;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* medieval font helpers */
.medieval-font { font-family: var(--font-medieval); }
.medieval-font-body { font-family: var(--font-medieval-body); }

/* =============================================
   SECTION 3: PAPERLY
   ============================================= */
.paperly-section {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.48), transparent 18%),
    radial-gradient(circle at 80% 18%, rgba(255,213,128,0.36), transparent 20%),
    linear-gradient(180deg, #0e5da8 0%, #45aee0 45%, #b8f1c8 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  perspective: 1100px;
}

/* Sky / Clouds */
.paperly-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lowpoly-grid {
  display: none;
}
.paperly-trees {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  pointer-events: none;
  z-index: 0;
  filter: blur(2.4px);
  opacity: 0.55;
}
.poly-tree {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 46px solid transparent;
  border-right: 46px solid transparent;
  border-bottom: 190px solid rgba(28,116,92,0.72);
  transform-origin: bottom center;
}
.poly-tree::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 68px;
  width: 56px;
  height: 72px;
  background: linear-gradient(90deg, rgba(18,89,78,0.52), rgba(95,178,133,0.18));
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.tree-a { left: 5%; transform: scale(1.15); }
.tree-b { left: 18%; transform: scale(0.72); opacity: 0.72; }
.tree-c { right: 14%; transform: scale(1.28); }
.tree-d { right: 4%; transform: scale(0.88); opacity: 0.65; }
@keyframes gridFloat {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

.cloud {
  position: absolute;
  background: rgba(255,255,255,0.8);
  border-radius: 50px;
  filter: blur(6px);
}
.cloud::before, .cloud::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
}
.cloud1 { width: 200px; height: 50px; top: 15%; left: -220px; animation: cloudDrift 25s linear infinite; }
.cloud1::before { width: 100px; height: 80px; top: -30px; left: 30px; }
.cloud1::after { width: 80px; height: 60px; top: -20px; left: 90px; }
.cloud2 { width: 280px; height: 60px; top: 35%; left: -300px; animation: cloudDrift 35s 8s linear infinite; }
.cloud2::before { width: 120px; height: 90px; top: -35px; left: 50px; }
.cloud2::after { width: 100px; height: 70px; top: -25px; left: 130px; }
.cloud3 { width: 160px; height: 40px; top: 55%; left: -180px; animation: cloudDrift 20s 4s linear infinite; }
.cloud3::before { width: 80px; height: 60px; top: -22px; left: 25px; }
.cloud3::after { width: 60px; height: 50px; top: -15px; left: 75px; }
.cloud4 { width: 220px; height: 55px; top: 70%; left: -250px; animation: cloudDrift 40s 15s linear infinite; }
.cloud4::before { width: 110px; height: 85px; top: -32px; left: 40px; }
.cloud4::after { width: 90px; height: 65px; top: -22px; left: 110px; }

@keyframes cloudDrift {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 400px)); }
}

.paperly-windlines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}
.paperly-windlines span {
  position: absolute;
  left: -35%;
  width: clamp(160px, 24vw, 360px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.72), rgba(210,246,255,0.42), transparent);
  filter: blur(0.4px);
  animation: windLineFlow 7.5s linear infinite;
}
.paperly-windlines span:nth-child(1) { top: 18%; animation-duration: 7s; }
.paperly-windlines span:nth-child(2) { top: 31%; width: clamp(220px, 30vw, 460px); animation-delay: 1.3s; animation-duration: 9s; }
.paperly-windlines span:nth-child(3) { top: 48%; animation-delay: 2.1s; animation-duration: 6.8s; opacity: 0.58; }
.paperly-windlines span:nth-child(4) { top: 63%; width: clamp(260px, 34vw, 520px); animation-delay: 3.4s; animation-duration: 10s; }
.paperly-windlines span:nth-child(5) { top: 78%; animation-delay: 4.5s; animation-duration: 8.2s; opacity: 0.48; }
@keyframes windLineFlow {
  0% { transform: translateX(0) translateY(0) scaleX(0.6); opacity: 0; }
  12% { opacity: 0.8; }
  82% { opacity: 0.62; }
  100% { transform: translateX(170vw) translateY(-24px) scaleX(1); opacity: 0; }
}

/* Plane */
.paperly-plane-container {
  position: absolute;
  top: 12%;
  left: 38%;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.05s linear;
  transform-style: preserve-3d;
  perspective: 1200px;
}
.paperly-plane-img {
  width: clamp(560px, 54vw, 980px);
  filter: drop-shadow(0 30px 56px rgba(52,45,120,0.36));
  animation: planeDepthFloat 4.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes planeDepthFloat {
  0%, 100% { transform: translateY(0) rotateX(5deg); }
  50% { transform: translateY(-16px) rotateX(9deg); }
}
.plane-trail {
  position: absolute;
  right: 100%; top: 50%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to left, rgba(255,255,255,0.75), rgba(120,220,255,0.32), transparent);
  width: 0;
  transform: translateY(-50%);
  filter: blur(3px);
  animation: trailGrow 4s ease-in-out infinite;
}
@keyframes trailGrow {
  0%, 100% { width: 0; opacity: 0; }
  30%, 70% { width: 240px; opacity: 0.7; }
}

.paperly-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px 32px 80px;
  margin-left: auto;
  margin-right: 6%;
}

.paperly-header {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 20px;
}
.paperly-icon-small {
  width: 60px; height: 60px;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.paperly-label {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.paperly-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,50,150,0.4);
  letter-spacing: 0.02em;
}

.paperly-tagline {
  font-size: 1.3rem;
  color: var(--sky-dawn);
  font-style: italic;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.paperly-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

/* Stats */
.stats-row {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.stat-card {
  flex: 1; min-width: 120px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-suffix { font-size: 1.5rem; font-weight: 700; color: var(--gold); display: inline; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 6px; }

.lt-stat {
  background: rgba(0,245,212,0.08);
  border-color: rgba(0,245,212,0.3);
  border-radius: 4px;
  padding: 12px 10px;
  transform: scale(0.92);
  transform-origin: center;
}
.lt-stat:hover { transform: scale(0.92) translateY(-4px); }
.lt-stat .stat-number {
  display: inline-block;
  font-family: var(--font-hyperlight);
  font-size: 0.86rem;
  margin-bottom: 0;
  transform: none;
  transform-origin: right center;
}
.lt-stat .stat-suffix {
  display: inline-block;
  font-family: var(--font-hyperlight);
  font-size: 0.62rem;
  line-height: 1;
  margin-left: 1px;
  transform: none;
  transform-origin: left center;
}
.lt-stat .stat-number, .lt-stat .stat-suffix { color: var(--pixel-cyan); }
.lt-stat .stat-label { display: block; font-family: var(--font-hyperlight); font-size: 0.48rem; letter-spacing: 0.1em; color: rgba(0,245,212,0.6); }
.lasertanks-section .lt-stat .stat-number.pixel-font {
  font-size: 0.86rem !important;
  zoom: 1;
  transform: none !important;
}
.lasertanks-section .lt-stat .stat-suffix.pixel-font {
  font-size: 0.62rem !important;
  zoom: 1;
  margin-left: 1px !important;
  transform: none !important;
}
.lasertanks-section .lt-stat .stat-label.pixel-font {
  font-size: 0.48rem !important;
  zoom: 1;
  letter-spacing: 0.1em !important;
}

/* Platforms */
.platforms-row {
  margin-bottom: 28px;
}
.platforms-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.platform-badges {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.platform-badge {
  display: flex; align-items: center; justify-content: center;
  width: 116px;
  height: 44px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  transition: all 0.25s;
}
.platform-badge img {
  width: 92px;
  height: 26px;
  object-fit: contain;
  filter: none;
}
.platform-badge:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.platform-badge:hover img { filter: brightness(1); }
.platform-image-badge {
  min-width: 116px;
  min-height: 44px;
  justify-content: center;
}
.platform-image-badge img {
  max-width: 92px;
  height: 26px;
  filter: none;
}
.platform-xbox, .platform-ps, .platform-steam, .platform-store {
  background: rgba(0,0,0,0.58);
  border-color: rgba(255,255,255,0.34);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.platform-store img {
  filter: brightness(0) invert(1);
}
.platform-xbox:hover, .platform-ps:hover, .platform-steam:hover, .platform-store:hover {
  background: rgba(0,0,0,0.72);
}

/* Sky trailer */
.paperly-trailer-wrap {
  max-width: 620px;
  margin-bottom: 28px;
}
.trailer-border-sky {
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.paperly-cta-row, .warbound-cta-row, .lt-cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.btn-sky-primary,
.btn-sky-secondary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  overflow: hidden;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.btn-sky-primary::before,
.btn-sky-secondary::before {
  content: '';
  position: absolute;
  inset: 5px 12px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.42), transparent);
  transform: translateX(-130%) skewX(-18deg);
  transition: transform 0.45s ease;
}
.btn-sky-primary::after,
.btn-sky-secondary::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.btn-sky-primary {
  padding: 12px 28px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.58);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(20,90,140,0.18), inset 0 0 0 1px rgba(170,235,255,0.18);
}
.btn-sky-primary:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.9);
  box-shadow: 0 18px 42px rgba(20,90,140,0.28), inset 0 0 0 1px rgba(255,255,255,0.32);
}
.btn-sky-secondary {
  padding: 11px 24px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.46);
  color: #fff;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0,70,140,0.14), inset 0 0 0 1px rgba(130,225,255,0.18);
}
.btn-sky-secondary:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.95);
  box-shadow: 0 16px 34px rgba(0,70,140,0.26), inset 0 0 0 1px rgba(255,255,255,0.32);
}
.btn-sky-primary:hover::before,
.btn-sky-secondary:hover::before {
  transform: translateX(130%) skewX(-18deg);
}

/* =============================================
   SECTION 4: LASER TANKS
   ============================================= */
.lasertanks-section {
  position: relative;
  min-height: 100vh;
  background: #02070c;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.pixel-bg {
  position: absolute; inset: 0; z-index: 0;
}
.lt-hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.34) saturate(1.25) hue-rotate(150deg);
  transition: transform 0.1s linear;
}
.lt-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.15) 3px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
  animation: scanlineMove 8s linear infinite;
}
@keyframes scanlineMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 100px; }
}
.lt-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(0,245,212,0.28), transparent 28%),
    linear-gradient(135deg, rgba(1,8,14,0.92) 0%, rgba(0,55,92,0.68) 46%, rgba(1,8,14,0.96) 100%);
}
.pixel-particles {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
}

.lasertanks-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  padding: 120px 32px 80px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1fr);
  gap: 20px 42px;
  align-items: start;
}

.pixel-font { font-family: var(--font-pixel); }

.lt-header {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 8px;
  grid-column: 1 / -1;
}
.lt-icon {
  width: 92px; height: 92px;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid rgba(0,245,212,0.55);
  box-shadow: 0 0 34px rgba(0,245,212,0.38);
  animation: ltIconPulse 2s ease-in-out infinite;
  image-rendering: auto;
}
@keyframes ltIconPulse {
  0%, 100% { box-shadow: 0 0 24px rgba(0,245,212,0.28); }
  50% { box-shadow: 0 0 58px rgba(0,245,212,0.72); }
}
.lt-title-block {}
.lt-label {
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: #77f8ff;
  margin-bottom: 6px;
  animation: pixelFlicker 3s steps(1) infinite;
}
@keyframes pixelFlicker {
  0%, 90%, 100% { opacity: 1; }
  91% { opacity: 0; }
  92% { opacity: 1; }
  93% { opacity: 0; }
  94% { opacity: 1; }
}
.lt-title {
  font-family: var(--font-hyperlight);
  font-size: clamp(1.05rem, 2.25vw, 1.9rem);
  color: #bfffff;
  text-shadow: 0 0 22px rgba(0,245,212,0.65), 4px 4px 0 rgba(0,97,160,0.8);
  letter-spacing: 0.06em;
  line-height: 1.25;
}

.lt-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(230,252,255,0.86);
  margin-bottom: 0;
  padding: 20px 22px;
  border: 1px solid rgba(0,245,212,0.22);
  background: linear-gradient(135deg, rgba(0,245,212,0.08), rgba(0,80,130,0.16));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 24px 60px rgba(0,0,0,0.34);
}
.lt-desc strong { color: var(--pixel-cyan); }

/* Pixel trailer */
.lt-trailer-wrap {
  max-width: none;
  margin-bottom: 18px;
  position: relative;
  grid-column: 2;
  grid-row: 2 / span 4;
}
.trailer-border-pixel {
  position: relative;
  border: 3px solid rgba(0,245,212,0.7);
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 40px rgba(0,245,212,0.2), 12px 12px 0 rgba(0,119,182,0.4), 0 28px 70px rgba(0,0,0,0.72);
  image-rendering: pixelated;
}
.pixel-corner-tl, .pixel-corner-tr, .pixel-corner-bl, .pixel-corner-br {
  position: absolute;
  width: 20px; height: 20px;
  background: var(--pixel-cyan);
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.pixel-corner-tr { top: 0; right: 0; transform: rotate(90deg); }
.pixel-corner-bl { bottom: 0; left: 0; transform: rotate(270deg); }
.pixel-corner-br { bottom: 0; right: 0; transform: rotate(180deg); }

.lt-platform {
  background: rgba(0,0,0,0.56);
  border-color: rgba(0,245,212,0.22);
}
.lt-platform img { filter: none; }
.lt-platform:hover { border-color: var(--pixel-cyan); background: rgba(0,0,0,0.72); }

/* Pixel Buttons */
.btn-pixel-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 30px;
  background: var(--pixel-cyan);
  color: #021014;
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 2px solid #bfffff;
  border-radius: 4px;
  transition: all 0.15s;
  cursor: pointer;
  box-shadow: 5px 5px 0 rgba(0,91,150,0.65);
}
.btn-pixel-primary:hover {
  background: #8afff2;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(0,91,150,0.72), 0 0 28px rgba(0,245,212,0.35);
}
.btn-pixel-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  background: rgba(0,20,36,0.72);
  color: #bfffff;
  font-family: var(--font-pixel);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 2px solid rgba(0,245,212,0.72);
  border-radius: 4px;
  transition: all 0.15s;
  box-shadow: 4px 4px 0 rgba(0,245,212,0.22);
}
.btn-pixel-secondary:hover {
  background: rgba(0,245,212,0.08);
  border-color: var(--pixel-cyan);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(0,245,212,0.2);
}
.lasertanks-content > .stats-row { grid-column: 1; grid-row: 4; }
.lasertanks-content > .platforms-row { grid-column: 1; grid-row: 5; }
.lt-cta-row {
  grid-column: 1;
  grid-row: 6;
  min-height: 54px;
  align-self: start;
  justify-content: flex-start;
  margin: 10px 0 0;
}

/* =============================================
   SECTION 5: PARTNERS
   ============================================= */
.partners-section {
  position: relative;
  background: #07070f;
  padding: 100px 0 60px;
  overflow: hidden;
}
.partners-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.partners-content {
  text-align: center;
  padding: 0 32px 42px;
  max-width: 700px;
  margin: 0 auto;
}
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.partners-title {
  font-family: 'GlacialIndifference', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}
.partners-title .highlight {
  color: #fff;
  font-weight: 700;
  background: none;
  -webkit-text-fill-color: currentColor;
}
/* Scrolling Track */
.partners-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 48px 0;
}
.partners-fade-left, .partners-fade-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}
.partners-fade-left { left: 0; background: linear-gradient(to right, #07070f, transparent); }
.partners-fade-right { right: 0; background: linear-gradient(to left, #07070f, transparent); }

.partners-track { overflow: hidden; padding: 10px 0; }
.partners-inner {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: partnerScroll 30s linear infinite;
}
.partners-inner:hover { animation-play-state: paused; }
@keyframes partnerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-card {
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 90px;
  transition: all 0.3s;
  cursor: pointer;
}
.partner-card:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.partner-card img {
  max-height: 50px;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0.6) saturate(0);
  transition: filter 0.3s;
}
.partner-card:hover img { filter: brightness(1) saturate(1); }

/* Discord CTA */
.discord-cta {
  position: relative;
  max-width: 700px;
  margin: 80px auto 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(88,101,242,0.08);
  border: 1px solid rgba(88,101,242,0.2);
  border-radius: 20px;
  padding: 40px;
  overflow: hidden;
}
.discord-glow {
  position: absolute;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(88,101,242,0.15), transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: discordPulse 3s ease-in-out infinite;
}
@keyframes discordPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}
.discord-gif {
  width: 76px; height: 76px;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.discord-text { flex: 1; position: relative; z-index: 1; }
.discord-text h3 { font-size: 1.5rem; margin-bottom: 8px; }
.discord-text p { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.btn-discord {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #5865F2, #7289da);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.25s;
  box-shadow: 0 8px 30px rgba(88,101,242,0.3);
}
.btn-discord:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(88,101,242,0.5); }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #030305;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px 50px;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}
.footer-logo-col { flex: 2; min-width: 200px; }
.footer-logo {
  width: 132px; height: 132px;
  object-fit: contain;
  margin-bottom: 12px;
  transition: transform 0.28s ease, filter 0.28s ease;
}
.footer-logo:hover {
  transform: translateY(-4px) scale(1.12) rotate(-2deg);
  filter: drop-shadow(0 0 22px rgba(255,255,255,0.52));
}
.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-links-col { flex: 1; min-width: 120px; }
.footer-links-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links-col a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 40px;
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* =============================================
   ANIMATIONS & UTILS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animate-on-scroll */
.anim-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Counter animation */
.counter-animated { animation: countUp 0.1s steps(1) forwards; }

/* =============================================
   MOBILE NAV
   ============================================= */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(5,5,5,0.98);
    flex-direction: column;
    padding: 30px 0;
    gap: 24px;
    transform: translateY(-110%);
    transition: transform 0.4s;
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); }
  .hamburger { display: flex; }
  .paperly-content { margin-right: auto; }
  .paperly-plane-container { top: 10%; }
  .paperly-plane-img { width: 390px; }
  .discord-cta { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .warbound-marquee span { padding: 0 20px; }
  .game-icons-row {
    position: relative;
    display: flex;
    gap: 18px;
    justify-content: center;
    margin: 20px 0 34px;
  }
  .game-icon-link:nth-child(1),
  .game-icon-link:nth-child(2),
  .game-icon-link:nth-child(3) {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }
  .game-icon { width: 74px; height: 74px; }
  .lasertanks-content {
    display: block;
    padding-inline: 24px;
  }
  .lt-trailer-wrap { margin-top: 24px; }
  .lt-title { letter-spacing: 0.06em; }
}
