File size: 3,094 Bytes
d4e9dbb
 
 
 
 
 
 
 
a3230d6
d4e9dbb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a3230d6
 
d4e9dbb
 
 
 
 
a3230d6
 
d4e9dbb
 
a3230d6
 
d4e9dbb
 
 
 
 
a3230d6
 
d4e9dbb
 
a3230d6
d4e9dbb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Roboto:wght@300;400;500&display=swap');

:root {
  --xbox-green: #107c10;
  --xbox-dark: #1d232b;
  --xbox-light: #5dc21e;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #0a0a0a;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(16, 124, 16, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(16, 124, 16, 0.1) 0%, transparent 20%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
}

/* XBOX-style switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--xbox-green);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

/* Keyboard styling */
.keyboard-container {
  position: relative;
  height: 160px;
  margin: 20px auto;
  padding: 0 10px;
}

.key {
  display: inline-block;
  cursor: pointer;
  user-select: none;
  transition: all 0.1s ease;
}

.white-key {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.white-key:active,
.white-key.active {
  background-color: #e0e0e0;
  transform: translateY(2px);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.black-key {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.black-key:active,
.black-key.active {
  background-color: #333;
  transform: translateY(2px);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

/* XY Pad styling */
#xy-pad {
  background: 
    linear-gradient(to bottom, rgba(16, 124, 16, 0.1) 0%, transparent 100%),
    linear-gradient(to right, rgba(16, 124, 16, 0.1) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}

#xy-pad::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(16, 124, 16, 0.3);
}

#xy-pad::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(16, 124, 16, 0.3);
}

#xy-handle {
  box-shadow: 0 0 10px rgba(16, 124, 16, 0.7);
  border: 2px solid white;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a202c;
}

::-webkit-scrollbar-thumb {
  background: var(--xbox-green);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5dc21e;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .keyboard-container {
    transform: scale(0.8);
  }
  
  #xy-pad {
    height: 200px;
  }
  
  .grid-cols-1.md\:grid-cols-3,
  .grid-cols-1.md\:grid-cols-4,
  .grid-cols-1.md\:grid-cols-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}