@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  --bg-top: #fff1f0;
  --bg-bottom: #eef7ff;
  --ink: #1a1a1a;
  --muted: rgba(26, 26, 26, 0.7);
  --accent: #ff6b6b;
  --accent-2: #06d6a0;
  --accent-3: #4d96ff;
  --card: rgba(255, 255, 255, 0.75);
  --shadow: rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fff8e7 0%, transparent 55%),
    radial-gradient(circle at 80% 10%, #e0ffe9 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  min-height: 100vh;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  box-shadow: 0 24px 60px -40px var(--shadow);
}

.hero__content h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.4rem, 2.5vw + 1.6rem, 4rem);
  margin: 12px 0 16px;
}

.hero__lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 38ch;
}

.hero__tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(77, 150, 255, 0.16);
  color: #2a5b9f;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.hero__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn--primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 30px -18px rgba(255, 107, 107, 0.9);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 26, 26, 0.1);
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 32px -18px rgba(0, 0, 0, 0.2);
}

.hero__art {
  display: grid;
  place-items: center;
  min-height: 280px;
  position: relative;
}

.cat {
  width: 200px;
  height: 200px;
  position: relative;
  display: grid;
  place-items: center;
  animation: float 6s ease-in-out infinite;
}

.cat__face {
  width: 160px;
  height: 140px;
  background: radial-gradient(circle at 30% 20%, #fff, #ffd6e7 60%, #ffc1a3);
  border-radius: 70px 70px 60px 60px;
  position: relative;
  box-shadow: 0 20px 40px -26px rgba(0, 0, 0, 0.3);
}

.cat__ear {
  width: 60px;
  height: 70px;
  background: linear-gradient(130deg, #ffd166, #ff6b6b);
  position: absolute;
  top: 10px;
  border-radius: 10px 10px 0 0;
}

.cat__ear--left {
  left: 10px;
  transform: rotate(-8deg);
}

.cat__ear--right {
  right: 10px;
  transform: rotate(8deg);
}

.cat__eye {
  width: 18px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 999px;
  position: absolute;
  top: 50px;
}

.cat__eye--left {
  left: 45px;
}

.cat__eye--right {
  right: 45px;
}

.cat__nose {
  width: 18px;
  height: 12px;
  background: #ff9f1c;
  border-radius: 999px;
  position: absolute;
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
}

.cat__smile {
  width: 50px;
  height: 20px;
  border-bottom: 3px solid #1a1a1a;
  border-radius: 0 0 50px 50px;
  position: absolute;
  top: 98px;
  left: 50%;
  transform: translateX(-50%);
}

.swirl {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ff6b6b, #ffd166, #06d6a0, #4d96ff, #8338ec, #ff6b6b);
  filter: blur(18px);
  opacity: 0.35;
  animation: spin 12s linear infinite;
}

.spirit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  align-items: center;
}

.spirit h2,
.palette h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(1.9rem, 1.2vw + 1.4rem, 2.6rem);
  margin-bottom: 12px;
}

.spirit p,
.palette p {
  color: var(--muted);
  line-height: 1.6;
}

.spirit__cards {
  display: grid;
  gap: 16px;
}

.spirit__cards article {
  background: var(--card);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 16px 30px -24px var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.spirit__cards h3 {
  margin-bottom: 8px;
}

.palette {
  display: grid;
  gap: 24px;
}

.palette__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.color {
  background: var(--card);
  border-radius: 18px;
  padding: 18px;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px -20px var(--shadow);
}

.color::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), var(--swatch));
  opacity: 0.9;
}

.color span {
  position: relative;
  font-weight: 600;
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 24px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
