-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
489 lines (474 loc) · 28.1 KB
/
Copy pathindex.html
File metadata and controls
489 lines (474 loc) · 28.1 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
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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
<!DOCTYPE html>
<html class="dark scroll-smooth" lang="en"><head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<title>GARAGE AUTOMOTIVE TUNER</title>
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400&family=JetBrains+Mono:wght@600&family=Sora:wght@700;800&display=swap" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
<script id="tailwind-config">
tailwind.config = {
darkMode: "class",
theme: {
extend: {
"colors": {
"on-background": "#e2e2e5",
"error-container": "#93000a",
"inverse-on-surface": "#2f3133",
"tertiary-fixed-dim": "#bac8da",
"tertiary": "#bac8da",
"on-surface-variant": "#e7bdb6",
"surface-container-lowest": "#0c0e10",
"on-primary-fixed": "#410000",
"primary-container": "#e62117",
"on-tertiary-container": "#fffeff",
"surface-container-high": "#282a2c",
"secondary": "#ffb68b",
"on-primary-container": "#fffeff",
"background": "#121416",
"secondary-container": "#e57011",
"secondary-fixed-dim": "#ffb68b",
"surface-container-low": "#1a1c1e",
"on-tertiary-fixed": "#0f1d2a",
"on-secondary-fixed": "#321200",
"surface-tint": "#ffb4a8",
"primary-fixed-dim": "#ffb4a8",
"on-secondary-container": "#481d00",
"surface-variant": "#333537",
"inverse-primary": "#c00003",
"on-surface": "#e2e2e5",
"tertiary-container": "#697788",
"outline": "#ae8882",
"surface": "#121416",
"on-error": "#690005",
"on-primary-fixed-variant": "#930002",
"secondary-fixed": "#ffdbc8",
"tertiary-fixed": "#d6e4f7",
"outline-variant": "#5e3f3b",
"surface-bright": "#37393b",
"on-primary": "#690001",
"primary": "#ffb4a8",
"inverse-surface": "#e2e2e5",
"on-tertiary-fixed-variant": "#3b4857",
"surface-container": "#1e2022",
"on-error-container": "#ffdad6",
"surface-dim": "#121416",
"on-secondary-fixed-variant": "#753400",
"surface-container-highest": "#333537",
"primary-fixed": "#ffdad5",
"on-tertiary": "#243240",
"error": "#ffb4ab",
"on-secondary": "#522300"
},
"borderRadius": {
"DEFAULT": "0.125rem",
"lg": "0.25rem",
"xl": "0.5rem",
"full": "0.75rem"
},
"spacing": {
"container-max": "1440px",
"unit": "4px",
"gutter-md": "24px",
"margin-edge": "32px"
},
"fontFamily": {
"body-sm": ["Hanken Grotesk"],
"headline-lg": ["Sora"],
"label-caps": ["JetBrains Mono"],
"headline-lg-mobile": ["Sora"],
"body-md": ["Hanken Grotesk"],
"stats-display": ["Sora"],
"headline-xl": ["Sora"]
},
"fontSize": {
"body-sm": ["14px", {"lineHeight": "1.5", "fontWeight": "400"}],
"headline-lg": ["32px", {"lineHeight": "1.2", "letterSpacing": "-0.01em", "fontWeight": "700"}],
"label-caps": ["12px", {"lineHeight": "1", "letterSpacing": "0.1em", "fontWeight": "600"}],
"headline-lg-mobile": ["24px", {"lineHeight": "1.2", "fontWeight": "700"}],
"body-md": ["16px", {"lineHeight": "1.6", "fontWeight": "400"}],
"stats-display": ["20px", {"lineHeight": "1", "fontWeight": "600"}],
"headline-xl": ["48px", {"lineHeight": "1.1", "letterSpacing": "-0.02em", "fontWeight": "800"}]
}
}
}
}
</script>
<style>
.glass-panel {
background: rgba(40, 42, 44, 0.6);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #121416;
}
::-webkit-scrollbar-thumb {
background: #333537;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #5e3f3b;
}
</style>
</head>
<body class="bg-background text-on-background font-body-md overflow-x-hidden antialiased">
<!-- TopNavBar (Web) -->
<nav class="hidden md:block bg-background/80 backdrop-blur-md dark:bg-background/80 text-primary dark:text-primary font-label-caps text-label-caps uppercase fixed top-0 w-full z-[100] h-16 border-b border-white/10 shadow-2xl transition-all duration-300 ease-in-out">
<div class="flex justify-between items-center px-margin-edge max-w-container-max mx-auto h-full">
<div class="font-headline-lg text-headline-lg font-bold tracking-tighter text-on-surface dark:text-on-surface">
GARAGE
</div>
<div class="flex items-center gap-8">
<a class="text-primary border-b-2 border-primary pb-1" href="#home">Home</a>
<a class="text-on-surface-variant hover:text-on-surface transition-colors hover:bg-white/5 px-2 py-1" href="#divisions">Divisions</a>
<div class="relative group">
<button class="flex items-center gap-1 text-on-surface-variant group-hover:text-on-surface transition-colors hover:bg-white/5 px-2 py-1">
Gallery
<span class="material-symbols-outlined text-sm">expand_more</span>
</button>
<div class="absolute left-0 mt-2 w-48 bg-surface-container/80 backdrop-blur-md border border-white/10 rounded-xl overflow-hidden opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-300 transform translate-y-2 group-hover:translate-y-0 z-[110] shadow-2xl">
<a class="block px-4 py-3 text-sm text-on-surface-variant hover:text-on-surface hover:bg-white/5 transition-colors" href="assetto/">Assetto Corsa</a>
<a class="block px-4 py-3 text-sm text-on-surface-variant hover:text-on-surface hover:bg-white/5 transition-colors" href="cxd2/">CXDR2</a>
<a class="block px-4 py-3 text-sm text-on-surface-variant hover:text-on-surface hover:bg-white/5 transition-colors" href="cxd3/">CXDR3</a>
</div>
</div>
<a class="text-on-surface-variant hover:text-on-surface transition-colors hover:bg-white/5 px-2 py-1" href="#stats">Stats</a>
<a class="text-on-surface-variant hover:text-on-surface transition-colors hover:bg-white/5 px-2 py-1" href="#recruitment">Recruitment</a>
</div>
<div class="flex items-center gap-4">
<button class="bg-primary-container text-on-primary-container px-6 py-2 rounded-DEFAULT hover:bg-inverse-primary transition-all uppercase tracking-widest flex items-center gap-2">
Join Club
</button>
<button class="text-on-surface-variant hover:text-on-surface">
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">account_circle</span>
</button>
</div>
</div>
</nav>
<!-- SideNavBar (Mobile) -->
<button class="md:hidden fixed top-4 right-4 z-[120] p-2 bg-surface-container rounded-DEFAULT border border-white/10 text-on-surface" id="mobileMenuBtn">
<span class="material-symbols-outlined">menu</span>
</button>
<div class="md:hidden fixed inset-y-0 left-0 w-72 z-[110] bg-surface-container-high dark:bg-surface-container-high text-primary dark:text-primary font-body-md shadow-2xl shadow-black transform -translate-x-full transition-transform duration-300 ease-in-out border-r border-outline-variant" id="mobileDrawer">
<div class="flex flex-col h-full py-6">
<div class="px-6 mb-8 flex items-center justify-between">
<div>
<h2 class="font-headline-lg-mobile text-headline-lg-mobile font-bold text-on-surface">GARAGE</h2>
<p class="text-on-surface-variant text-sm mt-1">Automotive Tuner</p>
</div>
<button class="text-on-surface-variant" id="closeMenuBtn">
<span class="material-symbols-outlined">close</span>
</button>
</div>
<nav class="flex-1 overflow-y-auto">
<a href="/" class="bg-primary-container text-on-primary-container rounded-xl mx-2 my-1 px-4 py-3 flex items-center gap-3" href="#home">
<span class="material-symbols-outlined">home</span>
Home
</a>
<a class="text-on-surface-variant hover:text-on-surface mx-2 my-1 px-4 py-3 flex items-center gap-3 hover:bg-white/5 transition-all" href="#divisions">
<span class="material-symbols-outlined">settings_input_component</span>
Divisions
</a>
<button id="galleryDropdownBtn"
class="w-full text-on-surface-variant hover:text-on-surface mx-2 my-1 px-4 py-3 flex items-center gap-3 hover:bg-white/5 transition-all text-left"
type="button">
<span class="material-symbols-outlined">photo_library</span>
Gallery
<span id="galleryArrow" class="material-symbols-outlined ml-auto text-sm">
expand_more
</span>
</button>
<div id="galleryDropdown"
class="hidden ml-6 mt-2 space-y-2">
<a href="assetto/" class="block px-4 py-2 hover:text-primary">
Assetto Corsa
</a>
<a href="cxd2" class="block px-4 py-2 hover:text-primary">
CarX Drift Racing 2
</a>
<a href="cxd3" class="block px-4 py-2 hover:text-primary">
CarX Drift Racing 3
</a>
</div>
<a class="text-on-surface-variant hover:text-on-surface mx-2 my-1 px-4 py-3 flex items-center gap-3 hover:bg-white/5 transition-all" href="#stats">
<span class="material-symbols-outlined">speed</span>
Tuning Stats
</a>
<a class="text-on-surface-variant hover:text-on-surface mx-2 my-1 px-4 py-3 flex items-center gap-3 hover:bg-white/5 transition-all" href="#recruitment">
<span class="material-symbols-outlined">assignment_ind</span>
Apply Now
</a>
</nav>
<div class="px-6 mt-auto pt-6 border-t border-white/5">
<button class="w-full bg-primary-container text-on-primary-container py-3 rounded-DEFAULT font-label-caps uppercase tracking-wider mb-6">
Recruitment Open
</button>
<div class="flex gap-4">
<a class="text-on-surface-variant hover:text-primary transition-colors flex items-center gap-2" href="#">
<span class="material-symbols-outlined">forum</span> Discord
</a>
<a class="text-on-surface-variant hover:text-primary transition-colors flex items-center gap-2" href="#">
<span class="material-symbols-outlined">help</span> Support
</a>
</div>
</div>
</div>
</div>
<script>
const galleryBtn = document.getElementById("galleryDropdownBtn");
const galleryMenu = document.getElementById("galleryDropdown");
const galleryArrow = document.getElementById("galleryArrow");
galleryBtn.addEventListener("click", function(e) {
e.stopPropagation();
galleryMenu.classList.toggle("hidden");
galleryArrow.classList.toggle("rotate-180");
});
</script>
<!-- Main Content -->
<main class="pt-0 md:pt-16">
<!-- Hero Section -->
<section class="relative min-h-screen flex items-center justify-center overflow-hidden" id="home">
<!-- Background Image -->
<div class="absolute inset-0 z-0">
<div class="absolute inset-0 bg-gradient-to-b from-background/40 via-background/60 to-background z-10"></div>
<img alt="A high-performance drift car engulfed in thick tire smoke inside a professional motorsport workshop garage. The lighting is cinematic, highlighting the mechanical details and aggressive stance of the vehicle against the dark, moody background." class="w-full h-full object-cover object-center opacity-60" src="https://lh3.googleusercontent.com/aida-public/AB6AXuCOX3rtJl21sNrO5aHj06xVb8Go17Sa049MEIlGZZRH0e5Bx6xKUdZgpcUCdiU0V1XsfecQaw0D08k-51sk-zJt53VTB6DP8tqVR89mNrImLrMutPli5HKXvEb-xMkEFfuexsvCC-X6sbvEbVMg0OSKCso297wOhEzVh0_YIPLC9EIM9qm7IfNOlvBpmPIi-PGiK4rFvtLngt0Z-TfLg4aGlGMmiRABdPBrNYkiLJ6hbyzqsYL3orUgm4IiQzGH28iL5VXGuztByos"/>
</div>
<div class="relative z-20 text-center px-6 max-w-container-max mx-auto mt-20 md:mt-0 fade-in">
<h1 class="font-headline-xl text-headline-xl md:text-[80px] font-extrabold text-on-surface uppercase tracking-tighter mb-4 drop-shadow-2xl">
GARAGE AUTOMOTIVE TUNER
</h1>
<p class="font-headline-lg text-headline-lg-mobile md:text-headline-lg text-primary-fixed mb-10 tracking-wide font-light">
United by Speed, Built by Drift
</p>
<div class="flex flex-col sm:flex-row gap-6 justify-center">
<a class="bg-primary-container text-on-primary-container hover:bg-inverse-primary px-8 py-4 rounded-DEFAULT font-label-caps text-label-caps uppercase tracking-widest transition-all transform hover:-skew-x-12 shadow-[0_0_40px_rgba(230,33,23,0.3)] border border-primary-container" href="#recruitment">
Join Team
</a>
<a class="glass-panel text-on-surface hover:text-primary px-8 py-4 rounded-DEFAULT font-label-caps text-label-caps uppercase tracking-widest transition-all flex items-center justify-center gap-2" href="#divisions">
Explore Divisions
<span class="material-symbols-outlined">arrow_forward</span>
</a>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="py-24 px-margin-edge bg-surface-container-lowest relative" id="stats">
<div class="max-w-container-max mx-auto">
<div class="mb-16 fade-in">
<h2 class="font-headline-lg text-headline-lg font-bold text-on-surface mb-2">PERFORMANCE METRICS</h2>
<div class="h-1 w-20 bg-primary-container"></div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Stat Card 1 -->
<div class="glass-panel p-8 rounded-lg fade-in hover:bg-surface-container-high transition-colors group">
<div class="flex items-start justify-between mb-4">
<span class="material-symbols-outlined text-primary text-3xl group-hover:scale-110 transition-transform" style="font-variation-settings: 'FILL' 1;">groups</span>
<div class="w-3 h-3 rounded-sm bg-primary-container"></div>
</div>
<h3 class="font-label-caps text-label-caps text-on-surface-variant uppercase mb-2">Total Members</h3>
<p class="font-stats-display text-[40px] font-bold text-on-surface">1,250<span class="text-primary">+</span></p>
</div>
<!-- Stat Card 2 -->
<div class="glass-panel p-8 rounded-lg fade-in hover:bg-surface-container-high transition-colors group delay-100">
<div class="flex items-start justify-between mb-4">
<span class="material-symbols-outlined text-tertiary text-3xl group-hover:scale-110 transition-transform" style="font-variation-settings: 'FILL' 1;">sports_motorsports</span>
<div class="w-3 h-3 rounded-sm bg-tertiary"></div>
</div>
<h3 class="font-label-caps text-label-caps text-on-surface-variant uppercase mb-2">Active Drivers</h3>
<p class="font-stats-display text-[40px] font-bold text-on-surface">342</p>
</div>
<!-- Stat Card 3 -->
<div class="glass-panel p-8 rounded-lg fade-in hover:bg-surface-container-high transition-colors group delay-200">
<div class="flex items-start justify-between mb-4">
<span class="material-symbols-outlined text-secondary text-3xl group-hover:scale-110 transition-transform" style="font-variation-settings: 'FILL' 1;">emoji_events</span>
<div class="w-3 h-3 rounded-sm bg-secondary"></div>
</div>
<h3 class="font-label-caps text-label-caps text-on-surface-variant uppercase mb-2">Tournaments</h3>
<p class="font-stats-display text-[40px] font-bold text-on-surface">84</p>
</div>
<!-- Stat Card 4 -->
<div class="glass-panel p-8 rounded-lg fade-in hover:bg-surface-container-high transition-colors group delay-300">
<div class="flex items-start justify-between mb-4">
<span class="material-symbols-outlined text-primary-container text-3xl group-hover:scale-110 transition-transform" style="font-variation-settings: 'FILL' 1;">workspace_premium</span>
<div class="w-3 h-3 rounded-sm bg-outline"></div>
</div>
<h3 class="font-label-caps text-label-caps text-on-surface-variant uppercase mb-2">Championships</h3>
<p class="font-stats-display text-[40px] font-bold text-on-surface">12</p>
</div>
</div>
</div>
</section>
<!-- Divisions Bento Grid -->
<section class="py-24 px-margin-edge bg-background" id="divisions">
<div class="max-w-container-max mx-auto">
<div class="mb-16 fade-in flex justify-between items-end">
<div>
<h2 class="font-headline-lg text-headline-lg font-bold text-on-surface mb-2">OUR DIVISIONS</h2>
<div class="h-1 w-20 bg-primary-container"></div>
</div>
<a class="text-primary hover:text-primary-fixed flex items-center gap-1 font-label-caps uppercase text-sm" href="#">
View All Roster <span class="material-symbols-outlined text-sm">arrow_forward</span>
</a>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 auto-rows-[400px]">
<!-- Assetto Corsa (Large) -->
<div class="lg:col-span-2 relative rounded-xl overflow-hidden group fade-in border border-white/5">
<div class="absolute inset-0 bg-surface-container-highest z-0">
<img alt="Assetto Corsa logo with a sleek, aerodynamic race car on a highly detailed virtual track. The image has a professional, high-fidelity simulator aesthetic with cold, precise lighting." class="w-full h-full object-cover opacity-50 group-hover:opacity-70 transition-opacity duration-500" src="https://lh3.googleusercontent.com/aida-public/AB6AXuBhxdmfSzheUImzP7xlbsqbbftEdRpl-uMgftdgzgH5G5W1-g3WzjMzvozlZHhC0inhCDUhN21TKLUHszx0LG3iFOiL8So8vC6ISu13uUirnZe8m0QAtlW8GUVrHqUu8mYSWb87teS60UbPVNvs8tSPN5577tuW1LQPNlRlTk37gACDDIr2UlP7jAhUIEMQGBBTWeiur7yxbCak00J088aEQrLlx2d_U7ooj-9yDTAITPlANr5b5DSnbJoqK6yVVdQxUp2XmjFevNA"/>
<div class="absolute inset-0 bg-gradient-to-t from-background via-background/40 to-transparent"></div>
</div>
<div class="relative z-10 h-full flex flex-col justify-end p-8">
<div class="flex items-center gap-3 mb-4">
<span class="bg-primary-container text-on-primary-container px-3 py-1 text-xs font-label-caps rounded-sm uppercase tracking-wider">Sim Racing</span>
<span class="text-on-surface-variant text-sm font-label-caps"><span class="material-symbols-outlined text-xs align-middle">circle</span> PC / VR</span>
</div>
<h3 class="font-headline-lg text-headline-lg-mobile md:text-headline-lg font-bold text-on-surface mb-2">ASSETTO CORSA</h3>
<p class="text-on-surface-variant max-w-md mb-6">Precision tuning and competitive track racing. The foundation of our simulator division.</p>
<button class="glass-panel w-fit px-6 py-2 rounded-DEFAULT text-sm font-label-caps uppercase hover:bg-white/10 transition-colors flex items-center gap-2">
Division Details <span class="material-symbols-outlined text-sm">chevron_right</span>
</button>
</div>
</div>
<!-- DR2 (Tall) -->
<div class="relative rounded-xl overflow-hidden group fade-in delay-100 border border-white/5">
<div class="absolute inset-0 bg-surface-container-highest z-0">
<img alt="CarX Drift Racing 2 key art showing a heavily customized drift car mid-slide on a touge mountain pass. Vibrant colors pop against the dark asphalt, emphasizing the dynamic, arcade-sim blend." class="w-full h-full object-cover opacity-50 group-hover:opacity-70 transition-opacity duration-500" src="https://lh3.googleusercontent.com/aida-public/AB6AXuC5jtdD1MBtDCONBeYyKy6cpSVltRbeFJ8_GCRhFRQtDL7yJkJjkWHwtj6MZoROvfNHtHxgSxxCB1ZjLUu2zf9owNDXdAkS-jI0l61Hoe447-vnlD1eJSPfdfzqAjmTIYoxT7NpltmtCGQsMbp-C9F1mOXRWqUQeeKX6zfH9d_9w2NlNeCkdFIN9n7FfQnhkk1Qh0bbkxbma6uT8jG6ZUB0X2PiALOoXMJlch1U-dUZ4hrSsYzzvOKJmIU5bEJI54lVTkpNv7euC3A"/>
<div class="absolute inset-0 bg-gradient-to-t from-background via-background/60 to-transparent"></div>
</div>
<div class="relative z-10 h-full flex flex-col justify-end p-8">
<div class="flex items-center gap-3 mb-4">
<span class="bg-secondary-container text-on-secondary-container px-3 py-1 text-xs font-label-caps rounded-sm uppercase tracking-wider">Drift</span>
</div>
<h3 class="font-headline-lg-mobile text-headline-lg-mobile font-bold text-on-surface mb-2">CARX DRIFT RACING 2</h3>
<button class="text-primary hover:text-primary-fixed mt-4 text-sm font-label-caps uppercase flex items-center gap-1">
View Specs <span class="material-symbols-outlined text-sm">arrow_forward</span>
</button>
</div>
</div>
<!-- DR3 (Wide Bottom) -->
<div class="lg:col-span-3 relative rounded-xl overflow-hidden group fade-in border border-white/5 h-[300px]">
<div class="absolute inset-0 bg-surface-container-highest z-0">
<img alt="CarX Drift Racing 3 promotional image featuring next-generation graphics. A highly detailed, aggressive drift car with a custom livery is shown tearing up an industrial drift circuit with realistic smoke physics." class="w-full h-full object-cover object-center opacity-40 group-hover:opacity-60 transition-opacity duration-500" src="https://lh3.googleusercontent.com/aida-public/AB6AXuAPqM6VeoyPIKbCRf0Ln-VrMHR-Odc1EFfL8-mmXnz-w-jw-agal0FEiCCo9S4VARt9ms5uWrmGlv8qwMASM8dajyZFDB_-Qs_BB5fIkT4FLLeoQwiLDXVzZ__U7KXpjv0mnJ6VDOeuvJQrUd5-n4UPO7Qld4rKeBXES2VDiaX5s72z-TGCX4qnOrV8IxWhh3jdnvGTHYRNaHTsgj3ConWBNE_ZpBJbVYNfxWHzqNGJG_7ZvPHcC7kU--rpKzfAs0Aa_p7th57MxfU"/>
<div class="absolute inset-0 bg-gradient-to-r from-background via-background/80 to-transparent"></div>
</div>
<div class="relative z-10 h-full flex flex-col justify-center p-8 md:p-12 w-full md:w-1/2">
<div class="flex items-center gap-3 mb-4">
<span class="bg-tertiary-container text-on-tertiary-container px-3 py-1 text-xs font-label-caps rounded-sm uppercase tracking-wider">Next-Gen</span>
</div>
<h3 class="font-headline-lg text-headline-lg-mobile md:text-headline-lg font-bold text-on-surface mb-4">CARX DRIFT RACING 3</h3>
<p class="text-on-surface-variant mb-6">Preparing for the next evolution of drift physics and visual fidelity. Early access roster forming now.</p>
<button class="bg-surface-bright text-on-surface hover:bg-surface-variant w-fit px-6 py-2 rounded-DEFAULT text-sm font-label-caps uppercase transition-colors flex items-center gap-2 border border-white/10">
Join Waitlist
</button>
</div>
</div>
</div>
</div>
</section>
<!-- Recruitment Form -->
<section class="py-24 px-margin-edge bg-surface-container-lowest relative overflow-hidden" id="recruitment">
<!-- decorative bg elements -->
<div class="absolute top-0 right-0 w-1/2 h-full bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-primary-container/10 via-background to-transparent opacity-50 pointer-events-none"></div>
<div class="max-w-4xl mx-auto relative z-10 fade-in">
<div class="text-center mb-12">
<h2 class="font-headline-xl text-headline-lg md:text-headline-xl font-extrabold text-on-surface mb-4">JOIN THE GARAGE</h2>
<p class="text-on-surface-variant max-w-2xl mx-auto">Submit your telemetry and driver profile for evaluation. We are currently recruiting for Tier 1 and Tier 2 divisions across all platforms.</p>
</div>
<div class="glass-panel p-8 md:p-12 rounded-xl">
<form class="space-y-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="space-y-2">
<label class="font-label-caps text-label-caps text-on-surface-variant uppercase">Driver Name / Alias</label>
<input class="w-full bg-surface border-b border-outline-variant focus:border-primary-container text-on-surface p-3 transition-colors rounded-t-sm focus:ring-0 focus:outline-none" placeholder="e.g. GhostRider99" type="text"/>
</div>
<div class="space-y-2">
<label class="font-label-caps text-label-caps text-on-surface-variant uppercase">Discord Tag</label>
<input class="w-full bg-surface border-b border-outline-variant focus:border-primary-container text-on-surface p-3 transition-colors rounded-t-sm focus:ring-0 focus:outline-none" placeholder="User#1234" type="text"/>
</div>
</div>
<div class="space-y-2">
<label class="font-label-caps text-label-caps text-on-surface-variant uppercase">Primary Division Interest</label>
<select class="w-full bg-surface border-b border-outline-variant focus:border-primary-container text-on-surface p-3 transition-colors rounded-t-sm focus:ring-0 focus:outline-none appearance-none cursor-pointer">
<option>Assetto Corsa</option>
<option>CarX Drift Racing 2</option>
<option>CarX Drift Racing 3</option>
</select>
</div>
<div class="space-y-2">
<label class="font-label-caps text-label-caps text-on-surface-variant uppercase">Experience / Links (YouTube/Twitch)</label>
<textarea class="w-full bg-surface border-b border-outline-variant focus:border-primary-container text-on-surface p-3 transition-colors rounded-t-sm focus:ring-0 focus:outline-none resize-none" placeholder="Tell us about your setup and experience..." rows="4"></textarea>
</div>
<button class="w-full bg-primary-container hover:bg-inverse-primary text-on-primary-container py-4 rounded-DEFAULT font-label-caps text-label-caps uppercase tracking-widest transition-all mt-4" type="submit">
Submit Application
</button>
</form>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-surface-container-lowest dark:bg-surface-container-lowest text-on-surface-variant dark:text-on-surface-variant font-body-sm text-body-sm w-full py-8 mt-auto border-t border-white/5 no-shadow">
<div class="flex flex-col md:flex-row justify-between items-center px-margin-edge max-w-container-max mx-auto gap-4">
<div class="font-label-caps text-label-caps text-primary">
© 2024 GARAGE AUTOMOTIVE TUNER. ALL RIGHTS RESERVED.
</div>
<div class="flex gap-6">
<a class="text-on-surface-variant hover:text-on-surface hover:underline transition-all opacity-80 hover:opacity-100" href="#">Terms of Service</a>
<a class="text-on-surface-variant hover:text-on-surface hover:underline transition-all opacity-80 hover:opacity-100" href="#">Privacy Policy</a>
<a class="text-on-surface-variant hover:text-on-surface hover:underline transition-all opacity-80 hover:opacity-100" href="#">Contact Support</a>
</div>
</div>
</footer>
<script>
// Mobile Menu Logic
const mobileMenuBtn = document.getElementById('mobileMenuBtn');
const closeMenuBtn = document.getElementById('closeMenuBtn');
const mobileDrawer = document.getElementById('mobileDrawer');
mobileMenuBtn.addEventListener('click', () => {
mobileDrawer.classList.remove('-translate-x-full');
});
closeMenuBtn.addEventListener('click', () => {
mobileDrawer.classList.add('-translate-x-full');
});
// Close drawer when clicking a link
const drawerLinks = mobileDrawer.querySelectorAll('a');
drawerLinks.forEach(link => {
link.addEventListener('click', () => {
mobileDrawer.classList.add('-translate-x-full');
});
});
// Scroll Animation Logic
const observerOptions = {
root: null,
rootMargin: '0px',
threshold: 0.1
};
const observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('visible');
observer.unobserve(entry.target); // Only animate once
}
});
}, observerOptions);
document.querySelectorAll('.fade-in').forEach((element) => {
observer.observe(element);
});
</script>
</body></html>