:root {
  --bg: #fff6fb;
  --bg-2: #ffe8f2;
  --ink: #4c2c3b;
  --muted: #7f6070;
  --accent: #f091b4;
  --accent-strong: #db5f92;
  --tea: #d9a564;
  --glass: rgba(255, 255, 255, 0.82);
  --line: rgba(219, 95, 146, 0.25);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(120% 100% at 0% 0%, #ffe0ee 0%, transparent 52%),
    radial-gradient(90% 70% at 100% 15%, #ffe3cd 0%, transparent 45%),
    linear-gradient(165deg, var(--bg), var(--bg-2));
  overflow-x: hidden;
}

.rain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.drop {
  position: absolute;
  top: -10vh;
  font-size: clamp(0.8rem, 1.8vw, 1.15rem);
  opacity: 0.75;
  animation: pour linear infinite;
}

@keyframes pour {
  to {
    transform: translateY(120vh) rotate(18deg);
    opacity: 0.2;
  }
}

.hero,
.layout,
footer {
  position: relative;
  z-index: 2;
}

.hero {
  width: min(1000px, 92vw);
  margin: 2.2rem auto 1rem;
  padding: 1.6rem;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(4px);
}

.kicker {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.8rem;
}

h1 {
  margin: 0.35rem 0;
  font-size: clamp(2rem, 7vw, 3.6rem);
  font-family: "Zen Kurenaido", sans-serif;
}

.hero p {
  margin: 0.2rem 0 0;
}

.hero-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.layout {
  width: min(1000px, 92vw);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.panel {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(115, 52, 78, 0.08);
}

.panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.tea-panel {
  border-left: 0.4rem solid var(--tea);
}

.facts {
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.5rem;
}

.facts div {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px dashed rgba(76, 44, 59, 0.18);
  padding-bottom: 0.3rem;
}

.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }

.repo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.7rem;
}

.repo-card {
  border: 1px solid rgba(76, 44, 59, 0.14);
  border-radius: 0.8rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
}

.repo-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.repo-card h3 a {
  color: inherit;
  text-decoration: none;
}

.meta,
.muted {
  color: var(--muted);
  font-size: 0.88rem;
}

footer {
  width: min(1000px, 92vw);
  margin: 0 auto 2rem;
  padding: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

footer a {
  color: var(--accent-strong);
  font-weight: 700;
}

@media (max-width: 820px) {
  .layout {
    grid-template-columns: 1fr;
  }
}
