@howssatoshi/quantumcss 1.7.7 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -178,7 +178,7 @@
178
178
  .quick-action-card:hover {
179
179
  background: rgba(255, 255, 255, 0.05);
180
180
  transform: translateY(-2px);
181
- border-color: rgba(0, 212, 255, 0.2);
181
+ border-color: rgba(0, 212, 255, 0.6);
182
182
  }
183
183
 
184
184
  .quick-action-icon {
@@ -204,41 +204,41 @@
204
204
  }
205
205
 
206
206
  /* Light Mode Overrides */
207
- body.light-mode {
207
+ html[data-theme="light"] {
208
208
  --bg-primary: #f8fafc;
209
209
  --text-primary: #0f172a;
210
210
  --text-secondary: #475569;
211
211
  --text-muted: #64748b;
212
212
  }
213
213
 
214
- body.light-mode .admin-logo {
214
+ html[data-theme="light"] .admin-logo {
215
215
  border-bottom-color: #e2e8f0;
216
216
  }
217
217
 
218
- body.light-mode .table-container,
219
- body.light-mode .quick-action-card {
218
+ html[data-theme="light"] .table-container,
219
+ html[data-theme="light"] .quick-action-card {
220
220
  background: #ffffff;
221
221
  border-color: #e2e8f0;
222
222
  }
223
223
 
224
- body.light-mode .quick-action-card:hover {
224
+ html[data-theme="light"] .quick-action-card:hover {
225
225
  background: #f8fafc;
226
226
  }
227
227
 
228
- body.light-mode th {
228
+ html[data-theme="light"] th {
229
229
  background: #f8fafc;
230
230
  border-bottom-color: #e2e8f0;
231
231
  }
232
232
 
233
- body.light-mode td {
233
+ html[data-theme="light"] td {
234
234
  border-bottom-color: #f1f5f9;
235
235
  }
236
236
 
237
- body.light-mode tr:hover td {
237
+ html[data-theme="light"] tr:hover td {
238
238
  background: #f8fafc;
239
239
  }
240
240
 
241
- body.light-mode .table-footer {
241
+ html[data-theme="light"] .table-footer {
242
242
  background: #f8fafc;
243
243
  border-top-color: #e2e8f0;
244
244
  }
@@ -823,15 +823,7 @@
823
823
  </div>
824
824
 
825
825
  <script>
826
- function toggleTheme() {
827
- document.body.classList.toggle('light-mode');
828
- localStorage.setItem('theme', document.body.classList.contains('light-mode') ? 'light' : 'dark');
829
- }
830
826
 
831
- const savedTheme = localStorage.getItem('theme');
832
- if (savedTheme === 'light') {
833
- document.body.classList.add('light-mode');
834
- }
835
827
  </script>
836
828
  </body>
837
829
  </html>
@@ -75,13 +75,13 @@
75
75
  color: var(--text-primary, #f1f5f9);
76
76
  }
77
77
 
78
- body.light-mode .notification-btn {
78
+ html[data-theme="light"] .notification-btn {
79
79
  background: #ffffff;
80
80
  border-color: #e2e8f0;
81
81
  color: #64748b;
82
82
  }
83
83
 
84
- body.light-mode .notification-badge {
84
+ html[data-theme="light"] .notification-badge {
85
85
  border-color: #ffffff;
86
86
  }
87
87
 
@@ -362,34 +362,34 @@
362
362
 
363
363
  /* Sun/Moon icons */
364
364
  .sun-icon { display: none; }
365
- body.light-mode .sun-icon { display: inline; }
366
- body.light-mode .moon-icon { display: none; }
365
+ html[data-theme="light"] .sun-icon { display: inline; }
366
+ html[data-theme="light"] .moon-icon { display: none; }
367
367
 
368
368
  /* Light Mode Overrides */
369
- body.light-mode {
369
+ html[data-theme="light"] {
370
370
  --bg-primary: #f8fafc;
371
371
  --text-primary: #0f172a;
372
372
  --text-secondary: #475569;
373
373
  --text-muted: #64748b;
374
374
  }
375
375
 
376
- body.light-mode .chart-card {
376
+ html[data-theme="light"] .chart-card {
377
377
  background: #ffffff;
378
378
  border-color: #e2e8f0;
379
379
  }
380
380
 
381
- body.light-mode .date-selector {
381
+ html[data-theme="light"] .date-selector {
382
382
  background: #ffffff;
383
383
  border-color: #e2e8f0;
384
384
  }
385
385
 
386
- body.light-mode .header {
386
+ html[data-theme="light"] .header {
387
387
  border-bottom-color: #e2e8f0;
388
388
  }
389
389
 
390
- body.light-mode .legend-item,
391
- body.light-mode .activity-item,
392
- body.light-mode .product-row {
390
+ html[data-theme="light"] .legend-item,
391
+ html[data-theme="light"] .activity-item,
392
+ html[data-theme="light"] .product-row {
393
393
  border-bottom-color: #f1f5f9;
394
394
  }
395
395
 
@@ -408,6 +408,25 @@
408
408
  }
409
409
  }
410
410
 
411
+ @media (max-width: 1024px) {
412
+ .sidebar {
413
+ width: 80px;
414
+ }
415
+ .sidebar .logo span,
416
+ .sidebar .nav-section-title,
417
+ .sidebar .nav-item span,
418
+ .sidebar .theme-label {
419
+ display: none;
420
+ }
421
+ .sidebar .nav-item {
422
+ justify-content: center;
423
+ padding: 0.75rem;
424
+ }
425
+ .sidebar .logo {
426
+ justify-content: center;
427
+ }
428
+ }
429
+
411
430
  @media (max-width: 768px) {
412
431
  .app-layout {
413
432
  grid-template-columns: 1fr;
@@ -807,16 +826,8 @@
807
826
 
808
827
  <script>
809
828
  // Theme toggle
810
- function toggleTheme() {
811
- document.body.classList.toggle('light-mode');
812
- localStorage.setItem('theme', document.body.classList.contains('light-mode') ? 'light' : 'dark');
813
- }
814
829
 
815
830
  // Check saved theme
816
- const savedTheme = localStorage.getItem('theme');
817
- if (savedTheme === 'light') {
818
- document.body.classList.add('light-mode');
819
- }
820
831
 
821
832
  // Chart drawing functions
822
833
  function drawLineChart() {
@@ -24,52 +24,52 @@
24
24
  background: rgba(255, 255, 255, 0.1);
25
25
  }
26
26
 
27
- body.light-mode .theme-toggle:hover {
27
+ html[data-theme="light"] .theme-toggle:hover {
28
28
  background: rgba(0, 0, 0, 0.05);
29
29
  }
30
30
 
31
31
  .sun-icon { display: none; }
32
- body.light-mode .sun-icon { display: block; }
33
- body.light-mode .moon-icon { display: none; }
32
+ html[data-theme="light"] .sun-icon { display: block; }
33
+ html[data-theme="light"] .moon-icon { display: none; }
34
34
 
35
- body.light-mode {
35
+ html[data-theme="light"] {
36
36
  background-color: #f8fafc;
37
37
  color: #1e293b;
38
38
  }
39
39
 
40
- body.light-mode .text-white,
41
- body.light-mode .text-primary,
42
- body.light-mode h1,
43
- body.light-mode h2,
44
- body.light-mode h3,
45
- body.light-mode h4 {
40
+ html[data-theme="light"] .text-white,
41
+ html[data-theme="light"] .text-primary,
42
+ html[data-theme="light"] h1,
43
+ html[data-theme="light"] h2,
44
+ html[data-theme="light"] h3,
45
+ html[data-theme="light"] h4 {
46
46
  color: #0f172a !important;
47
47
  }
48
48
 
49
- body.light-mode .text-secondary,
50
- body.light-mode .text-muted,
51
- body.light-mode .text-slate-300,
52
- body.light-mode .prose,
53
- body.light-mode .prose p {
49
+ html[data-theme="light"] .text-secondary,
50
+ html[data-theme="light"] .text-muted,
51
+ html[data-theme="light"] .text-slate-300,
52
+ html[data-theme="light"] .prose,
53
+ html[data-theme="light"] .prose p {
54
54
  color: #475569 !important;
55
55
  }
56
56
 
57
- body.light-mode .glass {
57
+ html[data-theme="light"] .glass {
58
58
  background: rgba(255, 255, 255, 0.8) !important;
59
59
  border-color: rgba(0, 0, 0, 0.1) !important;
60
60
  }
61
61
 
62
- body.light-mode .starlight-card {
62
+ html[data-theme="light"] .starlight-card {
63
63
  background: white;
64
64
  border-color: #e2e8f0;
65
65
  }
66
66
 
67
- body.light-mode .code-window {
67
+ html[data-theme="light"] .code-window {
68
68
  background: #f1f5f9;
69
69
  border-color: #e2e8f0;
70
70
  }
71
71
 
72
- body.light-mode .code-window pre {
72
+ html[data-theme="light"] .code-window pre {
73
73
  color: #1e293b;
74
74
  }
75
75
  </style>
@@ -110,7 +110,7 @@
110
110
  <a href="#" class="text-sm font-medium hover:text-primary transition-colors">Articles</a>
111
111
  <a href="#" class="text-sm font-medium hover:text-primary transition-colors">About</a>
112
112
  <div id="theme-btn" class="theme-toggle" title="Toggle Theme">
113
- <svg class="w-6 h-6 sun-icon hidden" fill="currentColor" viewBox="0 0 20 20"><path d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"></path></svg>
113
+ <svg class="w-6 h-6 sun-icon" fill="currentColor" viewBox="0 0 20 20"><path d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"></path></svg>
114
114
  <svg class="w-6 h-6 moon-icon" fill="currentColor" viewBox="0 0 20 20"><path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path></svg>
115
115
  </div>
116
116
  <button class="btn-starlight btn-sm">Subscribe</button>
@@ -68,15 +68,15 @@
68
68
  .theme-btn:hover { background: rgba(255, 255, 255, 0.08); }
69
69
  .theme-label { font-size: 0.875rem; font-weight: 500; }
70
70
  .sun-icon { display: none; }
71
- body.light-mode .sun-icon { display: inline; }
72
- body.light-mode .moon-icon { display: none; }
73
- body.light-mode { --bg-primary: #f8fafc; --text-primary: #0f172a; --text-secondary: #475569; --text-muted: #64748b; }
74
- body.light-mode .chat-sidebar { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border-right-color: #e2e8f0; }
75
- body.light-mode .chat-header, body.light-mode .chat-input-container { background: #f8fafc; border-color: #e2e8f0; }
76
- body.light-mode .chat-input-wrapper { background: #f1f5f9; border-color: #e2e8f0; }
77
- body.light-mode .conversation-item:hover { background: #f8fafc; }
78
- body.light-mode .conversation-item.active { background: rgba(0, 212, 255, 0.08); }
79
- body.light-mode .message.received .message-bubble { background: #f1f5f9; color: #0f172a; }
71
+ html[data-theme="light"] .sun-icon { display: inline; }
72
+ html[data-theme="light"] .moon-icon { display: none; }
73
+ html[data-theme="light"] { --bg-primary: #f8fafc; --text-primary: #0f172a; --text-secondary: #475569; --text-muted: #64748b; }
74
+ html[data-theme="light"] .chat-sidebar { background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border-right-color: #e2e8f0; }
75
+ html[data-theme="light"] .chat-header, html[data-theme="light"] .chat-input-container { background: #f8fafc; border-color: #e2e8f0; }
76
+ html[data-theme="light"] .chat-input-wrapper { background: #f1f5f9; border-color: #e2e8f0; }
77
+ html[data-theme="light"] .conversation-item:hover { background: #f8fafc; }
78
+ html[data-theme="light"] .conversation-item.active { background: rgba(0, 212, 255, 0.08); }
79
+ html[data-theme="light"] .message.received .message-bubble { background: #f1f5f9; color: #0f172a; }
80
80
  @media (max-width: 768px) { .chat-app { grid-template-columns: 1fr; } .chat-sidebar { display: none; } .message { max-width: 85%; } }
81
81
  </style>
82
82
  </head>
@@ -248,20 +248,10 @@
248
248
  </div>
249
249
  </div>
250
250
  <script>
251
- function toggleTheme() {
252
- document.body.classList.toggle('light-mode');
253
- localStorage.setItem('theme', document.body.classList.contains('light-mode') ? 'light' : 'dark');
254
- }
255
- const savedTheme = localStorage.getItem('theme');
256
- if (savedTheme === 'light') document.body.classList.add('light-mode');
257
- document.querySelectorAll('.conversation-item').forEach(item => {
258
- item.addEventListener('click', function() {
259
- document.querySelectorAll('.conversation-item').forEach(i => i.classList.remove('active'));
260
- this.classList.add('active');
261
- this.classList.remove('unread');
262
- const badge = this.querySelector('.unread-badge');
263
- if (badge) badge.style.display = 'none';
264
- });
251
+ document.addEventListener('DOMContentLoaded', () => {
252
+ if (typeof Starlight !== 'undefined') {
253
+ Starlight.initStars();
254
+ }
265
255
  });
266
256
  </script>
267
257
  </body>
@@ -153,63 +153,63 @@
153
153
 
154
154
  /* Sun/Moon icons */
155
155
  .sun-icon { display: none; }
156
- body.light-mode .sun-icon { display: block; }
157
- body.light-mode .moon-icon { display: none; }
156
+ html[data-theme="light"] .sun-icon { display: block; }
157
+ html[data-theme="light"] .moon-icon { display: none; }
158
158
 
159
159
  /* Light Mode Overrides */
160
- body.light-mode {
160
+ html[data-theme="light"] {
161
161
  background-color: #f8fafc;
162
162
  color: #1e293b;
163
163
  }
164
164
 
165
- body.light-mode .email-sidebar {
165
+ html[data-theme="light"] .email-sidebar {
166
166
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
167
167
  border-right-color: #e2e8f0;
168
168
  }
169
169
 
170
- body.light-mode .email-list {
170
+ html[data-theme="light"] .email-list {
171
171
  background: #ffffff;
172
172
  border-right-color: #e2e8f0;
173
173
  }
174
174
 
175
- body.light-mode .email-content {
175
+ html[data-theme="light"] .email-content {
176
176
  background: #f8fafc;
177
177
  }
178
178
 
179
- body.light-mode .email-item {
179
+ html[data-theme="light"] .email-item {
180
180
  border-bottom-color: #f1f5f9;
181
181
  }
182
182
 
183
- body.light-mode .email-item:hover {
183
+ html[data-theme="light"] .email-item:hover {
184
184
  background: #f8fafc;
185
185
  }
186
186
 
187
- body.light-mode .email-item.active {
187
+ html[data-theme="light"] .email-item.active {
188
188
  background: rgba(0, 212, 255, 0.08);
189
189
  }
190
190
 
191
- body.light-mode .email-item.unread {
191
+ html[data-theme="light"] .email-item.unread {
192
192
  background: rgba(59, 130, 246, 0.04);
193
193
  }
194
194
 
195
- body.light-mode .email-sender {
195
+ html[data-theme="light"] .email-sender {
196
196
  color: #0f172a;
197
197
  }
198
198
 
199
- body.light-mode .email-preview {
199
+ html[data-theme="light"] .email-preview {
200
200
  color: #64748b;
201
201
  }
202
202
 
203
- body.light-mode .email-time {
203
+ html[data-theme="light"] .email-time {
204
204
  color: #94a3b8;
205
205
  }
206
206
 
207
- body.light-mode .user-profile-section {
207
+ html[data-theme="light"] .user-profile-section {
208
208
  background: #f1f5f9;
209
209
  border-color: #e2e8f0;
210
210
  }
211
211
 
212
- body.light-mode .user-name {
212
+ html[data-theme="light"] .user-name {
213
213
  color: #0f172a;
214
214
  }
215
215
 
@@ -254,7 +254,7 @@
254
254
  display: block; /* Always block, use transform to hide */
255
255
  }
256
256
 
257
- body.light-mode .email-content {
257
+ html[data-theme="light"] .email-content {
258
258
  background: #f8fafc;
259
259
  }
260
260
 
@@ -273,7 +273,7 @@
273
273
  background: rgba(8, 8, 26, 0.5);
274
274
  }
275
275
 
276
- body.light-mode .top-bar {
276
+ html[data-theme="light"] .top-bar {
277
277
  background: #ffffff;
278
278
  border-bottom-color: #e2e8f0;
279
279
  }
@@ -286,7 +286,7 @@
286
286
  line-height: 1.3;
287
287
  }
288
288
 
289
- body.light-mode .email-subject {
289
+ html[data-theme="light"] .email-subject {
290
290
  color: #0f172a;
291
291
  }
292
292
 
@@ -296,7 +296,7 @@
296
296
  font-size: 0.9375rem;
297
297
  }
298
298
 
299
- body.light-mode .email-body {
299
+ html[data-theme="light"] .email-body {
300
300
  color: #475569;
301
301
  }
302
302
 
@@ -317,7 +317,7 @@
317
317
  margin-bottom: 0.25rem;
318
318
  }
319
319
 
320
- body.light-mode .sender-details h3 {
320
+ html[data-theme="light"] .sender-details h3 {
321
321
  color: #0f172a;
322
322
  }
323
323
 
@@ -679,16 +679,8 @@
679
679
 
680
680
  <script>
681
681
  // Theme toggle functionality
682
- function toggleTheme() {
683
- document.body.classList.toggle('light-mode');
684
- localStorage.setItem('theme', document.body.classList.contains('light-mode') ? 'light' : 'dark');
685
- }
686
682
 
687
683
  // Check for saved theme preference
688
- const savedTheme = localStorage.getItem('theme');
689
- if (savedTheme === 'light') {
690
- document.body.classList.add('light-mode');
691
- }
692
684
 
693
685
  // Email item click handler
694
686
  document.querySelectorAll('.email-item').forEach(item => {
@@ -13,7 +13,7 @@
13
13
  transition: background-color 0.5s ease, color 0.5s ease;
14
14
  }
15
15
 
16
- body.light-mode {
16
+ html[data-theme="light"] {
17
17
  background: #f1f5f9;
18
18
  color: #1e293b;
19
19
  }
@@ -30,7 +30,7 @@
30
30
  text-align: center;
31
31
  }
32
32
 
33
- body.light-mode .hero-section {
33
+ html[data-theme="light"] .hero-section {
34
34
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9)),
35
35
  url('https://images.unsplash.com/photo-1542751371-adc38448a05e?auto=format&fit=crop&w=1920&q=80');
36
36
  background-size: cover;
@@ -60,43 +60,43 @@
60
60
  background: rgba(255, 255, 255, 0.1);
61
61
  }
62
62
 
63
- body.light-mode .theme-toggle:hover {
63
+ html[data-theme="light"] .theme-toggle:hover {
64
64
  background: rgba(0, 0, 0, 0.05);
65
65
  }
66
66
 
67
- body.light-mode .glass {
67
+ html[data-theme="light"] .glass {
68
68
  background: rgba(0, 0, 0, 0.03) !important;
69
69
  border-color: rgba(0, 0, 0, 0.1) !important;
70
70
  color: #1e293b !important;
71
71
  }
72
72
 
73
- body.light-mode .badge-secondary {
73
+ html[data-theme="light"] .badge-secondary {
74
74
  background-color: rgba(0, 0, 0, 0.05);
75
75
  color: #475569;
76
76
  border-color: rgba(0, 0, 0, 0.1);
77
77
  }
78
78
 
79
- body.light-mode .starlight-card p {
79
+ html[data-theme="light"] .starlight-card p {
80
80
  color: #64748b;
81
81
  }
82
82
 
83
- body.light-mode footer {
83
+ html[data-theme="light"] footer {
84
84
  background-color: #f1f5f9;
85
85
  border-top-color: #e2e8f0;
86
86
  }
87
87
 
88
- body.light-mode footer .text-gradient-starlight {
88
+ html[data-theme="light"] footer .text-gradient-starlight {
89
89
  background: none;
90
90
  -webkit-text-fill-color: #1e293b;
91
91
  color: #1e293b;
92
92
  }
93
93
 
94
- body.light-mode footer p,
95
- body.light-mode footer a {
94
+ html[data-theme="light"] footer p,
95
+ html[data-theme="light"] footer a {
96
96
  color: #64748b;
97
97
  }
98
98
 
99
- body.light-mode footer a:hover {
99
+ html[data-theme="light"] footer a:hover {
100
100
  color: #2563eb;
101
101
  }
102
102
  </style>
@@ -119,7 +119,7 @@
119
119
 
120
120
  <div class="flex items-center gap-4">
121
121
  <div id="theme-btn" class="theme-toggle" title="Toggle Theme">
122
- <svg class="w-6 h-6 sun-icon hidden" fill="currentColor" viewBox="0 0 20 20"><path d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"></path></svg>
122
+ <svg class="w-6 h-6 sun-icon" fill="currentColor" viewBox="0 0 20 20"><path d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"></path></svg>
123
123
  <svg class="w-6 h-6 moon-icon" fill="currentColor" viewBox="0 0 20 20"><path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path></svg>
124
124
  </div>
125
125
  <button class="bg-starlight text-black px-8 py-2.5 rounded-full font-bold glow-blue hover:scale-105 transition border-none">Play Now</button>
@@ -129,7 +129,7 @@
129
129
  <!-- Mobile Actions -->
130
130
  <div class="flex items-center gap-4 md:hidden hamburger-left">
131
131
  <div id="theme-btn-mobile" class="theme-toggle" title="Toggle Theme">
132
- <svg class="w-6 h-6 sun-icon hidden" fill="currentColor" viewBox="0 0 20 20"><path d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"></path></svg>
132
+ <svg class="w-6 h-6 sun-icon" fill="currentColor" viewBox="0 0 20 20"><path d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z"></path></svg>
133
133
  <svg class="w-6 h-6 moon-icon" fill="currentColor" viewBox="0 0 20 20"><path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path></svg>
134
134
  </div>
135
135
  <div class="hamburger">
@@ -116,11 +116,6 @@
116
116
  </div>
117
117
 
118
118
  <script>
119
- function toggleTheme() {
120
- const body = document.body;
121
- if (body.classList.contains('theme-blue-peach')) {
122
- body.classList.replace('theme-blue-peach', 'theme-purple-via');
123
- } else {
124
119
  body.classList.replace('theme-purple-via', 'theme-blue-peach');
125
120
  }
126
121
  }