|
| 1 | +:root { |
| 2 | + --primary: #7dcfff; |
| 3 | + --secondary: #bb9af7; |
| 4 | + --glass-bg: rgba(15, 15, 26, 0.4); |
| 5 | + --glass-border: rgba(255, 255, 255, 0.12); |
| 6 | + --glass-blur: 16px; |
| 7 | +} |
| 8 | + |
| 9 | +body { |
| 10 | + margin: 0; |
| 11 | + font-family: system-ui; |
| 12 | + background: #050508; |
| 13 | + color: white; |
| 14 | + overflow-x: hidden; |
| 15 | +} |
| 16 | + |
| 17 | +/* BACKGROUND */ |
| 18 | +.mesh-gradient { |
| 19 | + position: fixed; |
| 20 | + inset: 0; |
| 21 | + z-index: -2; |
| 22 | + background: radial-gradient(at 0% 0%, #1a1a2e, transparent), |
| 23 | + radial-gradient(at 100% 0%, #2e1a4e, transparent); |
| 24 | + animation: flow 15s infinite alternate; |
| 25 | +} |
| 26 | + |
| 27 | +@keyframes flow { |
| 28 | + from { transform: translate(0,0); } |
| 29 | + to { transform: translate(20px,20px); } |
| 30 | +} |
| 31 | + |
| 32 | +.noise-overlay { |
| 33 | + position: fixed; |
| 34 | + inset: 0; |
| 35 | + opacity: 0.03; |
| 36 | + z-index: -1; |
| 37 | +} |
| 38 | + |
| 39 | +/* CURSOR GLOW */ |
| 40 | +#glow-cursor { |
| 41 | + position: fixed; |
| 42 | + width: 500px; |
| 43 | + height: 500px; |
| 44 | + border-radius: 50%; |
| 45 | + background: radial-gradient(circle, rgba(125,207,255,0.15), transparent 70%); |
| 46 | + pointer-events: none; |
| 47 | + transform: translate(-50%, -50%); |
| 48 | +} |
| 49 | + |
| 50 | +/* NAVBAR */ |
| 51 | +.navbar { |
| 52 | + position: fixed; |
| 53 | + top: 20px; |
| 54 | + left: 50%; |
| 55 | + transform: translateX(-50%); |
| 56 | + width: 90%; |
| 57 | + display: flex; |
| 58 | + justify-content: space-between; |
| 59 | + padding: 15px; |
| 60 | + background: var(--glass-bg); |
| 61 | + backdrop-filter: blur(var(--glass-blur)); |
| 62 | + border: 1px solid var(--glass-border); |
| 63 | + border-radius: 20px; |
| 64 | +} |
| 65 | + |
| 66 | +/* DASHBOARD */ |
| 67 | +.dashboard { |
| 68 | + margin-top: 120px; |
| 69 | + display: grid; |
| 70 | + grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); |
| 71 | + gap: 20px; |
| 72 | + padding: 20px; |
| 73 | +} |
| 74 | + |
| 75 | +/* GLASS PANEL */ |
| 76 | +.glass-panel { |
| 77 | + padding: 30px; |
| 78 | + border-radius: 24px; |
| 79 | + background: var(--glass-bg); |
| 80 | + backdrop-filter: blur(var(--glass-blur)); |
| 81 | + border: 1px solid var(--glass-border); |
| 82 | + transition: 0.3s; |
| 83 | +} |
| 84 | + |
| 85 | +.glass-panel:hover { |
| 86 | + transform: translateY(-5px); |
| 87 | +} |
| 88 | + |
| 89 | +/* BADGE */ |
| 90 | +.badge { |
| 91 | + font-size: 10px; |
| 92 | + padding: 6px 10px; |
| 93 | + border-radius: 50px; |
| 94 | + border: 1px solid var(--glass-border); |
| 95 | + color: var(--primary); |
| 96 | +} |
| 97 | + |
| 98 | +/* BUTTON */ |
| 99 | +.btn-primary { |
| 100 | + padding: 12px; |
| 101 | + border: none; |
| 102 | + border-radius: 12px; |
| 103 | + background: linear-gradient(135deg, var(--primary), var(--secondary)); |
| 104 | + cursor: pointer; |
| 105 | +} |
| 106 | + |
| 107 | +/* NEWS BAR */ |
| 108 | +.news-bar { |
| 109 | + position: fixed; |
| 110 | + bottom: 0; |
| 111 | + width: 100%; |
| 112 | + background: rgba(0,0,0,0.4); |
| 113 | + border-top: 1px solid var(--glass-border); |
| 114 | + overflow: hidden; |
| 115 | +} |
| 116 | + |
| 117 | +.ticker-text { |
| 118 | + white-space: nowrap; |
| 119 | + display: inline-block; |
| 120 | + animation: scroll 25s linear infinite; |
| 121 | +} |
| 122 | + |
| 123 | +@keyframes scroll { |
| 124 | + from { transform: translateX(100%); } |
| 125 | + to { transform: translateX(-100%); } |
| 126 | +} |
0 commit comments