@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500&family=Caveat:wght@500;700&display=swap');

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

:root {
  --pink:    #f7c5d5;
  --peach:   #fde8d8;
  --lavender:#e8dff5;
  --mint:    #d4f0e8;
  --yellow:  #fef3c7;
  --cream:   #fdfaf6;
  --text:    #4a3f5c;
  --muted:   #9b8fad;
  --accent:  #c9a0dc;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── floating blobs ── */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.blob-1 { width: 420px; height: 420px; background: var(--pink);    top: -120px; left: -100px; }
.blob-2 { width: 340px; height: 340px; background: var(--lavender);bottom: -80px; right: -80px; }
.blob-3 { width: 260px; height: 260px; background: var(--mint);    top: 45%;  left: 60%;  }

/* ── layout ── */
.container {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

/* ── header ── */
header {
  text-align: center;
}

.tag {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.1;
  color: var(--text);
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.subtitle {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.7;
}

/* ── cat animation card ── */
.cat-card {
  background: white;
  border-radius: 28px;
  padding: 28px 28px 20px;
  box-shadow: 0 4px 32px rgba(180,150,200,0.12);
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1.5px solid rgba(201,160,220,0.18);
}

/* css-only walking cat */
.cat-scene {
  width: 100%;
  height: 72px;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--peach) 0%, var(--lavender) 100%);
}

.cat-walker {
  position: absolute;
  bottom: 12px;
  left: -60px;
  animation: walk-across 5s linear infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes walk-across {
  0%   { left: -60px; }
  100% { left: calc(100% + 60px); }
}

.cat-body {
  width: 38px;
  height: 26px;
  background: #c4a0d8;
  border-radius: 50% 55% 45% 50%;
  position: relative;
}

/* ears */
.cat-body::before,
.cat-body::after {
  content: '';
  position: absolute;
  top: -10px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 12px solid #c4a0d8;
}
.cat-body::before { left: 4px; }
.cat-body::after  { right: 4px; }

.cat-head {
  width: 26px;
  height: 22px;
  background: #c4a0d8;
  border-radius: 50% 50% 45% 45%;
  position: absolute;
  right: -14px;
  top: -6px;
}

/* eyes */
.cat-head::before,
.cat-head::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--text);
  border-radius: 50%;
  top: 7px;
  animation: blink 3s ease-in-out infinite;
}
.cat-head::before { left: 5px; }
.cat-head::after  { right: 5px; }

@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.1); }
}

/* tail */
.cat-tail {
  width: 18px;
  height: 5px;
  background: #c4a0d8;
  border-radius: 0 10px 10px 0;
  position: absolute;
  left: -16px;
  top: 8px;
  transform-origin: right center;
  animation: wag 0.4s ease-in-out infinite alternate;
}

@keyframes wag {
  from { transform: rotate(-25deg); }
  to   { transform: rotate(20deg); }
}

/* legs */
.cat-legs {
  display: flex;
  gap: 6px;
  margin-top: 2px;
}

.leg {
  width: 5px;
  height: 12px;
  background: #c4a0d8;
  border-radius: 3px;
  transform-origin: top center;
}
.leg:nth-child(1) { animation: step 0.4s ease-in-out infinite alternate; }
.leg:nth-child(2) { animation: step 0.4s ease-in-out 0.2s infinite alternate-reverse; }
.leg:nth-child(3) { animation: step 0.4s ease-in-out 0.1s infinite alternate; }
.leg:nth-child(4) { animation: step 0.4s ease-in-out 0.3s infinite alternate-reverse; }

@keyframes step {
  from { transform: rotate(-20deg); }
  to   { transform: rotate(20deg); }
}

.cat-caption {
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ── video card ── */
.video-card {
  width: 100%;
  max-width: 480px;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(180,150,200,0.12);
  border: 1.5px solid rgba(201,160,220,0.18);
  position: relative;
}

.video-card video {
  width: 100%;
  display: block;
  border-radius: 28px 28px 0 0;
}

.video-overlay {
  display: none;
}

.mute-text { display: none; }

.video-label {
  padding: 12px 18px;
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  color: var(--muted);
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#unmute-btn {
  background: var(--peach);
  border: 1px solid rgba(201,160,220,0.25);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #7a5a6a;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}

#unmute-btn:hover  { background: #f9d4bc; transform: scale(1.1); }
#unmute-btn:active { transform: scale(0.93); }

/* ── about card ── */
.about-card {
  background: white;
  border-radius: 28px;
  padding: 36px 40px;
  box-shadow: 0 4px 32px rgba(180,150,200,0.12);
  border: 1.5px solid rgba(201,160,220,0.18);
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-card h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
}

.about-card p {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.pill {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.pill-pink    { background: var(--pink);    color: #8a4a6a; }
.pill-lavender{ background: var(--lavender);color: #5a4a8a; }
.pill-mint    { background: var(--mint);    color: #2a7a5a; }
.pill-peach   { background: var(--peach);   color: #8a5a3a; }
.pill-yellow  { background: var(--yellow);  color: #7a5a20; }

/* ── footer ── */
footer {
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
}

footer span {
  display: inline-block;
  animation: float 2.4s ease-in-out infinite;
}

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

/* ── responsive ── */
@media (max-width: 520px) {
  .about-card { padding: 28px 24px; }
}
