/* ==========================================================================
   LISTIFY — LINKTREE CREATIVE DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- CSS Reset & Custom Properties --- */
:root,
[data-theme="dark"] {
  /* Font Families (Inter complete page) */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, monospace;

  /* Theme: Pure Luxury Monochrome Dark (Deep Pitch Black & Architectural White) */
  --bg-base: #000000;
  --bg-gradient: radial-gradient(circle at 50% -10%, #17171a 0%, #08080a 60%, #000000 100%);
  --surface-card: rgba(18, 18, 22, 0.78);
  --surface-card-hover: rgba(28, 28, 34, 0.92);
  --surface-card-border: rgba(255, 255, 255, 0.1);
  --surface-card-border-hover: rgba(255, 255, 255, 0.35);
  
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  
  --accent-cyan: #ffffff;
  --accent-purple: #e4e4e7;
  --accent-magenta: #ffffff;
  --accent-blue: #ffffff;
  --accent-glow: rgba(255, 255, 255, 0.12);
  --accent-grad: linear-gradient(135deg, #ffffff 0%, #d4d4d8 60%, #a1a1aa 100%);
  --accent-grad-rev: linear-gradient(135deg, #a1a1aa 0%, #d4d4d8 60%, #ffffff 100%);

  --card-radius: 20px;
  --badge-radius: 999px;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 8px 32px rgba(255, 255, 255, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Theme: Pure Luxury Monochrome Light (Pure Ceramic White & Deep Black) */
[data-theme="light"] {
  --bg-base: #ffffff;
  --bg-gradient: radial-gradient(circle at 50% -10%, #f4f4f5 0%, #fafafa 60%, #ffffff 100%);
  --surface-card: rgba(255, 255, 255, 0.92);
  --surface-card-hover: #ffffff;
  --surface-card-border: rgba(0, 0, 0, 0.08);
  --surface-card-border-hover: rgba(0, 0, 0, 0.28);
  
  --text-main: #000000;
  --text-muted: #52525b;
  --text-dim: #a1a1aa;
  
  --accent-cyan: #000000;
  --accent-purple: #18181b;
  --accent-magenta: #000000;
  --accent-blue: #000000;
  --accent-glow: rgba(0, 0, 0, 0.08);
  --accent-grad: linear-gradient(135deg, #000000 0%, #27272a 60%, #52525b 100%);
  --accent-grad-rev: linear-gradient(135deg, #52525b 0%, #27272a 60%, #000000 100%);

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  padding: 1.25rem 1rem 7rem;
  transition: background-color 0.4s ease, color 0.4s ease;
  user-select: none;
}

button, input, textarea, select {
  font-family: inherit;
}

/* Interactive Background Elements */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  transition: all 1s ease;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.glow-1 {
  width: 380px;
  height: 380px;
  top: -100px;
  left: 20%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
}

.glow-2 {
  width: 420px;
  height: 420px;
  top: 35%;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 70%);
  animation-duration: 22s;
  animation-delay: -5s;
}

.glow-3 {
  width: 350px;
  height: 350px;
  bottom: 5%;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 70%);
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
  100% { transform: translate(-30px, 50px) scale(0.95); }
}

/* Page Container (Centered Linktree Framing) */
.page-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-sizing: border-box;
}

/* Top Navigation & Status Bar */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0;
  background: transparent;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-main);
  min-width: 0;
  max-width: 65%;
}

.status-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-card-border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.icon-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.icon-btn:active {
  transform: translateY(0);
}

.highlight-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.highlight-btn:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

/* Profile Hero Section */
.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.avatar-wrapper {
  position: relative;
  width: 108px;
  height: 108px;
  cursor: default;
}

.avatar-ring {
  position: absolute;
  inset: -6px;
  border-radius: 30px;
  background: conic-gradient(from 0deg, #ffffff 0%, rgba(255, 255, 255, 0.1) 25%, #ffffff 50%, rgba(255, 255, 255, 0.2) 75%, #ffffff 100%);
  animation: spinRing 9s linear infinite;
  opacity: 0.85;
  filter: blur(4px);
}

.ring-secondary {
  inset: -3px;
  border-radius: 28px;
  filter: none;
  animation: spinRing 14s linear infinite reverse;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  background: #000000;
  border: 2px solid var(--surface-card-border-hover);
  box-shadow: var(--shadow-md), 0 0 24px var(--accent-glow);
  transition: transform 0.4s var(--transition-spring);
  z-index: 2;
}

.avatar-wrapper:hover .avatar-img {
  transform: scale(1.06) rotate(2deg);
}

.avatar-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-grad);
  border: 3px solid var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.avatar-badge svg {
  width: 14px;
  height: 14px;
}

.profile-title-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-main);
}

.verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #000000;
  box-shadow: 0 0 12px var(--accent-glow);
}

.verified-check svg {
  width: 14px;
  height: 14px;
  stroke: #000000;
  stroke-width: 1;
}

.profile-handle {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: -0.01em;
}

.profile-bio {
  width: 100%;
  max-width: 440px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
  box-sizing: border-box;
  padding: 0 0.5rem;
}

.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* Stats Row */
.stats-row {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--surface-card-border);
  border-radius: var(--badge-radius);
  margin-top: 0.2rem;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  box-sizing: border-box;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
}

/* Social Media Dock */
.social-dock {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-card-border);
  border-radius: var(--badge-radius);
  margin-top: 0.4rem;
  max-width: 100%;
  width: max-content;
  overflow: visible;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.social-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.social-icon svg {
  width: 17px;
  height: 17px;
}

.social-icon::after {
  content: attr(data-name);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(18, 18, 20, 0.95);
  border: 1px solid var(--surface-card-border);
  color: var(--text-main);
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.social-icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.social-icon:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- YOUTUBE VIDEO SECTION (END OF CARDS) --- */
.video-section {
  width: 100%;
}

.hero-video-card {
  width: 100%;
  margin-top: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.hero-video-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 255, 255, 0.06);
}

.video-container-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  background: #000000;
}

.video-container-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

[data-theme="light"] .hero-video-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-video-card:hover {
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Filter Tabs */
.filter-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.tabs-scroll-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding: 0.25rem 0.25rem 0.5rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.tabs-scroll-container.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.tabs-scroll-container::-webkit-scrollbar {
  display: none;
}

.tab-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-card-border);
  border-radius: var(--badge-radius);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-pill:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-pill.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  box-shadow: 0 2px 14px rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

.tab-pill.active .tab-count {
  background: #000000;
  color: #ffffff;
}

/* Main Cards Grid */
.cards-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Base Link Card Styling */
.link-card {
  position: relative;
  cursor: pointer;
  background: var(--surface-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--surface-card-border);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease,
              opacity 0.3s ease;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.link-card:hover {
  background: var(--surface-card-hover);
  border-color: var(--surface-card-border-hover);
  box-shadow: var(--shadow-md), 0 0 24px var(--accent-glow);
}

.link-card.hidden-by-filter {
  display: none !important;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-main);
  line-height: 1.25;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}

/* Action Pill Buttons inside Cards */
.action-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.8rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.card-primary-btn {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.card-primary-btn svg {
  width: 15px;
  height: 15px;
  stroke: #000000;
  transition: transform 0.2s ease;
}

.card-primary-btn:hover {
  background: #e4e4e7;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.card-primary-btn:hover svg {
  transform: translate(2px, -2px);
}

.mini-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--surface-card-border);
  color: var(--text-main);
}

.mini-btn svg {
  width: 14px;
  height: 14px;
}

.mini-btn:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

/* --- CARD 1: FEATURED SPOTLIGHT CARD --- */
.featured-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(24, 24, 28, 0.85) 0%, rgba(12, 12, 14, 0.95) 100%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 255, 255, 0.05);
}

.featured-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.28rem 0.75rem;
  border-radius: var(--badge-radius);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.live-pulse {
  background: #ffffff;
  color: #000000;
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 800;
  animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.92); }
}

.card-media-banner {
  position: relative;
  width: 100%;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.55rem;
}

.card-media-banner.compact-banner {
  height: 90px;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover .banner-img {
  transform: scale(1.05);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 15, 0) 30%, rgba(8, 9, 15, 0.8) 100%);
}

.banner-tag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.card-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-tags {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.73rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-weight: 500;
}

.click-counter-bubble {
  position: absolute;
  bottom: -2px;
  right: 16px;
  font-size: 0.68rem;
  color: var(--text-dim);
}

.counter-val {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* --- CARD 2: INTERACTIVE LO-FI AUDIO PLAYER --- */
.audio-card {
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.85) 0%, rgba(12, 12, 14, 0.9) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.audio-card-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-left {
  flex-shrink: 0;
}

.audio-play-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
  transition: transform 0.25s var(--transition-spring);
}

.play-svg, .pause-svg {
  width: 20px;
  height: 20px;
  fill: #000000;
}

.hidden {
  display: none !important;
}

.audio-play-toggle:hover {
  transform: scale(1.08);
}

.audio-center {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.audio-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.audio-sub {
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

/* Equalizer Waveform Bars */
.equalizer-waveform {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  margin-top: 0.2rem;
}

.eq-bar {
  width: 3px;
  height: 4px;
  background: #52525b;
  border-radius: 2px;
  transition: height 0.2s ease, background 0.3s ease;
}

.audio-card.playing .eq-bar {
  background: #ffffff;
  animation: waveBar 0.9s ease-in-out infinite alternate;
}

.audio-card.playing .eq-bar:nth-child(1)  { animation-delay: 0.1s; }
.audio-card.playing .eq-bar:nth-child(2)  { animation-delay: 0.35s; }
.audio-card.playing .eq-bar:nth-child(3)  { animation-delay: 0.15s; }
.audio-card.playing .eq-bar:nth-child(4)  { animation-delay: 0.5s; }
.audio-card.playing .eq-bar:nth-child(5)  { animation-delay: 0.2s; }
.audio-card.playing .eq-bar:nth-child(6)  { animation-delay: 0.4s; }
.audio-card.playing .eq-bar:nth-child(7)  { animation-delay: 0.25s; }
.audio-card.playing .eq-bar:nth-child(8)  { animation-delay: 0.6s; }
.audio-card.playing .eq-bar:nth-child(9)  { animation-delay: 0.3s; }
.audio-card.playing .eq-bar:nth-child(10) { animation-delay: 0.45s; }
.audio-card.playing .eq-bar:nth-child(11) { animation-delay: 0.18s; }
.audio-card.playing .eq-bar:nth-child(12) { animation-delay: 0.55s; }

@keyframes waveBar {
  0%   { height: 4px; }
  100% { height: 18px; }
}

.audio-right {
  flex-shrink: 0;
}

.sound-status-badge {
  font-size: 0.72rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--badge-radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-card-border);
  color: var(--text-dim);
  font-weight: 500;
}

.audio-card.playing .sound-status-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* --- CARD 3: RESOURCE CARD (NOTION OS) --- */
.resource-layout {
  display: flex;
  gap: 1rem;
}

.resource-thumb {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--surface-card-border);
}

.resource-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.resource-card:hover .resource-thumb img {
  transform: scale(1.08);
}

.free-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
}

.resource-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.2rem;
}

.card-sub-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rating-stars {
  font-size: 0.75rem;
  color: #ffffff;
}

.rating-stars span {
  color: var(--text-dim);
}

.resource-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
}

.downloads-count {
  font-size: 0.73rem;
  color: var(--text-dim);
}

/* --- CARD 4: INTERACTIVE COMMUNITY LIVE POLL --- */
.poll-card {
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.85) 0%, rgba(12, 12, 14, 0.9) 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.poll-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.poll-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.poll-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.poll-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.6rem 0 0.85rem;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.poll-option-btn {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-card-border);
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.poll-option-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(3px);
}

.poll-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.12);
  border-right: 2px solid #ffffff;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.poll-content-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-main);
}

.option-percentage {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
  margin-left: 0.5rem;
}

.poll-option-btn.voted {
  border-color: #ffffff;
}

.poll-option-btn.voted .poll-bar-fill {
  background: rgba(255, 255, 255, 0.22);
}

.poll-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.poll-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #ffffff;
}

.poll-live-indicator .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  animation: pulseDot 1.5s infinite;
}

/* --- CARD 5: WEEKLY NEWSLETTER (INTERACTIVE INLINE BOX) --- */
.newsletter-card {
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.88) 0%, rgba(12, 12, 14, 0.88) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.newsletter-inner {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.newsletter-form {
  margin-top: 0.2rem;
}

.input-glow-group {
  position: relative;
  display: flex;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--surface-card-border);
  border-radius: var(--badge-radius);
  padding: 0.3rem 0.35rem 0.3rem 0.9rem;
  transition: var(--transition-smooth);
}

.input-glow-group:focus-within {
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.input-glow-group input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.input-glow-group input::placeholder {
  color: var(--text-dim);
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  border-radius: var(--badge-radius);
  background: #ffffff;
  border: none;
  color: #000000;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.submit-btn svg {
  width: 14px;
  height: 14px;
  stroke: #000000;
}

.submit-btn:hover {
  background: #e4e4e7;
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.form-feedback {
  font-size: 0.78rem;
  margin-top: 0.4rem;
  min-height: 18px;
  transition: all 0.3s ease;
}

.form-feedback.success {
  color: #ffffff;
}

.form-feedback.error {
  color: #a1a1aa;
}

.newsletter-avatars {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.mini-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-left: -6px;
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  background: #ffffff;
}

.mini-avatar:first-child {
  margin-left: 0;
}

.stack-text {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* --- SIMPLE LINK ROWS --- */
.simple-link-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.card-icon-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #000000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease;
}

.card-icon-avatar svg {
  width: 18px;
  height: 18px;
  stroke: #000000;
}

.link-card:hover .card-icon-avatar {
  transform: scale(1.1) rotate(4deg);
}

.video-avatar,
.discord-avatar,
.calendar-avatar {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

.video-avatar svg,
.discord-avatar svg,
.calendar-avatar svg {
  stroke: #000000;
}

.simple-link-body {
  flex: 1 1 0%;
  min-width: 0;
  overflow: hidden;
}

.title-with-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  min-width: 0;
}

.video-duration, .spots-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  white-space: nowrap;
  flex-shrink: 0;
}

.spots-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.chevron-action {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.chevron-action svg {
  width: 14px;
  height: 14px;
}

.link-card:hover .chevron-action {
  background: var(--text-main);
  color: #000000;
  transform: translateX(3px);
}

/* Page Footer */
.page-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  text-align: center;
}

.footer-badge {
  display: inline-block;
}

.powered-by-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-card-border);
  border-radius: var(--badge-radius);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  transition: var(--transition-smooth);
}

.powered-by-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.footer-logo-spark {
  color: var(--accent-cyan);
}

.copyright-text {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Floating Quick Dock (Mobile-First Accessible) */
.floating-quick-dock {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(18, 18, 20, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--badge-radius);
  padding: 0.35rem 0.55rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
  animation: slideUpDock 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: calc(100vw - 20px);
  width: max-content;
  box-sizing: border-box;
}

@keyframes slideUpDock {
  from { transform: translateX(-50%) translateY(40px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--badge-radius);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dock-btn svg {
  width: 15px;
  height: 15px;
}

.dock-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.dock-btn.highlight {
  background: #ffffff;
  color: #000000;
}

.dock-btn.highlight:hover {
  transform: scale(1.04);
  box-shadow: 0 0 14px var(--accent-glow);
}

.dock-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
}

/* Modals & Backdrop */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-backdrop.hidden {
  display: none !important;
  opacity: 0;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: rgba(18, 18, 20, 0.95);
  border: 1px solid var(--surface-card-border-hover);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-glow);
  transform: scale(1);
  animation: modalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-card-border);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn svg {
  width: 16px;
  height: 16px;
}

.modal-close-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.15);
}

.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.qr-preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.qr-canvas-holder {
  position: relative;
  background: #ffffff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-img {
  display: block;
  width: 200px;
  height: 200px;
  border-radius: 8px;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.qr-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.share-url-row {
  display: flex;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--surface-card-border);
  border-radius: var(--badge-radius);
  padding: 0.3rem 0.35rem 0.3rem 0.85rem;
}

.share-url-row input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.copy-url-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--badge-radius);
  background: #ffffff;
  border: none;
  color: #000000;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.copy-url-btn svg {
  width: 13px;
  height: 13px;
  stroke: #000000;
}

.copy-url-btn:hover {
  transform: scale(1.05);
}

.quick-social-shares {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.share-channel-btn {
  flex: 1;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-card-border);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.share-channel-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Toast Notifications */
.toast-bubble {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-60px);
  background: rgba(18, 18, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-glow);
  padding: 0.6rem 1.25rem;
  border-radius: var(--badge-radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.toast-bubble.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.toast-message {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Responsive Breakpoints */
@media (max-width: 480px) {
  body {
    padding: 1rem 0.75rem 5.5rem;
  }
  
  .profile-name {
    font-size: 1.6rem;
  }

  .stats-row {
    gap: 0.8rem;
    padding: 0.45rem 1rem;
  }

  .card-media-banner {
    height: 140px;
  }

  .resource-thumb {
    width: 80px;
    height: 80px;
  }

  .audio-card-inner {
    gap: 0.75rem;
  }
}

/* Entrance Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.link-card {
  animation: fadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.link-card:nth-child(1) { animation-delay: 0.05s; }
.link-card:nth-child(2) { animation-delay: 0.10s; }
.link-card:nth-child(3) { animation-delay: 0.15s; }
.link-card:nth-child(4) { animation-delay: 0.20s; }
.link-card:nth-child(5) { animation-delay: 0.25s; }
.link-card:nth-child(6) { animation-delay: 0.30s; }
.link-card:nth-child(7) { animation-delay: 0.35s; }
.link-card:nth-child(8) { animation-delay: 0.40s; }
.link-card:nth-child(9) { animation-delay: 0.45s; }
.link-card:nth-child(10) { animation-delay: 0.50s; }

/* --- OFFICIAL WEB PLATFORM CARD --- */
.official-web-card {
  background: linear-gradient(180deg, rgba(22, 22, 26, 0.9) 0%, rgba(12, 12, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.04);
}

.official-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sparkle-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.online-users-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: var(--badge-radius);
}

.online-users-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  animation: pulseDot 2s infinite;
}

.web-app-avatar {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.web-app-avatar svg {
  width: 22px;
  height: 22px;
  stroke: #000000;
}

/* --- MOBILE APPS HUB (APPLE + GOOGLE + INDUS) --- */
.app-stores-card {
  cursor: default;
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.9) 0%, rgba(12, 12, 14, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.card-header-with-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.app-hub-badge, .social-hub-badge, .email-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.app-hub-badge svg, .social-hub-badge svg, .email-hub-badge svg {
  width: 14px;
  height: 14px;
  color: #ffffff;
}

.cross-sync-badge, .verified-hub-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: var(--badge-radius);
}

.hub-title {
  font-size: 1.15rem;
}

.stores-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.65rem;
  width: 100%;
  box-sizing: border-box;
}

.store-badge-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-card-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.store-badge-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.store-main-title {
  font-size: 0.82rem;
  font-weight: 600;
  flex: 1 1 0%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-icon-wrap svg {
  display: block;
}

.play-icon svg {
  width: 18px;
  height: 18px;
}

.indus-icon svg {
  width: 10px;
  height: 22px;
}

.apple-badge:hover,
.google-badge:hover,
.indus-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.indus-badge {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--surface-card-border);
}

.indus-gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.store-text-col {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.store-subtitle {
  font-size: 0.64rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.store-main-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.25;
}

.store-rating {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.store-chevron {
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

.store-badge-card:hover .store-chevron {
  color: var(--text-main);
  transform: translateX(3px);
}

/* --- MEETING & DEMO CARDS --- */
.calendar-meeting-avatar {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.calendar-meeting-avatar svg {
  width: 20px;
  height: 20px;
  stroke: #000000;
}

.demo-avatar {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.demo-avatar svg {
  width: 20px;
  height: 20px;
  stroke: #000000;
}

.meeting-meta-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.meeting-tag {
  font-size: 0.68rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  font-weight: 500;
}

.demo-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.demo-btn {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.demo-btn:hover {
  background: #e4e4e7;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

/* --- ALL SOCIAL PROFILES DIRECTORY --- */
.social-hub-card {
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.9) 0%, rgba(12, 12, 14, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.social-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.social-chip-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-card-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.78rem;
  transition: var(--transition-smooth);
}

.social-chip-item strong {
  flex-grow: 1;
  font-weight: 600;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #71717a;
  flex-shrink: 0;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.chip-count {
  font-size: 0.66rem;
  color: var(--text-dim);
}

.social-chip-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.social-chip-item:hover .chip-dot {
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Location & Inline Web Link */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 0.2rem;
}

.web-link-inline {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.web-link-inline:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Founder & Agent Avatars */
.founder-avatar {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.founder-avatar svg {
  width: 20px;
  height: 20px;
  stroke: #000000;
}

.founder-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.founder-linkedin-link svg {
  width: 12px;
  height: 12px;
  stroke: #ffffff;
}

.founder-linkedin-link:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-1px);
}

.founder-linkedin-link:hover svg {
  stroke: #000000;
}

.agent-avatar,
.about-avatar,
.contact-avatar {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.agent-avatar svg,
.about-avatar svg,
.contact-avatar svg {
  width: 20px;
  height: 20px;
  stroke: #000000;
}

.business-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Departmental Email Directory */
.directory-emails-card {
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.9) 0%, rgba(12, 12, 14, 0.95) 100%);
  border-color: rgba(255, 255, 255, 0.12);
}

.email-chips-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.email-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-card-border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.email-col {
  display: flex;
  flex-direction: column;
}

.email-dept {
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.email-address {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.email-action {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-card-border);
  padding: 0.25rem 0.6rem;
  border-radius: var(--badge-radius);
  transition: var(--transition-smooth);
}

.email-item:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.35);
}

.email-item:hover .email-action {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.grievance-highlight {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.grievance-highlight .email-address {
  color: #ffffff;
}

.grievance-highlight:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 480px) {
  .social-chips-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   LIGHT THEME REFINEMENTS & COMPONENT OVERRIDES (PURE MONOCHROME)
   ========================================================================== */
[data-theme="light"] .top-nav {
  background: transparent;
  border: none;
  box-shadow: none;
}

[data-theme="light"] .social-dock {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .status-pill {
  background: transparent;
  border: none;
  color: #000000;
}

[data-theme="light"] .status-dot {
  background: #000000;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .icon-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #000000;
}

[data-theme="light"] .icon-btn:hover {
  background: rgba(0, 0, 0, 0.09);
  border-color: rgba(0, 0, 0, 0.25);
  color: #000000;
}

[data-theme="light"] .highlight-btn {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.2);
  color: #000000;
}

[data-theme="light"] .highlight-btn:hover {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .avatar-wrapper .avatar-img {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .avatar-ring {
  background: conic-gradient(from 0deg, #000000 0%, rgba(0, 0, 0, 0.1) 25%, #000000 50%, rgba(0, 0, 0, 0.2) 75%, #000000 100%);
}

[data-theme="light"] .tab-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #52525b;
}

[data-theme="light"] .tab-pill:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
}

[data-theme="light"] .tab-pill.active {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .tab-count {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
}

[data-theme="light"] .tab-pill.active .tab-count {
  background: #ffffff;
  color: #000000;
}

[data-theme="light"] .social-icon {
  background: rgba(0, 0, 0, 0.04);
  color: #52525b;
}

[data-theme="light"] .social-icon:hover {
  background: #000000;
  color: #ffffff;
}

[data-theme="light"] .social-icon::after {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

[data-theme="light"] .official-web-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .official-banner-top {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sparkle-tag {
  color: #000000;
}

[data-theme="light"] .online-users-badge {
  color: #000000;
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .online-users-badge .dot {
  background: #000000;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .app-stores-card,
[data-theme="light"] .social-hub-card,
[data-theme="light"] .directory-emails-card,
[data-theme="light"] .featured-card,
[data-theme="light"] .audio-card,
[data-theme="light"] .resource-card,
[data-theme="light"] .poll-card,
[data-theme="light"] .newsletter-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .app-hub-badge,
[data-theme="light"] .social-hub-badge,
[data-theme="light"] .email-hub-badge {
  color: #000000;
}

[data-theme="light"] .app-hub-badge svg,
[data-theme="light"] .social-hub-badge svg,
[data-theme="light"] .email-hub-badge svg {
  color: #000000;
}

[data-theme="light"] .cross-sync-badge,
[data-theme="light"] .verified-hub-tag {
  color: #000000;
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .store-badge-card {
  background: #f4f4f5;
  border-color: rgba(0, 0, 0, 0.08);
  color: #000000;
}

[data-theme="light"] .store-badge-card:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .store-badge-card:hover .store-subtitle,
[data-theme="light"] .store-badge-card:hover .store-rating,
[data-theme="light"] .store-badge-card:hover .store-chevron {
  color: rgba(255, 255, 255, 0.7);
}

[data-theme="light"] .store-badge-card:hover .indus-gradient-text {
  background: #ffffff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .store-icon-wrap {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .indus-gradient-text {
  background: linear-gradient(90deg, #000000 0%, #52525b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .social-chip-item {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: #000000;
}

[data-theme="light"] .social-chip-item:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .social-chip-item:hover .chip-dot {
  background: #000000;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .email-item {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .email-address {
  color: #000000;
}

[data-theme="light"] .email-item:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .email-action {
  background: rgba(0, 0, 0, 0.05);
  color: #000000;
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .email-item:hover .email-action {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

[data-theme="light"] .grievance-highlight {
  border-color: rgba(0, 0, 0, 0.25);
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .grievance-highlight .email-address {
  color: #000000;
}

[data-theme="light"] .grievance-highlight:hover {
  border-color: #000000;
  background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tag,
[data-theme="light"] .meeting-tag {
  background: rgba(0, 0, 0, 0.05);
  color: #52525b;
}

[data-theme="light"] .demo-pill,
[data-theme="light"] .business-pill,
[data-theme="light"] .spots-badge {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
  color: #000000;
}

[data-theme="light"] .card-primary-btn,
[data-theme="light"] .demo-btn,
[data-theme="light"] .submit-btn,
[data-theme="light"] .copy-url-btn {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

[data-theme="light"] .card-primary-btn svg {
  stroke: #ffffff;
}

[data-theme="light"] .card-primary-btn:hover,
[data-theme="light"] .demo-btn:hover,
[data-theme="light"] .submit-btn:hover,
[data-theme="light"] .copy-url-btn:hover {
  background: #27272a;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

[data-theme="light"] .mini-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
  color: #000000;
}

[data-theme="light"] .mini-btn:hover {
  background: #000000;
  color: #ffffff;
}

[data-theme="light"] .web-app-avatar,
[data-theme="light"] .calendar-meeting-avatar,
[data-theme="light"] .demo-avatar,
[data-theme="light"] .founder-avatar,
[data-theme="light"] .agent-avatar,
[data-theme="light"] .about-avatar,
[data-theme="light"] .contact-avatar,
[data-theme="light"] .video-avatar,
[data-theme="light"] .discord-avatar,
[data-theme="light"] .calendar-avatar {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .web-app-avatar svg,
[data-theme="light"] .calendar-meeting-avatar svg,
[data-theme="light"] .demo-avatar svg,
[data-theme="light"] .founder-avatar svg,
[data-theme="light"] .agent-avatar svg,
[data-theme="light"] .about-avatar svg,
[data-theme="light"] .contact-avatar svg,
[data-theme="light"] .video-avatar svg,
[data-theme="light"] .discord-avatar svg,
[data-theme="light"] .calendar-avatar svg {
  stroke: #ffffff;
}

[data-theme="light"] .founder-linkedin-link {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.18);
  color: #000000;
}

[data-theme="light"] .founder-linkedin-link svg {
  stroke: #000000;
}

[data-theme="light"] .founder-linkedin-link:hover {
  background: #000000;
  color: #ffffff;
}

[data-theme="light"] .founder-linkedin-link:hover svg {
  stroke: #ffffff;
}

[data-theme="light"] .audio-play-toggle {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .play-svg,
[data-theme="light"] .pause-svg {
  fill: #ffffff;
}

[data-theme="light"] .audio-card.playing .eq-bar {
  background: #000000;
}

[data-theme="light"] .poll-option-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: #000000;
}

[data-theme="light"] .poll-option-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .poll-bar-fill {
  background: rgba(0, 0, 0, 0.08);
  border-right: 2px solid #000000;
}

[data-theme="light"] .option-percentage {
  color: #000000;
}

[data-theme="light"] .poll-option-btn.voted {
  border-color: #000000;
}

[data-theme="light"] .poll-option-btn.voted .poll-bar-fill {
  background: rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .poll-live-indicator {
  color: #000000;
}

[data-theme="light"] .poll-live-indicator .dot {
  background: #000000;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .newsletter-input {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.12);
  color: #000000;
}

[data-theme="light"] .floating-quick-dock {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .dock-btn {
  color: #52525b;
}

[data-theme="light"] .dock-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
}

[data-theme="light"] .dock-btn.highlight {
  background: #000000;
  color: #ffffff;
}

[data-theme="light"] .dock-sep {
  background: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .modal-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  color: #000000;
}

[data-theme="light"] .modal-close-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #52525b;
}

[data-theme="light"] .modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #000000;
}

[data-theme="light"] .share-url-row {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .share-url-row input {
  color: #000000;
}

[data-theme="light"] .share-channel-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #52525b;
}

[data-theme="light"] .share-channel-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #000000;
}

[data-theme="light"] .toast-bubble {
  background: #ffffff;
  border-color: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .toast-message {
  color: #000000;
}

[data-theme="light"] .powered-by-link {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: #52525b;
}

[data-theme="light"] .powered-by-link:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
}

[data-theme="light"] .location-badge {
  background: transparent;
  border: none;
  color: #71717a;
}

[data-theme="light"] .card-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .avatar-badge {
  background: #000000;
  color: #ffffff;
  border-color: #ffffff;
}

[data-theme="light"] .avatar-badge svg {
  stroke: #ffffff;
}

[data-theme="light"] .verified-check {
  background: #000000;
  color: #ffffff;
}

[data-theme="light"] .verified-check svg {
  stroke: #ffffff;
}

[data-theme="light"] .chevron-action {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #52525b;
}

[data-theme="light"] .link-card:hover .chevron-action {
  background: #000000;
  color: #ffffff;
}

/* ==========================================================================
   FLUID RESPONSIVE MEDIA QUERIES (320px - 640px)
   ========================================================================== */

/* Tablets & Small Screens (<= 640px) */
@media (max-width: 640px) {
  body {
    padding: 1.2rem 0.85rem 6.5rem;
  }
}

/* Standard Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  body {
    padding: 1rem 0.65rem 6.5rem;
  }

  .top-nav {
    padding: 0.35rem 0;
  }

  .status-pill {
    font-size: 0.74rem;
    max-width: 60%;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .icon-btn svg {
    width: 15px;
    height: 15px;
  }

  .profile-name {
    font-size: 1.65rem;
  }

  .profile-bio {
    font-size: 0.88rem;
    padding: 0 0.25rem;
    line-height: 1.4;
  }

  .social-dock {
    gap: 0.4rem;
    padding: 0.35rem 0.55rem;
  }

  .social-icon {
    width: 34px;
    height: 34px;
  }

  .social-icon svg {
    width: 16px;
    height: 16px;
  }

  .link-card {
    padding: 0.75rem 0.85rem;
    border-radius: 13px;
  }

  .simple-link-row {
    gap: 0.55rem;
  }

  .card-icon-avatar {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .card-icon-avatar svg {
    width: 17px;
    height: 17px;
  }

  .card-title {
    font-size: 0.92rem;
  }

  .card-desc {
    font-size: 0.77rem;
    line-height: 1.3;
  }

  .action-btn-pill {
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
    gap: 0.25rem;
  }

  .action-btn-pill svg {
    width: 13px;
    height: 13px;
  }

  .store-badge-card {
    padding: 0.45rem 0.55rem;
    gap: 0.35rem;
  }

  .store-main-title {
    font-size: 0.78rem;
  }

  .store-icon-wrap {
    width: 25px;
    height: 25px;
  }

  .store-icon-wrap.play-icon svg {
    width: 15px;
    height: 15px;
  }

  .store-icon-wrap.indus-icon svg {
    width: 8px;
    height: 18px;
  }

  .store-chevron svg {
    width: 14px;
    height: 14px;
  }

  .social-chips-grid {
    grid-template-columns: 1fr;
  }

  .floating-quick-dock {
    bottom: 12px;
    padding: 0.28rem 0.45rem;
    gap: 0.3rem;
  }

  .dock-btn {
    padding: 0.32rem 0.65rem;
    font-size: 0.75rem;
    gap: 0.3rem;
  }

  .modal-card {
    padding: 1.25rem;
    border-radius: 20px;
  }
}

/* Compact Mobile Devices (<= 420px) */
@media (max-width: 420px) {
  /* Stack app stores into full-width cards on phones */
  .stores-button-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .store-badge-card {
    padding: 0.55rem 0.75rem;
  }
}

/* Compact Mobile Devices (<= 380px) */
@media (max-width: 380px) {
  body {
    padding: 0.8rem 0.45rem 6.5rem;
  }

  .status-pill {
    max-width: 52%;
    font-size: 0.7rem;
  }

  .profile-name {
    font-size: 1.48rem;
  }

  .avatar-wrapper {
    width: 96px;
    height: 96px;
  }

  .link-card {
    padding: 0.65rem 0.65rem;
  }

  .simple-link-row {
    gap: 0.45rem;
  }

  .card-icon-avatar {
    width: 32px;
    height: 32px;
  }

  .card-icon-avatar svg {
    width: 16px;
    height: 16px;
  }

  .card-title {
    font-size: 0.88rem;
  }

  .action-btn-pill {
    padding: 0.32rem 0.5rem;
    font-size: 0.72rem;
  }

  .social-dock {
    gap: 0.35rem;
    padding: 0.3rem 0.45rem;
  }

  .social-icon {
    width: 32px;
    height: 32px;
  }

  .floating-quick-dock {
    bottom: 10px;
  }

  .dock-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.72rem;
  }
}

/* Ultra Narrow Devices (<= 320px) */
@media (max-width: 320px) {
  body {
    padding: 0.6rem 0.3rem 6.5rem;
  }

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

  .social-dock {
    gap: 0.28rem;
    padding: 0.25rem 0.4rem;
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }

  .simple-link-row {
    flex-wrap: wrap;
  }

  .action-btn-pill {
    width: 100%;
    justify-content: center;
    margin-top: 0.3rem;
  }
}
