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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #111111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navbar ── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}

.nav-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: #111;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
}

/* ── Hero ── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: url('hero-bg.png') center center / cover no-repeat;
  position: relative;
}


.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #999;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
  color: #111;
}

.hero-description {
  font-size: 1.125rem;
  color: #555;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ddd;
  border-radius: 10px;
  color: #111;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.hero-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  transform: translateY(-1px);
}

.hero-ca {
  font-size: 0.8rem;
  font-weight: 500;
  color: #888;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

/* ── Meme Slider ── */

.meme-slider {
  padding: 80px 0;
  border-top: 1px solid #f0f0f0;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: slide 30s linear infinite;
}

.slider-track img {
  height: 280px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

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

.pfp-generator h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: #888;
  font-size: 1rem;
  margin-bottom: 56px;
}

/* ── PFP Generator ── */

.pfp-generator {
  padding: 120px 0;
  border-top: 1px solid #f0f0f0;
}

.pfp-generator .section-subtitle {
  margin-bottom: 48px;
}

/* ── Tagline ── */

.tagline {
  height: 300vh;
  position: relative;
  border-top: 1px solid #f0f0f0;
}

.tagline-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tagline-content {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

.tagline-word {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #111;
  opacity: 0;
  will-change: transform, opacity, filter;
}

/* ── Create PFP Button ── */

.create-pfp-button {
  display: block;
  margin: 0 auto;
  padding: 16px 48px;
  background: #111;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.create-pfp-button:hover {
  background: #333;
  transform: translateY(-1px);
}

.create-pfp-button:active {
  transform: translateY(0);
}

/* ── Modal ── */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 760px;
  max-width: 92vw;
  padding: 32px;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 4px;
  z-index: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #111;
}

.modal-body {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.modal-image-wrapper {
  width: 280px;
  min-width: 280px;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
}

.modal-base-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  justify-content: center;
}

.modal-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  letter-spacing: -0.01em;
}

.prompt-box {
  padding: 12px 14px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.5;
  max-height: 80px;
  overflow-y: auto;
  user-select: all;
}

.modal-copy-btn {
  padding: 10px 20px;
  background: #fff;
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.modal-copy-btn:hover {
  background: #f5f5f5;
  border-color: #ccc;
  transform: translateY(-1px);
}

.modal-hint {
  font-size: 0.78rem;
  color: #aaa;
  margin-top: 4px;
}

.modal-done {
  width: 100%;
  padding: 14px;
  background: #111;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s, transform 0.15s;
}

.modal-done:hover {
  background: #333;
  transform: translateY(-1px);
}

.modal-done:active {
  transform: translateY(0);
}

/* ── Footer ── */

.footer {
  padding: 40px 0;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

.footer p {
  font-size: 0.8rem;
  color: #bbb;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .slider-track img {
    height: 200px;
  }

  .nav-links {
    gap: 20px;
  }

  .modal-body {
    flex-direction: column;
    gap: 24px;
  }

  .modal-image-wrapper {
    width: 100%;
    min-width: unset;
  }
}
