File size: 4,423 Bytes
17a5579
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
:root {
    --bg: #0f111a;
    --glass: rgba(30, 35, 50, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --red: #ef4444;
    --green: #10b981;
    --door: #f59e0b;
    --font: 'Space Grotesk', sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    min-height: 100vh;
}

.background {
    position: fixed; inset: 0; z-index: -1;
    background-image: 
        linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.container { max-width: 1400px; margin: 0 auto; padding: 2rem; }

.glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.panel { padding: 1.5rem; margin-bottom: 1.5rem; }

header { text-align: center; padding: 1.5rem; margin-bottom: 2rem; }
header h1 { font-size: 2.5rem; letter-spacing: -1px; }
.highlight { color: var(--primary); }
.text-green { color: var(--green); }
.text-center { text-align: center; }

h2, h3 { margin-bottom: 1rem; color: #fff; font-weight: 600; }

.hidden { display: none !important; }

/* Grid Selection */
.task-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.task-card {
    padding: 1.5rem; border: 1px solid var(--border);
    border-radius: 8px; cursor: pointer; transition: all 0.2s;
    background: rgba(0,0,0,0.2);
}
.task-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.task-card h4 { color: var(--primary); font-size: 1.2rem; margin-bottom: 0.5rem; text-transform: uppercase;}
.badge { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.8rem; background: rgba(59,130,246,0.2); border: 1px solid var(--primary);}

/* Simulation Screen */
.status-bar {
    display: flex; justify-content: space-between; padding: 1rem 2rem;
    margin-bottom: 1.5rem; font-family: var(--mono); font-size: 1.1rem;
}

.status { padding: 0.3rem 1rem; border-radius: 4px; }
.status.fail { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.status.pass { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }

.main-layout { display: grid; grid-template-columns: 350px 1fr; gap: 1.5rem; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1rem; }

.item-list { list-style: none; font-family: var(--mono); font-size: 0.9rem;}
.item-list li {
    padding: 0.8rem; border-left: 4px solid var(--green);
    background: rgba(0,0,0,0.4); margin-bottom: 0.5rem;
    display: flex; justify-content: space-between; border-radius: 4px;
}
.item-list li.unplaced { border-left-color: var(--red); opacity: 0.8; }

.console {
    height: 250px; overflow-y: auto; background: #000;
    padding: 1rem; font-family: var(--mono); font-size: 0.85rem;
    color: #a3a3a3; border-radius: 6px;
}
.console .err { color: #f87171; }
.console .succ { color: #4ade80; }

.controls { display: flex; flex-direction: column; gap: 0.8rem; }
.coords { display: flex; gap: 0.5rem; }
input, select {
    background: rgba(0,0,0,0.5); border: 1px solid var(--border);
    color: #fff; padding: 0.8rem; border-radius: 6px;
    font-family: var(--mono); width: 100%; outline: none;
}
input:focus, select:focus { border-color: var(--primary); }

.btn {
    background: var(--primary); color: #fff; border: none;
    padding: 1rem; border-radius: 6px; cursor: pointer;
    font-weight: bold; font-family: var(--font); transition: 0.2s;
}
.btn:hover { background: var(--primary-hover); }

/* Blueprint Canvas */
.blueprint-container { display: flex; flex-direction: column; align-items: center; }
.canvas-wrapper {
    background: #000; border: 2px solid var(--border);
    border-radius: 8px; padding: 20px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}
canvas {
    background: #1e2233;
    image-rendering: pixelated;
}

/* Modal */
.modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.8);
    display: flex; align-items: center; justify-content: center; z-index: 100;
}
.modal-content { padding: 3rem; min-width: 400px; }
.score { font-size: 2.5rem; font-family: var(--mono); margin: 1.5rem 0; color: #fff; }