/* ============================================
   FURRISH TRANSLATOR - EPIC COSMIC THEME
   ============================================ */

/* ========== ROOT VARIABLES - THEMES ========== */
:root {
  /* Cosmic Blue Theme (Default) */
  --bg-primary: #0a0e1a;
  --bg-secondary: #121829;
  --bg-tertiary: #1a2236;
  --bg-panel: linear-gradient(135deg, #1a2236 0%, #121829 100%);
  --text-primary: #e8f0ff;
  --text-secondary: #a8b8d8;
  --text-muted: #6b7a9d;
  --accent-primary: #4d9eff;
  --accent-secondary: #7db3ff;
  --accent-glow: #00d4ff;
  --border-color: #2a3750;
  --shadow-color: rgba(77, 158, 255, 0.3);
  --glow-color: rgba(77, 158, 255, 0.6);
  --star-color: #ffffff;
}

/* Purple Galaxy Theme */
[data-theme="purple-galaxy"] {
  --bg-primary: #1a0a1f;
  --bg-secondary: #251232;
  --bg-tertiary: #331a42;
  --bg-panel: linear-gradient(135deg, #331a42 0%, #251232 100%);
  --text-primary: #f0e8ff;
  --text-secondary: #d8b8e8;
  --text-muted: #9d7aad;
  --accent-primary: #a855f7;
  --accent-secondary: #c084fc;
  --accent-glow: #e879f9;
  --border-color: #502a70;
  --shadow-color: rgba(168, 85, 247, 0.3);
  --glow-color: rgba(168, 85, 247, 0.6);
  --star-color: #e879f9;
}

/* Forest Green Theme */
[data-theme="forest-green"] {
  --bg-primary: #0a1f0f;
  --bg-secondary: #12291a;
  --bg-tertiary: #1a3626;
  --bg-panel: linear-gradient(135deg, #1a3626 0%, #12291a 100%);
  --text-primary: #e8ffe8;
  --text-secondary: #b8e8c8;
  --text-muted: #7a9d8a;
  --accent-primary: #22c55e;
  --accent-secondary: #4ade80;
  --accent-glow: #86efac;
  --border-color: #2a5037;
  --shadow-color: rgba(34, 197, 94, 0.3);
  --glow-color: rgba(34, 197, 94, 0.6);
  --star-color: #86efac;
}

/* Sunset Orange Theme */
[data-theme="sunset-orange"] {
  --bg-primary: #1f0f0a;
  --bg-secondary: #291a12;
  --bg-tertiary: #36261a;
  --bg-panel: linear-gradient(135deg, #36261a 0%, #291a12 100%);
  --text-primary: #fff0e8;
  --text-secondary: #e8d0b8;
  --text-muted: #9d8a7a;
  --accent-primary: #f97316;
  --accent-secondary: #fb923c;
  --accent-glow: #fdba74;
  --border-color: #503a2a;
  --shadow-color: rgba(249, 115, 22, 0.3);
  --glow-color: rgba(249, 115, 22, 0.6);
  --star-color: #fdba74;
}

/* Rose Pink Theme */
[data-theme="rose-pink"] {
  --bg-primary: #1f0a15;
  --bg-secondary: #29121f;
  --bg-tertiary: #361a2a;
  --bg-panel: linear-gradient(135deg, #361a2a 0%, #29121f 100%);
  --text-primary: #ffe8f0;
  --text-secondary: #e8b8c8;
  --text-muted: #9d7a85;
  --accent-primary: #f43f5e;
  --accent-secondary: #fb7185;
  --accent-glow: #fda4af;
  --border-color: #502a37;
  --shadow-color: rgba(244, 63, 94, 0.3);
  --glow-color: rgba(244, 63, 94, 0.6);
  --star-color: #fda4af;
}

/* Cyber Neon Theme */
[data-theme="cyber-neon"] {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #1a1a1a;
  --bg-panel: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  --text-primary: #e8fff8;
  --text-secondary: #b8e8d8;
  --text-muted: #7a9d90;
  --accent-primary: #00ff88;
  --accent-secondary: #00ffcc;
  --accent-glow: #00ffff;
  --border-color: #2a5040;
  --shadow-color: rgba(0, 255, 136, 0.3);
  --glow-color: rgba(0, 255, 136, 0.6);
  --star-color: #00ffff;
}

/* Ocean Teal Theme */
[data-theme="ocean-teal"] {
  --bg-primary: #0a1f1f;
  --bg-secondary: #122929;
  --bg-tertiary: #1a3636;
  --bg-panel: linear-gradient(135deg, #1a3636 0%, #122929 100%);
  --text-primary: #e8fffc;
  --text-secondary: #b8e8e0;
  --text-muted: #7a9d95;
  --accent-primary: #14b8a6;
  --accent-secondary: #2dd4bf;
  --accent-glow: #5eead4;
  --border-color: #2a5050;
  --shadow-color: rgba(20, 184, 166, 0.3);
  --glow-color: rgba(20, 184, 166, 0.6);
  --star-color: #5eead4;
}

/* Crimson Fire Theme */
[data-theme="crimson-fire"] {
  --bg-primary: #1f0a0a;
  --bg-secondary: #291212;
  --bg-tertiary: #361a1a;
  --bg-panel: linear-gradient(135deg, #361a1a 0%, #291212 100%);
  --text-primary: #ffe8e8;
  --text-secondary: #e8b8b8;
  --text-muted: #9d7a7a;
  --accent-primary: #dc2626;
  --accent-secondary: #ef4444;
  --accent-glow: #f87171;
  --border-color: #502a2a;
  --shadow-color: rgba(220, 38, 38, 0.3);
  --glow-color: rgba(220, 38, 38, 0.6);
  --star-color: #f87171;
}

/* Midnight Purple Theme */
[data-theme="midnight-purple"] {
  --bg-primary: #0f0a1f;
  --bg-secondary: #1a1229;
  --bg-tertiary: #261a36;
  --bg-panel: linear-gradient(135deg, #261a36 0%, #1a1229 100%);
  --text-primary: #ede8ff;
  --text-secondary: #d0b8e8;
  --text-muted: #8a7a9d;
  --accent-primary: #7c3aed;
  --accent-secondary: #a78bfa;
  --accent-glow: #c4b5fd;
  --border-color: #3f2a50;
  --shadow-color: rgba(124, 58, 237, 0.3);
  --glow-color: rgba(124, 58, 237, 0.6);
  --star-color: #c4b5fd;
}

/* Golden Amber Theme */
[data-theme="golden-amber"] {
  --bg-primary: #1f1a0a;
  --bg-secondary: #292112;
  --bg-tertiary: #36291a;
  --bg-panel: linear-gradient(135deg, #36291a 0%, #292112 100%);
  --text-primary: #fffce8;
  --text-secondary: #e8e0b8;
  --text-muted: #9d957a;
  --accent-primary: #f59e0b;
  --accent-secondary: #fbbf24;
  --accent-glow: #fcd34d;
  --border-color: #50452a;
  --shadow-color: rgba(245, 158, 11, 0.3);
  --glow-color: rgba(245, 158, 11, 0.6);
  --star-color: #fcd34d;
}

/* Arctic Ice Theme */
[data-theme="arctic-ice"] {
  --bg-primary: #0a1a1f;
  --bg-secondary: #122129;
  --bg-tertiary: #1a2936;
  --bg-panel: linear-gradient(135deg, #1a2936 0%, #122129 100%);
  --text-primary: #e8f8ff;
  --text-secondary: #b8dce8;
  --text-muted: #7a909d;
  --accent-primary: #06b6d4;
  --accent-secondary: #22d3ee;
  --accent-glow: #67e8f9;
  --border-color: #2a4050;
  --shadow-color: rgba(6, 182, 212, 0.3);
  --glow-color: rgba(6, 182, 212, 0.6);
  --star-color: #67e8f9;
}

/* Cherry Blossom Theme */
[data-theme="cherry-blossom"] {
  --bg-primary: #1f0a1a;
  --bg-secondary: #291221;
  --bg-tertiary: #361a29;
  --bg-panel: linear-gradient(135deg, #361a29 0%, #291221 100%);
  --text-primary: #ffe8f8;
  --text-secondary: #e8b8dc;
  --text-muted: #9d7a90;
  --accent-primary: #ec4899;
  --accent-secondary: #f472b6;
  --accent-glow: #f9a8d4;
  --border-color: #502a40;
  --shadow-color: rgba(236, 72, 153, 0.3);
  --glow-color: rgba(236, 72, 153, 0.6);
  --star-color: #f9a8d4;
}

/* Toxic Green Theme */
[data-theme="toxic-green"] {
  --bg-primary: #0f1f0a;
  --bg-secondary: #1a2912;
  --bg-tertiary: #26361a;
  --bg-panel: linear-gradient(135deg, #26361a 0%, #1a2912 100%);
  --text-primary: #f0ffe8;
  --text-secondary: #d0e8b8;
  --text-muted: #8a9d7a;
  --accent-primary: #84cc16;
  --accent-secondary: #a3e635;
  --accent-glow: #bef264;
  --border-color: #3f502a;
  --shadow-color: rgba(132, 204, 22, 0.3);
  --glow-color: rgba(132, 204, 22, 0.6);
  --star-color: #bef264;
}

/* Deep Ocean Theme */
[data-theme="deep-ocean"] {
  --bg-primary: #0a0f1f;
  --bg-secondary: #121a29;
  --bg-tertiary: #1a2636;
  --bg-panel: linear-gradient(135deg, #1a2636 0%, #121a29 100%);
  --text-primary: #e8f0ff;
  --text-secondary: #b8d0e8;
  --text-muted: #7a859d;
  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --accent-glow: #93c5fd;
  --border-color: #2a3550;
  --shadow-color: rgba(59, 130, 246, 0.3);
  --glow-color: rgba(59, 130, 246, 0.6);
  --star-color: #93c5fd;
}

/* Lavender Dream Theme */
[data-theme="lavender-dream"] {
  --bg-primary: #1a0f1f;
  --bg-secondary: #211a29;
  --bg-tertiary: #2a2636;
  --bg-panel: linear-gradient(135deg, #2a2636 0%, #211a29 100%);
  --text-primary: #f8e8ff;
  --text-secondary: #dcb8e8;
  --text-muted: #907a9d;
  --accent-primary: #c084fc;
  --accent-secondary: #d8b4fe;
  --accent-glow: #e9d5ff;
  --border-color: #402a50;
  --shadow-color: rgba(192, 132, 252, 0.3);
  --glow-color: rgba(192, 132, 252, 0.6);
  --star-color: #e9d5ff;
}

/* Volcanic Red Theme */
[data-theme="volcanic-red"] {
  --bg-primary: #1f0a0f;
  --bg-secondary: #29121a;
  --bg-tertiary: #361a26;
  --bg-panel: linear-gradient(135deg, #361a26 0%, #29121a 100%);
  --text-primary: #ffe8ed;
  --text-secondary: #e8b8c0;
  --text-muted: #9d7a80;
  --accent-primary: #f97316;
  --accent-secondary: #fb923c;
  --accent-glow: #fdba74;
  --border-color: #502a33;
  --shadow-color: rgba(249, 115, 22, 0.3);
  --glow-color: rgba(249, 115, 22, 0.6);
  --star-color: #fdba74;
}

/* Mint Breeze Theme */
[data-theme="mint-breeze"] {
  --bg-primary: #0a1f1a;
  --bg-secondary: #122921;
  --bg-tertiary: #1a362a;
  --bg-panel: linear-gradient(135deg, #1a362a 0%, #122921 100%);
  --text-primary: #e8fff0;
  --text-secondary: #b8e8d0;
  --text-muted: #7a9d85;
  --accent-primary: #10b981;
  --accent-secondary: #34d399;
  --accent-glow: #6ee7b7;
  --border-color: #2a5040;
  --shadow-color: rgba(16, 185, 129, 0.3);
  --glow-color: rgba(16, 185, 129, 0.6);
  --star-color: #6ee7b7;
}

/* Royal Indigo Theme */
[data-theme="royal-indigo"] {
  --bg-primary: #0a0f1f;
  --bg-secondary: #121a29;
  --bg-tertiary: #1a2636;
  --bg-panel: linear-gradient(135deg, #1a2636 0%, #121a29 100%);
  --text-primary: #e8edff;
  --text-secondary: #b8c8e8;
  --text-muted: #7a809d;
  --accent-primary: #6366f1;
  --accent-secondary: #818cf8;
  --accent-glow: #a5b4fc;
  --border-color: #2a3350;
  --shadow-color: rgba(99, 102, 241, 0.3);
  --glow-color: rgba(99, 102, 241, 0.6);
  --star-color: #a5b4fc;
}

/* ========== FONT FAMILIES ========== */
[data-font="space-grotesk"] {
  --font-main: 'Space Grotesk', sans-serif;
}

[data-font="orbitron"] {
  --font-main: 'Orbitron', sans-serif;
}

[data-font="fira-code"] {
  --font-main: 'Fira Code', monospace;
}

[data-font="poppins"] {
  --font-main: 'Poppins', sans-serif;
}

[data-font="roboto-mono"] {
  --font-main: 'Roboto Mono', monospace;
}

[data-font="inter"] {
  --font-main: 'Inter', sans-serif;
}

[data-font="jetbrains-mono"] {
  --font-main: 'JetBrains Mono', monospace;
}

[data-font="rajdhani"] {
  --font-main: 'Rajdhani', sans-serif;
}

[data-font="courier"] {
  --font-main: 'Courier New', 'Courier', monospace;
}

[data-font="system"] {
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ========== FONT SIZES ========== */
[data-size="small"] {
  --font-size-base: 14px;
  --font-size-large: 16px;
}

[data-size="medium"] {
  --font-size-base: 16px;
  --font-size-large: 18px;
}

[data-size="large"] {
  --font-size-base: 18px;
  --font-size-large: 20px;
}

[data-size="xlarge"] {
  --font-size-base: 20px;
  --font-size-large: 22px;
}

/* ========================================
   WEBSITE STYLES - COMPLETE REDESIGNS!
   ======================================== */

/* ========== GLASSMORPHISM STYLE ========== */
body[data-style="glassmorphism"] .panel,
body[data-style="glassmorphism"] .controls-bar,
body[data-style="glassmorphism"] .direction-btn,
body[data-style="glassmorphism"] .card,
body[data-style="glassmorphism"] .info-card,
body[data-style="glassmorphism"] .profile-section,
body[data-style="glassmorphism"] .navbar {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
}

body[data-style="glassmorphism"] .btn-primary,
body[data-style="glassmorphism"] .btn-secondary,
body[data-style="glassmorphism"] .fancy-select {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

body[data-style="glassmorphism"] .panel {
  border-radius: 20px !important;
}

body[data-style="glassmorphism"] .controls-bar {
  border-radius: 16px !important;
}

body[data-style="glassmorphism"] textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* ========== BRUTALIST STYLE ========== */
body[data-style="brutalist"] .panel,
body[data-style="brutalist"] .controls-bar,
body[data-style="brutalist"] .direction-btn,
body[data-style="brutalist"] .card,
body[data-style="brutalist"] .info-card,
body[data-style="brutalist"] .profile-section {
  border-radius: 0 !important;
  border: 4px solid var(--text-primary) !important;
  box-shadow: 8px 8px 0 var(--accent-primary) !important;
  background: var(--bg-secondary) !important;
}

body[data-style="brutalist"] .navbar {
  border-radius: 0 !important;
  border-bottom: 5px solid var(--accent-primary) !important;
}

body[data-style="brutalist"] .btn-primary,
body[data-style="brutalist"] .btn-secondary {
  border-radius: 0 !important;
  border: 3px solid var(--text-primary) !important;
  box-shadow: 4px 4px 0 var(--accent-secondary) !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
}

body[data-style="brutalist"] .btn-primary:hover,
body[data-style="brutalist"] .btn-secondary:hover {
  transform: translate(2px, 2px) !important;
  box-shadow: 2px 2px 0 var(--accent-secondary) !important;
}

body[data-style="brutalist"] .fancy-select,
body[data-style="brutalist"] textarea {
  border-radius: 0 !important;
  border: 3px solid var(--text-primary) !important;
}

body[data-style="brutalist"] .title-main {
  text-transform: uppercase !important;
  letter-spacing: 4px !important;
  font-weight: 900 !important;
}

/* ========== RETRO TERMINAL STYLE ========== */
body[data-style="retro-terminal"] {
  --terminal-green: #00ff00;
  --terminal-bg: #000000;
  --terminal-glow: 0 0 10px #00ff00, 0 0 20px #00ff00;
}

body[data-style="retro-terminal"] body {
  background: var(--terminal-bg) !important;
}

body[data-style="retro-terminal"] .panel,
body[data-style="retro-terminal"] .controls-bar,
body[data-style="retro-terminal"] .card,
body[data-style="retro-terminal"] .info-card,
body[data-style="retro-terminal"] .profile-section {
  background: #001100 !important;
  border: 2px solid var(--terminal-green) !important;
  border-radius: 0 !important;
  box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.1), var(--terminal-glow) !important;
  font-family: 'Courier New', monospace !important;
}

body[data-style="retro-terminal"] .navbar {
  background: #001100 !important;
  border-bottom: 2px solid var(--terminal-green) !important;
  border-radius: 0 !important;
}

body[data-style="retro-terminal"] .title-main,
body[data-style="retro-terminal"] .panel-label,
body[data-style="retro-terminal"] .direction-label {
  color: var(--terminal-green) !important;
  text-shadow: var(--terminal-glow) !important;
  font-family: 'Courier New', monospace !important;
}

body[data-style="retro-terminal"] textarea,
body[data-style="retro-terminal"] .fancy-select {
  background: #000000 !important;
  color: var(--terminal-green) !important;
  border: 1px solid var(--terminal-green) !important;
  border-radius: 0 !important;
  font-family: 'Courier New', monospace !important;
  text-shadow: 0 0 5px #00ff00 !important;
}

body[data-style="retro-terminal"] .btn-primary,
body[data-style="retro-terminal"] .btn-secondary,
body[data-style="retro-terminal"] .direction-btn {
  background: #001100 !important;
  color: var(--terminal-green) !important;
  border: 2px solid var(--terminal-green) !important;
  border-radius: 0 !important;
  text-shadow: var(--terminal-glow) !important;
  font-family: 'Courier New', monospace !important;
}

body[data-style="retro-terminal"] .btn-primary:hover,
body[data-style="retro-terminal"] .direction-btn:hover {
  background: var(--terminal-green) !important;
  color: #000000 !important;
  text-shadow: none !important;
}

/* Scanline effect */
body[data-style="retro-terminal"]::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ========== NEUMORPHISM STYLE ========== */
body[data-style="neumorphism"] {
  --neuro-bg: #e0e5ec;
  --neuro-shadow-dark: #a3b1c6;
  --neuro-shadow-light: #ffffff;
  --neuro-text: #4a5568;
  background: var(--neuro-bg) !important;
}

body[data-style="neumorphism"] .panel,
body[data-style="neumorphism"] .controls-bar,
body[data-style="neumorphism"] .card,
body[data-style="neumorphism"] .info-card,
body[data-style="neumorphism"] .profile-section {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 20px !important;
  box-shadow: 
    12px 12px 24px var(--neuro-shadow-dark),
    -12px -12px 24px var(--neuro-shadow-light) !important;
}

body[data-style="neumorphism"] .navbar {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: 
    0 8px 16px var(--neuro-shadow-dark),
    0 -8px 16px var(--neuro-shadow-light) !important;
}

body[data-style="neumorphism"] textarea,
body[data-style="neumorphism"] .fancy-select {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 12px !important;
  box-shadow: 
    inset 6px 6px 12px var(--neuro-shadow-dark),
    inset -6px -6px 12px var(--neuro-shadow-light) !important;
  color: #5a6a7a !important;
}

body[data-style="neumorphism"] .btn-primary,
body[data-style="neumorphism"] .btn-secondary,
body[data-style="neumorphism"] .direction-btn {
  background: var(--neuro-bg) !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 
    8px 8px 16px var(--neuro-shadow-dark),
    -8px -8px 16px var(--neuro-shadow-light) !important;
  color: #5a6a7a !important;
  font-weight: 600 !important;
}

body[data-style="neumorphism"] .btn-primary:hover,
body[data-style="neumorphism"] .direction-btn:hover {
  box-shadow: 
    inset 4px 4px 8px var(--neuro-shadow-dark),
    inset -4px -4px 8px var(--neuro-shadow-light) !important;
}

body[data-style="neumorphism"] .title-main,
body[data-style="neumorphism"] .panel-label,
body[data-style="neumorphism"] .direction-label,
body[data-style="neumorphism"] .control-label,
body[data-style="neumorphism"] h1,
body[data-style="neumorphism"] h2,
body[data-style="neumorphism"] h3,
body[data-style="neumorphism"] p,
body[data-style="neumorphism"] span,
body[data-style="neumorphism"] .navbar a {
  color: var(--neuro-text) !important;
  text-shadow: 
    1px 1px 2px var(--neuro-shadow-light),
    -1px -1px 2px rgba(163, 177, 198, 0.5) !important;
}

body[data-style="neumorphism"] .btn-icon {
  color: var(--neuro-text) !important;
}

body[data-style="neumorphism"] textarea::placeholder {
  color: #9ca3af !important;
}

/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main, 'Space Grotesk', sans-serif);
  font-size: var(--font-size-base, 16px);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  /* EPIC Smooth theme transitions - 1.5s */
  transition: background 1.5s cubic-bezier(0.4, 0, 0.2, 1), 
              color 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* EPIC Smooth transitions for ALL theme-related elements */
*,
*::before,
*::after {
  transition: 
    background 1.5s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 1.5s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 1.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 1.5s cubic-bezier(0.4, 0, 0.2, 1),
    color 1.5s cubic-bezier(0.4, 0, 0.2, 1),
    text-shadow 1.5s cubic-bezier(0.4, 0, 0.2, 1),
    filter 1.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Pulse animation for theme changes */
@keyframes themePulse {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }
  25% {
    transform: scale(1.02);
    filter: brightness(1.3);
  }
  50% {
    transform: scale(1);
    filter: brightness(1);
  }
  75% {
    transform: scale(1.01);
    filter: brightness(1.15);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
}

/* Glow pulse for text elements */
@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 10px var(--glow-color),
                 0 0 20px var(--glow-color),
                 0 0 30px var(--glow-color);
  }
  50% {
    text-shadow: 0 0 20px var(--glow-color),
                 0 0 40px var(--glow-color),
                 0 0 60px var(--glow-color);
  }
}

/* ========== NAVIGATION ========== */
.navbar {
  position: relative;
  z-index: 100;
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  font-size: 1.8rem;
  animation: float 3s ease-in-out infinite;
}

.logo-icon-img {
  height: 40px;
  width: auto;
  margin-right: 8px;
  animation: float 3s ease-in-out infinite;
  object-fit: contain;
}

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

.logo-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px var(--glow-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-glow));
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-dropdowns {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.theme-dropdown {
  position: relative;
}

.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.theme-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.theme-menu.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.theme-option {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.theme-option:hover {
  background: var(--bg-secondary);
  color: var(--accent-primary);
}

.theme-option.active {
  background: var(--accent-primary);
  color: white;
}

.theme-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
}

/* ========== CONTAINER ========== */
.container {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* ========== HERO SECTION ========== */
.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.title {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title-main {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
  animation: titlePulse 3s ease-in-out infinite;
}

.title-sub {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 400;
}

.glow-text {
  text-shadow: 
    0 0 20px var(--glow-color),
    0 0 40px var(--glow-color),
    0 0 60px var(--glow-color);
  animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes titlePulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

@keyframes glowPulse {
  from {
    text-shadow: 
      0 0 10px var(--glow-color),
      0 0 20px var(--glow-color),
      0 0 30px var(--glow-color);
  }
  to {
    text-shadow: 
      0 0 20px var(--glow-color),
      0 0 40px var(--glow-color),
      0 0 60px var(--glow-color);
  }
}

/* ========== CONTROLS BAR ========== */
.controls-bar {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-panel);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.control-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.label-icon {
  font-size: 1.2rem;
}

.fancy-select {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.625rem 2rem 0.625rem 0.75rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="white" d="M6 9L1 4h10z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.fancy-select:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 20px var(--shadow-color);
}

.fancy-select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--shadow-color);
}

/* ========== TRANSLATOR CONTAINER ========== */
.translator-container {
  margin: 2rem 0;
}

/* Direction Controls */
.direction-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.direction-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--bg-panel);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.direction-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.direction-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.direction-btn.active {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 30px var(--shadow-color);
}

.direction-btn.active::before {
  opacity: 0.1;
}

.direction-label,
.direction-arrow {
  position: relative;
  z-index: 1;
}

.direction-arrow {
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.swap-btn {
  padding: 0.75rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--accent-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swap-btn:hover {
  transform: rotate(180deg) scale(1.1);
  box-shadow: 0 0 20px var(--shadow-color);
  background: var(--accent-primary);
  color: var(--bg-primary);
}

/* ========== SONA STICKERS ========== */
.sona-laptop {
  position: absolute;
  top: -100px;
  left: 80px;
  width: 240px;
  height: auto;
  z-index: 10;
  pointer-events: none;
  animation: bobFloat 3s ease-in-out infinite;
}

@keyframes bobFloat {
  0%, 100% {
    transform: translateY(0px) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

.peeking-sona {
  position: fixed;
  bottom: -100px;
  left: 20px;
  width: 100px;
  height: auto;
  z-index: 9999;
  pointer-events: none;
  transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  cursor: pointer;
}

.peeking-sona.peek {
  bottom: 0;
}

.peeking-sona:hover {
  transform: scale(1.1);
}

/* ========== PANELS ========== */
.panels-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-glow));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.panel:hover::before {
  opacity: 1;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-color);
}

.panel-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.panel-actions {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  padding: 0.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
  transform: scale(1.1);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.textarea-wrapper {
  position: relative;
  padding: 1.5rem;
}

.fancy-textarea {
  width: 100%;
  min-height: 300px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-size-base);
  line-height: 1.8;
  resize: vertical;
  transition: all 0.3s ease;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
}

.fancy-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 
    inset 0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 0 3px var(--shadow-color);
}

.fancy-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-color);
}

.stats {
  display: flex;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.stat-icon {
  font-size: 1.1rem;
}

.copy-message {
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-message.show {
  opacity: 1;
}

/* ========== QUICK ACTIONS ========== */
.quick-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--bg-panel);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.action-btn:hover::before {
  opacity: 0.15;
}

.action-btn.primary {
  border-color: var(--accent-primary);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.action-btn.primary::before {
  background: white;
}

.action-btn.primary:hover {
  box-shadow: 0 8px 30px var(--glow-color);
}

.btn-icon {
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

.action-btn span {
  position: relative;
  z-index: 1;
}

/* ========== FEATURES GRID ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--shadow-color) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 40px var(--shadow-color);
}

.feature-card:hover::before {
  opacity: 0.5;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  animation: bounce 2s ease-in-out infinite;
}

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

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-glow);
  text-decoration: underline;
}

/* ========== PAGE CONTENT (How It Works & About) ========== */
.page-content {
  padding-top: 2rem;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-section {
  max-width: 900px;
  margin: 0 auto;
}

.info-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  font-size: 2.5rem;
  animation: rotate 4s linear infinite;
}

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

.info-card h2 {
  font-size: 1.75rem;
  color: var(--accent-primary);
}

.info-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.info-card code {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  color: var(--accent-glow);
  font-family: 'Fira Code', monospace;
  font-size: 0.9em;
}

.steps-list,
.features-list {
  list-style: none;
  padding-left: 0;
}

.steps-list li,
.features-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.steps-list li::before {
  content: '✨';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.features-list li::before {
  content: '🔸';
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.examples-grid {
  display: grid;
  gap: 1.5rem;
}

.example-item {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.example-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.example-text {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.furrish-text {
  color: var(--accent-glow);
  font-weight: 600;
}

.example-arrow {
  text-align: center;
  color: var(--accent-primary);
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.dictionary-grid {
  display: grid;
  gap: 1rem;
}

.dict-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1.5fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.dict-item:hover {
  border-color: var(--accent-primary);
  transform: translateX(5px);
}

.dict-en {
  color: var(--text-primary);
  font-weight: 500;
}

.dict-arrow {
  color: var(--accent-primary);
  font-size: 1.2rem;
}

.dict-fur {
  color: var(--accent-glow);
  font-weight: 600;
}

.dict-meaning {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-style: italic;
}

.cta-section {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: var(--bg-panel);
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border: none;
  border-radius: 16px;
  color: white;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--glow-color);
}

/* ========== ABOUT PAGE ========== */
.profile-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--bg-panel);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-image-container {
  aspect-ratio: 1;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  border: 2px solid var(--accent-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 48px var(--glow-color);
}

.profile-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  border: 2px dashed var(--border-color);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.profile-image-placeholder:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 0, 0, 0.5);
}

.placeholder-icon {
  font-size: 4rem;
  opacity: 0.5;
}

.placeholder-text {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.profile-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.profile-name {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
}

.profile-role {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--shadow-color);
}

.fa-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.social-link.fa-link:hover .fa-logo {
  filter: brightness(1) invert(0);
}

.bio-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  border: 2px dashed var(--border-color);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-placeholder:hover {
  border-color: var(--accent-primary);
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.tech-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
}

.tech-icon {
  font-size: 2.5rem;
}

.tech-name {
  font-weight: 600;
  color: var(--accent-primary);
}

.tech-description {
  color: var(--text-secondary);
  margin-top: 1rem;
  line-height: 1.8;
}

.support-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.support-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.support-btn:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--shadow-color);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .panels-container {
    grid-template-columns: 1fr;
  }
  
  .profile-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }
  
  .direction-controls {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .control-group {
    width: 100%;
  }
  
  .title-main {
    font-size: 2rem;
  }
  
  .title-sub {
    font-size: 1rem;
  }
}

/* ========== SCROLL BAR ========== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 6px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ========== SELECTION ========== */
::selection {
  background: var(--accent-primary);
  color: white;
}

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

/* ========== SIGN SECTION (SONA WITH SIGN) ========== */
.sign-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 3rem 0 0 0;
  padding-bottom: 0;
  min-height: 600px;
}

.sign-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.sign-content {
  position: absolute;
  top: 66%;
  left: 40%;
  transform: translate(-50%, -50%) perspective(800px) rotateX(2deg) rotateZ(4deg) skewY(-1deg);
  width: 50%;
  text-align: center;
  padding: 2rem;
}

.sign-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transform: scaleY(0.95);
}

.sign-text {
  font-size: 1rem;
  color: #2a3f5f;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.sign-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.sign-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.sign-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px var(--shadow-color);
  filter: brightness(1.2);
}

.sign-btn:active {
  transform: translateY(-1px) scale(1.02);
}

@media (max-width: 768px) {
  .sign-section {
    min-height: 400px;
  }
  
  .sign-content {
    width: 60%;
    padding: 1rem;
  }
  
  .sign-title {
    font-size: 1.5rem;
  }
  
  .sign-text {
    font-size: 0.85rem;
  }
  
  .sign-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .sign-content {
    width: 70%;
  }
  
  .sign-title {
    font-size: 1.25rem;
  }
  
  .sign-text {
    font-size: 0.75rem;
  }
  
  .sign-buttons {
    flex-direction: column;
  }
}
