/* ============================================
   FKC! Fighting Krazy Chickens — Landing Page
   Sunblind Games · 2026
   ============================================ */

/* --- Design Tokens --- */
:root {
  --bg: #FAF6F0;
  --bg-warm: #F3EDE4;
  --bg-card: #FFFFFF;
  --orange: #E25A1C;
  --orange-light: #F07A3E;
  --orange-dark: #C74714;
  --burgundy: #8B2B3E;
  --gold: #F6D36B;
  --text: #2A2320;
  --text-muted: #6B5E54;
  --text-light: #9A8E83;
  --border: rgba(42, 35, 32, 0.08);
  --shadow-sm: 0 2px 8px rgba(42, 35, 32, 0.06);
  --shadow-md: 0 8px 30px rgba(42, 35, 32, 0.1);
  --shadow-lg: 0 20px 60px rgba(42, 35, 32, 0.12);
  --shadow-xl: 0 30px 80px rgba(42, 35, 32, 0.16);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --font-display: 'Baloo 2', cursive;
  --font-body: 'Manrope', sans-serif;
  --font-title-impact: 'Bowlby One', cursive;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    linear-gradient(180deg, #fbf6ef 0%, #f8efe3 38%, #f4e6d3 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  /* Custom Crosshair Cursor for ultimate Chicken-Hunting juice! */
  cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSczMicgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDMyIDMyJz48Y2lyY2xlIGZpbGw9J25vbmUnIHN0cm9rZT0nI0Q5NkEzMCcgc3Ryb2tlLXdpZHRoPSczJyBjeD0nMTYnIGN5PScxNicgcj0nMTAnLz48cGF0aCBzdHJva2U9JyNEOTZBMzAnIHN0cm9rZS13aWR0aD0nMycgc3Ryb2tlLWxpbmVjYXA9J3JvdW5kJyBkPSdNMTYgMnY2bTAgMTZ2Nk0yIDE2aDZtMTYgMGg2Jy8+PC9zdmc+") 16 16, crosshair !important;
}

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

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
  cursor: inherit;
  /* Inherit the custom cursor */
}

a:hover,
button:hover {
  color: var(--orange-dark);
  cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSczMicgaGVpZ2h0PSczMicgdmlld0JveD0nMCAwIDMyIDMyJz48Y2lyY2xlIGZpbGw9J25vbmUnIHN0cm9rZT0nI0I4NTAyQScgc3Ryb2tlLXdpZHRoPSc0JyBjeD0nMTYnIGN5PScxNicgcj0nMTInLz48Y2lyY2xlIGZpbGw9JyNCODE1MDJBJyBjeD0nMTYnIGN5PScxNicgcj0nNCcvPjwvc3ZnPg==") 16 16, pointer !important;
}

/* --- Utility: Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
   SECTION: Navigation / Top Bar
   ============================================ */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: fixed;
}

.top-bar.hidden {
  transform: translateY(-100%);
}

.top-bar-logo {
  height: 90px;
  width: auto;
  flex-shrink: 0;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.top-bar-game-title {
  font-family: var(--font-title-impact);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.85;
  color: var(--orange);
  text-shadow:
    3px 3px 0 var(--orange-dark),
    5px 5px 0 rgba(199, 71, 20, 0.2);
  white-space: nowrap;
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.top-bar-game-title-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.05em;
}

.top-bar-game-title-inner span {
  display: inline-block;
  transform-origin: center;
  will-change: transform;
  animation: jitterSoft 0.82s ease-in-out infinite;
}

.top-bar-game-title-inner span:nth-child(1) {
  animation-duration: 0.8s;
  animation-delay: 0s;
}

.top-bar-game-title-inner span:nth-child(2) {
  animation-duration: 0.9s;
  animation-delay: 0.03s;
}

.top-bar-game-title-inner span:nth-child(3) {
  animation-duration: 0.85s;
  animation-delay: 0.08s;
}

.top-bar-game-title-inner span:nth-child(4) {
  animation-duration: 0.76s;
  animation-delay: 0.05s;
}

.top-bar-game-title:hover {
  color: var(--orange);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-bar-nav a {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.top-bar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width var(--transition);
}

.top-bar-nav a:hover {
  color: var(--text);
}

.top-bar-nav a:hover::after {
  width: 100%;
}

.top-bar-studio-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ============================================
   SECTION: Hero
   ============================================ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 106px 24px 8px;
  position: relative;
  overflow: hidden;
}

/* Subtle background texture for the whole page */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(217, 106, 48, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 43, 62, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(217, 106, 48, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse at 70% 70%, rgba(74, 142, 201, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
  animation: bgDrift 12s ease-in-out infinite alternate;
}

.hero>* {
  position: relative;
  z-index: 1;
}

.hero-studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 20px 8px 8px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.hero-studio-badge img {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-title {
  font-family: var(--font-display);
  line-height: 0.9;
  margin-bottom: 8px;
}

.hero-title-fkc {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  font-size: clamp(3.5rem, 18vw, 18rem);
  white-space: nowrap;
  color: var(--orange);
  text-shadow:
    4px 4px 0px var(--orange-dark),
    8px 8px 0px rgba(184, 80, 42, 0.2);
  animation: titlePop 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  letter-spacing: 0.05em;
}

/* Jitter Animation for Hero Title Spans */
.hero-title-fkc span {
  display: inline-block;
  animation: jitter 0.4s linear infinite;
  transform-origin: center;
  will-change: transform;
}

.hero-title-fkc span:nth-child(1) {
  animation-duration: 0.35s;
  animation-delay: 0.0s;
}

.hero-title-fkc span:nth-child(2) {
  animation-duration: 0.42s;
  animation-delay: 0.1s;
}

.hero-title-fkc span:nth-child(3) {
  animation-duration: 0.38s;
  animation-delay: 0.2s;
}

.hero-title-fkc span:nth-child(4) {
  animation-duration: 0.40s;
  animation-delay: 0.05s;
}

.hero-title-sub {
  display: block;
  font-size: clamp(1.35rem, 3.8vw, 3.1rem);
  color: var(--burgundy);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: titleSlideUp 0.8s ease 0.3s both;
}

/* Grabbable Physics Chicken Styles */
#ragdoll-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  /* Allows clicks to go through the invisible container */
  z-index: 50;
}

.ragdoll-part {
  position: absolute;
  pointer-events: auto;
  /* But parts themselves are clickable/grabbable */
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  will-change: transform, left, top;
  transform-origin: center center;
}

#part-head {
  width: 100px;
  height: auto;
  z-index: 4;
}

#part-neck {
  width: 52px;
  height: auto;
  z-index: 3;
}

#part-body {
  width: 180px;
  height: auto;
  z-index: 2;
}

#part-feet {
  width: 70px;
  height: auto;
  z-index: 1;
}

.ragdoll-part {
  cursor: grab !important;
}

.ragdoll-part.is-grabbing {
  cursor: grabbing !important;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
}

/* Idle heartbeat pulse */
@keyframes chickenPulse {
  0% {
    transform: scale(1);
  }

  15% {
    transform: scale(1.08);
  }

  30% {
    transform: scale(0.97);
  }

  45% {
    transform: scale(1.05);
  }

  60% {
    transform: scale(0.99);
  }

  100% {
    transform: scale(1);
  }
}

#ragdoll-container.pulsing .ragdoll-part {
  animation: chickenPulse 0.6s ease-in-out;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  margin-top: 24px;
  font-weight: 300;
  animation: titleSlideUp 0.8s ease 0.5s both;
}

.hero-poster {
  margin-top: 48px;
  max-width: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  animation: titleSlideUp 0.8s ease 0.6s both;
  transition: transform var(--transition);
}

.hero-poster:hover {
  transform: scale(1.02) rotate(-0.5deg);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s ease infinite 1.5s;
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-light);
}

/* ============================================
   SECTION: Gameplay Video
   ============================================ */
.gameplay {
  padding: 20px 0 80px;
  position: relative;
}

.gameplay-inner {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 16px;
}

.gameplay-label {
  text-align: center;
  margin-bottom: 32px;
}

.gameplay-title {
  margin-bottom: 20px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: none;
}

.gameplay-label span {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
}

.video-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #1a1714;
  aspect-ratio: 16 / 9;
  border: 2px solid rgba(226, 90, 28, 0.12);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Top and bottom gradient fades */
.video-wrapper::before,
.video-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1;
  pointer-events: none;
}

.video-wrapper::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(26, 23, 20, 0.3), transparent);
}

.video-wrapper::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 23, 20, 0.3), transparent);
}

.video-fullscreen-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff8ef;
  background: rgba(42, 35, 32, 0.66);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform var(--transition-bounce), background var(--transition), border-color var(--transition);
}

.video-fullscreen-btn:hover {
  background: rgba(226, 90, 28, 0.92);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff8ef;
  transform: translateY(-2px);
}

.video-wrapper:fullscreen {
  border: none;
  border-radius: 0;
  background: #000;
}

.video-wrapper:fullscreen .video-fullscreen-btn {
  top: 24px;
  right: 24px;
}

/* ============================================
   SECTION: About / Description
   ============================================ */
.about {
  padding: 96px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-text p strong {
  color: var(--text);
  font-weight: 700;
}

.about-highlight {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--orange) !important;
  margin-top: 8px;
}

.about-visual {
  position: relative;
}

.about-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.about-visual img:hover {
  transform: scale(1.02);
}

.about-visual::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  opacity: 0.15;
  z-index: -1;
}

/* ============================================
   SECTION: Game Modes
   ============================================ */
.modes {
  padding: 84px 24px;
  background: transparent;
  position: relative;
}

.modes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  color: var(--orange);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.18rem;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.mode-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 44px 32px;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-bounce), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  /* For Vanilla-Tilt 3D Effect */
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.mode-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.mode-card:hover::before {
  transform: scaleX(1);
}

.mode-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform var(--transition-bounce);
  filter: none;
}

.mode-card:hover .mode-icon {
  transform: scale(1.15) rotate(-5deg);
}

.mode-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 12px;
  transform: translateZ(30px);
  /* 3D pop out effect */
}

.mode-card p {
  color: var(--text-muted);
  font-size: 1.03rem;
  line-height: 1.6;
}

/* ============================================
   SECTION: Features
   ============================================ */
.features {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feat-item {
  display: flex;
  gap: 20px;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feat-item-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 106, 48, 0.08);
  border-radius: var(--radius-sm);
}

.feat-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 6px;
}

.feat-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================
   SECTION: Gallery (Masonry Cascade)
   ============================================ */
.gallery {
  padding: 84px 24px;
  background: transparent;
}

.gallery-grid {
  max-width: 1400px;
  margin: 0 auto;
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-bounce), box-shadow var(--transition);
  position: relative;
  cursor: pointer;
  transform-style: preserve-3d;
  /* For Vanilla Tilt */
}

.arsenal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.arsenal-card:hover {
  box-shadow: var(--shadow-xl);
  z-index: 2;
  background: var(--bg-card);
}

.arsenal-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  transform: translateZ(30px);
  /* 3D pop inside card on tilt */
  margin-bottom: 16px;
}

.arsenal-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease-in-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  /* Let hover hit the card, not the image */
}

.gallery-item:hover .img-hover {
  opacity: 1 !important;
  transform: scale(1.15) !important;
}

.gallery-item:hover .img-base {
  opacity: 0 !important;
  transform: scale(0.9) !important;
}

.img-hover {
  opacity: 0;
}

.arsenal-card h4 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--text);
  text-align: center;
  letter-spacing: 0.03em;
  transform: translateZ(20px);
}

/* ============================================
   SECTION: CTA
   ============================================ */
.cta {
  padding: 84px 24px;
  text-align: center;
  position: relative;
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--orange);
  color: #fff;
  padding: 72px 48px;
  border-radius: var(--radius-xl);
  box-shadow:
    0 20px 60px rgba(217, 106, 48, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  position: relative;
}

.cta-card p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 36px;
  position: relative;
}

.btn-primary {
  display: inline-block;
  background: #fff;
  color: var(--orange-dark);
  padding: 18px 44px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform var(--transition-bounce), box-shadow var(--transition);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
  color: var(--orange-dark);
}

/* Squishy Button State */
.btn-primary:active {
  transform: translateY(4px) scale(0.85) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.05s ease-out, box-shadow 0.05s ease-out !important;
}

/* ============================================
   SECTION: Contact
   ============================================ */
.contact {
  padding: 80px 24px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 12px;
}

.contact p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 24px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-email:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--orange);
}

.contact-email svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  flex-shrink: 0;
}

/* Squishy Contact Button State */
.contact-email:active {
  transform: translateY(4px) scale(0.85) !important;
  box-shadow: none !important;
  transition: transform 0.05s ease-out !important;
}

/* ============================================
   SECTION: Footer
   ============================================ */
.site-footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 0.85rem;
  background: transparent;
}

.site-footer-logo {
  height: 56px;
  margin: 0 auto 12px;
  opacity: 0.85;
  filter: saturate(1.15) brightness(1.05);
  transition: opacity var(--transition);
}

.site-footer-logo:hover {
  opacity: 1;
}

.site-footer p {
  margin-bottom: 4px;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--orange);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes jitter {
  0% {
    transform: translate(1px, 0px) rotate(0deg);
  }

  25% {
    transform: translate(-1px, -1px) rotate(-1deg);
  }

  50% {
    transform: translate(0px, 1px) rotate(1deg);
  }

  75% {
    transform: translate(-1px, 0px) rotate(-1deg);
  }

  100% {
    transform: translate(1px, 0px) rotate(0deg);
  }
}

@keyframes jitterSoft {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  20% {
    transform: translate(0.95px, -0.7px) rotate(-1deg);
  }

  40% {
    transform: translate(-0.8px, 0.6px) rotate(0.8deg);
  }

  60% {
    transform: translate(0.7px, 0.75px) rotate(-0.75deg);
  }

  80% {
    transform: translate(-0.6px, -0.45px) rotate(0.55deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes titlePop {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-5deg);
    filter: blur(8px);
  }

  60% {
    opacity: 1;
    transform: scale(1.05) rotate(1deg);
    filter: blur(0);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes titleSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bgDrift {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 1;
  }

  50% {
    transform: scale(1.15) translate(2%, -2%);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.05) translate(-1%, 1%);
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-8px);
  }

  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-10px) rotate(2deg);
  }

  75% {
    transform: translateY(5px) rotate(-1deg);
  }
}

@keyframes featherFall {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg) translateX(0);
  }

  10% {
    opacity: 0.6;
  }

  90% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(360deg) translateX(100px);
  }
}

/* Floating feather decorations */
.feather {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--orange);
  opacity: 0;
  border-radius: 50% 50% 50% 0;
  pointer-events: none;
  z-index: 90;
}

.feather:nth-child(1) {
  top: 10%;
  left: 8%;
  animation: featherFall 12s ease-in-out infinite 0s;
  width: 8px;
  height: 8px;
  opacity: 0.15;
}

.feather:nth-child(2) {
  top: 5%;
  left: 85%;
  animation: featherFall 15s ease-in-out infinite 3s;
  width: 10px;
  height: 10px;
  background: var(--burgundy);
  opacity: 0.1;
}

.feather:nth-child(3) {
  top: 15%;
  left: 45%;
  animation: featherFall 18s ease-in-out infinite 6s;
  width: 6px;
  height: 6px;
  opacity: 0.12;
}

.feather:nth-child(4) {
  top: 8%;
  left: 70%;
  animation: featherFall 14s ease-in-out infinite 2s;
  width: 9px;
  height: 9px;
  opacity: 0.1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding: 10px 16px;
    gap: 12px;
  }

  /* Logo más pequeño en móvil */
  .top-bar-logo {
    height: 44px;
  }

  .top-bar-game-title {
    font-size: 2rem;
    left: 50%;
  }

  .top-bar-game-title-inner span {
    animation-duration: 1.02s;
  }

  .top-bar-game-title-inner span:nth-child(1) {
    animation-duration: 1s;
  }

  .top-bar-game-title-inner span:nth-child(2) {
    animation-duration: 1.08s;
  }

  .top-bar-game-title-inner span:nth-child(3) {
    animation-duration: 1.04s;
  }

  .top-bar-game-title-inner span:nth-child(4) {
    animation-duration: 0.94s;
  }

  .video-fullscreen-btn {
    top: 12px;
    right: 12px;
    padding: 8px 12px;
    font-size: 0.72rem;
  }

  /* Ocultar solo los 3 links - el botón Hide sigue visible */
  .top-bar-nav {
    display: none;
  }

  /* Botón toggle siempre visible en móvil */
  #toggleChickenBtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .hero {
    padding: 84px 20px 8px;
  }

  .hero-poster {
    max-width: 280px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .modes-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .gallery-grid {
    columns: 1;
  }

  .cta-card {
    padding: 48px 28px;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  /* Ragdoll más pequeño en móvil */
  #part-body {
    width: 110px;
  }

  #part-head {
    width: 60px;
  }

  #part-neck {
    width: 32px;
  }

  #part-feet {
    width: 44px;
  }
}

@media (max-width: 480px) {
  .hero-title-fkc {
    text-shadow:
      3px 3px 0px var(--orange-dark),
      5px 5px 0px rgba(184, 80, 42, 0.15);
  }

  .hero-studio-badge {
    font-size: 0.7rem;
    padding: 6px 14px 6px 6px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .mode-card {
    padding: 36px 24px;
  }
}

/* ============================================
   BUTTON: Toggle Chicken
   ============================================ */
.btn-toggle-chicken {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background var(--transition), color var(--transition), transform 0.1s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-toggle-chicken:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.btn-toggle-chicken:active {
  transform: scale(0.95);
}

/* ============================================
   MOBILE: Fix logo size & hero overlap
   ============================================ */
@media (max-width: 600px) {
  .top-bar {
    padding: 10px 16px;
    gap: 12px;
  }

  .top-bar-logo {
    height: 44px;
  }

  .top-bar-game-title {
    font-size: 1.8rem;
    left: 50%;
  }

  /* Hide text nav links on mobile — it's a single-page scroll, not needed */
  .top-bar-nav {
    display: none;
  }

  /* FKC title: prevent overlap with fixed nav on small screens */
  .hero {
    padding-top: 84px;
  }

  /* Ragdoll visible on mobile but smaller */
  #ragdoll-container {
    display: block;
  }

  #part-body {
    width: 110px;
  }

  #part-head {
    width: 60px;
  }

  #part-neck {
    width: 32px;
  }

  #part-feet {
    width: 44px;
  }

  /* Show hide button on mobile */
  #toggleChickenBtn {
    display: inline-flex;
  }
}

/* ============================================
   FOOTER: Legal Disclaimer
   ============================================ */
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.footer-copy {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.footer-disclaimer {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 10px;
  opacity: 0.7;
}

.footer-disclaimer strong {
  color: var(--text-muted);
  font-weight: 700;
}

.footer-version {
  font-size: 0.65rem;
  color: var(--text-light);
  opacity: 0.3;
  margin-top: 40px;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
