/* ==========================================================================
   KIOTSO STORE — CUTE & REFINED PASTEL NEO-BRUTALIST BIO LINK
   ========================================================================== */

:root {
  /* Pastel Cute Palette (Unicorn Theme Default) */
  --bg-main: #FFFDF9;
  --bg-card: #FFFFFF;
  --bg-pink: #FFC2D1;
  --bg-butter: #E0DCFC;
  
  --ink-primary: #2D3436;
  --pure-white: #FFFFFF;

  --pastel-pink: #FFB5C5;
  --pastel-yellow: #BFB9F9;
  --pastel-mint: #B7E4C7;
  --pastel-blue: #BAE7FF;
  --pastel-purple: #E9D5FF;
  --pastel-coral: #FFAAA6;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Refined Brutalist Strokes & Shadows */
  --border-thick: 2.5px solid var(--ink-primary);
  --border-medium: 2px solid var(--ink-primary);
  --border-thin: 1.5px solid var(--ink-primary);

  --shadow-sm: 2.5px 2.5px 0px var(--ink-primary);
  --shadow-md: 4px 4px 0px var(--ink-primary);
  --shadow-lg: 6px 6px 0px var(--ink-primary);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  --transition-snappy: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(#E8E0D5 1.2px, transparent 1.2px),
    radial-gradient(#E8E0D5 1.2px, var(--bg-main) 1.2px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth);
}

body.mode-deck {
  background-color: var(--bg-pink);
  background-image: none;
  overflow: hidden;
  height: 100vh;
}

/* Ensure complete hiding between Bio and Deck modes */
.hidden,
#bio-view.hidden,
.bio-layout.hidden,
body.mode-deck #bio-view,
body.mode-deck .bio-layout {
  display: none !important;
}

body.mode-bio #deck-view,
body.mode-bio .deck-layout,
.deck-layout.hidden,
#deck-view.hidden {
  display: none !important;
}

::selection {
  background: var(--pastel-yellow);
  color: var(--ink-primary);
}

/* HIGHLIGHTER */
.highlighter {
  display: inline;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.highlighter--yellow {
  background: var(--pastel-yellow);
  color: var(--ink-primary);
}

.highlighter--lime {
  background: #A7F3D0;
  color: var(--ink-primary);
}

.highlighter--pink {
  background: var(--pastel-pink);
  color: var(--ink-primary);
}

/* CUTE TAPE */
.tape {
  position: absolute;
  height: 22px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(3px);
  border-left: 2px dashed rgba(45, 52, 54, 0.2);
  border-right: 2px dashed rgba(45, 52, 54, 0.2);
  z-index: 5;
  pointer-events: none;
}

.tape--center {
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  width: 100px;
}

.sticky-tape {
  position: absolute;
  top: -10px;
  left: 20px;
  width: 80px;
  height: 20px;
  background: rgba(255, 255, 255, 0.85);
  border-left: 2px dashed rgba(45, 52, 54, 0.2);
  border-right: 2px dashed rgba(45, 52, 54, 0.2);
  transform: rotate(2deg);
  z-index: 4;
}

.avatar-pin, .card-pin {
  position: absolute;
  font-size: 1.3rem;
  top: -10px;
  right: -6px;
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 6;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 8px 16px;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-medium);
}

body.mode-deck .top-nav {
  background: rgba(255, 194, 209, 0.95);
}

.top-nav__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand-tag {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  background: var(--ink-primary);
  color: var(--pure-white);
  padding: 3px 8px;
  border-radius: 6px;
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
  cursor: pointer;
  user-select: none;
  transition: transform var(--transition-snappy), background var(--transition-snappy);
}

.brand-logo-text:hover {
  transform: scale(1.05);
}

.brand-logo-text:active {
  transform: scale(0.95);
}

/* ==========================================================================
   THEME SWITCH: UNICORN LÀ MẶC ĐỊNH (#BFB9F9), TONE VÀNG (#FFE58F) LÀ PHỤ
   ========================================================================== */
body.theme-yellow {
  --pastel-yellow: #FFE58F;
  --bg-butter: #FFF0A6;
}

body.theme-yellow .highlighter--yellow,
body.theme-yellow .tag--yellow,
body.theme-yellow .btn-cta--yellow,
body.theme-yellow .btn-floating-top,
body.theme-yellow .brand-badge,
body.theme-yellow .price-current,
body.theme-yellow .badge--yellow,
body.theme-yellow .footer-quote-box {
  background: #FFE58F !important;
  color: #2D3436 !important;
}

body.theme-yellow .card-icon-box.bg-yellow {
  background: #FFE58F !important;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--pastel-yellow);
  color: var(--ink-primary);
  padding: 2px 6px;
  border: var(--border-thin);
  border-radius: 4px;
}

.top-actions,
.top-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mode-switch-wrapper {
  display: flex;
  background: var(--pure-white);
  border: var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 2px;
  box-shadow: var(--shadow-sm);
}

.mode-switch-wrapper--desktop {
  display: flex;
}

.mobile-mode-bar {
  display: none !important;
}

.btn-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  background: transparent;
  padding: 4px 10px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-primary);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-snappy);
}

.btn-toggle.active {
  background: var(--ink-primary);
  color: var(--pure-white);
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: var(--pure-white);
  color: var(--ink-primary);
  border: var(--border-medium);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-snappy);
  flex-shrink: 0;
}

.btn-action:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-md);
  background: #FFFDF0;
}

.btn-action:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--ink-primary);
}

.btn-sound {
  position: relative;
}

.sound-icon {
  font-size: 0.95rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-share {
  position: relative;
}

.share-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ==========================================================================
   VIEW 1: BIO LAYOUT
   ========================================================================== */
.bio-layout {
  padding: 24px 16px 70px;
}

.container--bio {
  max-width: 660px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* HERO PROFILE CARD */
.profile-card {
  position: relative;
  background: var(--pure-white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  box-shadow: var(--shadow-lg);
}

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E8FDF3;
  color: #065F46;
  border: 1.5px solid #10B981;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
}

.status-dot.pulse {
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.profile-identity {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

@keyframes avatarFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(0.8deg);
  }
}

@keyframes avatarWiggle {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.08) rotate(-5deg); }
  50% { transform: scale(1.1) rotate(5deg); }
  75% { transform: scale(1.04) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  animation: avatarFloat 3.8s ease-in-out infinite;
  cursor: pointer;
  user-select: none;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar-wrapper:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.03);
}

.avatar-wrapper:active {
  transform: scale(0.95);
}

.avatar-wrapper.is-wiggling {
  animation: avatarWiggle 0.45s ease-in-out !important;
}

.avatar-frame {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  border: var(--border-thick);
  background: var(--pastel-pink);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-cute-logo {
  font-size: 2.8rem;
  user-select: none;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.avatar-cute-logo .avatar-img,
.avatar-cute-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.avatar-cute-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.avatar-stamp {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: #FF5E7E;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  border: 1px solid var(--ink-primary);
  white-space: nowrap;
  z-index: 2;
}

.profile-info {
  flex: 1;
}

.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #64748B;
  margin-bottom: 2px;
}

.profile-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.name-main {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.role-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--pastel-yellow);
  color: var(--ink-primary);
  border: var(--border-thin);
  border-radius: 4px;
  padding: 2px 7px;
}

.profile-tagline {
  font-size: 0.925rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.55;
  margin-bottom: 14px;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 8px;
  border: var(--border-thin);
  border-radius: var(--radius-pill);
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
}

.tag--pink { background: var(--pastel-pink); }
.tag--yellow { background: var(--pastel-yellow); }
.tag--cyan { background: var(--pastel-blue); }
.tag--purple { background: var(--pastel-purple); }

/* TRUST STRIP */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
}

/* SOCIAL & WEBSITE BUTTONS */
.profile-socials {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px dashed #E2E8F0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F8F9FA;
  color: var(--ink-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 700;
  padding: 5px 10px;
  border: var(--border-medium);
  border-radius: var(--radius-sm);
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
  transition: all var(--transition-snappy);
}

.social-btn:hover {
  background: var(--pastel-yellow);
  transform: translate(-1px, -1px);
  box-shadow: 2.5px 2.5px 0px var(--ink-primary);
}

.social-btn--primary {
  background: var(--pastel-yellow);
  font-weight: 800;
}

/* RECRUIT CTV CUTE BANNER */
.banner-section {
  margin-top: -4px;
}

.cute-alert-banner {
  background: #FEF3C7;
  border: var(--border-thick);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner-icon {
  font-size: 1.4rem;
}

.banner-text {
  font-size: 0.825rem;
  line-height: 1.4;
  color: #92400E;
}

.banner-text strong {
  display: block;
  font-size: 0.875rem;
  color: #78350F;
}

.btn-banner-action {
  background: var(--ink-primary);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: var(--border-thin);
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
  transition: all var(--transition-snappy);
  white-space: nowrap;
}

.btn-banner-action:hover {
  background: #4B5563;
  transform: translate(-1px, -1px);
}

/* ==========================================================================
   FILTER TABS (PILLS)
   ========================================================================== */
.filter-section {
  overflow-x: auto;
  padding: 4px 0 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-section::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.filter-pills {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 2px 4px;
}

.filter-pills::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.filter-pill {
  border: var(--border-medium);
  background: var(--pure-white);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-snappy);
}

.filter-pill:hover {
  background: #FFFDF0;
  transform: translate(-1px, -1px);
}

.filter-pill.active {
  background: var(--ink-primary);
  color: var(--pure-white);
}

/* ==========================================================================
   SERVICES & PRODUCT CARDS
   ========================================================================== */
.links-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.link-card {
  position: relative;
  background: var(--pure-white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-snappy), box-shadow var(--transition-snappy);
}

.link-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px var(--ink-primary);
}

.link-card.hidden-card {
  display: none;
}

.link-card--featured {
  background: #FFFDF7;
}

.link-card--sticky {
  background: #FFFBEB;
  transform: rotate(-0.5deg);
}

.link-card--sticky:hover {
  transform: rotate(0deg) translate(-2px, -2px);
}

/* BADGES */
.card-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  border: var(--border-thin);
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
}

.badge--flame { background: #FF5E7E; color: #fff; }
.badge--mono { background: #F1F5F9; color: var(--ink-primary); }
.badge--stat { background: var(--pastel-yellow); color: var(--ink-primary); }
.badge--pink { background: var(--pastel-pink); }
.badge--cyan { background: var(--pastel-blue); }
.badge--green { background: #A7F3D0; color: #065F46; }
.badge--yellow { background: var(--pastel-yellow); }

.discount-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  background: #EF4444;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--ink-primary);
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
}

/* BODY */
.card-body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.card-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  border: var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px var(--ink-primary);
}

.bg-yellow { background: var(--pastel-yellow); }
.bg-cyan { background: var(--pastel-blue); }
.bg-pink { background: var(--pastel-pink); }
.bg-purple { background: var(--pastel-purple); }

.icon-emoji {
  font-size: 1.3rem;
}

.card-text {
  flex: 1;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.5;
}

/* PERKS */
.product-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0 14px;
  padding: 8px 12px;
  background: #F8FAFC;
  border: 1.5px dashed #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #334155;
}

.product-perks li {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* SERVICES EXPANDED GRID */
.services-ext-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0 16px;
}

.service-ext-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #FFFDF9;
  border: 1.5px solid var(--ink-primary);
  border-radius: var(--radius-sm);
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
  transition: transform var(--transition-snappy), box-shadow var(--transition-snappy);
}

.service-ext-item:hover {
  transform: translate(-1px, -1px);
  box-shadow: 2.5px 2.5px 0px var(--ink-primary);
}

.service-ext-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.service-ext-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ink-primary);
  margin-bottom: 2px;
}

.service-ext-item p {
  font-size: 0.78rem;
  color: #4B5563;
  line-height: 1.4;
  margin: 0;
}

/* FOOTER & BUTTONS */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1.5px dashed #E2E8F0;
}

.product-price-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748B;
}

.price-current {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink-primary);
  background: var(--pastel-yellow);
  padding: 2px 8px;
  border: var(--border-thin);
  border-radius: 6px;
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
}

.price-free {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #065F46;
  background: #A7F3D0;
  padding: 2px 8px;
  border: var(--border-thin);
  border-radius: 6px;
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-notes-peek {
  background: #F8FAFC;
  color: var(--ink-primary);
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  padding: 5px 8px;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 1px 1px 0px var(--ink-primary);
  transition: all var(--transition-snappy);
}

.btn-notes-peek:hover {
  background: var(--pastel-yellow);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: var(--radius-md);
  border: var(--border-medium);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-snappy);
}

.btn-cta--primary {
  background: var(--pastel-yellow);
  color: var(--ink-primary);
}

.btn-cta--dark {
  background: var(--ink-primary);
  color: var(--pure-white);
}

.btn-cta--outline {
  background: var(--pure-white);
  color: var(--ink-primary);
}

.btn-cta--yellow {
  background: var(--pastel-yellow);
  color: var(--ink-primary);
}

.btn-cta:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-md);
}

.btn-cta:active {
  transform: translate(1.5px, 1.5px);
  box-shadow: 0px 0px 0px;
}

.btn-cta .arrow {
  font-size: 1rem;
}

/* PRESENTER NOTE ACCORDION */
.presenter-note-box {
  display: none;
  position: relative;
  margin-top: 12px;
  background: #FFFDF0;
  border: 1.5px solid var(--ink-primary);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: 2px 2px 0px var(--ink-primary);
  animation: note-reveal 0.2s ease-out;
}

.presenter-note-box.active {
  display: block;
}

@keyframes note-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.note-tape {
  position: absolute;
  top: -7px;
  left: 16px;
  width: 50px;
  height: 14px;
  background: rgba(255, 230, 0, 0.4);
}

.note-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.note-author {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: #B45309;
}

.btn-close-note {
  border: none;
  background: transparent;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 800;
}

.note-content {
  font-size: 0.825rem;
  color: #334155;
  line-height: 1.5;
}

/* ==========================================================================
   COMMITMENT & TRUST SECTION
   ========================================================================== */
.commit-card {
  background: var(--pure-white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-md);
}

.commit-header {
  margin-bottom: 16px;
}

.commit-badge {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 800;
  background: var(--pastel-pink);
  padding: 2px 8px;
  border-radius: 4px;
  border: var(--border-thin);
}

.commit-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: 6px;
}

.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.commit-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #F8FAFC;
  border: var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
}

.commit-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.commit-item strong {
  display: block;
  font-size: 0.825rem;
  margin-bottom: 2px;
}

.commit-item p {
  font-size: 0.75rem;
  color: #64748B;
  line-height: 1.4;
}

/* ==========================================================================
   EASTER EGG RUNAWAY BUTTON
   ========================================================================== */
.link-card--easteregg {
  background: #FFF1F2;
  border-color: var(--ink-primary);
  overflow: hidden;
}

.easteregg-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0;
}

.easteregg-badge {
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 800;
  background: var(--pastel-pink);
  padding: 2px 8px;
  border: var(--border-thin);
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
}

.easteregg-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.easteregg-desc {
  font-size: 0.85rem;
  color: #64748B;
  max-width: 440px;
  margin-bottom: 16px;
}

.runaway-container {
  position: relative;
  width: 100%;
  height: 105px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.btn-runaway {
  position: absolute;
  top: 6px;
  background: #FF5E7E;
  color: #FFFFFF;
  border: var(--border-thick);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  transition: top 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.btn-runaway:hover {
  background: #F43F5E;
}

.runaway-taunt-text {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 700;
  color: #BE123C;
  min-height: 22px;
  pointer-events: none;
  z-index: 5;
}

.easteregg-hint {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 10px;
}

/* ==========================================================================
   DESK TOOLBAR (STAMP BOARD)
   ========================================================================== */
.desk-toolbar {
  background: var(--pure-white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.desk-toolbar__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 8px;
}

.stamp-palette {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.stamp-btn {
  background: #F8FAFC;
  color: var(--ink-primary);
  border: var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
  transition: all var(--transition-snappy);
}

.stamp-btn:hover {
  background: var(--pastel-yellow);
  transform: translate(-1px, -1px);
}

.stamp-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 0px 0px 0px;
}

.stamp-btn--heart {
  background: #FFE4E6;
  color: #BE123C;
  border-color: #FB7185;
}

.stamp-btn--heart:hover {
  background: #FECDD3;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 2px 2px 0px #BE123C;
}

.stamp-btn--heart:active {
  transform: scale(0.94);
  box-shadow: 0px 0px 0px;
}

.stamp-btn--clear {
  background: #FEE2E2;
  color: #B91C1C;
}

/* PLACED STAMP */
.stamp-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99;
}

@keyframes stampGentleFloat {
  0%, 100% {
    transform: var(--stamp-rot, rotate(0deg)) translateY(0px);
  }
  50% {
    transform: var(--stamp-rot, rotate(0deg)) translateY(-6px);
  }
}

.placed-stamp {
  position: absolute;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.8rem;
  border: 2px solid;
  pointer-events: auto;
  cursor: grab;
  user-select: none;
  animation: stamp-drop 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, stampGentleFloat 3.8s ease-in-out infinite alternate 0.2s;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.18);
  transition: box-shadow 0.15s ease;
}

.placed-stamp:hover {
  box-shadow: 4px 4px 0px rgba(0,0,0,0.24);
}

@keyframes stamp-drop {
  from { transform: scale(2.2); opacity: 0; }
  to { transform: var(--stamp-rot, scale(1)); opacity: 0.95; }
}

.placed-stamp--love {
  background: #FFE4E6;
  color: #E11D48;
  border-color: #E11D48;
}

.placed-stamp--star {
  background: #FEF08A;
  color: #854D0E;
  border-color: #854D0E;
}

.placed-stamp--fast {
  background: #E0F2FE;
  color: #0369A1;
  border-color: #0369A1;
}

.placed-stamp--approved {
  background: #DCFCE7;
  color: #15803D;
  border-color: #15803D;
}

/* ==========================================================================
   FLOATING HEARTS & CONFETTI PARTICLES
   ========================================================================== */
.floating-hearts-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
  overflow: hidden;
}

.floating-heart-particle {
  position: fixed;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  animation: floatHeartUp 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  filter: drop-shadow(0 2px 4px rgba(225, 29, 72, 0.25));
}

@keyframes floatHeartUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 0) scale(0.4) rotate(0deg);
  }
  15% {
    opacity: 1;
    transform: translate(calc(-50% + var(--drift-x, 10px)), -45px) scale(1.15) rotate(var(--rot-mid, 10deg));
  }
  70% {
    opacity: 0.9;
    transform: translate(calc(-50% - var(--drift-x, 10px)), -150px) scale(1) rotate(var(--rot-end, -10deg));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--drift-x, 15px)), -240px) scale(0.65) rotate(0deg);
  }
}

.confetti-particle {
  position: fixed;
  pointer-events: none;
  z-index: 100000;
  will-change: transform, opacity;
  animation: confettiBurst 1.1s cubic-bezier(0.12, 0.8, 0.33, 1) forwards;
}

@keyframes confettiBurst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--confetti-x), var(--confetti-y)) scale(0.4) rotate(var(--confetti-rot));
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-card {
  background: var(--pure-white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.footer-quote-box {
  display: inline-block;
  background: var(--pastel-yellow);
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
  margin-bottom: 12px;
}

.footer-quote {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer-copy {
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 0;
}

.footer-copy a {
  color: var(--ink-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   FLOATING QUICK CONTACT DOCK (Zalo & Telegram) & BACK TO TOP
   ========================================================================== */
.floating-contact-dock {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.floating-contact-dock.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--pure-white);
  border: var(--border-thick);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-snappy);
  position: relative;
}

.float-contact-btn--tele {
  background: #F0F9FF;
}

.float-contact-btn--zalo {
  background: #FFFFFF;
}

.float-contact-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

.float-contact-btn--tele:hover {
  background: #E0F2FE;
}

.float-contact-btn--zalo:hover {
  background: #F8FAFC;
}

.float-contact-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--ink-primary);
}

.float-brand-icon {
  display: block;
  pointer-events: none;
}

.float-pulse-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #10B981;
  border-radius: 50%;
  border: 1.5px solid var(--ink-primary);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 1.8s infinite;
  pointer-events: none;
}

.btn-floating-top {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--pastel-yellow);
  border: var(--border-thick);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink-primary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  z-index: 998;
  cursor: pointer;
  transition: all var(--transition-snappy);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

.btn-floating-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-floating-top:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
  background: var(--pastel-pink);
}

.btn-floating-top:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--ink-primary);
}

/* Hide floating docks in Slide Deck mode */
body.mode-deck .floating-contact-dock,
body.mode-deck .btn-floating-top {
  display: none !important;
}

/* ==========================================================================
   VIEW 2: SLIDE SHOWCASE
   ========================================================================== */
.deck-layout {
  position: fixed;
  top: 53px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 53px);
  background: var(--bg-pink);
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.deck-layout.hidden {
  display: none;
}

.deck-viewport {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.slide-item {
  position: absolute;
  width: 100%;
  max-width: 800px;
  min-height: 420px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96) translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-item.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}

.slide-container {
  position: relative;
  width: 100%;
  background: var(--pure-white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}

.slide-item[data-theme="pink"] .slide-container { background: #FFF5F7; }
.slide-item[data-theme="paper"] .slide-container { background: #FDFBF7; }
.slide-item[data-theme="cyan"] .slide-container { background: #F0F9FF; }

.slide-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 800;
  color: #64748B;
  margin-bottom: 20px;
  border-bottom: 1.5px dashed #CBD5E1;
  padding-bottom: 10px;
}

.slide-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  color: #64748B;
  margin-bottom: 6px;
}

.slide-mega-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.slide-mega-subtitle {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}

.slide-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.slide-body-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.6;
  max-width: 640px;
}

.slide-footer-hint {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748B;
}

/* DECK PROJECTS */
.deck-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.deck-project-card {
  background: var(--pure-white);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.deck-project-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  margin: 8px 0 4px;
}

.deck-project-card p {
  font-size: 0.825rem;
  color: #475569;
  line-height: 1.4;
  flex: 1;
  margin-bottom: 12px;
}

.link-deck-cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink-primary);
  text-decoration: underline;
}

/* BELIEFS */
.beliefs-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.belief-row {
  display: flex;
  flex-direction: column;
  background: var(--pure-white);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}

.belief-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 900;
  color: #FF5E7E;
}

.belief-headline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 2px 0;
}

.belief-annotation {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #64748B;
}

/* DECK ACTIONS */
.deck-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn-deck-main {
  background: var(--pastel-yellow);
  color: var(--ink-primary);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-snappy);
}

.btn-deck-main:hover {
  transform: translate(-1.5px, -1.5px);
  box-shadow: var(--shadow-lg);
}

.btn-deck-sub {
  background: var(--pure-white);
  color: var(--ink-primary);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-snappy);
}

.btn-deck-sub:hover {
  background: #F8FAFC;
  transform: translate(-1px, -1px);
}

/* DECK NAV BAR */
.deck-nav-bar {
  height: 56px;
  background: var(--pure-white);
  border-top: var(--border-thick);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.deck-nav-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deck-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--pure-white);
  border: var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.deck-slide-counter {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
}

.deck-dots {
  display: flex;
  gap: 6px;
}

.deck-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink-primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-snappy);
}

.deck-dot.active {
  background: var(--ink-primary);
  transform: scale(1.2);
}

.deck-notes-toggle-btn {
  background: #F8FAFC;
  border: var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   DRAWER & MODAL
   ========================================================================== */
.presenter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--ink-primary);
  color: var(--pure-white);
  border-top: var(--border-thick);
  z-index: 200;
  box-shadow: 0 -6px 0px rgba(0,0,0,0.15);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.presenter-drawer.closed {
  transform: translateY(100%);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #1E293B;
  border-bottom: 1px solid #334155;
}

.drawer-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--pastel-yellow);
}

.btn-icon-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 800;
}

.drawer-body {
  padding: 16px 20px;
  max-width: 720px;
  margin: 0 auto;
}

#drawer-note-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #F8FAFC;
}

/* MODAL */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(45, 52, 54, 0.5);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-window {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--pure-white);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: var(--shadow-lg);
  animation: modal-pop 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modal-pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(1deg);
  width: 80px;
  height: 20px;
  background: rgba(255, 230, 0, 0.6);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.qr-code-box {
  position: relative;
  width: 170px;
  height: 170px;
  background: var(--pure-white);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-md);
  margin-bottom: 10px;
}

.qr-svg {
  width: 100%;
  height: 100%;
  shape-rendering: crispEdges;
  display: block;
}

.qr-caption {
  font-size: 0.8rem;
  color: #64748B;
  text-align: center;
}

.share-input-row {
  display: flex;
  gap: 6px;
}

.share-input-row input {
  flex: 1;
  background: #F8FAFC;
  border: var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-primary);
  outline: none;
}

.btn-copy {
  background: var(--ink-primary);
  color: #fff;
  border: var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 1.5px 1.5px 0px var(--ink-primary);
}

/* TOAST */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink-primary);
  color: var(--pure-white);
  border: 2px solid var(--pastel-yellow);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: toast-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.hidden {
  display: none;
}

@keyframes toast-in {
  from { transform: translate(-50%, 15px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN (320px -> 768px+)
   ========================================================================== */

/* TABLET & MOBILE BREAKPOINT (<= 768px) */
@media (max-width: 768px) {
  .desktop-only { display: none !important; }

  .profile-identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-name { justify-content: center; }
  .profile-tags { justify-content: center; }
  .profile-socials { justify-content: center; width: 100%; }

  .commit-grid { grid-template-columns: 1fr; }
  .deck-projects-grid { grid-template-columns: 1fr; }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .card-actions {
    justify-content: space-between;
  }

  /* Deck Layout mobile adaptation */
  .deck-viewport {
    align-items: flex-start;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 14px 28px;
  }

  .slide-item {
    position: relative;
    min-height: auto;
    margin: auto 0;
    width: 100%;
  }

  .slide-item:not(.is-active) {
    display: none;
  }

  .slide-container { padding: 22px 18px; }
  .slide-mega-title { font-size: 2.2rem; }
  .slide-title { font-size: 1.6rem; }

  .floating-contact-dock {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    left: 18px;
  }

  .btn-floating-top {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: 18px;
  }
}

/* MOBILE PHONES (<= 640px) */
@media (max-width: 640px) {
  .bio-layout {
    padding: 16px 12px calc(80px + env(safe-area-inset-bottom, 0px));
  }

  .container--bio {
    gap: 22px;
  }

  .profile-card {
    padding: 26px 18px 22px;
  }

  .profile-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .avatar-wrapper {
    margin-bottom: 2px;
  }

  .profile-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .eyebrow-tag {
    text-align: center;
    font-size: 0.725rem;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
  }

  .profile-name {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
  }

  .name-main {
    font-size: 1.85rem;
    line-height: 1.15;
  }

  .role-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
  }

  .profile-tagline {
    font-size: 0.9rem;
    line-height: 1.65;
    text-align: center;
    color: #334155;
    max-width: 480px;
    margin: 0 auto 16px;
  }

  .profile-tags {
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
  }

  .trust-strip {
    margin-top: 20px;
    padding: 11px 14px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 0.775rem;
  }

  .profile-socials {
    margin-top: 20px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .cute-alert-banner {
    padding: 12px 14px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 10px;
  }

  .banner-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .btn-banner-action {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: block;
    padding: 8px 12px;
  }

  .filter-section {
    margin: 0 -4px;
    padding: 2px 4px 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .filter-section::-webkit-scrollbar {
    display: none;
  }

  .filter-pill {
    padding: 6px 12px;
    font-size: 0.775rem;
  }

  .link-card {
    padding: 18px 15px;
  }

  .product-price-box {
    width: 100%;
    justify-content: space-between;
    margin-bottom: 2px;
  }

  .card-actions {
    width: 100%;
    display: flex;
    gap: 8px;
  }

  .btn-notes-peek {
    flex-shrink: 0;
    padding: 7px 10px;
  }

  .btn-cta {
    flex: 1;
    justify-content: center;
    padding: 8px 12px;
    text-align: center;
  }

  .services-ext-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-ext-item {
    padding: 9px 11px;
  }

  .runaway-container {
    height: 105px;
    max-width: 100%;
    overflow: hidden;
    padding-top: 4px;
  }

  .btn-runaway {
    font-size: 0.85rem;
    padding: 7px 16px;
    white-space: nowrap;
  }

  /* Top Nav on Mobile: Single row, clean & slim */
  .top-nav {
    padding: 8px 14px;
  }

  .top-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  /* Desktop switcher hidden on mobile header */
  .mode-switch-wrapper--desktop {
    display: none !important;
  }

  /* Mobile Mode Switcher sits directly below header in normal document flow - does NOT scroll with header */
  .mobile-mode-bar {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 6px 0 10px;
    margin: 0 auto;
  }

  .mobile-mode-bar .mode-switch-wrapper {
    display: flex;
    background: var(--pure-white);
    border: var(--border-medium);
    border-radius: var(--radius-pill);
    padding: 2px;
    box-shadow: var(--shadow-sm);
  }

  .mobile-mode-bar .btn-toggle {
    padding: 5px 14px;
    font-size: 0.8rem;
  }

  .mobile-mode-bar--deck {
    display: flex !important;
    justify-content: center;
    padding: 8px 0 4px;
    flex-shrink: 0;
    z-index: 60;
  }

  .deck-layout {
    top: 50px;
    height: calc(100vh - 50px);
  }

  .bio-layout {
    padding: 16px 12px calc(48px + env(safe-area-inset-bottom, 0px));
  }

  body.mode-deck .deck-nav-bar {
    padding-bottom: env(safe-area-inset-bottom, 0px);
    height: calc(54px + env(safe-area-inset-bottom, 0px));
    min-height: 54px;
  }

  .footer-card {
    padding: 18px 14px;
  }

  .floating-contact-dock {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    gap: 8px;
  }

  .float-contact-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .float-contact-btn svg {
    width: 24px;
    height: 24px;
  }

  .btn-floating-top {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    border-radius: 10px;
  }

  .modal-window {
    width: calc(100% - 28px);
    max-width: 360px;
  }
}

/* NARROW MOBILE / SMALL SCREENS (<= 480px) */
@media (max-width: 480px) {
  .top-nav {
    padding: 6px 12px;
  }

  .brand-logo-text {
    font-size: 0.95rem;
    padding: 2px 6px;
  }

  .brand-badge {
    font-size: 0.68rem;
    padding: 2px 5px;
  }

  .sound-label {
    display: none;
  }

  .top-actions .btn-action,
  .top-controls .btn-action {
    width: 32px;
    height: 32px;
    padding: 0;
  }

  .sound-icon {
    font-size: 0.9rem;
  }

  .share-icon {
    width: 15px;
    height: 15px;
  }

  .btn-toggle {
    padding: 4px 7px;
    font-size: 0.75rem;
    gap: 3px;
  }

  .profile-card {
    padding: 24px 14px 20px;
  }

  .avatar-frame {
    width: 86px;
    height: 86px;
    border-radius: 14px;
  }

  .name-main {
    font-size: 1.7rem;
  }

  .role-badge {
    font-size: 0.725rem;
    padding: 2px 7px;
  }

  .profile-tagline {
    font-size: 0.875rem;
    line-height: 1.62;
    color: #334155;
    margin-bottom: 14px;
  }

  .tag-pill {
    font-size: 0.72rem;
    padding: 4px 8px;
  }

  .profile-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 8px;
  }

  .social-btn {
    justify-content: center;
    padding: 9px 10px;
    font-size: 0.825rem;
    text-align: center;
  }

  .trust-strip {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    padding: 8px 12px;
  }

  .card-body {
    gap: 12px;
  }

  .card-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }

  .card-title {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .card-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: #475569;
  }

  .product-perks {
    font-size: 0.825rem;
    line-height: 1.5;
    gap: 7px;
  }

  .share-input-row {
    flex-direction: column;
    gap: 8px;
  }

  .share-input-row input {
    width: 100%;
    font-size: 0.75rem;
  }

  .btn-copy {
    width: 100%;
    text-align: center;
    padding: 8px 12px;
  }

  /* Deck mode compact controls */
  .deck-nav-bar {
    height: calc(50px + env(safe-area-inset-bottom, 0px));
    padding: 0 10px env(safe-area-inset-bottom, 0px);
  }

  .deck-nav-btn {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .deck-dots {
    gap: 4px;
  }

  .deck-dot {
    width: 8px;
    height: 8px;
  }

  .deck-slide-counter {
    font-size: 0.78rem;
  }

  .deck-notes-toggle-btn {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .slide-container {
    padding: 16px 14px;
  }

  .slide-mega-title {
    font-size: 1.75rem;
  }

  .slide-mega-subtitle {
    font-size: 1.1rem;
  }

  .slide-title {
    font-size: 1.35rem;
  }

  .slide-body-text {
    font-size: 0.88rem;
    line-height: 1.5;
  }
}

/* EXTRA SMALL SCREENS (<= 360px) */
@media (max-width: 360px) {
  .brand-badge {
    display: none;
  }

  .mode-switch-wrapper .btn-toggle .label {
    font-size: 0.68rem;
  }

  .profile-socials {
    grid-template-columns: 1fr;
  }

  .name-main {
    font-size: 1.35rem;
  }

  .float-contact-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .float-contact-btn svg {
    width: 18px;
    height: 18px;
  }

  .btn-floating-top {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
    border-radius: 8px;
  }
}

/* ACCESSIBILITY: REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .avatar-wrapper,
  .placed-stamp,
  .floating-heart-particle,
  .confetti-particle {
    animation: none !important;
    transition: none !important;
  }
}

