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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* --- GLOBAL VARIABLES & RESET --- */
|
| 2 |
+
:root {
|
| 3 |
+
--phone-bg: #1a1a1a;
|
| 4 |
+
--screen-bg: #000;
|
| 5 |
+
--accent: #007AFF;
|
| 6 |
+
--text: #fff;
|
| 7 |
+
--app-header-bg: rgba(20, 20, 20, 0.95);
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
* {
|
| 11 |
+
margin: 0;
|
| 12 |
+
padding: 0;
|
| 13 |
+
box-sizing: border-box;
|
| 14 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
| 15 |
+
user-select: none;
|
| 16 |
+
-webkit-tap-highlight-color: transparent;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
body {
|
| 20 |
+
background-color: #222;
|
| 21 |
+
display: flex;
|
| 22 |
+
justify-content: center;
|
| 23 |
+
align-items: center;
|
| 24 |
+
min-height: 100vh;
|
| 25 |
+
background: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 100%);
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
/* --- THE PHONE CHASSIS --- */
|
| 29 |
+
.phone {
|
| 30 |
+
width: 320px;
|
| 31 |
+
height: 650px;
|
| 32 |
+
background: var(--phone-bg);
|
| 33 |
+
border-radius: 40px;
|
| 34 |
+
border: 8px solid #333;
|
| 35 |
+
box-shadow:
|
| 36 |
+
0 0 60px rgba(0,0,0,0.6),
|
| 37 |
+
inset 0 0 10px rgba(255,255,255,0.1);
|
| 38 |
+
position: relative;
|
| 39 |
+
overflow: hidden;
|
| 40 |
+
color: var(--text);
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
/* Notch */
|
| 44 |
+
.notch {
|
| 45 |
+
position: absolute;
|
| 46 |
+
top: 0;
|
| 47 |
+
left: 50%;
|
| 48 |
+
transform: translateX(-50%);
|
| 49 |
+
width: 120px;
|
| 50 |
+
height: 25px;
|
| 51 |
+
background: #333;
|
| 52 |
+
border-bottom-left-radius: 15px;
|
| 53 |
+
border-bottom-right-radius: 15px;
|
| 54 |
+
z-index: 100;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
/* --- SCREEN --- */
|
| 58 |
+
.screen {
|
| 59 |
+
width: 100%;
|
| 60 |
+
height: 100%;
|
| 61 |
+
background-color: #000;
|
| 62 |
+
position: relative;
|
| 63 |
+
padding-top: 40px;
|
| 64 |
+
transition: filter 0.3s;
|
| 65 |
+
background-size: cover;
|
| 66 |
+
background-position: center;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
/* Status Bar */
|
| 70 |
+
.status-bar {
|
| 71 |
+
display: flex;
|
| 72 |
+
justify-content: space-between;
|
| 73 |
+
padding: 5px 25px;
|
| 74 |
+
font-size: 12px;
|
| 75 |
+
font-weight: 600;
|
| 76 |
+
text-shadow: 0 1px 3px rgba(0,0,0,0.9);
|
| 77 |
+
z-index: 20;
|
| 78 |
+
position: relative;
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
/* --- APP GRID (Home Screen) --- */
|
| 82 |
+
.app-grid {
|
| 83 |
+
display: grid;
|
| 84 |
+
grid-template-columns: repeat(4, 1fr);
|
| 85 |
+
gap: 15px;
|
| 86 |
+
padding: 20px;
|
| 87 |
+
margin-top: 20px;
|
| 88 |
+
}
|
| 89 |
+
|
| 90 |
+
.app-icon {
|
| 91 |
+
display: flex;
|
| 92 |
+
flex-direction: column;
|
| 93 |
+
align-items: center;
|
| 94 |
+
cursor: pointer;
|
| 95 |
+
transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.app-icon:active {
|
| 99 |
+
transform: scale(0.9);
|
| 100 |
+
opacity: 0.8;
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
.icon-box {
|
| 104 |
+
width: 55px;
|
| 105 |
+
height: 55px;
|
| 106 |
+
border-radius: 14px;
|
| 107 |
+
display: flex;
|
| 108 |
+
justify-content: center;
|
| 109 |
+
align-items: center;
|
| 110 |
+
font-size: 24px;
|
| 111 |
+
color: white;
|
| 112 |
+
margin-bottom: 5px;
|
| 113 |
+
box-shadow: 0 4px 6px rgba(0,0,0,0.5);
|
| 114 |
+
position: relative;
|
| 115 |
+
overflow: hidden;
|
| 116 |
+
backdrop-filter: blur(5px);
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
/* Icon Gradients */
|
| 120 |
+
.icon-browser { background: linear-gradient(135deg, #2980b9, #6dd5fa); }
|
| 121 |
+
.icon-gallery { background: linear-gradient(135deg, #ff7e5f, #feb47b); }
|
| 122 |
+
.icon-files { background: linear-gradient(135deg, #43cea2, #185a9d); }
|
| 123 |
+
.icon-settings { background: linear-gradient(135deg, #304352, #d7d2cc); }
|
| 124 |
+
.icon-code { background: linear-gradient(135deg, #111, #444); border: 1px solid #555; }
|
| 125 |
+
|
| 126 |
+
.app-name {
|
| 127 |
+
font-size: 11px;
|
| 128 |
+
text-shadow: 0 1px 3px rgba(0,0,0,1);
|
| 129 |
+
font-weight: 500;
|
| 130 |
+
letter-spacing: 0.3px;
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
/* --- APP WINDOW (The Modals) --- */
|
| 134 |
+
.app-window {
|
| 135 |
+
position: absolute;
|
| 136 |
+
top: 100%;
|
| 137 |
+
left: 0;
|
| 138 |
+
width: 100%;
|
| 139 |
+
height: 100%;
|
| 140 |
+
background: #111;
|
| 141 |
+
transition: top 0.4s cubic-bezier(0.86, 0, 0.07, 1);
|
| 142 |
+
z-index: 50;
|
| 143 |
+
display: flex;
|
| 144 |
+
flex-direction: column;
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
.app-window.open {
|
| 148 |
+
top: 0;
|
| 149 |
+
border-radius: 0 0 40px 40px;
|
| 150 |
+
}
|
| 151 |
+
|
| 152 |
+
/* App Header with Back Button */
|
| 153 |
+
.app-header {
|
| 154 |
+
padding: 45px 15px 15px;
|
| 155 |
+
background: var(--app-header-bg);
|
| 156 |
+
border-bottom: 1px solid #333;
|
| 157 |
+
font-weight: bold;
|
| 158 |
+
display: flex;
|
| 159 |
+
align-items: center;
|
| 160 |
+
gap: 15px;
|
| 161 |
+
backdrop-filter: blur(10px);
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.back-btn {
|
| 165 |
+
font-size: 18px;
|
| 166 |
+
color: var(--accent);
|
| 167 |
+
cursor: pointer;
|
| 168 |
+
padding: 5px;
|
| 169 |
+
transition: opacity 0.2s;
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
.back-btn:active {
|
| 173 |
+
opacity: 0.5;
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
.app-title {
|
| 177 |
+
flex: 1;
|
| 178 |
+
font-size: 16px;
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
.app-content {
|
| 182 |
+
flex: 1;
|
| 183 |
+
overflow-y: auto;
|
| 184 |
+
padding: 15px;
|
| 185 |
+
}
|
| 186 |
+
|
| 187 |
+
/* Custom Scrollbar for apps */
|
| 188 |
+
.app-content::-webkit-scrollbar {
|
| 189 |
+
width: 4px;
|
| 190 |
+
}
|
| 191 |
+
.app-content::-webkit-scrollbar-thumb {
|
| 192 |
+
background: #444;
|
| 193 |
+
border-radius: 2px;
|
| 194 |
}
|
| 195 |
|
| 196 |
+
/* --- IMAGE VIEWER MODAL --- */
|
| 197 |
+
.image-modal {
|
| 198 |
+
position: absolute;
|
| 199 |
+
top: 0;
|
| 200 |
+
left: 0;
|
| 201 |
+
width: 100%;
|
| 202 |
+
height: 100%;
|
| 203 |
+
background: #000;
|
| 204 |
+
z-index: 200;
|
| 205 |
+
display: flex;
|
| 206 |
+
flex-direction: column;
|
| 207 |
+
justify-content: center;
|
| 208 |
+
align-items: center;
|
| 209 |
+
opacity: 0;
|
| 210 |
+
pointer-events: none;
|
| 211 |
+
transition: opacity 0.3s ease;
|
| 212 |
}
|
| 213 |
|
| 214 |
+
.image-modal.active {
|
| 215 |
+
opacity: 1;
|
| 216 |
+
pointer-events: all;
|
|
|
|
|
|
|
| 217 |
}
|
| 218 |
|
| 219 |
+
.image-modal img {
|
| 220 |
+
max-width: 100%;
|
| 221 |
+
max-height: 80%;
|
| 222 |
+
object-fit: contain;
|
| 223 |
+
box-shadow: 0 0 20px rgba(0,0,0,0.8);
|
|
|
|
| 224 |
}
|
| 225 |
|
| 226 |
+
.close-modal {
|
| 227 |
+
position: absolute;
|
| 228 |
+
top: 50px;
|
| 229 |
+
right: 20px;
|
| 230 |
+
color: #fff;
|
| 231 |
+
font-size: 24px;
|
| 232 |
+
cursor: pointer;
|
| 233 |
+
background: rgba(50,50,50,0.5);
|
| 234 |
+
width: 40px;
|
| 235 |
+
height: 40px;
|
| 236 |
+
border-radius: 50%;
|
| 237 |
+
display: flex;
|
| 238 |
+
align-items: center;
|
| 239 |
+
justify-content: center;
|
| 240 |
+
backdrop-filter: blur(4px);
|
| 241 |
}
|
| 242 |
+
|
| 243 |
+
/* --- GALLERY GRID STYLES --- */
|
| 244 |
+
.gallery-grid {
|
| 245 |
+
display: grid;
|
| 246 |
+
grid-template-columns: repeat(2, 1fr);
|
| 247 |
+
gap: 10px;
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
.gallery-item {
|
| 251 |
+
width: 100%;
|
| 252 |
+
height: 120px;
|
| 253 |
+
border-radius: 8px;
|
| 254 |
+
background-size: cover;
|
| 255 |
+
background-position: center;
|
| 256 |
+
background-color: #333;
|
| 257 |
+
position: relative;
|
| 258 |
+
overflow: hidden;
|
| 259 |
+
cursor: pointer;
|
| 260 |
+
transition: transform 0.1s;
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
.gallery-item:active {
|
| 264 |
+
transform: scale(0.98);
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
/* --- FILES & SETTINGS LIST STYLES --- */
|
| 268 |
+
.file-item, .setting-row {
|
| 269 |
+
display: flex;
|
| 270 |
+
justify-content: space-between;
|
| 271 |
+
align-items: center;
|
| 272 |
+
padding: 15px;
|
| 273 |
+
border-bottom: 1px solid #222;
|
| 274 |
+
color: #ccc;
|
| 275 |
+
transition: background 0.2s;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
.file-item:active, .setting-row:active {
|
| 279 |
+
background: #222;
|
| 280 |
+
}
|
| 281 |
+
|
| 282 |
+
.file-left {
|
| 283 |
+
display: flex;
|
| 284 |
+
align-items: center;
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
.file-item i {
|
| 288 |
+
margin-right: 15px;
|
| 289 |
+
font-size: 24px;
|
| 290 |
+
width: 30px;
|
| 291 |
+
text-align: center;
|
| 292 |
+
}
|
| 293 |
+
|
| 294 |
+
.file-details {
|
| 295 |
+
display: flex;
|
| 296 |
+
flex-direction: column;
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
.file-name {
|
| 300 |
+
font-size: 14px;
|
| 301 |
+
color: #fff;
|
| 302 |
+
margin-bottom: 2px;
|
| 303 |
+
}
|
| 304 |
+
|
| 305 |
+
.file-size {
|
| 306 |
+
font-size: 11px;
|
| 307 |
+
color: #666;
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
/* Toggle Switch Style */
|
| 311 |
+
.toggle {
|
| 312 |
+
width: 44px;
|
| 313 |
+
height: 24px;
|
| 314 |
+
background: #333;
|
| 315 |
+
border-radius: 20px;
|
| 316 |
+
position: relative;
|
| 317 |
+
transition: background 0.3s;
|
| 318 |
+
}
|
| 319 |
+
|
| 320 |
+
.toggle::after {
|
| 321 |
+
content: '';
|
| 322 |
+
position: absolute;
|
| 323 |
+
top: 2px;
|
| 324 |
+
left: 2px;
|
| 325 |
+
width: 20px;
|
| 326 |
+
height: 20px;
|
| 327 |
+
background: #777;
|
| 328 |
+
border-radius: 50%;
|
| 329 |
+
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
| 330 |
+
}
|
| 331 |
+
|
| 332 |
+
.toggle.active {
|
| 333 |
+
background: #34c759;
|
| 334 |
+
}
|
| 335 |
+
|
| 336 |
+
.toggle.active::after {
|
| 337 |
+
left: 22px;
|
| 338 |
+
background: #fff;
|
| 339 |
+
}
|
| 340 |
+
|
| 341 |
+
/* --- TERMINAL (C++) STYLES --- */
|
| 342 |
+
.terminal-window {
|
| 343 |
+
background-color: #0d0d0d !important;
|
| 344 |
+
}
|
| 345 |
+
|
| 346 |
+
.terminal-text {
|
| 347 |
+
font-family: 'Courier New', monospace;
|
| 348 |
+
font-size: 13px;
|
| 349 |
+
line-height: 1.4;
|
| 350 |
+
color: #00ff00;
|
| 351 |
+
white-space: pre-wrap;
|
| 352 |
+
padding: 10px;
|
| 353 |
+
}
|
| 354 |
+
|
| 355 |
+
/* --- HOME BAR (Bottom) --- */
|
| 356 |
+
.home-bar {
|
| 357 |
+
position: absolute;
|
| 358 |
+
bottom: 10px;
|
| 359 |
+
left: 50%;
|
| 360 |
+
transform: translateX(-50%);
|
| 361 |
+
width: 120px;
|
| 362 |
+
height: 5px;
|
| 363 |
+
background: #fff;
|
| 364 |
+
border-radius: 10px;
|
| 365 |
+
z-index: 200;
|
| 366 |
+
cursor: pointer;
|
| 367 |
+
opacity: 0.8;
|
| 368 |
+
box-shadow: 0 1px 3px rgba(0,0,0,0.5);
|
| 369 |
+
transition: width 0.2s, opacity 0.2s;
|
| 370 |
+
}
|
| 371 |
+
|
| 372 |
+
.home-bar:active {
|
| 373 |
+
opacity: 0.5;
|
| 374 |
+
width: 100px;
|
| 375 |
+
}
|
| 376 |
+
|
| 377 |
+
|
| 378 |
+
|