summaryrefslogtreecommitdiff
path: root/startpage/startpage.css
blob: 51a1334cc1a019800dd367dac88a167ab79833f8 (plain)
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
:root {
    --bg: #000;
    --text: #ddd;
    --accent: #ff0000;
    --gold: #C69214;
    --border: #222;
    --radius: 4px; /* Sharper edges for a retro feel */
    --logo-size: clamp(80px, 10vw, 100px);
    --fs-base: clamp(13px, 1vw, 15px);
}

* { box-sizing: border-box; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 400 var(--fs-base) 'Source Code Pro', monospace;
    line-height: 1.4; display: flex; flex-direction: column; min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: 0.1s; }
a:hover { background: var(--accent); color: #000 !important; }

/* Left-Aligned Container */
header, main, footer {
    width: 100%;
    max-width: 1200px; /* Constrains width so it doesn't float too far right on wide screens */
    margin: 0; /* Align to left */
    padding: 20px 40px;
}

/* Header Layout */
header {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    border-bottom: 2px solid var(--border);
}

.logo a img {
    width: var(--logo-size);
    height: auto;
    border: 2px solid #000;
    display: block;
}

/* Lain border: black normally, red on hover/focus */
.logo a:hover img,
.logo a:focus-visible img {
    border-color: var(--accent);
}

.nav-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    flex-grow: 1;
    text-align: left;
}

.nav-group h3 {
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.nav-list { display: flex; flex-direction: column; gap: 4px; }
.nav-list a { font-size: 0.85rem; width: fit-content; }

/* Search Section: Left Aligned */
.search-section {
    padding: 40px 0;
    text-align: left;
}

.search-section h2 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.search-box {
    width: 100%;
    max-width: 450px; /* Kept focused for readability */
    background: #000;
    border: 1px solid var(--border);
    padding: 10px;
    color: var(--accent);
    font-family: inherit;
    outline: none;
}
.search-box:focus { border-color: var(--accent); }

.clock-container { margin-top: 15px; color: var(--text); font-size: 0.9rem; opacity: 0.8; }
.clock-time { color: var(--accent); letter-spacing: 1px; }

/* Grid Layout: Left Aligned */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 0;
}

.card {
    border: 1px solid var(--border);
    background: #050505;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Items start on the left */
    transition: 0.2s;
}
.card:hover { border-color: var(--accent); }

.card .thumb {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align icon to left */
    margin-bottom: 15px;
    opacity: 0.7;
}
.card img { max-width: 80px; max-height: 100%; object-fit: contain; }

.card-links {
    font-size: 0.8rem;
    border-top: 1px solid var(--border);
    width: 100%;
    padding-top: 12px;
    text-align: left;
}
.card-links a { display: block; padding: 1px 0; }

footer { border-top: 1px solid var(--border); margin-top: auto; color: #555; }

/* Age-Restricted Nav Group */
#age-restricted-content {
    position: relative;
    cursor: pointer;
}
#age-restricted-content.locked .nav-list {
    filter: blur(8px);
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
}
#age-restricted-content.locked::after {
    content: '18+ RESTRICTED - CLICK TO VERIFY';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    font-size: 0.7rem;
    white-space: nowrap;
    pointer-events: none;
    text-align: center;
    font-weight: bold;
}
#age-restricted-content.unlocked { cursor: default; }

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.age-modal.hidden { display: none; }
.age-modal-content {
    background: #000;
    border: 2px solid var(--accent);
    padding: 30px;
    max-width: 500px;
    text-align: center;
}
.age-modal-content h2 {
    color: var(--accent);
    margin: 0 0 20px 0;
    font-size: 1.3rem;
}
.age-modal-content p {
    margin: 0 0 25px 0;
    line-height: 1.6;
}
.age-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}
.age-modal-btn {
    padding: 10px 25px;
    border: 1px solid var(--border);
    background: #000;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}
.age-modal-btn:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}
.age-modal-btn.deny:hover {
    background: #555;
    border-color: #555;
}

@media (max-width: 850px) {
    header, main, footer { padding: 20px; }
    header { flex-direction: column; }
    .nav-columns { width: 100%; }
    .age-modal-content { margin: 20px; padding: 20px; }
}

/* Additional styles for modal search box */
.search-container {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.age-modal-content form button:hover {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.modal-search {
    margin: 20px 0;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.modal-search-hint {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.modal-search-form {
    display: flex;
    gap: 10px;
}

.modal-search-input {
    flex-grow: 1;
    border: 1px solid var(--border);
    padding: 8px;
    background: #000;
    color: var(--text);
}

.modal-search-button {
    padding: 8px 15px;
    border: 1px solid var(--border);
    background: #000;
    color: var(--text);
    cursor: pointer;
}