.page {
  width: min(94%, 1440px);
  padding-top: clamp(16px, 1.7vw, 24px);
}

.site-header {
  border-radius: clamp(26px, 3vw, 999px);
  padding: clamp(14px, 1.4vw, 20px) clamp(16px, 2vw, 26px);
}

nav a {
  width: auto;
  padding: clamp(0.58rem, 0.8vw, 0.78rem) clamp(0.7rem, 1vw, 1rem);
  font-size: clamp(0.58rem, 0.72vw, 0.78rem);
}

.welcome-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(12px, 3vw, 44px);
  min-height: clamp(240px, 35vw, 470px);
  margin-bottom: clamp(24px, 4vw, 42px);
  padding: clamp(14px, 5vw, 62px);
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.welcome-copy {
  position: relative;
  z-index: 1;
}

.welcome-copy h1 {
  max-width: 10ch;
  font-size: clamp(1.2rem, 5.5vw, 5rem);
}

.welcome-intro {
  max-width: 43ch;
  margin: clamp(8px, 1.4vw, 18px) 0 clamp(10px, 1.9vw, 24px);
  color: var(--muted);
  font-size: clamp(0.72rem, 1.5vw, 1.12rem);
}

.welcome-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: clamp(7px, 1vw, 12px) clamp(10px, 1.6vw, 20px);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #e96a94, #cb4d78);
  box-shadow: 0 10px 22px rgba(203, 77, 120, 0.2);
  color: #fff;
  font-size: clamp(0.65rem, 0.9vw, 0.9rem);
  font-weight: 700;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.welcome-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(203, 77, 120, 0.26);
}

.welcome-button span,
.topic-link span {
  font-size: 1.2em;
}

.welcome-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: clamp(120px, 18vw, 260px);
}

.welcome-art::before {
  content: "";
  position: absolute;
  width: min(88%, 380px);
  aspect-ratio: 1;
  border: 1px solid rgba(233, 106, 148, 0.26);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 233, 241, 0.9), rgba(255, 243, 248, 0.22) 70%);
}

.welcome-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(80, 57, 47, 0.12));
  animation: catFloat 4.5s ease-in-out infinite;
}

.art-sparkle {
  position: absolute;
  z-index: 2;
  color: var(--rose);
  line-height: 1;
}

.sparkle-one {
  top: 8%;
  right: 16%;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.sparkle-two {
  top: 38%;
  left: 2%;
  color: #efb756;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
}

.sparkle-three {
  right: 8%;
  bottom: 12%;
  color: #9a83d7;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.hero-note {
  position: absolute;
  right: clamp(22px, 4vw, 48px);
  bottom: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: right;
}

.topic-section {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.topic-heading {
  max-width: 62ch;
  margin: 0 auto clamp(22px, 4vw, 34px);
  text-align: center;
}

.topic-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.7rem, 3.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.05;
}

.topic-heading > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 1.7vw, 20px);
}

.topic-card {
  position: relative;
  display: flex;
  min-height: clamp(170px, 20vw, 260px);
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(8px, 2vw, 26px);
  overflow: hidden;
  border: 1px solid rgba(83, 56, 75, 0.1);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(120, 77, 100, 0.12);
}

.topic-goofy {
  background: linear-gradient(145deg, #ffe1eb, #fff0d8);
}

.topic-care {
  background: linear-gradient(145deg, #e2f5ff, #f0faff);
}

.topic-breeds {
  background: linear-gradient(145deg, #eee8ff, #f8f4ff);
}

.topic-friends {
  background: linear-gradient(145deg, #ffebdc, #fff7ef);
}

.topic-icon {
  display: grid;
  width: clamp(26px, 3.6vw, 46px);
  height: clamp(26px, 3.6vw, 46px);
  place-items: center;
  margin-bottom: clamp(6px, 1.2vw, 15px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--rose-deep);
  font-size: clamp(0.85rem, 1.2vw, 1.45rem);
}

.topic-label {
  color: var(--muted);
  font-size: clamp(0.48rem, 0.55vw, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topic-card h3 {
  margin: 4px 0 6px;
  font-size: clamp(0.72rem, 1.45vw, 1.5rem);
  font-weight: 800;
  line-height: 1.05;
}

.topic-card p {
  margin: 0 0 18px;
  color: rgba(52, 38, 51, 0.82);
  font-size: clamp(0.58rem, 0.82vw, 0.9rem);
  line-height: 1.5;
}

.topic-link,
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--rose-deep);
  font-size: clamp(0.52rem, 0.72vw, 0.78rem);
  font-weight: 800;
}

.coming-soon {
  color: var(--muted);
  font-size: clamp(0.5rem, 0.65vw, 0.72rem);
  font-weight: 600;
}

@keyframes catFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-art img {
    animation: none;
  }
}
