@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

:root {
  --forest: #111813;
  --forest-deep: #0D140F;
  --sage: #D7E7B9;
  --sage-dark: #234D35;
  --sage-btn: #1D432D;
  --sage-btn-hover: #153422;
  --ivory: #F3F2EA;
  --paper: #F6F5EF;
  --ink: #142019;
  --muted: #526157;
  --line: #C5CEC1;
  --card-bg: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  min-height: 100%;
  background-color: var(--paper);
  color: var(--ink);
  font-family: Montserrat, "Avenir Next", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px 40px;
  position: relative;
  overflow-x: hidden;
}

.paper-texture {
  position: fixed;
  inset: 0;
  background-image: url('assets/paper-grain.svg');
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.bio-container {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-inline: auto;
}

/* ── Header ── */
.bio-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 24px;
  width: 100%;
}

.avatar-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1A3828, #111813);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(17, 24, 19, 0.15), 0 0 0 4px #FFFFFF;
  margin-bottom: 14px;
}

.avatar-img {
  width: 42px;
  height: 42px;
  filter: brightness(0) invert(1);
}

.handle {
  font-size: 15px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.headline {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 340px;
}

/* ── Video Card ── */
.video-card {
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(17, 24, 19, 0.22), 0 0 0 1px rgba(20, 32, 25, 0.08);
  margin-bottom: 20px;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 19, 0.25);
  cursor: pointer;
  transition: opacity 0.25s ease, backdrop-filter 0.25s ease;
  backdrop-filter: blur(2px);
}

.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--sage-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.video-card:hover .play-btn {
  transform: scale(1.08);
  background: #FFFFFF;
}

.duration-badge {
  position: absolute;
  right: 14px;
  bottom: 12px;
  background: rgba(17, 24, 19, 0.85);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  backdrop-filter: blur(4px);
}

.video-card.is-playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

/* ── CTA Buttons ── */
.cta-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.btn {
  width: 100%;
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
  user-select: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--sage-btn);
  color: #FFFFFF;
  border: 1px solid var(--sage-btn);
  box-shadow: 0 6px 18px rgba(29, 67, 45, 0.24);
}

.btn-primary:hover {
  background-color: var(--sage-btn-hover);
  border-color: var(--sage-btn-hover);
  box-shadow: 0 8px 22px rgba(29, 67, 45, 0.32);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--sage-btn);
  border: 2px solid var(--sage-btn);
  box-shadow: 0 4px 12px rgba(20, 32, 25, 0.04);
}

.btn-secondary:hover {
  background-color: #F8FAF7;
  border-color: var(--sage-btn-hover);
  color: var(--sage-btn-hover);
}

/* ── Footer ── */
.bio-footer {
  text-align: center;
  margin-top: 8px;
  padding-top: 16px;
}

.footer-logo {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--forest);
  margin-bottom: 4px;
}

.footer-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
