/* ==========================================================================
   ITSME_RAYHAAN - CREATIVE PORTFOLIO STYLESHEET
   Pure Vanilla CSS Design System with High-End Aesthetics & Micro-Animations
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Theming
   -------------------------------------------------------------------------- */
:root {
  /* Default Cyber Lime Theme (Matches User's Reference Graphic) */
  --bg-primary: #07070a;
  --bg-secondary: #0e0f14;
  --bg-card: rgba(18, 20, 28, 0.65);
  --bg-card-hover: rgba(26, 29, 40, 0.85);
  --bg-glass: rgba(14, 16, 22, 0.7);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(163, 230, 53, 0.5);

  --accent-primary: #a3e635;      /* Neon Lime Accent */
  --accent-primary-rgb: 163, 230, 53;
  --accent-secondary: #06b6d4;    /* Cyber Cyan Accent */
  --accent-secondary-rgb: 6, 182, 212;
  --accent-tertiary: #f43f5e;     /* Rose Flare */

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-signature: #a3e635;

  --glow-color: rgba(163, 230, 53, 0.25);
  --glow-strong: rgba(163, 230, 53, 0.45);
  --selection-color: rgba(163, 230, 53, 0.2);

  --font-display: 'Syne', 'Space Grotesk', -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-signature: 'Caveat', 'Homemade Apple', cursive;

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

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px -10px var(--glow-color);
  --shadow-elevated: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* Alternate Theme: Electric Violet */
[data-theme="violet"] {
  --bg-primary: #07060e;
  --bg-secondary: #0d0b1a;
  --bg-card: rgba(22, 17, 38, 0.65);
  --bg-card-hover: rgba(33, 25, 58, 0.85);
  --bg-glass: rgba(17, 13, 30, 0.7);
  --accent-primary: #c084fc;
  --accent-primary-rgb: 192, 132, 252;
  --accent-secondary: #38bdf8;
  --accent-secondary-rgb: 56, 189, 248;
  --text-signature: #c084fc;
  --glow-color: rgba(192, 132, 252, 0.25);
  --glow-strong: rgba(192, 132, 252, 0.45);
}

/* Alternate Theme: Sunset Amber */
[data-theme="sunset"] {
  --bg-primary: #0b0707;
  --bg-secondary: #160e0e;
  --bg-card: rgba(30, 18, 18, 0.65);
  --bg-card-hover: rgba(45, 27, 27, 0.85);
  --bg-glass: rgba(22, 13, 13, 0.7);
  --accent-primary: #fbbf24;
  --accent-primary-rgb: 251, 191, 36;
  --accent-secondary: #f43f5e;
  --accent-secondary-rgb: 244, 63, 94;
  --text-signature: #fbbf24;
  --glow-color: rgba(251, 191, 36, 0.25);
  --glow-strong: rgba(251, 191, 36, 0.45);
}

/* Alternate Theme: Matrix Emerald */
[data-theme="emerald"] {
  --bg-primary: #040906;
  --bg-secondary: #08140c;
  --bg-card: rgba(10, 28, 16, 0.65);
  --bg-card-hover: rgba(16, 42, 25, 0.85);
  --bg-glass: rgba(8, 20, 12, 0.7);
  --accent-primary: #34d399;
  --accent-primary-rgb: 52, 211, 153;
  --accent-secondary: #22d3ee;
  --accent-secondary-rgb: 34, 211, 238;
  --text-signature: #34d399;
  --glow-color: rgba(52, 211, 153, 0.25);
  --glow-strong: rgba(52, 211, 153, 0.45);
}

/* ==========================================================================
   Variety Music Background Themes (Synced to Current Playing Track)
   ========================================================================== */

/* Track 1 Theme: Dracula Crimson Blood Red */
[data-theme="dracula"],
[data-music-theme="dracula"],
.music-theme-dracula {
  --bg-primary: #0f0204;
  --bg-secondary: #1c0407;
  --bg-card: rgba(36, 7, 12, 0.72);
  --bg-card-hover: rgba(54, 10, 18, 0.88);
  --bg-glass: rgba(26, 4, 8, 0.8);
  --border-glass: rgba(255, 30, 66, 0.22);
  --border-focus: rgba(255, 30, 66, 0.65);
  --accent-primary: #ff1e42;
  --accent-primary-rgb: 255, 30, 66;
  --accent-secondary: #ff5277;
  --accent-secondary-rgb: 255, 82, 119;
  --accent-tertiary: #b91c1c;
  --text-signature: #ff2a55;
  --glow-color: rgba(255, 30, 66, 0.35);
  --glow-strong: rgba(255, 30, 66, 0.65);
  --selection-color: rgba(255, 30, 66, 0.3);
}

/* Track 2 Theme: MONTAGEM ELDER - Phonk Electric Violet */
[data-theme="elder"],
[data-music-theme="elder"],
.music-theme-elder {
  --bg-primary: #080312;
  --bg-secondary: #140826;
  --bg-card: rgba(24, 12, 44, 0.72);
  --bg-card-hover: rgba(38, 18, 68, 0.88);
  --bg-glass: rgba(20, 8, 36, 0.8);
  --border-glass: rgba(168, 85, 247, 0.25);
  --border-focus: rgba(168, 85, 247, 0.65);
  --accent-primary: #a855f7;
  --accent-primary-rgb: 168, 85, 247;
  --accent-secondary: #ec4899;
  --accent-secondary-rgb: 236, 72, 153;
  --accent-tertiary: #7c3aed;
  --text-signature: #c084fc;
  --glow-color: rgba(168, 85, 247, 0.35);
  --glow-strong: rgba(168, 85, 247, 0.65);
  --selection-color: rgba(168, 85, 247, 0.3);
}

/* Track 3 Theme: X-COOL! - Glacial Cyber Cyan / Ice Blue */
[data-theme="xcool"],
[data-music-theme="xcool"],
.music-theme-xcool {
  --bg-primary: #020b14;
  --bg-secondary: #05192d;
  --bg-card: rgba(8, 28, 48, 0.72);
  --bg-card-hover: rgba(12, 44, 76, 0.88);
  --bg-glass: rgba(6, 24, 40, 0.8);
  --border-glass: rgba(0, 240, 255, 0.25);
  --border-focus: rgba(0, 240, 255, 0.65);
  --accent-primary: #00f0ff;
  --accent-primary-rgb: 0, 240, 255;
  --accent-secondary: #38bdf8;
  --accent-secondary-rgb: 56, 189, 248;
  --accent-tertiary: #0284c7;
  --text-signature: #00f0ff;
  --glow-color: rgba(0, 240, 255, 0.35);
  --glow-strong: rgba(0, 240, 255, 0.65);
  --selection-color: rgba(0, 240, 255, 0.3);
}

/* Track 4 Theme: Luz Roja - Inferno Amber / Molten Flame */
[data-theme="luzroja"],
[data-music-theme="luzroja"],
.music-theme-luzroja {
  --bg-primary: #120601;
  --bg-secondary: #220e04;
  --bg-card: rgba(42, 16, 8, 0.72);
  --bg-card-hover: rgba(64, 26, 12, 0.88);
  --bg-glass: rgba(30, 12, 6, 0.8);
  --border-glass: rgba(255, 107, 0, 0.25);
  --border-focus: rgba(255, 107, 0, 0.65);
  --accent-primary: #ff6b00;
  --accent-primary-rgb: 255, 107, 0;
  --accent-secondary: #fbbf24;
  --accent-secondary-rgb: 251, 191, 36;
  --accent-tertiary: #ea580c;
  --text-signature: #ff8c38;
  --glow-color: rgba(255, 107, 0, 0.35);
  --glow-strong: rgba(255, 107, 0, 0.65);
  --selection-color: rgba(255, 107, 0, 0.3);
}

/* Track 5 Theme: MONTAGEM PEGADORA - Acid Toxic Emerald */
[data-theme="pegadora"],
[data-music-theme="pegadora"],
.music-theme-pegadora {
  --bg-primary: #020e05;
  --bg-secondary: #051f0e;
  --bg-card: rgba(8, 38, 18, 0.72);
  --bg-card-hover: rgba(12, 58, 28, 0.88);
  --bg-glass: rgba(6, 30, 14, 0.8);
  --border-glass: rgba(16, 185, 129, 0.25);
  --border-focus: rgba(16, 185, 129, 0.65);
  --accent-primary: #10b981;
  --accent-primary-rgb: 16, 185, 129;
  --accent-secondary: #06d6a0;
  --accent-secondary-rgb: 6, 214, 160;
  --accent-tertiary: #059669;
  --text-signature: #34d399;
  --glow-color: rgba(16, 185, 129, 0.35);
  --glow-strong: rgba(16, 185, 129, 0.65);
  --selection-color: rgba(16, 185, 129, 0.3);
}

/* Track 6 Theme: MONTAGEM RITMADA - Synthwave Neon Magenta */
[data-theme="ritmada"],
[data-music-theme="ritmada"],
.music-theme-ritmada {
  --bg-primary: #12020d;
  --bg-secondary: #24041b;
  --bg-card: rgba(40, 8, 30, 0.72);
  --bg-card-hover: rgba(62, 12, 48, 0.88);
  --bg-glass: rgba(30, 6, 22, 0.8);
  --border-glass: rgba(244, 63, 94, 0.25);
  --border-focus: rgba(244, 63, 94, 0.65);
  --accent-primary: #f43f5e;
  --accent-primary-rgb: 244, 63, 94;
  --accent-secondary: #d946ef;
  --accent-secondary-rgb: 217, 70, 239;
  --accent-tertiary: #e11d48;
  --text-signature: #fb7185;
  --glow-color: rgba(244, 63, 94, 0.35);
  --glow-strong: rgba(244, 63, 94, 0.65);
  --selection-color: rgba(244, 63, 94, 0.3);
}

/* Dynamic Ambient Atmosphere Overlay */
.music-vignette,
.dracula-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, background 0.8s ease-in-out;
}

.music-active .music-vignette,
.music-active .dracula-vignette,
.dracula-mode-active .music-vignette,
.dracula-mode-active .dracula-vignette,
[data-music-theme] .music-vignette {
  opacity: 1;
}

[data-music-theme="dracula"] .music-vignette,
[data-theme="dracula"] .music-vignette {
  background: radial-gradient(circle at 50% 15%, rgba(255, 30, 66, 0.18) 0%, rgba(180, 15, 40, 0.08) 50%, rgba(15, 2, 4, 0.6) 100%);
  box-shadow: inset 0 0 120px rgba(255, 20, 55, 0.2);
}

[data-music-theme="elder"] .music-vignette,
[data-theme="elder"] .music-vignette {
  background: radial-gradient(circle at 50% 15%, rgba(168, 85, 247, 0.18) 0%, rgba(120, 40, 200, 0.08) 50%, rgba(8, 3, 18, 0.6) 100%);
  box-shadow: inset 0 0 120px rgba(168, 85, 247, 0.2);
}

[data-music-theme="xcool"] .music-vignette,
[data-theme="xcool"] .music-vignette {
  background: radial-gradient(circle at 50% 15%, rgba(0, 240, 255, 0.16) 0%, rgba(0, 120, 220, 0.08) 50%, rgba(2, 11, 20, 0.6) 100%);
  box-shadow: inset 0 0 120px rgba(0, 240, 255, 0.2);
}

[data-music-theme="luzroja"] .music-vignette,
[data-theme="luzroja"] .music-vignette {
  background: radial-gradient(circle at 50% 15%, rgba(255, 107, 0, 0.18) 0%, rgba(200, 60, 0, 0.08) 50%, rgba(18, 6, 1, 0.6) 100%);
  box-shadow: inset 0 0 120px rgba(255, 107, 0, 0.2);
}

[data-music-theme="pegadora"] .music-vignette,
[data-theme="pegadora"] .music-vignette {
  background: radial-gradient(circle at 50% 15%, rgba(16, 185, 129, 0.18) 0%, rgba(10, 120, 80, 0.08) 50%, rgba(2, 14, 5, 0.6) 100%);
  box-shadow: inset 0 0 120px rgba(16, 185, 129, 0.2);
}

[data-music-theme="ritmada"] .music-vignette,
[data-theme="ritmada"] .music-vignette {
  background: radial-gradient(circle at 50% 15%, rgba(244, 63, 94, 0.18) 0%, rgba(200, 30, 120, 0.08) 50%, rgba(18, 2, 13, 0.6) 100%);
  box-shadow: inset 0 0 120px rgba(244, 63, 94, 0.2);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.6s ease, color 0.6s ease;
}

::selection {
  background-color: var(--selection-color);
  color: var(--accent-primary);
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Utility Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 120px 0;
  position: relative;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--accent-primary) 60%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Section Header Structure */
.section-header {
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(var(--accent-primary-rgb), 0.1);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

/* Glassmorphism Panel Base */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
}

.glass-pill {
  background: rgba(18, 20, 28, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   3. Loading Animation Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background-color: #060608;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--accent-primary-rgb), 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  animation: pulseGlow 3s infinite alternate ease-in-out;
}

.preloader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 420px;
  padding: 0 20px;
}

.preloader-orb-wrapper {
  margin: 0 auto 30px;
  width: 90px;
  height: 90px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-orb {
  width: 50px;
  height: 50px;
  position: relative;
}

.orb-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 20%, var(--accent-primary) 60%, rgba(var(--accent-secondary-rgb), 0.5) 100%);
  box-shadow: 0 0 35px var(--accent-primary), 0 0 70px rgba(var(--accent-primary-rgb), 0.5);
  animation: coreBreathe 2s infinite alternate ease-in-out;
}

.orb-ring {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  border-radius: 50%;
  border: 1px dashed rgba(var(--accent-primary-rgb), 0.6);
  animation: rotateRing 8s linear infinite;
}

.ring-2 {
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  border-color: rgba(var(--accent-secondary-rgb), 0.4);
  animation-duration: 12s;
  animation-direction: reverse;
}

.ring-3 {
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  border-color: rgba(255, 255, 255, 0.2);
  animation-duration: 16s;
}

.preloader-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: #ffffff;
  margin-bottom: 6px;
}

.preloader-subtitle {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--accent-primary);
  margin-bottom: 24px;
}

.preloader-bar-container {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
  box-shadow: 0 0 12px var(--accent-primary);
  transition: width 0.15s ease;
}

.preloader-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.preloader-percent {
  color: var(--accent-primary);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. Background Canvas & Noise Texture
   -------------------------------------------------------------------------- */
.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
  box-shadow: 0 0 10px var(--accent-primary);
  z-index: 9999;
  transition: width 0.05s linear;
}

/* --------------------------------------------------------------------------
   5. Custom Modern Designer Pointer Cursor
   -------------------------------------------------------------------------- */
@media (pointer: fine) {
  *, *::before, *::after,
  body, a, button, input, textarea, select, [role="button"], .tilt-card {
    cursor: none !important;
  }
}

.cursor-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}

/* Sleek Sharp Designer Arrow Pointer */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 10002;
  transform: translate(0, 0);
  transition: opacity 0.25s ease, transform 0.12s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 8px rgba(var(--accent-primary-rgb), 0.7));
}

.custom-cursor.hidden {
  opacity: 0;
}

.cursor-pointer-svg {
  width: 22px;
  height: 22px;
  display: block;
  transform-origin: 3px 3px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Trailing Smooth Ambient Aura Follower */
.custom-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-primary-rgb), 0.2) 0%, rgba(var(--accent-secondary-rgb), 0.05) 60%, transparent 80%);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.4);
  box-shadow: 0 0 16px rgba(var(--accent-primary-rgb), 0.3);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              opacity 0.3s ease;
  opacity: 1;
}

.custom-cursor-follower.hidden {
  opacity: 0;
}

/* Hover States for Interactive Elements */
.custom-cursor.cursor-hover .cursor-pointer-svg {
  transform: scale(1.18) rotate(-6deg);
  filter: brightness(1.2);
}

.custom-cursor-follower.cursor-hover {
  width: 52px;
  height: 52px;
  background: radial-gradient(circle, rgba(var(--accent-primary-rgb), 0.3) 0%, rgba(var(--accent-primary-rgb), 0.1) 60%, transparent 80%);
  border-color: var(--accent-primary);
  box-shadow: 0 0 25px rgba(var(--accent-primary-rgb), 0.5);
}

/* Click Active State */
.custom-cursor.cursor-click .cursor-pointer-svg {
  transform: scale(0.85);
}

.custom-cursor-follower.cursor-click {
  width: 24px;
  height: 24px;
  border-color: #ffffff;
}

/* Ripple Shockwave */
.cursor-click-shockwave {
  position: fixed;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  animation: rippleWave 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rippleWave {
  0% { width: 0; height: 0; opacity: 1; border-width: 3px; }
  100% { width: 70px; height: 70px; opacity: 0; border-width: 1px; }
}

@media (pointer: coarse) {
  .custom-cursor, .custom-cursor-follower, .cursor-canvas {
    display: none !important;
  }
}

@media (pointer: coarse) {
  .custom-cursor, .custom-cursor-follower, .cursor-canvas {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   6. Floating Controls (Sound FX, Multi-Track Music Player Suite & Theme Switcher)
   -------------------------------------------------------------------------- */
.floating-controls {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* Floating Music Player Suite Capsule - Compact & Sleek */
.music-player-suite {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 2px 4px;
  gap: 2px;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
  position: relative;
}

.music-player-suite:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 18px var(--glow-color);
}

.music-player-suite.playing {
  border-color: var(--accent-primary);
  box-shadow: 0 0 22px var(--glow-strong);
}

.music-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.65rem;
  transition: all var(--transition-fast);
}

.music-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-primary);
  transform: scale(1.08);
}

.music-play-btn {
  background: rgba(var(--accent-primary-rgb), 0.15);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
  color: var(--accent-primary);
  width: 28px;
  height: 28px;
  font-size: 0.72rem;
}

.music-play-btn.playing {
  background: var(--accent-primary);
  color: #08080c;
  box-shadow: 0 0 12px var(--accent-primary);
}

.music-info-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 5px 0 2px;
  cursor: pointer;
  max-width: 105px;
  overflow: hidden;
  user-select: none;
}

.music-title-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.music-player-suite:hover .music-title-text {
  color: var(--accent-primary);
}

/* Animated Soundwave Equalizer Bars */
.music-eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
  width: 10px;
  flex-shrink: 0;
}

.eq-bar {
  width: 1.5px;
  background: currentColor;
  border-radius: 1px;
  height: 2px;
  transition: height 0.2s ease;
}

.music-player-suite.playing .eq-bar:nth-child(1) {
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}
.music-player-suite.playing .eq-bar:nth-child(2) {
  animation: eqBounce 1.1s ease-in-out infinite alternate 0.2s;
}
.music-player-suite.playing .eq-bar:nth-child(3) {
  animation: eqBounce 0.7s ease-in-out infinite alternate 0.4s;
}
.music-player-suite.playing .eq-bar:nth-child(4) {
  animation: eqBounce 0.9s ease-in-out infinite alternate 0.1s;
}

@keyframes eqBounce {
  0% { height: 2px; }
  50% { height: 10px; }
  100% { height: 3.5px; }
}

/* Floating Playlist Drawer - Compact */
.playlist-drawer {
  position: absolute;
  bottom: 42px;
  right: 0;
  width: 235px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  box-shadow: var(--shadow-elevated);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.95);
  transition: all var(--transition-bounce);
  z-index: 920;
}

.playlist-drawer.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border-glass);
}

.playlist-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.playlist-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 2px;
  border-radius: 4px;
  transition: color var(--transition-fast);
}

.playlist-close-btn:hover {
  color: #ffffff;
}

.playlist-items {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 2px;
}

.playlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glass);
  transform: translateX(2px);
}

.playlist-item.active {
  background: rgba(var(--accent-primary-rgb), 0.15);
  border-color: rgba(var(--accent-primary-rgb), 0.4);
}

.playlist-item-left {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
}

.playlist-item-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-primary);
  flex-shrink: 0;
}

.playlist-item-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.playlist-item-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-item-vibe {
  font-size: 0.6rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.playlist-item-state {
  display: flex;
  align-items: center;
  font-size: 0.65rem;
  color: var(--accent-primary);
}

.sound-toggle, .theme-toggle-btn {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
  position: relative;
  font-size: 0.8rem;
}

.sound-toggle {
  width: auto;
  border-radius: var(--radius-pill);
  padding: 0 12px 0 10px;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.sound-toggle:hover, .theme-toggle-btn:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px var(--glow-color);
  transform: translateY(-2px);
  color: var(--accent-primary);
}

.sound-toggle.active {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.theme-picker-wrapper {
  position: relative;
}

.theme-dropdown {
  position: absolute;
  bottom: 46px;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 6px;
  width: 170px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.95);
  transition: all var(--transition-bounce);
  box-shadow: var(--shadow-elevated);
  max-height: 270px;
  overflow-y: auto;
}

.theme-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 8px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.theme-option:hover, .theme-option.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.color-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.color-dot.cyber { background: #a3e635; box-shadow: 0 0 5px #a3e635; }
.color-dot.violet { background: #c084fc; box-shadow: 0 0 5px #c084fc; }
.color-dot.sunset { background: #fbbf24; box-shadow: 0 0 5px #fbbf24; }
.color-dot.emerald { background: #34d399; box-shadow: 0 0 5px #34d399; }
.color-dot.dracula { background: #ff1e42; box-shadow: 0 0 5px #ff1e42; }
.color-dot.elder { background: #a855f7; box-shadow: 0 0 5px #a855f7; }
.color-dot.xcool { background: #00f0ff; box-shadow: 0 0 5px #00f0ff; }
.color-dot.luzroja { background: #ff6b00; box-shadow: 0 0 5px #ff6b00; }
.color-dot.pegadora { background: #10b981; box-shadow: 0 0 5px #10b981; }
.color-dot.ritmada { background: #f43f5e; box-shadow: 0 0 5px #f43f5e; }

/* --------------------------------------------------------------------------
   7. Navigation Bar
   -------------------------------------------------------------------------- */
.navbar-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 800;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  transition: transform 0.4s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1040px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}

.logo-accent {
  color: var(--accent-primary);
  text-shadow: 0 0 10px var(--accent-primary);
}

.logo-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(var(--accent-primary-rgb), 0.15);
  color: var(--accent-primary);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Header Navbar Social Strip */
.nav-social-strip {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.nav-social-svg {
  width: 14px;
  height: 14px;
  display: block;
}

.nav-social-btn:hover {
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--accent-primary);
  color: #08080c;
  box-shadow: 0 0 25px rgba(var(--accent-primary-rgb), 0.35);
}

.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  color: #08080c;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-glass);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 20px var(--glow-color);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   8. Hero Section (Recreating Reference Design)
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  padding: 140px 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-spotlight {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -20%);
  width: 700px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--accent-primary-rgb), 0.1) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Status Pill & Music Trigger */
.status-pill-wrapper {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
  animation: pulseDot 2s infinite;
}

.hero-music-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  font-size: 0.74rem;
  color: var(--text-main);
  cursor: pointer;
  background: rgba(22, 24, 34, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  transition: all var(--transition-smooth);
}

.hero-music-pill:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 14px var(--glow-color);
  transform: translateY(-1px);
}

.hero-music-icon {
  font-size: 0.82rem;
  color: var(--accent-primary);
  transition: transform 0.5s ease;
}

.hero-music-pill.playing .hero-music-icon {
  animation: spinRecord 2.5s linear infinite;
  color: #ff1e42;
}

@keyframes spinRecord {
  100% { transform: rotate(360deg); }
}

.hero-music-tag {
  background: rgba(var(--accent-primary-rgb), 0.15);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.3);
  color: var(--accent-primary);
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.hero-music-pill.playing {
  border-color: #ff1e42;
  box-shadow: 0 0 25px rgba(255, 30, 66, 0.35);
  background: rgba(38, 7, 12, 0.85);
}

.hero-music-pill.playing .hero-music-tag {
  background: #ff1e42;
  color: #ffffff;
  border-color: #ff1e42;
  box-shadow: 0 0 10px rgba(255, 30, 66, 0.6);
}

/* Hero Content Main Wrapper (Clean, open layout without box outlines) */
.hero-content-wrapper {
  position: relative;
  max-width: 960px;
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Category Label */
.hero-category-label {
  text-align: center;
  width: 100%;
  margin-bottom: 8px;
}

.cat-tag {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.5px;
}

/* Hero Title & Iconic Glowing Orb Hands */
.hero-title-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 11vw, 9.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -2px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.title-char {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

.title-char:hover {
  transform: translateY(-8px) scale(1.06);
  color: var(--accent-primary);
}

/* Center Orb Container with Hands */
.title-orb-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: clamp(75px, 12vw, 150px);
  height: clamp(75px, 12vw, 150px);
  margin: 0 4px;
  vertical-align: middle;
}

.hero-orb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.8), 0 0 80px var(--glow-strong);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: orbHoverFloat 4s ease-in-out infinite;
}

.title-orb-container:hover .hero-orb-img {
  transform: scale(1.08);
  box-shadow: 0 0 60px rgba(255, 255, 255, 1), 0 0 100px var(--accent-primary);
}

.orb-glow-flare {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(var(--accent-primary-rgb), 0.4) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(15px);
  z-index: 1;
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

/* Handwritten Signature "ItsMe_Rayhaan" */
.hero-signature-name {
  position: absolute;
  bottom: -15px;
  right: 5%;
  z-index: 5;
  pointer-events: auto;
  transform: rotate(-7deg);
}

.signature-text {
  font-family: var(--font-signature);
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700;
  color: var(--text-signature);
  text-shadow: 0 0 18px rgba(var(--accent-primary-rgb), 0.65), 0 0 35px rgba(var(--accent-primary-rgb), 0.3);
  cursor: pointer;
  transition: transform 0.3s var(--transition-bounce), filter 0.3s ease;
  display: inline-block;
  white-space: nowrap;
}

.signature-text:hover {
  transform: scale(1.1) rotate(-3deg);
  filter: brightness(1.2);
}

/* Interactive Generative AI Prompt Bar */
.generative-prompt-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(14, 16, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 660px;
  margin: 15px auto 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.generative-prompt-bar:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 25px var(--glow-color);
}

.prompt-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.prompt-icon {
  color: var(--accent-primary);
  font-size: 1rem;
}

.prompt-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

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

.prompt-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-prompt-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-prompt-icon:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-prompt-text {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-prompt-text:hover {
  color: #ffffff;
}

.btn-prompt-generate {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  color: #ffffff;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-prompt-generate:hover {
  background: var(--accent-primary);
  color: #08080c;
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px var(--accent-primary);
}

/* Hero Tagline & CTA Group */
.hero-footer-actions {
  max-width: 720px;
  margin: 0 auto;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

/* Hero Social Channels Row */
.hero-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.hero-social-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-badges-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(18, 20, 30, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.hero-social-svg {
  width: 15px;
  height: 15px;
  display: block;
}

.hero-channel-badge:hover {
  transform: translateY(-2px);
}

/* Scroll Down Mouse Indicator */
.scroll-down-wrapper {
  margin-top: 10px;
}

.scroll-down-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 2px;
  transition: color var(--transition-fast);
}

.scroll-down-indicator:hover {
  color: var(--accent-primary);
}

.mouse-wheel {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-dim);
  border-radius: 12px;
  position: relative;
  transition: border-color var(--transition-fast);
}

.scroll-down-indicator:hover .mouse-wheel {
  border-color: var(--accent-primary);
}

.mouse-wheel::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 2px;
  animation: scrollWheel 2s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   9. Stats Strip Section
   -------------------------------------------------------------------------- */
.stats-strip-section {
  position: relative;
  z-index: 10;
  margin-top: -30px;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 20px;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 0 16px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-glass);
}

.stat-number-wrapper {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-plus {
  color: var(--accent-primary);
  font-size: 2.2rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

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

/* --------------------------------------------------------------------------
   10. About Section (Bento Grid)
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  position: relative;
  padding: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.bento-card-bio {
  grid-column: span 7;
}

.bento-card-time {
  grid-column: span 5;
  justify-content: space-between;
}

.bento-card-quote {
  grid-column: span 5;
  justify-content: center;
}

.bento-card-stack {
  grid-column: span 7;
}

.bento-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.accent-highlight {
  color: var(--accent-primary);
}

.bento-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.tech-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Time & Location Bento */
.time-display {
  margin: 16px 0;
}

.live-clock {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
}

.time-timezone {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.radar-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-top: 20px;
}

.radar-ping {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-primary);
  position: relative;
}

.radar-ping::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-primary);
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Quote Bento */
.quote-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  opacity: 0.4;
  margin-bottom: 12px;
}

.quote-text {
  font-size: 1.25rem;
  font-style: italic;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 16px;
}

.quote-author {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-primary);
}

/* Stack Marquee */
.stack-marquee-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  padding: 10px 0;
}

.stack-marquee {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.stack-marquee:hover {
  animation-play-state: paused;
}

.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.stack-pill i {
  color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   11. Skills Section
   -------------------------------------------------------------------------- */
.skills-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.skill-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.skill-tab-btn:hover, .skill-tab-btn.active {
  background: var(--accent-primary);
  color: #08080c;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--glow-color);
}

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

.skill-card {
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.skill-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.color-pink { background: rgba(244, 63, 94, 0.15); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.3); }
.color-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.3); }
.color-yellow { background: rgba(234, 179, 8, 0.15); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.3); }
.color-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); }
.color-cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.3); }
.color-green { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }

.skill-info {
  flex: 1;
}

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

.skill-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.skill-percent {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.skill-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.skill-meter-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.skill-meter-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   12. Featured Projects Section
   -------------------------------------------------------------------------- */
.project-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.proj-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.proj-filter-btn:hover, .proj-filter-btn.active {
  background: var(--accent-primary);
  color: #08080c;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px var(--glow-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.project-media {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.project-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-visual {
  transform: scale(1.04);
}

/* Project Visual Backdrops */
.visual-gradient-1 {
  background: radial-gradient(circle at 30% 30%, #1e1b4b, #09090b 80%);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.visual-gradient-2 {
  background: radial-gradient(circle at 70% 30%, #032b30, #09090b 80%);
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.visual-gradient-3 {
  background: radial-gradient(circle at 50% 50%, #2e1065, #09090b 80%);
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.visual-gradient-4 {
  background: radial-gradient(circle at 40% 60%, #3b1d03, #09090b 80%);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.visual-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.project-mockup-art {
  text-align: center;
  color: #ffffff;
}

.mockup-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent-primary);
}

.project-mockup-art h3 {
  font-size: 1.8rem;
  margin: 6px 0;
}

.mockup-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, var(--accent-primary));
  box-shadow: 0 0 40px var(--accent-primary);
  margin: 0 auto 12px;
}

.mockup-eq-bars {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  height: 50px;
  margin-bottom: 12px;
}

.mockup-eq-bars span {
  width: 6px;
  height: 100%;
  background: var(--accent-secondary);
  border-radius: 3px;
  animation: eqPulse 1.2s infinite ease-in-out alternate;
}
.mockup-eq-bars span:nth-child(2) { animation-delay: 0.2s; height: 60%; }
.mockup-eq-bars span:nth-child(3) { animation-delay: 0.4s; height: 90%; }
.mockup-eq-bars span:nth-child(4) { animation-delay: 0.1s; height: 40%; }
.mockup-eq-bars span:nth-child(5) { animation-delay: 0.5s; height: 75%; }
.mockup-eq-bars span:nth-child(6) { animation-delay: 0.3s; height: 50%; }

.mockup-typography-art {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(90deg, #ff007a, #00f0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.btn-quick-view {
  background: #ffffff;
  color: #08080c;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(10px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.project-card:hover .btn-quick-view {
  transform: translateY(0);
}

.btn-quick-view:hover {
  background: var(--accent-primary);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.project-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.project-summary {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.project-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.btn-link-action {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-link-action:hover {
  background: var(--accent-primary);
  color: #08080c;
  border-color: var(--accent-primary);
}

.btn-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-link-icon:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   13. Interactive Terminal Easter Egg
   -------------------------------------------------------------------------- */
.terminal-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #08090e;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.terminal-header {
  background: #11121a;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-term-action {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.btn-term-action:hover {
  color: #ffffff;
}

.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  min-height: 320px;
  max-height: 480px;
  overflow-y: auto;
}

.terminal-output {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.term-line {
  word-break: break-word;
}

.term-highlight {
  color: var(--accent-primary);
  font-weight: 700;
}

.term-cmd {
  color: #38bdf8;
  font-weight: 600;
}

.term-quick-commands {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 16px;
}

.term-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.term-chip:hover {
  background: var(--accent-primary);
  color: #08080c;
}

.terminal-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.terminal-prompt {
  color: var(--accent-primary);
  font-weight: 700;
  white-space: nowrap;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   14. Experience & Journey Timeline
   -------------------------------------------------------------------------- */
.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-line-glow {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-line-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  box-shadow: 0 0 12px var(--accent-primary);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 48px;
}

.timeline-node {
  position: absolute;
  left: 12px;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #12141c;
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 0.9rem;
  box-shadow: 0 0 15px var(--glow-color);
  z-index: 2;
}

.timeline-content {
  padding: 30px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.timeline-role {
  font-size: 1.3rem;
  color: #ffffff;
}

.timeline-company {
  color: var(--accent-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 2px;
}

.timeline-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tags span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   15. Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testi-stars {
  color: #fbbf24;
  display: flex;
  gap: 4px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.testi-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
}

.avatar-1 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.avatar-2 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.avatar-3 { background: linear-gradient(135deg, #10b981, #06b6d4); }

.testi-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.testi-title {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   16. Contact Section
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 36px;
}

.contact-info-panel, .contact-form-panel {
  padding: 40px;
}

.contact-panel-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-panel-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.contact-method-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
}

.method-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(var(--accent-primary-rgb), 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.method-details {
  flex: 1;
}

.method-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}

.method-value {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

.method-value:hover {
  color: var(--accent-primary);
}

.btn-copy-email {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-copy-email:hover {
  color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
}

.contact-socials {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
}

.socials-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.social-icons-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
  position: relative;
}

.social-svg-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.social-link:hover {
  background: var(--accent-primary);
  color: #08080c;
  border-color: var(--accent-primary);
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 0 20px var(--glow-color);
}

/* Custom Social Brand Hover States */
.social-link.social-youtube:hover,
.footer-social-link.social-youtube:hover {
  background: #ff0000 !important;
  color: #ffffff !important;
  border-color: #ff0000 !important;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.65) !important;
}

.social-link.social-whatsapp:hover,
.footer-social-link.social-whatsapp:hover {
  background: #25d366 !important;
  color: #ffffff !important;
  border-color: #25d366 !important;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.65) !important;
}

.social-link.social-roblox:hover,
.footer-social-link.social-roblox:hover {
  background: #e2231a !important;
  color: #ffffff !important;
  border-color: #e2231a !important;
  box-shadow: 0 0 25px rgba(226, 35, 26, 0.65) !important;
}

/* Footer Socials */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-svg-icon {
  width: 15px;
  height: 15px;
  display: block;
}

.footer-social-link:hover {
  background: var(--accent-primary);
  color: #08080c;
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 0 15px var(--glow-color);
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(10, 12, 18, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px var(--glow-color);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.textarea-wrapper .input-icon {
  top: 18px;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.error-msg {
  font-size: 0.75rem;
  color: #f43f5e;
  min-height: 16px;
}

.btn-submit {
  width: 100%;
  margin-top: 10px;
  padding: 16px;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-glass);
  position: relative;
  background: #050508;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
  text-decoration: none;
}

.footer-tagline {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--accent-primary);
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.back-to-top:hover {
  background: var(--accent-primary);
  color: #08080c;
  transform: translateY(-4px);
  box-shadow: 0 0 20px var(--glow-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.heart-pulse {
  display: inline-block;
  animation: heartBeat 1.5s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   18. Project Case Study Modal
   -------------------------------------------------------------------------- */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.project-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.project-modal {
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal-backdrop.open .project-modal {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--accent-primary);
  color: #08080c;
}

/* --------------------------------------------------------------------------
   19. Toast Notification System
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #161822;
  border: 1px solid var(--accent-primary);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--glow-color);
  z-index: 10002;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--accent-primary);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   20. Scroll Animations & Keyframes
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.fade-up { transform: translateY(40px); }
.animate-on-scroll.fade-down { transform: translateY(-40px); }
.animate-on-scroll.fade-left { transform: translateX(-40px); }
.animate-on-scroll.fade-right { transform: translateX(40px); }
.animate-on-scroll.scale-in { transform: scale(0.92); }

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* 3D Tilt Card Container */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

/* Animations */
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -20%) scale(0.9); opacity: 0.6; }
  100% { transform: translate(-50%, -20%) scale(1.1); opacity: 0.9; }
}

@keyframes coreBreathe {
  0% { transform: scale(0.9); filter: brightness(1); }
  100% { transform: scale(1.1); filter: brightness(1.3); }
}

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

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

@keyframes floatIndicator {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, 4px); }
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

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

@keyframes eqPulse {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1); }
}

@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.25); }
  70% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   21. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .bento-card-bio, .bento-card-stack { grid-column: span 12; }
  .bento-card-time, .bento-card-quote { grid-column: span 6; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    flex-direction: column;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all var(--transition-bounce);
    box-shadow: var(--shadow-elevated);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-content-wrapper {
    padding: 10px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .bento-card-time, .bento-card-quote {
    grid-column: span 12;
  }

  .skills-grid, .projects-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .chatbot-window {
    left: 10px;
    right: 10px;
    bottom: 80px;
    width: auto;
    max-width: none;
    height: 480px;
  }
}

/* --------------------------------------------------------------------------
   22. Floating Social & AI Chatbot Dock (Bottom-Left)
   -------------------------------------------------------------------------- */
.floating-social-ai-dock {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 10px;
}

.side-dock-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 16, 24, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.side-dock-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  position: relative;
  transition: all var(--transition-bounce);
}

.dock-svg-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.side-dock-btn:hover {
  transform: translateY(-4px) scale(1.1);
}

.dock-tooltip {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #11131c;
  border: 1px solid var(--border-glass);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}

.side-dock-btn:hover .dock-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Floating Launcher Button */
.chatbot-trigger {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #10121a;
  border: 1.5px solid var(--accent-primary);
  box-shadow: 0 0 25px var(--glow-color), 0 8px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-bounce);
  color: var(--accent-primary);
}

.chatbot-trigger:hover {
  transform: scale(1.08) translateY(-3px);
  background: var(--accent-primary);
  color: #08080c;
  box-shadow: 0 0 35px var(--accent-primary);
}

.chatgpt-icon-box {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatgpt-icon {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.chatbot-trigger:hover .chatgpt-icon {
  transform: rotate(30deg);
}

.chatbot-pulse-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #10121a;
  border-radius: 50%;
}

.chatbot-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid #10b981;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.chatbot-hint-badge {
  position: absolute;
  left: 64px;
  background: rgba(16, 18, 26, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.chatbot-trigger:hover .chatbot-hint-badge {
  opacity: 1;
  transform: translateX(0);
}

/* Chatbot Dialog Window */
.chatbot-window {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 380px;
  height: 520px;
  background: #0d0f17;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px var(--glow-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateY(20px);
  transform-origin: bottom left;
  transition: all var(--transition-bounce);
}

.chatbot-window.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

/* Chat Header */
.chat-header {
  padding: 14px 18px;
  background: rgba(18, 20, 30, 0.95);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(var(--accent-primary-rgb), 0.15);
  border: 1px solid rgba(var(--accent-primary-rgb), 0.4);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatgpt-icon-mini {
  width: 18px;
  height: 18px;
}

.chat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.chat-status {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.chat-header-actions {
  display: flex;
  gap: 6px;
}

.chat-action-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.chat-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Messages Stream */
.chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: radial-gradient(circle at 50% 0%, rgba(var(--accent-primary-rgb), 0.04), transparent 70%);
}

.chat-msg {
  display: flex;
  gap: 10px;
  max-width: 90%;
}

.msg-ai {
  align-self: flex-start;
}

.msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(var(--accent-primary-rgb), 0.2);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatgpt-avatar-icon {
  width: 15px;
  height: 15px;
}

.msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  position: relative;
  word-break: break-word;
}

.msg-ai .msg-bubble {
  background: rgba(26, 29, 42, 0.8);
  border: 1px solid var(--border-glass);
  color: #e2e8f0;
  border-top-left-radius: 4px;
}

.msg-user .msg-bubble {
  background: var(--accent-primary);
  color: #08080c;
  font-weight: 500;
  border-top-right-radius: 4px;
}

.msg-bubble strong {
  color: #ffffff;
}

.msg-user .msg-bubble strong {
  color: #000000;
}

/* Quick Suggestion Chips */
.chat-suggestions {
  display: flex;
  gap: 6px;
  padding: 8px 14px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(14, 16, 24, 0.6);
  scrollbar-width: none;
}

.chat-suggestions::-webkit-scrollbar {
  display: none;
}

.chat-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chat-chip:hover {
  background: rgba(var(--accent-primary-rgb), 0.15);
  border-color: var(--accent-primary);
  color: #ffffff;
}

/* Chat Input Row */
.chat-input-area {
  padding: 10px 14px;
  background: #11131c;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.chat-input:focus {
  border-color: var(--accent-primary);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: none;
  color: #08080c;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 15px var(--accent-primary);
}
