Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
247 lines (219 loc) · 5.48 KB
/
Copy pathstyles.css
File metadata and controls
247 lines (219 loc) · 5.48 KB
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
/* DejaVu Softworks — Shared Studio Styles */
/* Crisp nearest-neighbor scaling for pixel-art sprites and artwork */
.pixel-art {
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-crisp-edges;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
/* Subtle architectural grid background */
.bg-editorial-grid {
background-size: 40px 40px;
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}
/* Restrained top-right warm ambient gradient */
.hero-ambient {
background: radial-gradient(620px circle at 76% 24%, rgba(255, 107, 53, 0.09), transparent 64%);
}
/* Floating glassmorphism navbar */
.glass-nav {
background: rgba(11, 12, 16, 0.78);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
}
/* Cards with crisp 1px borders and coral hover highlight */
.game-card,
.surface-card {
border: 1px solid rgba(255, 255, 255, 0.08);
transition: border-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1),
transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.game-card:hover,
.game-card:focus-within,
.gallery-item:hover,
.gallery-item:focus-visible {
border-color: rgba(255, 107, 53, 0.45);
box-shadow: 0 22px 50px -26px rgba(0, 0, 0, 0.9);
}
.artwork-zoom {
transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.game-card:hover .artwork-zoom,
.game-card:focus-within .artwork-zoom,
.hero-preview-frame:hover .artwork-zoom,
.gallery-item:hover .artwork-zoom,
.gallery-item:focus-visible .artwork-zoom {
transform: scale(1.03);
}
/* Screenshot gallery items */
.gallery-item {
position: relative;
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 0.75rem;
overflow: hidden;
background-color: #08090D;
cursor: pointer;
transition: border-color 240ms cubic-bezier(0.22, 1, 0.36, 1),
box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-item:focus-visible {
outline: 2px solid #FF6B35;
outline-offset: 2px;
}
.zoom-indicator {
position: absolute;
bottom: 0.625rem;
right: 0.625rem;
width: 2rem;
height: 2rem;
border-radius: 0.5rem;
background: rgba(11, 12, 16, 0.85);
border: 1px solid rgba(255, 255, 255, 0.12);
display: grid;
place-items: center;
color: #F3F4F6;
opacity: 0;
transition: opacity 200ms ease;
pointer-events: none;
}
.zoom-indicator svg {
width: 1rem;
height: 1rem;
fill: currentColor;
}
.gallery-item:hover .zoom-indicator,
.gallery-item:focus-visible .zoom-indicator {
opacity: 1;
}
/* Native <dialog> Lightbox (used by scripts.js on game pages) */
dialog.image-lightbox {
max-width: min(92vw, 1120px);
max-height: 90vh;
width: 100%;
margin: auto;
padding: 0;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 1rem;
background: #13151B;
color: #F3F4F6;
box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.95);
overflow: hidden;
}
dialog.image-lightbox::backdrop {
background: rgba(11, 12, 16, 0.85);
backdrop-filter: blur(8px);
}
.image-lightbox-content {
display: flex;
flex-direction: column;
height: 100%;
}
.image-lightbox-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem 1rem;
background: #181B23;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
font-family: "JetBrains Mono", ui-monospace, monospace;
font-size: 0.75rem;
color: #949BA8;
}
.lightbox-close,
.lightbox-nav-btn {
display: grid;
place-items: center;
width: 2.25rem;
height: 2.25rem;
border-radius: 0.5rem;
background: #0B0C10;
border: 1px solid rgba(255, 255, 255, 0.16);
color: #F3F4F6;
cursor: pointer;
transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.lightbox-close:hover,
.lightbox-nav-btn:hover {
color: #FFFFFF;
background: rgba(255, 255, 255, 0.08);
border-color: rgba(255, 107, 53, 0.6);
}
.lightbox-close svg,
.lightbox-nav-btn svg {
width: 1.25rem;
height: 1.25rem;
fill: currentColor;
}
.lightbox-view {
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
background: #08090D;
min-height: 280px;
}
.lightbox-image {
max-width: 100%;
max-height: 75vh;
object-fit: contain;
image-rendering: pixelated;
image-rendering: crisp-edges;
}
.lightbox-nav-prev {
position: absolute;
left: 0.75rem;
}
.lightbox-nav-next {
position: absolute;
right: 0.75rem;
}
/* Modal transitions */
.modal-backdrop {
opacity: 0;
pointer-events: none;
transition: opacity 200ms ease;
}
.modal-backdrop.is-open {
opacity: 1;
pointer-events: auto;
}
.modal-panel {
transform: translateY(10px) scale(0.985);
transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-backdrop.is-open .modal-panel {
transform: translateY(0) scale(1);
}
/* Scroll reveal */
.reveal {
opacity: 0;
transform: translateY(14px);
transition: opacity 480ms cubic-bezier(0.22, 1, 0.36, 1),
transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
opacity: 1;
transform: translateY(0);
}
/* Hide scrollbar track while preserving horizontal scroll */
.no-scrollbar {
scrollbar-width: none;
-ms-overflow-style: none;
}
.no-scrollbar::-webkit-scrollbar {
display: none;
}
@media (prefers-reduced-motion: reduce) {
.reveal {
opacity: 1 !important;
transform: none !important;
transition: none !important;
}
.artwork-zoom {
transition: none !important;
}
}