@tailwind base; @tailwind components; @tailwind utilities; /* ---------- Base ---------- */ :root { --bg: #020510; --fg: #e2e8f0; --muted: #94a3b8; --electric: #38bdf8; --violet: #818cf8; --magenta: #e879f9; --emerald: #34d399; --cyan: #22d3ee; --radius: 14px; color-scheme: dark; } html, body { background: var(--bg); color: var(--fg); font-feature-settings: 'ss01', 'cv11'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } html { scroll-behavior: smooth; } html[dir='rtl'] body { font-family: var(--font-vaz-ar), var(--font-vaz-lat), var(--font-syne), system-ui, sans-serif; } html[dir='ltr'] body { font-family: var(--font-syne), var(--font-vaz-ar), var(--font-vaz-lat), system-ui, sans-serif; } /* ---------- Selection ---------- */ ::selection { background: rgba(56, 189, 248, 0.35); color: #f8fafc; } /* ---------- Scrollbar ---------- */ ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: #050a1a; } ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #38bdf8, #818cf8); border-radius: 999px; border: 2px solid #050a1a; } /* ---------- Hide native cursor on desktop when custom cursor is active ---------- */ @media (min-width: 900px) { html.has-cursor, html.has-cursor * { cursor: none !important; } } /* ---------- Glass surface ---------- */ @layer components { .glass { background: linear-gradient( 180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100% ); border: 1px solid rgba(56, 189, 248, 0.14); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.6); border-radius: var(--radius); } .hairline { border: 1px solid rgba(255, 255, 255, 0.06); } .chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid rgba(52, 211, 153, 0.25); background: rgba(52, 211, 153, 0.06); color: #a7f3d0; font-family: var(--font-space-mono), ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; } .label-mono { font-family: var(--font-space-mono), ui-monospace, monospace; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: #94a3b8; } .gradient-text { background: linear-gradient(135deg, #38bdf8 0%, #818cf8 45%, #e879f9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 200%; animation: gradient-pan 8s ease-in-out infinite; } .btn-primary { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.85rem 1.4rem; border-radius: 999px; font-weight: 600; color: #020510; background: linear-gradient(135deg, #38bdf8 0%, #818cf8 60%, #e879f9 100%); background-size: 200% 200%; transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.6s ease; box-shadow: 0 12px 40px -12px rgba(56, 189, 248, 0.55); } .btn-primary:hover { transform: translateY(-1px); background-position: 100% 0; box-shadow: 0 18px 50px -10px rgba(232, 121, 249, 0.55); } .btn-ghost { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.8rem 1.35rem; border-radius: 999px; font-weight: 500; color: #e2e8f0; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.02); transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease; } .btn-ghost:hover { border-color: rgba(56, 189, 248, 0.6); background: rgba(56, 189, 248, 0.06); transform: translateY(-1px); } } /* ---------- Persian numerals helper ---------- */ .fa-nums { font-feature-settings: 'ss01'; } /* ---------- Reduced motion ---------- */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; } }