﻿:root {
  --bg: #f4efe6;
  --bg-soft: #fff8ec;
  --surface: #fffdf8;
  --text: #1f2937;
  --muted: #4b5563;
  --accent: #0f766e;
  --accent-2: #ea580c;
  --shadow: 0 18px 36px rgba(24, 39, 75, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 15%, #fff7e8 0%, var(--bg) 42%),
              radial-gradient(circle at 90% 85%, #d8f3ee 0%, transparent 35%),
              var(--bg);
  line-height: 1.6;
  padding: 24px;
  position: relative;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(6px);
}

.bg-shape-one {
  width: 280px;
  height: 280px;
  top: -40px;
  right: -60px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.4), rgba(37, 99, 235, 0.08));
}

.bg-shape-two {
  width: 220px;
  height: 220px;
  bottom: -40px;
  left: -50px;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.3), rgba(251, 191, 36, 0.1));
}

.hero,
.panel,
footer {
  max-width: 960px;
  margin: 0 auto 22px;
}

.hero {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 255, 252, 0.92));
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  border: 2px solid rgba(15, 118, 110, 0.3);
}

.tag {
  margin: 20px 0 6px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.78rem;
}

h1,
h2 {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  letter-spacing: -0.015em;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
}

.lead {
  max-width: 52ch;
  color: var(--muted);
  margin: 14px 0 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #0ea5a2);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.28);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(31, 41, 55, 0.2);
  background: rgba(255, 255, 255, 0.7);
}

.panel {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  padding: 24px;
  box-shadow: var(--shadow);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.repo-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.repo-card {
  border-radius: 16px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  background: linear-gradient(180deg, #fffefb, #fff7ef);
  padding: 16px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.repo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.35);
}

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

.repo-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.repo-meta {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #334155;
  display: flex;
  gap: 10px;
}

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

.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.links-row a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(234, 88, 12, 0.3);
}

footer {
  text-align: center;
  color: var(--muted);
  margin-top: 4px;
  padding-bottom: 8px;
}

.sync-note {
  margin-top: 6px;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 360ms ease, transform 360ms ease;
}

@media (max-width: 640px) {
  body {
    padding: 16px;
  }

  .hero {
    padding: 28px 20px;
  }

  .panel {
    padding: 20px;
  }
}
