:root {
  --bg: #f3f8ff;
  --bg-dot: #dce9f9;
  --surface: #ffffff;
  --ink: #1e2430;
  --muted: #526074;
  --teo-yellow: #f6c343;
  --teo-yellow-hover: #ffd15c;
  --lia-teal: #2bb3a3;
  --lia-teal-soft: #e6f7f5;
  --yt-red: #ff3b30;
  --border: 2px solid var(--ink);
  --shadow: 0 4px 0 var(--ink);
  --shadow-sm: 0 2px 0 var(--ink);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image: radial-gradient(var(--bg-dot) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 520px;
  margin: 0 auto;
  padding: 28px 16px 48px;
}

/* Cabeçalho */
.hero {
  text-align: center;
  margin-bottom: 24px;
}

.avatar-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #9ad1ff;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero h1 {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.handle {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}

.tagline {
  margin: 10px auto 0;
  max-width: 36ch;
  font-size: 0.98rem;
  color: var(--ink);
}

/* Canais rápidos */
.channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}

.btn-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.btn-channel:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-channel:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--ink);
}

.btn-channel--yt {
  background: #fff5f5;
}

.btn-channel--tt {
  background: #f2fbfa;
}

/* Seção vitrine */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.section-sub {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--surface);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.card--featured {
  background: #fff9e6;
}

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

.card:active {
  transform: translateY(2px);
  box-shadow: var(--shadow-sm);
}

.card--disabled {
  opacity: 0.72;
  cursor: default;
}

.card--disabled:hover,
.card--disabled:active {
  transform: none;
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--lia-teal-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.badge--tag {
  background: #eef3fb;
}

.card-title {
  font-family: "Fredoka", system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0;
}

.card-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  margin-top: 2px;
  border: var(--border);
  border-radius: 11px;
  background: var(--teo-yellow);
  color: var(--ink);
  font-family: "Fredoka", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.card:hover .card-cta {
  background: var(--teo-yellow-hover);
}

.card--disabled .card-cta {
  background: #e9eef5;
  color: var(--muted);
}

.empty-state {
  padding: 20px 16px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px dashed #bcc9da;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

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