@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Noto+Nastaliq+Urdu:wght@400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600&display=swap'); @tailwind base; @tailwind components; @tailwind utilities; :root { --primary: #667eea; --primary-dark: #764ba2; --accent: #f093fb; --accent-secondary: #f5576c; --accent-cyan: #22d3ee; --bg-dark: #0f0f23; --bg-card: rgba(255, 255, 255, 0.05); --bg-input: rgba(0, 0, 0, 0.3); --text-primary: #e4e4e7; --text-secondary: #a1a1aa; --border-subtle: rgba(255, 255, 255, 0.1); --border-focus: #667eea; --success: #10b981; --warning: #f59e0b; --error: #ef4444; } html { scroll-behavior: smooth; } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%); background-attachment: fixed; min-height: 100vh; color: var(--text-primary); transition: background 0.3s ease, color 0.3s ease; } /* Light Mode */ html.light-mode body { background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f3e8ff 100%); color: #1f2937; } html.light-mode { --bg-card: rgba(255, 255, 255, 0.8); --bg-input: rgba(255, 255, 255, 0.9); --text-primary: #1f2937; --text-secondary: #6b7280; --border-subtle: rgba(0, 0, 0, 0.1); } /* Glassmorphism Card */ @layer components { .glass-card { @apply bg-white/5 backdrop-blur-xl border border-white/10 rounded-2xl shadow-2xl; } .glass-input { @apply bg-black/30 border-2 border-white/10 rounded-xl text-white placeholder:text-gray-500 focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all duration-300; } .btn-primary { @apply bg-gradient-to-r from-primary to-primary-dark text-white font-semibold py-3 px-6 rounded-xl transition-all duration-300 hover:shadow-lg hover:shadow-primary/40 hover:-translate-y-0.5 active:scale-95; } .btn-secondary { @apply bg-white/10 border border-white/20 text-text-primary font-medium py-3 px-6 rounded-xl transition-all duration-300 hover:bg-white/20 active:scale-95; } .tab-button { @apply py-3 px-6 font-medium rounded-xl transition-all duration-300; } .tab-button-active { @apply bg-gradient-to-r from-primary to-primary-dark text-white shadow-lg shadow-primary/30; } .tab-button-inactive { @apply text-text-secondary hover:text-white hover:bg-white/10; } } /* Kashmiri RTL Input */ .kashmiri-input { font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Scheherazade New', serif; direction: rtl; text-align: right; font-size: 1.25rem; line-height: 2; } /* Roman LTR Output */ .roman-output { font-family: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace; direction: ltr; text-align: left; color: #64ffda; } /* Devanagari LTR Output (Noto Sans Devanagari covers the Kashmiri signs ऺ ऻ ॏ ॖ ॗ ॳ–ॷ) */ .devanagari-output { font-family: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', sans-serif; direction: ltr; text-align: left; font-size: 1.25rem; line-height: 1.9; color: #64ffda; } /* Character Cards */ .char-card { @apply bg-black/30 p-4 rounded-xl border border-white/10 text-center transition-all duration-300 hover:bg-primary/20 hover:border-primary hover:-translate-y-1 cursor-pointer; } .char-original { font-family: 'Noto Nastaliq Urdu', serif; font-size: 2rem; color: var(--text-primary); } .char-roman { font-family: 'JetBrains Mono', monospace; color: #64ffda; font-size: 1.1rem; } /* Scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 4px; } ::-webkit-scrollbar-thumb { background: rgba(102, 126, 234, 0.5); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: rgba(102, 126, 234, 0.8); } /* Animations */ @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } .shimmer { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent); background-size: 200% 100%; animation: shimmer 2s infinite; } /* Selection */ ::selection { background: rgba(102, 126, 234, 0.4); color: white; }