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

html, body, #root {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Crimson Pro', serif;
}

:root {
  --slide-transition: 600ms;
}

/* Paw print pattern overlay */
.paw-pattern {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ctext x='20' y='45' font-size='28' fill='white'%3E🐾%3C/text%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* Slide transitions */
.slide-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: opacity var(--slide-transition) cubic-bezier(0.4, 0, 0.2, 1),
              transform var(--slide-transition) cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-enter {
  opacity: 0;
  transform: translateX(60px) scale(0.97);
}

.slide-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.slide-exit {
  opacity: 0;
  transform: translateX(-60px) scale(0.97);
}

.slide-exit-right {
  opacity: 0;
  transform: translateX(60px) scale(0.97);
}

/* Hero animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes confettiFall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; transform: scale(1); }
}

.animate-hero-title {
  animation: heroFadeUp 1s ease-out 0.2s both;
}

.animate-hero-subtitle {
  animation: heroFadeUp 1s ease-out 0.6s both;
}

.animate-hero-tagline {
  animation: heroFadeUp 1s ease-out 1s both;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
  animation: floatSlow 8s ease-in-out infinite;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out both;
}

/* Progress bar */
.progress-bar {
  height: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(255,255,255,0.1));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.progress-fill {
  height: 100%;
  transition: width 400ms ease;
  border-radius: 0 2px 2px 0;
}

/* Navigation arrows */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}

.nav-arrow:hover {
  background: rgba(255,255,255,0.15);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow-left { left: 16px; }
.nav-arrow-right { right: 16px; }

@media (max-width: 768px) {
  .nav-arrow {
    width: 36px;
    height: 36px;
  }
  .nav-arrow-left { left: 8px; }
  .nav-arrow-right { right: 8px; }
}

/* Dot navigation */
.dot-nav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.25);
}

.dot.active {
  width: 28px;
  border-radius: 5px;
}

/* Glassmorphism card */
.glass-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  transition: all 0.35s ease;
}

.glass-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

/* Timeline */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 24px;
  }
}

/* Stat counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cat silhouette CSS art */
.cat-silhouette {
  position: relative;
  display: inline-block;
}

/* Confetti */
.confetti-piece {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  animation: confettiFall linear forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

/* Trait card flip */
.trait-card {
  perspective: 800px;
  cursor: pointer;
}

.trait-card-inner {
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
  position: relative;
}

.trait-card-inner.flipped {
  transform: rotateY(180deg);
}

.trait-card-front, .trait-card-back {
  backface-visibility: hidden;
}

.trait-card-back {
  transform: rotateY(180deg);
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

/* Nanobanana image containers */
.cat-image-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.cat-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}