File size: 3,676 Bytes
38bc0dc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
@import "./theme.css";

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-mono);
  overflow: hidden;
}

::selection {
  background: var(--copper-glow);
  color: #0b0806;
}

/*
 * Premium forge glass: layered gradients, a metallic gradient rim
 * (mask-composite ring), a hot top rim-light and a deep ember underglow.
 * backdrop-filter kept as progressive enhancement (may be skipped by the
 * browser inside CSS-3D transforms — the gradient body carries the look).
 */
.glass-panel {
  position: relative;
  background:
    linear-gradient(165deg, rgba(46, 30, 18, 0.88) 0%, rgba(18, 12, 8, 0.82) 45%, rgba(30, 20, 13, 0.9) 100%);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-radius: 18px;
  box-shadow:
    0 0 55px rgba(232, 130, 63, 0.08),
    0 40px 80px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 195, 94, 0.16),
    inset 0 -18px 50px rgba(255, 106, 43, 0.05);
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    140deg,
    rgba(255, 164, 92, 0.65),
    rgba(232, 130, 63, 0.1) 28%,
    rgba(139, 144, 153, 0.3) 55%,
    rgba(255, 106, 43, 0.4) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.glow-text-copper {
  color: var(--copper);
  text-shadow: 0 0 14px var(--copper-glow);
}

.glow-text-amber {
  color: var(--amber);
  text-shadow: 0 0 14px var(--amber-glow);
}

.glow-text-titanium {
  color: var(--titanium);
  text-shadow: 0 0 10px var(--titanium-glow);
}

/* CSS stand-in for chromatic aberration on DOM text (WebGL post-fx
   cannot reach the DOM): hot ember ghost left, cool titanium ghost right */
.aberrate {
  text-shadow:
    -1.6px 0 rgba(255, 106, 43, 0.4),
    1.6px 0 rgba(201, 205, 212, 0.3),
    0 0 16px var(--copper-glow);
}

.app-shell {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.canvas-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* CRT / forge-terminal overlay */
.crt-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0.13) 3px,
      rgba(0, 0, 0, 0) 4px
    );
  mix-blend-mode: multiply;
}

.crt-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0) 52%,
    rgba(0, 0, 0, 0.48) 100%
  );
}

.crt-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 195, 94, 0.025),
    rgba(255, 106, 43, 0.02)
  );
  animation: crt-flicker 6s infinite steps(60);
}

@keyframes crt-flicker {
  0%, 100% { opacity: 0.9; }
  7% { opacity: 0.75; }
  9% { opacity: 1; }
  36% { opacity: 0.85; }
  38% { opacity: 1; }
  71% { opacity: 0.8; }
  73% { opacity: 1; }
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--copper-dim);
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}