/* K-METHOD — home / bio link page */
/* Brand tokens kept in sync with /assets/sales.css */

/* Self-hosted fonts (previously Google Fonts CDN) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lora-latin-italic-400.woff2') format('woff2');
}

:root {
  --ink: #0b2430;
  --paper: #ffffff;
  --teal-deep: #04222c;
  --teal: #04303d;
  --teal-light: #0d5a6e;
  --accent: #16b3a3;      /* buttonColor / shadow glow, matches original bio page */
  --red: #cd2e28;         /* BONUS EXCLUSIVE — identical to original */
  --red-dark: #a82420;
  --gold: #f2b705;
  --line: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100svh;
  font-family: 'Lora', serif;
  color: #ffffff;
  background:
    radial-gradient(1100px 700px at 50% -10%, var(--teal-light) 0%, transparent 60%),
    linear-gradient(180deg, var(--teal-deep) 0%, var(--teal) 55%, var(--teal-deep) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

h1, h2 { font-family: 'Archivo', sans-serif; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* TOP MARQUEE / URGENCY BAR */
.top-bar {
  display: block;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--red);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.top-bar-track {
  display: inline-flex;
  width: max-content;
  animation: marquee 18s linear infinite;
  padding: 9px 0;
}

.top-bar-item {
  display: inline-block;
  padding: 0 2rem;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .top-bar-track { animation: none; }
}

/* LAYOUT */
.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}

/* PROFILE HEADER */
.profile {
  text-align: center;
  margin-bottom: 28px;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.55);
}

.brand {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.tagline {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.tagline strong { color: var(--gold); font-weight: 700; }

/* STACK OF LINK BLOCKS */
.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

/* Generic pill button — mirrors original bio page's "inline-round" buttons */
.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.pill-bonus {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(22, 179, 163, 0.6), 0 10px 30px -8px rgba(0, 0, 0, 0.5);
  animation: tada 2.6s ease-in-out infinite;
}

.pill-bonus svg { flex: 0 0 auto; }

.pill-main {
  background: var(--accent);
  color: #04222c;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45);
}

.pill-main:hover { box-shadow: 0 14px 34px -8px rgba(0, 0, 0, 0.55); }

@keyframes tada {
  0%, 40%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(22, 179, 163, 0.55), 0 10px 30px -8px rgba(0, 0, 0, 0.5); }
  10% { transform: scale(0.96) rotate(-1deg); }
  20% { transform: scale(1.04) rotate(1deg); box-shadow: 0 0 0 10px rgba(22, 179, 163, 0), 0 10px 30px -8px rgba(0, 0, 0, 0.5); }
  30% { transform: scale(1.02) rotate(-1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pill-bonus { animation: none; }
}

/* VIDEO CARD */
.video-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6);
}

.video-thumb {
  position: relative;
  aspect-ratio: 1110 / 720;
  background: #000;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.video-thumb-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.video-embed-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-badge svg {
  width: 62px;
  height: 62px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
  transition: transform 0.15s ease;
}

.video-thumb-trigger:hover .play-badge svg {
  transform: scale(1.08);
}

.video-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px 18px;
}

.video-card-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: #fff;
}

.video-card-cta {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
}

/* SOCIAL ICONS */
.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  list-style: none;
  margin-bottom: 32px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  transition: transform 0.15s ease, background 0.15s ease;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.socials svg { width: 19px; height: 19px; }

/* FOOTER */
.foot {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
