/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * This project uses Propshaft for asset delivery.
 */

.hero-slide-frame {
  width: 100%;
  max-width: 28rem;
  overflow: hidden;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: #0a0a0b;
}

.hero-tw-reveal { opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.hero-tw-reveal.hero-tw-in { opacity: 1; transform: translateY(0); }
.hero-tw-cursor::after { content: "▍"; margin-left: 1px; animation: hero-tw-blink 1s steps(1) infinite; color: #fbbf24; }
.hero-tw-blink { animation: hero-tw-blink 1s steps(1) infinite; }
@keyframes hero-tw-blink { 50% { opacity: 0; } }

.hero-slide-content { height: 100%; width: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.hero-slide-content > *:first-child { box-sizing: border-box; }
.hero-slide-content [data-hero-action] { cursor: pointer; }

/* Original Pofile profile direction: dark, bold and creator-led. */
.classic-profile-shell {
  --classic-canvas: #1d1e20;
  --classic-ink: #ffffff;
  --classic-copy: #f2f2f3;
  --classic-muted: #929292;
  --classic-accent: #ffb313;
  background: #030712;
  color: var(--classic-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.classic-profile-card {
  display: flex;
  width: 100%;
  max-width: 33.6rem;
  min-height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-inline: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--classic-canvas);
  padding: clamp(1.2rem, 3.2svh, 2.5rem) clamp(1.45rem, 6vw, 2.7rem);
  text-align: center;
  box-sizing: border-box;
}

.classic-profile-shell.min-h-screen .classic-profile-card { min-height: 100svh; }
.classic-profile-identity { display: flex; flex-direction: column; align-items: center; }
.classic-profile-avatar-wrap { position: relative; margin-bottom: clamp(1.2rem, 3svh, 2rem); }
.classic-profile-avatar {
  width: clamp(7.7rem, 19svh, 12.5rem);
  height: clamp(7.7rem, 19svh, 12.5rem);
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: #2a2b2e;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.classic-profile-ai-badge {
  position: absolute;
  right: -0.2rem;
  bottom: -0.1rem;
  display: grid;
  width: clamp(2.7rem, 7svh, 3.6rem);
  height: clamp(2.7rem, 7svh, 3.6rem);
  place-items: center;
  border-radius: 999px;
  background: #ff9b0b;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.classic-profile-ai-badge svg { width: 48%; height: 48%; }
.classic-profile-name {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 6.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.classic-profile-tagline {
  margin: 0.7rem 0 0;
  color: var(--classic-accent);
  font-size: clamp(0.63rem, 1.5svh, 0.78rem);
  font-weight: 750;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.classic-profile-writing { margin: 0.75rem 0 0; color: rgba(255, 255, 255, 0.45); font-size: 0.78rem; }
.classic-profile-positioning {
  margin: clamp(1.3rem, 3.3svh, 2.15rem) auto 0;
  max-width: 29rem;
  color: var(--classic-copy);
  font-size: clamp(1.2rem, 3.2svh, 2rem);
  font-weight: 350;
  line-height: 1.34;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.classic-profile-highlight-accent { color: var(--classic-accent); font-weight: 760; }
.classic-profile-highlight-muted { color: var(--classic-muted); font-weight: 820; }
.classic-profile-credentials {
  display: flex;
  max-width: 29rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  margin-top: clamp(1.05rem, 2.4svh, 1.55rem);
}

.classic-profile-credentials span {
  display: inline-flex;
  min-height: 1.85rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  padding: 0.25rem 0.85rem;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(0.65rem, 1.45svh, 0.78rem);
  font-weight: 650;
  line-height: 1.2;
}

.classic-profile-actions {
  display: grid;
  width: 100%;
  gap: 0.75rem;
  margin-top: clamp(2rem, 5svh, 3.4rem);
}

.classic-profile-cta-header {
  margin: 0 auto 0.25rem;
  max-width: 28rem;
  color: var(--classic-accent);
  font-size: clamp(0.66rem, 1.5svh, 0.8rem);
  font-weight: 760;
  letter-spacing: 0.17em;
  line-height: 1.45;
  text-transform: uppercase;
  text-wrap: balance;
}

.classic-profile-button-row { display: flex; width: 100%; gap: 0.65rem; }
.classic-profile-talk-button {
  display: inline-flex;
  min-height: 3.6rem;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, #ffc51b 0%, #ffae16 48%, #ff731a 100%);
  color: #090909;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, filter 160ms ease;
}

.classic-profile-talk-button:hover { transform: translateY(-1px); filter: brightness(1.04); }
.classic-profile-talk-button:focus-visible, .classic-profile-train-button:focus-visible { outline: 3px solid rgba(255, 179, 19, 0.48); outline-offset: 3px; }
.classic-profile-talk-button svg { width: 1.2rem; height: 1.2rem; }
.classic-profile-train-button {
  min-height: 3.6rem;
  border: 1px solid rgba(255, 179, 19, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0 1rem;
  color: var(--classic-accent);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
}

.classic-profile-reassurance {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 450;
  line-height: 1.4;
}

@media (max-height: 720px) {
  .classic-profile-card { padding-block: 0.9rem; }
  .classic-profile-avatar-wrap { margin-bottom: 0.85rem; }
  .classic-profile-avatar { width: 6.6rem; height: 6.6rem; }
  .classic-profile-name { font-size: 1.6rem; }
  .classic-profile-tagline { margin-top: 0.45rem; }
  .classic-profile-positioning { margin-top: 0.9rem; font-size: 1.08rem; line-height: 1.3; }
  .classic-profile-credentials { margin-top: 0.72rem; gap: 0.35rem; }
  .classic-profile-credentials span { min-height: 1.55rem; padding: 0.15rem 0.65rem; font-size: 0.64rem; }
  .classic-profile-actions { margin-top: 1.15rem; gap: 0.5rem; }
  .classic-profile-talk-button, .classic-profile-train-button { min-height: 3rem; }
}

@media (min-width: 48rem) { .classic-profile-card { min-height: min(100svh, 60rem); aspect-ratio: 9 / 16; } }
@media (prefers-reduced-motion: reduce) { .classic-profile-talk-button { transition: none; } }
