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

html { scroll-behavior: auto; overflow-x: hidden; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
  font-family: 'Outfit', sans-serif;
  background: #010204;
  color: #e0e0e0;
  overflow-x: hidden;
}

body.loading {
  overflow: hidden;
  height: 100vh;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #010204;
  display: flex;
  align-items: center;
  justify-content: center;
}

#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#particle-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.reveal-left, .reveal-right {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 9998;
  background: #010204;
}
.reveal-left { left: 0; }
.reveal-right { right: 0; }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, #010204);
  z-index: 1;
  pointer-events: none;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  visibility: hidden;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #39ff14;
  background: rgba(57, 255, 20, 0.05);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 8px;
}

.hero-title .green {
  color: #39ff14;
  text-shadow:
    0 0 10px rgba(57, 255, 20, 0.15),
    0 0 30px rgba(57, 255, 20, 0.06);
}

.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 520px;
  margin: 20px auto 36px;
  letter-spacing: 0.02em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #010204;
  background: #39ff14;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow:
    0 0 30px rgba(57, 255, 20, 0.4),
    0 0 60px rgba(57, 255, 20, 0.15);
}

.hero-cta:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow:
    0 0 40px rgba(57, 255, 20, 0.6),
    0 0 80px rgba(57, 255, 20, 0.25);
}

.hero-cta:active { transform: scale(0.97); }

.hero-cta:focus-visible {
  outline: 3px solid #39ff14;
  outline-offset: 4px;
}

.hero-cta .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #39ff14;
  background: transparent;
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease;
}

.hero-cta-secondary:hover {
  transform: scale(1.05) translateY(-2px);
  background: rgba(57, 255, 20, 0.08);
  border-color: rgba(57, 255, 20, 0.6);
}

.hero-cta-secondary:active { transform: scale(0.97); }

.hero-cta-secondary:focus-visible {
  outline: 3px solid #39ff14;
  outline-offset: 4px;
}

/* ===== STORY ===== */
#story {
  position: relative;
  padding: 0 0 100px;
  display: flex;
  justify-content: center;
}

.story-container { position: relative; width: 100%; }

.story-header { text-align: center; padding: 120px 24px 80px; }

.story-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #39ff14;
  margin-bottom: 16px;
  opacity: 0.7;
}

.story-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  letter-spacing: -0.02em;
}

/* Adventure viewport — alien card container */
.adventure-viewport {
  position: relative;
  width: min(95vw, 100% - 20px);
  max-width: 1400px;
  min-height: 100vh;
  border: 1px solid rgba(57, 255, 20, 0.15);
  border-radius: 40px 8px 40px 8px;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(57, 255, 20, 0.04),
    0 0 80px rgba(57, 255, 20, 0.02),
    inset 0 0 60px rgba(57, 255, 20, 0.02);
  background: rgba(57, 255, 20, 0.01);
}

/* Corner accents */
.adventure-viewport::before,
.adventure-viewport::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(57, 255, 20, 0.3);
  border-style: solid;
  z-index: 5;
  pointer-events: none;
}

.adventure-viewport::before {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
  border-radius: 6px 0 0 0;
}

.adventure-viewport::after {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 6px 0;
}

/* Start screen */
.adventure-start {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* Hidden by default (same as cards) */
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.adventure-start.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.adventure-start .adventure-start-bg {
  border-radius: 40px 8px 40px 8px;
}

.adventure-start-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.adventure-start-content {
  position: relative;
  z-index: 2;
  padding: 24px;
}

.adventure-start-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #39ff14;
  margin-bottom: 16px;
}

.adventure-start-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.adventure-start-sub {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.adventure-start-btn {
  display: inline-block;
  padding: 16px 48px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #010204;
  background: #39ff14;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(57,255,20,0.4), 0 0 60px rgba(57,255,20,0.15);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}

.adventure-start-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 40px rgba(57,255,20,0.6), 0 0 80px rgba(57,255,20,0.25);
}

.adventure-start-btn:active { transform: scale(0.97); }

/* Cards: two-column layout */
.adventure-card {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
  border-radius: 40px 8px 40px 8px;
}

.adventure-card.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Title bar above image+text */
.adventure-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px 10px;
  background: #010204;
}

.adventure-card-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #fff;
  letter-spacing: -0.01em;
}

.adventure-skip {
  padding: 6px 18px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(57, 255, 20, 0.5);
  background: none;
  border: 1px solid rgba(57, 255, 20, 0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.adventure-skip:hover {
  color: #39ff14;
  border-color: rgba(57, 255, 20, 0.4);
}

.adventure-skip.hidden { display: none; }

/* Two-column content area */
.adventure-card-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  overflow: hidden;
}

.adventure-card-img {
  position: relative;
  overflow: hidden;
}

.adventure-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.adventure-card-img::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(to right, transparent, #010204);
  pointer-events: none;
}

.adventure-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px 40px 28px;
  background: #010204;
  position: relative;
  overflow-y: auto;
}

.adventure-card-body canvas.alien-symbols {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.adventure-step,
.adventure-card-title,
.adventure-card-text,
.adventure-choices,
.adventure-skip { position: relative; z-index: 1; }

.adventure-card-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 32px;
  min-height: 100px;
}

/* Typewriter cursor */
.adventure-card-text .cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: #39ff14;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursorBlink 0.6s ease infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.adventure-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.adventure-choices.visible {
  opacity: 1;
  transform: translateY(0);
}

.adventure-btn {
  width: 100%;
  padding: 14px 24px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #39ff14;
  background: transparent;
  border: 1px solid rgba(57, 255, 20, 0.25);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease;
}

.adventure-btn:hover {
  background: rgba(57, 255, 20, 0.08);
  border-color: rgba(57, 255, 20, 0.6);
  transform: scale(1.02);
}

.adventure-btn:active { transform: scale(0.98); }

.adventure-btn:focus-visible { outline: 3px solid #39ff14; outline-offset: 4px; }

.adventure-step {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(57, 255, 20, 0.35);
  margin-bottom: 8px;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .adventure-card-content {
    grid-template-columns: 1fr;
  }
  .adventure-card-img { height: 35vh; }
  .adventure-card-img::after {
    top: auto; left: 0; right: 0; bottom: 0;
    width: 100%; height: 30%;
    background: linear-gradient(to bottom, transparent, #010204);
  }
  .adventure-card-header { padding: 16px 20px 8px; }
  .adventure-card-body { padding: 20px 20px 32px; }
  .adventure-card-title { font-size: 1.1rem; }
  .adventure-card-text { font-size: 0.9rem; }
  .adventure-btn { font-size: 0.72rem; padding: 12px 20px; }
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  z-index: 8999;
  pointer-events: none;
  background: rgba(57, 255, 20, 0.04);
}

.scroll-progress-fill {
  height: 100%;
  width: 0%;
  position: relative;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.15), rgba(57, 255, 20, 0.4));
  border-radius: 0 3px 3px 0;
}

.scroll-asteroid {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.7));
}

.scroll-progress-fill::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.8));
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* ===== FORTUNE COOKIE ===== */
#fortune-section {
  position: relative;
  padding: 150px 24px 180px;
  background: #010204;
  display: flex;
  justify-content: center;
}

.fortune-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 500px;
}

.fortune-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: rgba(57, 255, 20, 0.35);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 20px;
  text-align: center;
}

.fortune-tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #39ff14;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.2);
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.fortune-tooltip.visible { opacity: 1; }

.fortune-cookie {
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: cookieWiggle 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(57, 255, 20, 0.3));
}

.fortune-cookie:hover {
  transform: scale(1.1);
  animation: none;
}

.fortune-cookie:active { transform: scale(0.95); }

.fortune-img {
  width: 120px;
  height: auto;
  display: block;
  /* Green tint */
  filter: sepia(1) hue-rotate(70deg) saturate(2.5) brightness(1.1);
}

@keyframes cookieWiggle {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-5deg); }
  30% { transform: rotate(5deg); }
  45% { transform: rotate(-3deg); }
  55% { transform: rotate(2deg); }
  65% { transform: rotate(0deg); }
}

.fortune-cookie.cracked {
  animation: cookieCrack 0.5s ease forwards;
  pointer-events: none;
}

@keyframes cookieCrack {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2) rotate(10deg); opacity: 0.8; }
  100% { transform: scale(0) rotate(30deg); opacity: 0; }
}

.fortune-result {
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
}

.fortune-result.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.fortune-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #39ff14;
  text-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
  padding: 16px 24px;
  border: 1px solid rgba(57, 255, 20, 0.15);
  border-radius: 16px;
  background: rgba(57, 255, 20, 0.03);
  margin-bottom: 20px;
}

.fortune-retry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(57, 255, 20, 0.5);
  background: none;
  border: 1px solid rgba(57, 255, 20, 0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.fortune-retry:hover {
  color: #39ff14;
  border-color: rgba(57, 255, 20, 0.4);
}

.fortune-retry-img {
  width: 20px;
  height: auto;
  filter: sepia(1) hue-rotate(70deg) saturate(2.5) brightness(1.1);
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
  position: relative;
  height: 1px;
  background: #010204;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin: 0;
  padding: 0;
}

.divider-line {
  position: absolute;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(57, 255, 20, 0.15) 15%,
    rgba(57, 255, 20, 0.3) 50%,
    rgba(57, 255, 20, 0.15) 85%,
    transparent
  );
}

.divider-glow {
  position: absolute;
  left: 5%;
  right: 5%;
  height: 1px;
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.3), 0 0 20px rgba(57, 255, 20, 0.1);
}

.divider-scan {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #39ff14, transparent);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.8), 0 0 30px rgba(57, 255, 20, 0.3);
  animation: dividerScan 4s ease-in-out infinite;
}

@keyframes dividerScan {
  0% { left: -120px; }
  100% { left: calc(100% + 120px); }
}

.divider-icon {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 6px rgba(57, 255, 20, 0.6))
          drop-shadow(0 0 12px rgba(57, 255, 20, 0.3));
  animation: dividerPulse 3s ease-in-out infinite;
}

@keyframes dividerPulse {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

.divider-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.divider-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #39ff14;
  opacity: 0;
  animation: dividerFloat 3s ease-in-out infinite;
}

@keyframes dividerFloat {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-30px); }
}

/* ===== FOOTER ===== */
#footer {
  position: relative;
  background: #010204;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 0 24px 40px;
  margin: 0;
}

.footer-stage {
  position: relative;
  width: 100%;
  height: 300px;
  margin-bottom: 40px;
}

.footer-arm {
  position: absolute;
  top: 0;
  z-index: 2;
  left: 80px;
  width: auto;
  height: 280px;
  opacity: 0;
  transition: transform .25s cubic-bezier(1,-0.41,1,.37);
  filter: brightness(2) sepia(1) hue-rotate(70deg) saturate(3)
          drop-shadow(0 0 8px rgba(57, 255, 20, 0.5));
}

.footer-stage.playing .footer-arm {
  transform: translateX(30px);
}

.footer-ball {
  position: absolute;
  top: 190px;
  z-index: 1;
  left: 160px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 20px rgba(57, 255, 20, 0.2),
    0 0 40px rgba(57, 255, 20, 0.1);
  border: 2px solid rgba(57, 255, 20, 0.2);
  background: #010204;
}

.footer-ball img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 0;
}

.footer-content {
  text-align: center;
}

.footer-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 8px;
}

.footer-name .green { color: #39ff14; }

.footer-tagline {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 32px;
}

.footer-socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(57, 255, 20, 0.2);
  background: rgba(57, 255, 20, 0.04);
  color: #39ff14;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease;
}

.footer-social-link:hover {
  transform: scale(1.1) translateY(-2px);
  background: rgba(57, 255, 20, 0.12);
  border-color: rgba(57, 255, 20, 0.5);
}

.footer-social-link:active { transform: scale(0.95); }

.footer-social-link:focus-visible {
  outline: 3px solid #39ff14;
  outline-offset: 4px;
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: rgba(57, 255, 20, 0.15);
  margin: 0 auto 20px;
}

.footer-copy {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .footer-stage { height: 220px; }
  .footer-arm { left: 10px; height: 200px; }
  .footer-ball { width: 80px; height: 80px; left: 80px; top: 140px; }
}

/* ===== PAW FOLLOW BUTTON (original structure, green theme) ===== */
.paw-button {
  --background: #0a0f0a;
  --background-active: #0d1a0d;
  --border: rgba(57, 255, 20, 0.2);
  --border-active: rgba(57, 255, 20, 0.5);
  --text: #39ff14;
  --paw-background: #fff;
  --paw-border: #201E1B;
  --paw-inner: #FEA5D7;
  --paw-shadow: #EEEDED;
  --paw-shadow-dark: #EA5DAF;
  --paw-shadow-light: #FEE0F2;
  --paw-clap-background: #39ff14;
  --paw-clap-border: #1a5c0a;
  --circle: #39ff14;
  --circle-line: #39ff14;
  display: inline-flex;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  position: relative;
  line-height: 19px;
  padding: 12px 16px;
  cursor: pointer;
}

.paw-button:before {
  content: '';
  position: absolute;
  display: block;
  left: -2px; top: -2px; bottom: -2px; right: -2px;
  z-index: 1;
  border-radius: 5px;
  transition: background .45s, border-color .45s;
  background: var(--background);
  border: 2px solid var(--border);
}

.paw-button svg { display: block; }

.paw-button .text {
  position: relative;
  backface-visibility: hidden;
  transform: translateZ(0);
  z-index: 3;
  margin-right: 8px;
  transition: width .25s;
  width: var(--w, 75px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.paw-button .text span,
.paw-button .text svg {
  transition: opacity .2s, transform .15s ease-out;
  opacity: var(--o, 1);
}

.paw-button .text span {
  display: block;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paw-button .text svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.paw-button > span {
  display: block;
  position: relative;
  backface-visibility: hidden;
  transform: translateZ(0);
  z-index: 2;
}

.paw-button .paws {
  overflow: hidden;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60px;
  z-index: 2;
}

.paw-button .paws svg {
  position: absolute;
  bottom: 0;
  transition: opacity .2s, transform .3s ease-out;
  opacity: var(--o, 0);
  transform: translate(var(--x, 0), var(--y, 0));
}

.paw-button .paws svg.paw {
  --x: -24px;
  width: 30px; height: 37px;
  left: 32px;
}

.paw-button .paws svg.paw-clap {
  --x: 16px; --y: 34px; --o: 1;
  width: 29px; height: 34px;
  left: 34px;
}

.paw-button .paws .paw-effect {
  left: 26px; top: 12px;
  width: 44px; height: 44px;
  position: absolute;
}

.paw-button .paws .paw-effect:before {
  content: '';
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--circle);
  transform: scale(var(--s, 0));
  opacity: var(--o, 1);
  transition: opacity .2s linear .25s, transform .15s ease .16s;
}

.paw-button .paws .paw-effect div {
  width: 2px; height: 6px;
  border-radius: 1px;
  left: 50%; bottom: 50%;
  margin-left: -1px;
  position: absolute;
  background: var(--circle-line);
  transform: translateY(-24px) scaleX(0.7) scaleY(var(--s, 0));
}

.paw-button .paws .paw-effect div:before,
.paw-button .paws .paw-effect div:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%; height: 100%;
  background: inherit;
  border-radius: inherit;
  transform: translate(var(--x, -22px), var(--y, 4px)) rotate(var(--r, -45deg)) scaleX(0.8) scaleY(var(--s, 0));
}

.paw-button .paws .paw-effect div:after { --x: 22px; --r: 45deg; }

.paw-button .paws .paw-effect div,
.paw-button .paws .paw-effect div:before,
.paw-button .paws .paw-effect div:after {
  opacity: var(--o, 1);
  transform-origin: 50% 100%;
  transition: opacity .18s linear .21s, transform .12s ease .17s;
}

.paw-button i {
  position: absolute;
  display: block;
  width: 4px; height: 4px;
  top: 50%; left: 50%;
  margin: -2px 0 0 -2px;
  opacity: var(--o, 0);
  background: var(--b);
  transform: translate(var(--x), var(--y)) scale(var(--s, 1));
}

/* Hover */
.paw-button:not(.animation):hover .text { --o: 0; }
.paw-button:not(.animation):hover .text svg { transform: translateX(12px); }
.paw-button:not(.animation):hover .text span { transform: translateY(8px); }
.paw-button:not(.animation):hover .paws svg.paw { --o: 1; --x: 0; }

/* Animation state */
.paw-button.animation .text { --o: 0; }
.paw-button.animation .paws svg.paw {
  --x: 0; --o: 1;
  transition-delay: 0s;
  animation: paw-push .45s ease forwards;
}
.paw-button.animation .paws svg.paw-clap {
  animation: paw-clap .5s ease-in forwards;
}
.paw-button.animation .paws .paw-effect { --s: 1; --o: 0; }

/* Confetti state */
.paw-button.confetti i { animation: paw-confetti .6s ease-out forwards; }
.paw-button.confetti .paws svg.paw { --o: 0; transition: opacity .15s linear .2s; }

/* Liked/followed state */
.paw-button.liked:before {
  background: var(--background-active);
  border-color: var(--border-active);
  box-shadow: 0 0 16px rgba(57, 255, 20, 0.15);
}

@keyframes paw-push {
  0% { transform: translateX(var(--x)); }
  35% { transform: translateX(-16px); }
  55%, 70% { transform: translateX(0); }
  100% { transform: translateX(-12px); }
}

@keyframes paw-clap {
  50%, 70% { transform: translate(0, 0); }
}

@keyframes paw-confetti {
  from { transform: translate(0, 0); opacity: 1; }
}

/* ===== GRAIN OVERLAY ===== */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-content { padding: 0 16px; }
  .hero-badge { font-size: 0.65rem; padding: 5px 14px; letter-spacing: 0.15em; }
  .hero-subtitle { font-size: 0.95rem; max-width: 340px; }
  .hero-cta { padding: 14px 28px; font-size: 0.75rem; }
  .hero-cta-secondary { padding: 14px 24px; font-size: 0.72rem; }
  .story-header { padding: 80px 16px 50px; }
}
