body {
  margin: 0;
  background-color: #f8f9fa;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  color: #1a1a1a;
}

.container {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.animation-section {
  margin: 4rem 0;
  padding: 3rem;
  border-radius: 16px;
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

h1 {
  font-size: 3.5rem;
  margin: 0;
  padding: 1rem 0;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.reveal-wrapper {
  overflow: hidden;
  position: relative;
}

/* Style 1: Smooth Individual Letters */
.style-1 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

/* Style 2: Word Flow */
.style-2 .word-wrapper {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.3em;
}
.style-2 .word {
  display: inline-block;
  transform: translateY(100%);
}

/* Style 3: Cascade Mix */
.style-3 .word-wrapper {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.3em;
}
.style-3 .word {
  display: inline-block;
}
.style-3 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

/* Style 4: Gentle Flow */
.style-4 .word-wrapper {
  display: inline-block;
  overflow: hidden;
  margin-right: 0.3em;
  opacity: 0;
  transform: translateY(20px);
}

/* Style 5: Split Lines */
.style-5 .line {
  display: block;
  overflow: hidden;
  margin-bottom: 0.2em;
}
.style-5 .line-inner {
  display: block;
  transform: translateY(100%);
}

/* Style 6: Smooth Wave */
.style-6 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
}

.label {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.controls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

button {
  background: #007aff;
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  margin: 0 0.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

button:hover {
  background: #0056b3;
  transform: translateY(-1px);
}