/* Otterly Games — Homepage Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0a0a0f;
  color: #e8e8f0;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Nunito', sans-serif; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

:root {
  --pastel-purple: #c4b5fd;
  --pastel-pink: #f9a8d4;
  --pastel-blue: #93c5fd;
  --pastel-green: #86efac;
  --pastel-amber: #fcd34d;
  --dark-bg: #0a0a0f;
  --dark-card: #141420;
  --dark-surface: #1a1a2e;
  --dark-border: #2a2a3e;
  --text-primary: #f0f0f8;
  --text-secondary: #9898b0;
}
.gradient-text {
  background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-pink), var(--pastel-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--pastel-purple), var(--pastel-pink), var(--pastel-blue));
  z-index: 9999;
  transition: width 0.1s ease-out;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(196,181,253,0.5);
}

/* NAV */
.nav {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,15,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06); height: 64px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Nunito'; font-weight: 900; font-size: 1.3rem;
}
.nav-brand .brand-text {
  background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-pink), var(--pastel-blue));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); transition: color 0.2s; }
.nav-links a:hover { color: var(--pastel-purple); }
.nav-cta {
  background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-pink));
  color: #0a0a0f !important; padding: 0.5rem 1.2rem; border-radius: 999px;
  font-weight: 700; font-size: 0.85rem; transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(196,181,253,0.3); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-secondary); border-radius: 2px; }
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(10,10,15,0.97); padding: 1.5rem; flex-direction: column;
    border-bottom: 1px solid var(--dark-border);
  }
  .nav-links.open { display: flex; }
}

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6rem 1.5rem 4rem; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, rgba(196,181,253,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(249,168,212,0.06) 0%, transparent 50%),
              var(--dark-bg);
}
.hero::before, .hero::after {
  content: '✦'; position: absolute; opacity: 0.25; animation: float 6s ease-in-out infinite;
}
.hero::before { top: 20%; left: 15%; color: var(--pastel-purple); font-size: 1.2rem; animation-delay: -2s; }
.hero::after { top: 35%; right: 12%; color: var(--pastel-pink); font-size: 0.8rem; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}
.hero-content { max-width: 800px; position: relative; z-index: 1; }
.hero-mascot {
  width: 200px; height: 200px; margin: 0 auto 2rem;
  animation: mascotBounce 3s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(196,181,253,0.3));
}
.hero-mascot img { width: 100%; height: 100%; object-fit: contain; }
@keyframes mascotBounce {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
.hero-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; background: var(--dark-surface);
  border: 1px solid var(--dark-border); border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; color: var(--pastel-green); margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 900; line-height: 1.05;
  margin-bottom: 1.5rem; color: var(--text-primary);
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-secondary);
  max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-sub strong { color: var(--pastel-amber); font-weight: 700; }
.hero-sub em { color: var(--pastel-purple); font-style: normal; font-weight: 600; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-glow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-pink));
  color: #0a0a0f; transition: all 0.3s; box-shadow: 0 0 30px rgba(196,181,253,0.2);
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(196,181,253,0.35); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  color: var(--text-primary); border: 2px solid var(--dark-border); transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--pastel-purple); color: var(--pastel-purple); transform: translateY(-2px); }

/* SCROLL INDICATOR */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  z-index: 10;
}
.scroll-indicator:hover { opacity: 1; }
.scroll-indicator span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-indicator .chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator .chevron {
  width: 20px;
  height: 20px;
  opacity: 0;
  animation: chevronFade 2s ease-in-out infinite;
}
.scroll-indicator .chevron:nth-child(1) { animation-delay: 0s; }
.scroll-indicator .chevron:nth-child(2) { animation-delay: 0.15s; margin-top: -10px; }
.scroll-indicator .chevron::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--pastel-purple);
  border-bottom: 2px solid var(--pastel-purple);
  transform: rotate(45deg) translateX(-25%);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes chevronFade {
  0% { opacity: 0; }
  25% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 0; }
}
.scroll-indicator.hidden { opacity: 0; pointer-events: none; }
@media (max-height: 600px) {
  .scroll-indicator { display: none; }
}

/* ABOUT SECTION */
.about-section {
  padding: 5rem 1.5rem;
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}
.about-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center;
}
.about-portrait {
  width: 160px; height: 160px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--dark-border); flex-shrink: 0;
  box-shadow: 0 0 40px rgba(196,181,253,0.1);
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900;
  margin-bottom: 1rem; line-height: 1.2;
}
.about-text p {
  font-size: 1rem; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 1rem;
}
.about-text p strong { color: var(--text-primary); }
.about-text p em { color: var(--pastel-purple); font-style: normal; }
.about-values {
  display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem;
}
.about-value {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; background: var(--dark-surface);
  border: 1px solid var(--dark-border); border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; color: var(--text-secondary);
}
.about-value span { font-size: 1.1rem; }
@media (max-width: 768px) {
  .about-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .about-portrait { margin: 0 auto; width: 120px; height: 120px; }
  .about-values { justify-content: center; }
}

/* GAME SECTIONS */
.game-section {
  position: relative; overflow: hidden;
  min-height: 700px;
  display: flex; align-items: center;
}
.game-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
}
.game-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.75) 40%, rgba(10,10,15,0.4) 100%);
}
.game-section.math-section .game-bg::after {
  background: linear-gradient(270deg, rgba(10,10,15,0.92) 0%, rgba(10,10,15,0.75) 40%, rgba(10,10,15,0.4) 100%);
}
.game-inner {
  max-width: 1200px; margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: auto 1fr; gap: 3.5rem;
  align-items: center; position: relative; z-index: 1; width: 100%;
}
.game-section.math-section .game-inner {
  grid-template-columns: 1fr auto;
}
.game-phone {
  width: 220px; height: 465px;
  background: #111; border-radius: 28px; position: relative; flex-shrink: 0;
  box-shadow:
    inset 0 0 0 2px #2a2a2a,
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 60px rgba(0,0,0,0.6),
    0 0 40px rgba(196,181,253,0.08);
}
.game-phone::before {
  content: ''; position: absolute; right: -2px; top: 80px;
  width: 2px; height: 32px; background: #222; border-radius: 0 2px 2px 0;
}
.game-phone::after {
  content: ''; position: absolute; left: -2px; top: 70px;
  width: 2px; height: 22px; background: #222; border-radius: 2px 0 0 2px;
  box-shadow: 0 32px 0 #222;
}
.game-phone-screen {
  position: absolute; top: 5px; left: 5px; right: 5px; bottom: 5px;
  background: #000; border-radius: 23px; overflow: hidden;
}
.game-phone-camera {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 7px; height: 7px; background: #1a1a1a; border-radius: 50%; z-index: 5;
}
.game-phone-home {
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; z-index: 5;
}
.game-phone .gp-scaler {
  position: absolute; top: 0; left: 0;
  width: 412px; height: 915px;
  transform-origin: top left;
  transform: scale(0.51);
}
.game-phone .gp-iframe {
  width: 412px; height: 915px; border: none;
}
.game-info { position: relative; z-index: 2; }
.game-tag {
  display: inline-block; padding: 0.35rem 0.9rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 1rem;
}
.game-tag.purple { background: rgba(196,181,253,0.2); color: var(--pastel-purple); }
.game-tag.pink { background: rgba(249,168,212,0.2); color: var(--pastel-pink); }
.game-info h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900;
  margin-bottom: 0.75rem; line-height: 1.05;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.game-pun {
  font-size: 1.05rem; font-style: italic; color: var(--pastel-amber);
  margin-bottom: 1.25rem; font-weight: 600;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.game-desc {
  font-size: 1rem; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: 1.5rem; max-width: 500px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.game-features { list-style: none; margin-bottom: 2rem; }
.game-features li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.5rem 0; font-size: 0.95rem; color: var(--text-secondary);
}
.feat-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
}
.game-features li strong { color: var(--text-primary); }
.game-play-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 999px; font-weight: 700;
  font-size: 1rem; transition: all 0.3s;
}
.game-play-btn.purple {
  background: var(--pastel-purple); color: #0a0a0f;
  box-shadow: 0 0 30px rgba(196,181,253,0.25);
}
.game-play-btn.pink {
  background: var(--pastel-pink); color: #0a0a0f;
  box-shadow: 0 0 30px rgba(249,168,212,0.25);
}
.game-play-btn:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.1); }

@media (max-width: 900px) {
  .game-section { min-height: auto; }
  .game-bg::after,
  .game-section.math-section .game-bg::after {
    background: linear-gradient(180deg, rgba(10,10,15,0.5) 0%, rgba(10,10,15,0.92) 50%, rgba(10,10,15,0.97) 100%);
  }
  .game-inner,
  .game-section.math-section .game-inner {
    grid-template-columns: 1fr; padding: 3rem 1.5rem;
    text-align: center; gap: 2rem;
  }
  .game-phone { margin: 0 auto; width: 200px; height: 425px; }
  .game-phone .gp-scaler { transform: scale(0.46); }
  .game-info { order: 2; }
  .game-features { text-align: left; max-width: 400px; margin: 0 auto 2rem; }
  .game-desc { margin-left: auto; margin-right: auto; }
}
@media (min-width: 1200px) {
  .game-phone { width: 260px; height: 550px; border-radius: 34px; }
  .game-phone-screen { top: 7px; left: 7px; right: 7px; bottom: 7px; border-radius: 27px; }
  .game-phone .gp-scaler { transform: scale(0.597); }
}

/* PLAY SECTION */
.play-section {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
  text-align: center;
}
.play-header h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 0.5rem; }
.play-header p { color: var(--text-secondary); margin-bottom: 2rem; }
.play-tabs { display: flex; justify-content: center; gap: 0.75rem; margin-bottom: 2.5rem; }
.play-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  background: var(--dark-surface); color: var(--text-secondary);
  border: 1px solid var(--dark-border); transition: all 0.25s;
}
.play-tab:hover { border-color: var(--pastel-purple); color: var(--pastel-purple); }
.play-tab.active {
  background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-pink));
  color: #0a0a0f; border-color: transparent; box-shadow: 0 0 20px rgba(196,181,253,0.2);
}
.play-phone-wrap { display: flex; flex-direction: column; align-items: center; }
.play-phone {
  width: 280px; height: 590px; background: #111; border-radius: 32px; position: relative;
  box-shadow: inset 0 0 0 2px #2a2a2a, 0 0 0 1px rgba(255,255,255,0.05),
    0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(196,181,253,0.08);
}
.play-phone::before {
  content: ''; position: absolute; right: -2.5px; top: 100px;
  width: 2.5px; height: 40px; background: #222; border-radius: 0 2px 2px 0;
}
.play-phone::after {
  content: ''; position: absolute; left: -2.5px; top: 85px;
  width: 2.5px; height: 28px; background: #222; border-radius: 2px 0 0 2px;
  box-shadow: 0 40px 0 #222;
}
.play-screen {
  position: absolute; top: 6px; left: 6px; right: 6px; bottom: 6px;
  background: #000; border-radius: 26px; overflow: hidden;
}
.play-camera {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; background: #1a1a1a; border-radius: 50%; z-index: 5;
}
.play-home-bar {
  position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; z-index: 5;
}
.iframe-scaler {
  position: absolute; top: 0; left: 0;
  width: 412px; height: 915px; transform-origin: top left; transform: scale(0.65);
}
.play-iframe { width: 412px; height: 915px; border: none; }
.play-overlay {
  position: absolute; inset: 0; z-index: 10;
  background: rgba(10,10,15,0.9); border-radius: 26px;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1.5rem; color: white; animation: fadeUp 0.4s ease;
}
.play-overlay.show { display: flex; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.play-overlay h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.play-overlay p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.overlay-dl {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.3rem; background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-pink));
  color: #0a0a0f; border-radius: 999px; font-weight: 700; font-size: 0.85rem;
  margin-bottom: 0.5rem; transition: 0.2s;
}
.overlay-dl:hover { transform: scale(1.05); }
.overlay-skip {
  padding: 0.4rem 1rem; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px;
  color: rgba(255,255,255,0.5); font-size: 0.75rem; transition: 0.2s;
}
.overlay-skip:hover { border-color: rgba(255,255,255,0.4); color: white; }
.play-caption { margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.4rem; }
@media (min-width: 640px) {
  .play-phone { width: 340px; height: 720px; border-radius: 40px; }
  .play-screen { top: 8px; left: 8px; right: 8px; bottom: 8px; border-radius: 32px; }
  .play-overlay { border-radius: 32px; }
  .iframe-scaler { transform: scale(0.786); }
  .play-camera { top: 14px; width: 10px; height: 10px; }
  .play-home-bar { bottom: 7px; width: 100px; height: 4px; }
}

/* DOWNLOAD */
.download-section {
  padding: 6rem 1.5rem; background: var(--dark-surface); text-align: center;
  position: relative; overflow: hidden;
}
.download-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(196,181,253,0.06), transparent 70%); pointer-events: none;
}
.download-section h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 0.5rem; position: relative; }
.download-section > p { color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 400px; margin-left: auto; margin-right: auto; position: relative; }
.store-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; position: relative; }
.store-btn {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.6rem; background: var(--dark-bg);
  border: 1px solid var(--dark-border); border-radius: 14px;
  font-weight: 700; font-size: 0.95rem; color: var(--text-primary); transition: all 0.25s;
}
.store-btn:hover { border-color: var(--pastel-purple); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.store-btn svg { width: 24px; height: 24px; }
.dl-trust { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-secondary); position: relative; }
.dl-trust span { display: flex; align-items: center; gap: 0.4rem; }

/* SEO */
.seo-section { padding: 4rem 1.5rem; background: var(--dark-bg); border-top: 1px solid var(--dark-border); }
.seo-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.seo-inner h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.4rem; color: var(--text-primary); }
.seo-inner > p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; }
.seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.6rem; margin-bottom: 1.5rem; }
.seo-link {
  display: block; padding: 0.7rem 0.8rem; background: var(--dark-card);
  border: 1px solid var(--dark-border); border-radius: 10px;
  font-weight: 600; font-size: 0.85rem; color: var(--text-secondary); transition: all 0.2s;
}
.seo-link:hover { border-color: var(--pastel-purple); color: var(--pastel-purple); }
.seo-link small { display: block; font-weight: 400; color: #5a5a70; font-size: 0.75rem; margin-top: 0.15rem; }

/* FOOTER */
.footer { padding: 2rem 1.5rem; background: var(--dark-bg); border-top: 1px solid var(--dark-border); text-align: center; font-size: 0.85rem; color: var(--text-secondary); }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.footer-links a { color: #8888a0; transition: color 0.2s; }
.footer-links a:hover { color: var(--pastel-purple); }

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* STAGGERED ANIMATIONS */
.stagger-1 { transition-delay: 0s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.2s; }
.stagger-4 { transition-delay: 0.3s; }
.stagger-5 { transition-delay: 0.4s; }
.stagger-6 { transition-delay: 0.5s; }
.scroll-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark-surface); border: 1px solid var(--dark-border);
  color: var(--pastel-purple); display: none; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: 0.3s;
}
.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--pastel-purple); color: #0a0a0f; }
