/* ==========================================================================
   Precision Fluid Spatial Motion & Light Design System Stylesheet
   Crafted with System Typography, Translucent Materials, and Squircles
   Full White Theme • Zero External CSS Dependencies
   ========================================================================== */

:root {
  /* System Typography Stack */
  --font-system: system-ui, BlinkMacSystemFont, "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  
  /* Semantic Canvas & Surface Tokens */
  --system-bg: #f5f5f7;
  --system-canvas: #ffffff;
  --card-surface: #ffffff;
  
  /* Text & Label Tiers */
  --label-primary: #1d1d1f;
  --label-secondary: #6e6e73;
  --label-tertiary: #86868b;
  --label-quaternary: #aeaeb2;
  
  /* Semantic Accent Colors */
  --system-blue: #0071e3;
  --system-blue-hover: #0077ed;
  --system-blue-subtle: rgba(0, 113, 227, 0.08);
  --system-blue-border: rgba(0, 113, 227, 0.22);
  --system-green: #34c759;
  --system-discord: #5865f2;
  --system-discord-hover: #4752c4;
  --system-discord-subtle: rgba(88, 101, 242, 0.08);
  --system-discord-border: rgba(88, 101, 242, 0.22);
  
  /* Translucent Optical Materials */
  --material-ultra-thin: rgba(255, 255, 255, 0.65);
  --material-thin: rgba(255, 255, 255, 0.82);
  --material-regular: rgba(255, 255, 255, 0.94);
  --material-border: rgba(0, 0, 0, 0.08);
  --material-border-hover: rgba(0, 0, 0, 0.16);
  --material-divider: rgba(0, 0, 0, 0.06);
  
  /* Spatial Depth & Drop Shadows */
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --card-shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  --nav-shadow: 0 4px 22px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
  
  /* Damped Spring Physics Easings */
  --spring-easing: cubic-bezier(0.16, 1, 0.3, 1);
  --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth-duration: 0.35s;
}

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

html {
  font-family: var(--font-system);
  background-color: var(--system-bg);
  color: var(--label-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-color: var(--system-bg);
  color: var(--label-primary);
  line-height: 1.47059;
}

/* ==========================================================================
   Scroll Progress Bar
   ========================================================================== */

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #0071e3, #5865f2, #34c759);
  z-index: 105;
  box-shadow: 0 1px 8px rgba(0, 113, 227, 0.35);
  transition: width 0.1s linear;
}

/* ==========================================================================
   Scroll-Driven Reveal & Smooth Motion System
   ========================================================================== */

.scroll-reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  filter: blur(4px);
  transition: opacity 0.75s var(--spring-easing),
              transform 0.75s var(--spring-easing),
              filter 0.75s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform, filter;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes gentleFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.floating-card {
  animation: gentleFloat 5s ease-in-out infinite alternate;
}

/* ==========================================================================
   Layout & Typography Utilities
   ========================================================================== */

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.max-w-6xl { max-width: 1152px; width: 100%; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 1024px; width: 100%; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 896px; width: 100%; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 672px; width: 100%; }
.max-w-lg { max-width: 512px; width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-2\.5 { padding: 0.625rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pl-2 { padding-left: 0.5rem; }
.pt-0 { padding-top: 0; }
.pt-3 { padding-top: 0.75rem; }
.pt-3\.5 { padding-top: 0.875rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-3 { padding-bottom: 0.75rem; }

.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-2\.5 { margin-top: 0.625rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-3\.5 { margin-top: 0.875rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-2\.5 { margin-bottom: 0.625rem; }
.mb-3 { margin-bottom: 0.75rem; }
.ml-1 { margin-left: 0.25rem; }

.gap-1 { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }

.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* Squircles & Continuous Corner Smoothing */
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-2xl { border-radius: 20px; }
.rounded-3xl { border-radius: 26px; }
.rounded-full { border-radius: 9999px; }

/* Font Family and Weight Tokens */
.font-mono { font-family: var(--font-mono); }
.font-extrabold { font-weight: 800; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.08em; }
.uppercase { text-transform: uppercase; }

/* Text Color Classes */
.text-primary { color: var(--label-primary) !important; }
.text-secondary { color: var(--label-secondary) !important; }
.text-tertiary { color: var(--label-tertiary) !important; }
.text-blue { color: var(--system-blue) !important; }
.text-green { color: var(--system-green) !important; }
.text-white { color: #ffffff !important; }

/* Typographic Scale */
.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1.0625rem; line-height: 1.47059; }
.text-xl { font-size: 1.25rem; line-height: 1.35; }
.text-2xl { font-size: 1.5rem; line-height: 1.25; }
.text-3xl { font-size: 1.75rem; line-height: 1.2; }
.text-4xl { font-size: 2.125rem; line-height: 1.15; }

/* Borders & Separators */
.border { border: 1px solid var(--material-border); }
.border-t { border-top: 1px solid var(--material-divider); }
.border-b { border-bottom: 1px solid var(--material-divider); }
.border-l { border-left: 1px solid var(--material-divider); }
.border-divider { border-color: var(--material-divider) !important; }
.border-subtle { border-color: var(--material-border) !important; }

/* Background Helpers */
.bg-canvas { background-color: var(--system-bg); }
.bg-card { background-color: var(--card-surface); }
.bg-blue { background-color: var(--system-blue); }

.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.shadow-2xl { box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1); }

/* ==========================================================================
   Ambient Illumination & Glowing Canvas Backdrops (Light Mode)
   ========================================================================== */

#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.ambient-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  opacity: 0.4;
}

.ambient-glow-top {
  top: -15vh;
  left: 15%;
  width: 60vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.1), rgba(88, 101, 242, 0.05), transparent 70%);
}

.ambient-glow-bottom {
  bottom: -15vh;
  right: 15%;
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(52, 199, 89, 0.07), rgba(0, 113, 227, 0.04), transparent 70%);
}

/* ==========================================================================
   Card Surfaces & Translucent Materials (Light Theme)
   ========================================================================== */

.glass-panel {
  background: var(--card-surface);
  border: 1px solid var(--material-border);
  box-shadow: var(--card-shadow);
  border-radius: 26px;
  transition: transform var(--smooth-duration) var(--spring-easing),
              border-color var(--smooth-duration) ease,
              box-shadow var(--smooth-duration) var(--spring-easing);
  position: relative;
}

.glass-panel:hover {
  border-color: var(--material-border-hover);
  box-shadow: var(--card-shadow-hover);
}

/* ==========================================================================
   Floating Navigation Island (Light Theme Capsule)
   ========================================================================== */

header {
  width: 100%;
}

.nav-island {
  background: var(--material-thin);
  backdrop-filter: blur(25px) saturate(190%);
  -webkit-backdrop-filter: blur(25px) saturate(190%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--nav-shadow);
  transition: all var(--smooth-duration) var(--spring-easing);
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.logo-badge-img-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.nav-island ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 6px 14px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  color: var(--label-secondary);
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--label-primary);
  background: rgba(0, 0, 0, 0.04);
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--label-primary);
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: flex !important;
  }
}

/* Audio Controller Pill */
.audio-control-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 113, 227, 0.08);
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 9999px;
  padding: 6px 13px;
  cursor: pointer;
  transition: all 0.25s var(--spring-easing);
  color: var(--system-blue);
  min-height: 36px;
}

.audio-control-pill:hover {
  background: rgba(0, 113, 227, 0.14);
  transform: scale(1.02);
}

.audio-control-pill:active {
  transform: scale(0.96);
}

/* Equalizer Bars Animation */
.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  width: 14px;
}

.eq-bar {
  width: 2px;
  background-color: var(--system-blue);
  border-radius: 1px;
  height: 4px;
  transition: height 0.15s ease;
}

.equalizer-bars.playing .eq-bar:nth-child(1) { animation: eqBounce1 0.7s infinite alternate ease-in-out; }
.equalizer-bars.playing .eq-bar:nth-child(2) { animation: eqBounce2 0.85s infinite alternate ease-in-out 0.15s; }
.equalizer-bars.playing .eq-bar:nth-child(3) { animation: eqBounce3 0.65s infinite alternate ease-in-out 0.3s; }
.equalizer-bars.playing .eq-bar:nth-child(4) { animation: eqBounce4 0.9s infinite alternate ease-in-out 0.2s; }

@keyframes eqBounce1 { 0% { height: 3px; } 100% { height: 13px; } }
@keyframes eqBounce2 { 0% { height: 4px; } 100% { height: 14px; } }
@keyframes eqBounce3 { 0% { height: 2px; } 100% { height: 11px; } }
@keyframes eqBounce4 { 0% { height: 5px; } 100% { height: 12px; } }

/* ==========================================================================
   TOP SHOWCASE SECTION: FIRST IMAGE ON LEFT/TOP, ABOUT ME ON RIGHT
   ========================================================================== */

.top-showcase-section {
  padding: 104px 16px 36px 16px;
  max-width: 1120px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
  width: 100%;
  align-items: start;
}

@media (max-width: 880px) {
  .top-showcase-section {
    padding-top: 86px;
    padding-bottom: 24px;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.profile-card-container {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.discord-glass-card {
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid var(--material-border);
  box-shadow: var(--card-shadow);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--spring-easing), box-shadow 0.4s ease;
  overflow: hidden;
}

.discord-glass-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.card-banner-preview {
  height: 145px;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: brightness(102%);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 5%, transparent 65%);
}

.banner-badge-wrapper {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}

.founder-pill {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--system-blue);
  border: 1px solid rgba(0, 113, 227, 0.2);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-body-content {
  padding: 20px 20px 22px 20px;
  padding-top: 0;
  position: relative;
  margin-top: -46px;
}

.avatar-action-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.avatar-ring-container {
  display: inline-block;
}

.avatar-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.3), transparent 70%);
  filter: blur(8px);
  z-index: 1;
}

.avatar-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  position: relative;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.avatar-status-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--system-green);
  border: 3.5px solid #ffffff;
  z-index: 20;
}

/* Discord Speech Bubble "CHECK BIO." */
.discord-speech-bubble {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 5px 11px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--label-primary);
  margin-bottom: 2px;
}

.discord-speech-bubble .speech-tail {
  position: absolute;
  bottom: -5px;
  left: 14px;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transform: rotate(45deg);
}

.btn-mini-glass {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--label-secondary);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-mini-glass:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--label-primary);
}

.badge-role {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(0, 113, 227, 0.1);
  color: var(--system-blue);
  border: 1px solid rgba(0, 113, 227, 0.2);
  padding: 2px 8px;
  border-radius: 9999px;
}

/* DISCORD BADGES ROW (USER SPECIFICATION) */
.discord-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.discord-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 11px;
  font-weight: 600;
  color: var(--label-primary);
  transition: all 0.2s ease;
}

.discord-badge-pill:hover {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.badge-icon {
  font-size: 12px;
  line-height: 1;
}

.badge-text {
  line-height: 1;
}

/* Discord Direct Action Buttons on Card */
.discord-msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #5865f2;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(88, 101, 242, 0.25);
}

.discord-msg-btn:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.discord-icon-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--label-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.discord-icon-action-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--label-primary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--system-green);
  box-shadow: 0 0 6px rgba(52, 199, 89, 0.6);
}

/* ==========================================================================
   MOBILE-OPTIMIZED DISCORD & BOT BUTTONS (LIGHT THEME)
   ========================================================================== */

.discord-embed-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--system-discord-subtle);
  border: 1px solid var(--system-discord-border);
  text-decoration: none;
  color: var(--label-primary);
  transition: all 0.25s var(--spring-easing);
  box-shadow: 0 2px 8px rgba(88, 101, 242, 0.05);
  gap: 10px;
}

.discord-embed-btn:hover {
  background: rgba(88, 101, 242, 0.14);
  border-color: rgba(88, 101, 242, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.12);
}

.discord-embed-btn:active {
  transform: scale(0.97);
}

.discord-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.discord-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #5865f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 3px 8px rgba(88, 101, 242, 0.3);
  flex-shrink: 0;
}

.discord-identity-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.discord-label {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--label-tertiary);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.discord-username-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--label-primary);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-top: 2px;
}

.discord-action-pill {
  padding: 6px 14px;
  border-radius: 9999px;
  background: #5865f2;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(88, 101, 242, 0.25);
}

.discord-embed-btn:hover .discord-action-pill {
  background: #4752c4;
}

/* Streamlined Product Bot Button (Light Theme) */
.product-bot-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--system-blue-subtle);
  border: 1px solid var(--system-blue-border);
  text-decoration: none;
  color: var(--label-primary);
  transition: all 0.25s var(--spring-easing);
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.05);
  gap: 10px;
}

.product-bot-btn:hover {
  background: rgba(0, 113, 227, 0.14);
  border-color: rgba(0, 113, 227, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.12);
}

.product-bot-btn:active {
  transform: scale(0.97);
}

.bot-btn-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bot-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0071e3, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(0, 113, 227, 0.3);
}

.bot-action-pill {
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--system-blue);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 113, 227, 0.25);
}

.product-bot-btn:hover .bot-action-pill {
  background: var(--system-blue-hover);
}

/* Mini metrics */
.metric-mini-card {
  padding: 10px 6px;
  border-radius: 14px;
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.metric-mini-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--label-primary);
}

.metric-mini-lbl {
  font-size: 9px;
  color: var(--label-tertiary);
  font-family: var(--font-mono);
  margin-top: 2px;
}

/* ==========================================================================
   Company Card Header & Responsive Layout
   ========================================================================== */

.company-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.company-logo-img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.company-header-info {
  display: flex;
  flex-direction: column;
}

.company-pill {
  background: rgba(0, 113, 227, 0.08);
  color: var(--system-blue);
  border: 1px solid rgba(0, 113, 227, 0.2);
}

.company-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 640px) {
  .company-actions-row {
    flex-direction: column;
  }
  .company-actions-row a {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .connect-actions-group {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
  }
  .connect-actions-group a {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* Interactive Buttons (Touch Targets >= 44pt) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--system-blue);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 14px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all var(--smooth-duration) var(--spring-easing);
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--system-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.35);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--label-primary) !important;
  font-weight: 600;
  font-size: 14px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 9999px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--smooth-duration) var(--spring-easing);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: scale(0.97);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--label-secondary) !important;
  font-weight: 500;
  font-size: 14px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-ghost:hover {
  color: var(--label-primary) !important;
  background: rgba(0, 0, 0, 0.04);
}

.badge-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 9999px;
}

.section-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 16px;
  position: relative;
}

/* ==========================================================================
   Mobile Drawer Menu (Light Theme Material)
   ========================================================================== */

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(245, 245, 247, 0.96);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  padding: 96px 20px 32px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 0.3s ease;
}

.mobile-nav-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-link {
  color: var(--label-primary);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 14px 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.mobile-nav-link:hover, .mobile-nav-link:active {
  background: var(--system-blue-subtle);
  color: var(--system-blue);
  border-color: var(--system-blue-border);
}

.mobile-nav-link::after {
  content: '→';
  font-size: 1.1rem;
  color: var(--label-tertiary);
}

.mobile-drawer.hidden {
  display: none !important;
}

/* ==========================================================================
   Cinematic Entrance Screen (Light Theme)
   ========================================================================== */

.entrance-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.6s var(--spring-easing), transform 0.6s var(--spring-easing), visibility 0.6s;
  padding: 20px;
}

.entrance-overlay.dismissed {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  visibility: hidden;
}

.entrance-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 600px;
  width: 100%;
}

.entrance-logo-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.entrance-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  padding: 4px;
}

.entrance-glow {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.22), transparent 70%);
  filter: blur(16px);
  z-index: 1;
  animation: entrancePulse 2.5s infinite ease-in-out;
}

@keyframes entrancePulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 0.9; }
}

.entrance-title {
  font-size: clamp(1.6rem, 5.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--label-primary);
  white-space: nowrap;
}

.entrance-subtitle {
  font-size: 0.85rem;
  color: var(--label-secondary);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entrance-enter-pill {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 9999px;
  background: var(--system-blue);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.3);
  transition: all 0.3s var(--spring-easing);
  animation: floatEntranceBtn 2.2s infinite ease-in-out;
}

.entrance-enter-pill:hover {
  background: var(--system-blue-hover);
  transform: scale(1.04);
}

.entrance-audio-icon {
  font-size: 16px;
  color: #ffffff;
}

.entrance-pill-text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

@keyframes floatEntranceBtn {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Lightbox Modal */
.image-modal {
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.image-modal.hidden {
  display: none !important;
}

.hidden { display: none !important; }