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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}
.snake-container{
    text-align:center;
    padding:20px;
}

.snake-board{
    position:relative;
    width:400px;
    height:400px;
    margin:auto;
}

#snakeCanvas{
    background:#ffeef6;
    border-radius:8px;
    box-shadow:0 8px 20px rgba(0,0,0,0.25);
}

.snake-score{
    font-size:18px;
    font-weight:600;
    color:#ff69b4;
    margin-top:10px;
}

.snake-controls{
    margin-top:10px;
}

.snake-btn{
    background:linear-gradient(135deg,#ff7ac8,#ff4fa3);
    border:none;
    color:white;
    padding:10px 20px;
    margin:5px;
    font-weight:600;
    border-radius:8px;
    cursor:pointer;
    box-shadow:0 4px 12px rgba(255,105,180,0.4);
    transition:all 0.2s ease;
}

.snake-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 6px 16px rgba(255,105,180,0.6);
}

.game-over-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;

    display:none;

    justify-content:center;
    align-items:center;
    flex-direction:column;

    background:rgba(255,255,255,0.9);
    backdrop-filter:blur(4px);

    font-size:32px;
    font-weight:700;
    color:#ff1493;

    border-radius:8px;
}
.snake{
    padding:0; /* remove inner spacing */
    overflow:hidden;
}

.snake img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:22px; /* iOS style rounding */
}

/* Lockscreen Styles */
.lockscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #2d1b4e 0%, #5a1e7a 30%, #8b3a8b 60%, #d944a6 100%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.lockscreen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Weather/Cloud and Rain Container */
.lockscreen-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.weather-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Clouds */
.cloud {
    position: absolute;
    background: rgba(255, 180, 220, 0.2);
    border-radius: 100px;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
    filter: blur(2px);
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 150, 200, 0.2);
    border-radius: 100px;
}

.cloud::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 10px;
}

.cloud::after {
    width: 50px;
    height: 50px;
    top: -25px;
    right: 10px;
}

.cloud1 {
    width: 100px;
    height: 40px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.cloud2 {
    width: 120px;
    height: 50px;
    top: 20%;
    right: 10%;
    animation-delay: 5s;
}

.cloud3 {
    width: 90px;
    height: 35px;
    top: 30%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(30px);
    }
}

/* Digital Rain Effect */
.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rain {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255, 180, 220, 0.6) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 150, 200, 0.5) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 200, 230, 0.6) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 170, 210, 0.5) 2px, transparent 2px);
    background-size: 80px 120px, 95px 140px, 75px 130px, 85px 150px;
    background-position: 0 0, 20px 30px, 40px 60px, 10px 90px;
    background-repeat: repeat;
    animation: rainFall 2s linear infinite;
}

.rain::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255, 160, 210, 0.55) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 190, 225, 0.6) 2px, transparent 2px);
    background-size: 90px 125px, 100px 145px;
    background-position: 30px 20px, 50px 80px;
    background-repeat: repeat;
    animation: rainFall 2.2s linear infinite -0.2s;
}

.rain::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255, 140, 190, 0.5) 2px, transparent 2px),
        radial-gradient(circle, rgba(255, 210, 235, 0.55) 2px, transparent 2px);
    background-size: 85px 135px, 110px 155px;
    background-position: 10px 40px, 60px 100px;
    background-repeat: repeat;
    animation: rainFall 2.4s linear infinite -0.4s;
}

@keyframes rainFall {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(100vh);
    }
}

/* Digital Time Display */
.lockscreen-time {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.5);
}

.digital-time {
    font-size: 120px;
    font-weight: 300;
    letter-spacing: 8px;
    color: rgba(255, 150, 220, 0.95);
    font-family: 'Courier New', monospace;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 100, 200, 0.8), 0 0 60px rgba(200, 50, 150, 0.4);
    animation: glow 2s ease-in-out infinite;
}

.digital-date {
    font-size: 24px;
    color: rgba(255, 200, 230, 0.8);
    font-family: 'Courier New', monospace;
    margin-top: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 100, 180, 0.5);
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 30px rgba(255, 100, 200, 0.8), 0 0 60px rgba(200, 50, 150, 0.4);
    }
    50% {
        text-shadow: 0 0 60px rgba(255, 100, 200, 1), 0 0 90px rgba(200, 50, 150, 0.7);
    }
}

/* Login Button */
.login-btn {
    position: relative;
    z-index: 10;
    margin-top: 80px;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 100, 200, 0.2);
    border: 2px solid rgba(255, 150, 220, 0.5);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 100, 200, 0.3), 0 0 40px rgba(200, 50, 150, 0.1);
}

.login-btn:hover {
    background: rgba(255, 100, 200, 0.3);
    border-color: rgba(255, 150, 220, 0.8);
    box-shadow: 0 0 40px rgba(255, 100, 200, 0.6), 0 0 60px rgba(200, 50, 150, 0.3);
    transform: translateY(-2px);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn i {
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: translateX(4px);
}

.desktop {
    width: 100%;
    height: 100vh;
    position: relative;
    padding: 40px;
    overflow: hidden;
    background: linear-gradient(135deg, #3b0f69 0%, #441470 25%, #000814 50%, #7c6e96 100%);
    background-attachment: fixed;
}

/* Cyberpunk Grid Background */
.desktop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(0deg, transparent 24%, rgba(11, 59, 59, 0.05) 25%, rgba(96, 126, 126, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.05) 75%, rgba(0, 255, 255, 0.05) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(90, 150, 150, 0.05) 25%, rgba(0, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.05) 75%, rgba(0, 255, 255, 0.05) 76%, transparent 77%, transparent);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
    animation: grid-pulse 4s ease-in-out infinite;
}

@keyframes grid-pulse {
    0%, 100% {
        opacity: 0.03;
    }
    50% {
        opacity: 0.08;
    }
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at 35% 35%, rgba(0, 255, 255, 0.3), rgba(255, 0, 127, 0.15) 40%, rgba(100, 0, 200, 0.02));
    border: 3px solid rgba(0, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 
        inset -3px -3px 12px rgba(0, 0, 0, 0.5), 
        inset 2px 2px 10px rgba(0, 255, 255, 0.4),
        0 0 30px rgba(0, 255, 255, 0.4),
        0 0 60px rgba(255, 0, 127, 0.2),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    pointer-events: none;
}

.bubble1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation: bounce-bubble1 18s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.bubble2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 10%;
    animation: bounce-bubble2 22s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    opacity: 0.8;
}

.bubble3 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 20%;
    animation: bounce-bubble3 20s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.bubble4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 20%;
    animation: bounce-bubble4 19s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    opacity: 0.85;
}

.bubble5 {
    width: 180px;
    height: 180px;
    top: 65%;
    left: 50%;
    animation: bounce-bubble5 21s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.bubble6 {
    width: 90px;
    height: 90px;
    top: 20%;
    left: 70%;
    animation: bounce-bubble6 19s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    opacity: 0.8;
}

.bubble7 {
    width: 130px;
    height: 130px;
    bottom: 30%;
    right: 30%;
    animation: bounce-bubble7 23s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.bubble8 {
    width: 110px;
    height: 110px;
    top: 75%;
    left: 15%;
    animation: bounce-bubble8 20s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    opacity: 0.75;
}

@keyframes bounce-bubble1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    12% {
        transform: translate(35px, -30px) scale(1.05);
    }
    25% {
        transform: translate(60px, -45px) scale(0.95);
    }
    37% {
        transform: translate(75px, 20px) scale(1.08);
    }
    50% {
        transform: translate(85px, 60px) scale(0.93);
    }
    62% {
        transform: translate(55px, 40px) scale(1.06);
    }
    75% {
        transform: translate(20px, 25px) scale(0.97);
    }
    87% {
        transform: translate(-5px, 5px) scale(1.04);
    }
}

@keyframes bounce-bubble2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    12% {
        transform: translate(-40px, 35px) scale(1.04);
    }
    25% {
        transform: translate(-65px, 50px) scale(0.96);
    }
    37% {
        transform: translate(-85px, 20px) scale(1.07);
    }
    50% {
        transform: translate(-90px, -50px) scale(0.94);
    }
    62% {
        transform: translate(-55px, -45px) scale(1.05);
    }
    75% {
        transform: translate(-20px, -35px) scale(0.98);
    }
    87% {
        transform: translate(15px, -10px) scale(1.03);
    }
}

@keyframes bounce-bubble3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    12% {
        transform: translate(30px, 35px) scale(1.06);
    }
    25% {
        transform: translate(45px, 55px) scale(0.94);
    }
    37% {
        transform: translate(20px, 75px) scale(1.08);
    }
    50% {
        transform: translate(-40px, 50px) scale(0.92);
    }
    62% {
        transform: translate(-35px, 15px) scale(1.07);
    }
    75% {
        transform: translate(35px, -25px) scale(0.96);
    }
    87% {
        transform: translate(25px, -5px) scale(1.05);
    }
}

@keyframes bounce-bubble4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    12% {
        transform: translate(-35px, -30px) scale(1.05);
    }
    25% {
        transform: translate(-55px, -50px) scale(0.95);
    }
    37% {
        transform: translate(-25px, 5px) scale(1.07);
    }
    50% {
        transform: translate(45px, 40px) scale(0.93);
    }
    62% {
        transform: translate(50px, 15px) scale(1.06);
    }
    75% {
        transform: translate(-15px, 55px) scale(0.97);
    }
    87% {
        transform: translate(-20px, 10px) scale(1.04);
    }
}

@keyframes bounce-bubble5 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    12% {
        transform: translate(50px, -40px) scale(1.04);
    }
    25% {
        transform: translate(75px, -60px) scale(0.96);
    }
    37% {
        transform: translate(50px, 10px) scale(1.08);
    }
    50% {
        transform: translate(-35px, 75px) scale(0.94);
    }
    62% {
        transform: translate(-30px, 40px) scale(1.06);
    }
    75% {
        transform: translate(25px, -35px) scale(0.98);
    }
    87% {
        transform: translate(10px, -5px) scale(1.05);
    }
}

@keyframes bounce-bubble6 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    12% {
        transform: translate(-30px, 40px) scale(1.06);
    }
    25% {
        transform: translate(-50px, 60px) scale(0.95);
    }
    37% {
        transform: translate(-15px, 20px) scale(1.07);
    }
    50% {
        transform: translate(45px, -55px) scale(0.93);
    }
    62% {
        transform: translate(35px, -40px) scale(1.05);
    }
    75% {
        transform: translate(-40px, 15px) scale(0.98);
    }
    87% {
        transform: translate(-10px, 5px) scale(1.04);
    }
}

@keyframes bounce-bubble7 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    12% {
        transform: translate(45px, 30px) scale(1.05);
    }
    25% {
        transform: translate(65px, 50px) scale(0.96);
    }
    37% {
        transform: translate(35px, 35px) scale(1.07);
    }
    50% {
        transform: translate(-55px, -55px) scale(0.94);
    }
    62% {
        transform: translate(-35px, -25px) scale(1.06);
    }
    75% {
        transform: translate(35px, 50px) scale(0.97);
    }
    87% {
        transform: translate(20px, -10px) scale(1.04);
    }
}

@keyframes bounce-bubble8 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    12% {
        transform: translate(-45px, -25px) scale(1.06);
    }
    25% {
        transform: translate(-65px, -45px) scale(0.95);
    }
    37% {
        transform: translate(-30px, 20px) scale(1.07);
    }
    50% {
        transform: translate(55px, 60px) scale(0.93);
    }
    62% {
        transform: translate(40px, 35px) scale(1.05);
    }
    75% {
        transform: translate(-35px, -50px) scale(0.98);
    }
    87% {
        transform: translate(-15px, -5px) scale(1.04);
    }
}

/* Cityscape Background */
.cityscape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Buildings */
.building {
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 255, 255, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-bottom: none;
    box-shadow: 
        inset 0 0 20px rgba(0, 255, 255, 0.2),
        0 0 20px rgba(0, 255, 255, 0.2);
}

.building::before,
.building::after {
    content: '';
    position: absolute;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.25);
}

.building::before {
    width: 12px;
    height: 15px;
    top: 10%;
    left: 10%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.building::after {
    width: 12px;
    height: 15px;
    top: 10%;
    right: 10%;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.building1 {
    left: 5%;
    width: 120px;
    height: 200px;
}

.building2 {
    left: 18%;
    width: 100px;
    height: 180px;
}

.building3 {
    left: 35%;
    width: 140px;
    height: 220px;
}

.building4 {
    left: 55%;
    width: 110px;
    height: 190px;
}

.building5 {
    left: 72%;
    width: 130px;
    height: 210px;
}

.building6 {
    right: 5%;
    width: 120px;
    height: 200px;
}

/* Road */
.road {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 0, 127, 0.05) 20%, 
        rgba(255, 0, 127, 0.08) 50%, 
        rgba(255, 0, 127, 0.05) 80%, 
        transparent 100%);
    border-top: 2px dashed rgba(0, 255, 255, 0.2);
    border-bottom: 2px dashed rgba(0, 255, 255, 0.2);
    overflow: hidden;
}

/* Driving Car */
.car {
    position: relative;
    width: 80px;
    height: 40px;
    left: -100px;
    top: 25px;
    animation: drive-car 8s linear infinite;
}

.car-body {
    position: absolute;
    width: 80px;
    height: 35px;
    background: linear-gradient(135deg, #ff0080 0%, #00ffff 100%);
    border-radius: 8px 8px 0 0;
    border: 2px solid rgba(255, 0, 127, 0.6);
    box-shadow: 
        0 0 20px rgba(255, 0, 127, 0.5),
        0 0 40px rgba(0, 255, 255, 0.2),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.car-window {
    position: absolute;
    width: 30px;
    height: 18px;
    background: rgba(0, 255, 255, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.5);
    top: 3px;
    left: 35px;
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.car-wheel {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), rgba(100, 100, 100, 0.8));
    border: 2px solid rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    bottom: -6px;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

.car-wheel-front {
    right: 12px;
    animation: spin-wheel 0.8s linear infinite;
}

.car-wheel-back {
    left: 12px;
    animation: spin-wheel 0.8s linear infinite;
}

@keyframes drive-car {
    0% {
        left: -100px;
    }
    100% {
        left: 100%;
    }
}

@keyframes spin-wheel {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Start Menu Button */
.start-menu-btn {
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 51;
    margin-right: 10px;
}

.start-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
}

.start-menu-btn img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

/* Start Menu Popup */
.start-menu {
    position: absolute;
    bottom: 110px;
    left: 40px;
    width: 320px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 50;
    overflow: hidden;
}

.start-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.start-menu-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.start-menu-header h2 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.apps-list {
    padding: 10px 0;
    max-height: 400px;
    overflow-y: auto;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    text-decoration: none;
}

.app-item:hover {
    background: #f0f0f0;
}

.app-item i {
    font-size: 20px;
    color: #667eea;
    width: 24px;
    text-align: center;
}

.app-item span {
    font-size: 14px;
    font-weight: 500;
}

/* Search Bar */
.search-bar-container {
    position: absolute;
    bottom: 40px;
    left: 110px;
    right: auto;
    width: 300px;
    z-index: 50;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.search-bar:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.search-bar:focus-within {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.search-bar i {
    color: #999;
    margin-right: 12px;
    font-size: 16px;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #333;
    flex: 1;
}

.search-bar input::placeholder {
    color: #999;
}

/* Search Results */
.search-results {
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-height: 300px;
    overflow-y: auto;
    z-index: 50;
    transform: translateY(-100%);
    margin-bottom: 10px;
}

/* Time and Calendar Widget */
.widget-container {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 50;
}

.time-widget {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
    min-width: 140px;
}

.time-display {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
    margin-bottom: 8px;
}

.date-display {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* Screens */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.screen.active {
    opacity: 1;
    pointer-events: auto;
}

/* Home Screen */
#home-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.desktop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 40px;
    max-width: 600px;
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, filter 0.2s;
}

.app-icon:hover {
    filter: brightness(1.1);
}

.app-icon:active {
    transform: scale(0.95);
}

.icon-circle {
    width:72px;
    height:72px;
    border-radius:22px;
    display:flex;
    align-items:center;
    justify-content:center;
    align-items: center;
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
	overflow:hidden;
}
.icon-circle img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:22px;
}

.app-icon:hover .icon-circle {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.icon-circle.workedin {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-circle.picstagram {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.icon-circle.codehub {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.icon-circle.contact {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.app-icon p {
    font-size: 13px;
    font-weight: 500;
    color: white;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* App Windows */
.app-window {
    position: absolute;
    width: 70%;
    max-width: 800px;
    height: 70%;
    background: linear-gradient(135deg, #0d0221 0%, #1a0033 50%, #0f0620 100%);
    border: 2px solid rgba(0, 255, 255, 0.4);
    border-radius: 12px;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.3),
        0 0 40px rgba(255, 0, 127, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

/* App Window Bubbles */
.app-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.app-bubble {
    position: absolute;
    background: radial-gradient(circle at 35% 35%, rgba(0, 255, 255, 0.25), rgba(255, 0, 127, 0.12) 40%, rgba(100, 0, 200, 0.01));
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow: 
        inset -1px -1px 6px rgba(0, 0, 0, 0.3), 
        inset 1px 1px 6px rgba(0, 255, 255, 0.3),
        0 0 15px rgba(0, 255, 255, 0.3),
        0 0 30px rgba(255, 0, 127, 0.1);
    backdrop-filter: blur(1px);
    pointer-events: none;
    z-index: 2;
}

.app-bubble1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation: app-bounce1 12s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.app-bubble2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation: app-bounce2 14s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.app-bubble3 {
    width: 60px;
    height: 60px;
    bottom: 15%;
    left: 15%;
    animation: app-bounce3 16s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.app-bubble4 {
    width: 90px;
    height: 90px;
    top: 30%;
    right: 20%;
    animation: app-bounce4 13s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.app-bubble5 {
    width: 75px;
    height: 75px;
    top: 70%;
    left: 25%;
    animation: app-bounce5 15s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.app-bubble6 {
    width: 85px;
    height: 85px;
    top: 20%;
    right: 25%;
    animation: app-bounce6 17s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

@keyframes app-bounce1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(35px, 25px) scale(1.04);
    }
    50% {
        transform: translate(50px, -35px) scale(0.96);
    }
    75% {
        transform: translate(15px, -20px) scale(1.05);
    }
}

@keyframes app-bounce2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-45px, -25px) scale(1.03);
    }
    50% {
        transform: translate(-60px, 35px) scale(0.97);
    }
    75% {
        transform: translate(-15px, 25px) scale(1.04);
    }
}

@keyframes app-bounce3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(25px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-35px, 25px) scale(0.95);
    }
    75% {
        transform: translate(30px, 15px) scale(1.04);
    }
}

@keyframes app-bounce4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-35px, 35px) scale(1.04);
    }
    50% {
        transform: translate(45px, -30px) scale(0.96);
    }
    75% {
        transform: translate(-20px, -35px) scale(1.05);
    }
}

@keyframes app-bounce5 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(40px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-30px, 35px) scale(0.95);
    }
    75% {
        transform: translate(20px, -30px) scale(1.04);
    }
}

@keyframes app-bounce6 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(-25px, 30px) scale(1.04);
    }
    50% {
        transform: translate(35px, -40px) scale(0.96);
    }
    75% {
        transform: translate(-40px, 20px) scale(1.05);
    }
}

.app-titlebar {
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 0, 127, 0.05) 100%);
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(0, 255, 255, 0.2);
}

.app-titlebar h3 {
    font-size: 16px;
    font-weight: 600;
    color: #00ffff;
    flex: 1;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.3);
}

.close-btn {
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.3);
    font-size: 18px;
    color: #00ffff;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.close-btn:hover {
    background: rgba(0, 255, 255, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.6);
    color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.app-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: linear-gradient(135deg, #0d0221 0%, #1a0033 50%, #0f0620 100%);
    position: relative;
    z-index: 3;
}

/* WorkedIn Content */
.workedin-content {
    padding-bottom: 20px;
}

.profile-card {
    background: linear-gradient(135deg, rgba(13, 2, 33, 0.8) 0%, rgba(26, 0, 51, 0.8) 100%);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.profile-bg {
    height: 80px;
    background: linear-gradient(135deg, #00ffff 0%, #ff0080 100%);
    box-shadow: inset 0 -2px 10px rgba(0, 255, 255, 0.3);
}

.profile-info {
    padding: 0 20px 20px;
    text-align: center;
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    object-fit: cover;
    margin-bottom: 15px;
}

.profile-info h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 10px 0 5px;
}

.headline {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 5px !important;
}

.location {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px !important;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin: 15px 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 12px;
    color: #888;
}

.feed-post {
    background: linear-gradient(135deg, rgba(13, 2, 33, 0.8) 0%, rgba(26, 0, 51, 0.8) 100%);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(0, 255, 255, 0.1);
}

.feed-post h3 {
    font-size: 16px;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.feed-post p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.15) 0%, rgba(255, 0, 127, 0.1) 100%);
    color: #00ffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
}

/* Work Experience - WorkedIn Style */
.experience-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(0, 255, 255, 0.03);
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 15px;
}

.company-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    flex-shrink: 0;
    border: 2px solid rgba(0, 255, 255, 0.2);
}

.experience-details {
    flex: 1;
}

.job-title {
    font-size: 15px;
    font-weight: 600;
    color: #00ffff;
    margin: 0 0 5px 0;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
}

.company-name {
    font-size: 13px;
    color: #ff0080;
    font-weight: 500;
    margin: 0 0 3px 0;
}

.job-duration {
    font-size: 12px;
    color: #888;
    margin: 0 0 3px 0;
}

.job-location {
    font-size: 12px;
    color: #888;
    margin: 0 0 8px 0;
}

.job-description {
    margin: 8px 0 0 0;
    padding-left: 20px;
    font-size: 13px;
    color: #bbb;
    line-height: 1.6;
}

.job-description li {
    margin-bottom: 6px;
}

/* Picstagram Content */
.picstagram-content {
    padding: 20px;
    overflow-y: auto;
}

/* Instagram-style Profile Section */
.picstagram-profile {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
}

.profile-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 0;
    min-height: auto;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 255, 255, 0.3);
    flex-shrink: 0;
    margin-top: 0;
}

.profile-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.profile-info h2 {
    font-size: 18px;
    font-weight: 600;
    color: #00ffff;
    margin: 0 0 8px 0;
    padding: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    line-height: 1.2;
    word-break: break-word;
}

.bio {
    font-size: 14px;
    color: #aaa;
    margin: 5px 0 15px 0;
    line-height: 1.5;
}

.edit-profile-btn {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(255, 0, 127, 0.1) 100%);
    border: 1px solid rgba(0, 255, 255, 0.4);
    border-radius: 6px;
    color: #00ffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
}

.edit-profile-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.3) 0%, rgba(255, 0, 127, 0.15) 100%);
    border: 1px solid rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

/* Profile Stats */
.profile-stats {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}

.stat {
    text-align: center;
    min-width: 80px;
}

.stat-count {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Photo Grid */
.picstagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.picstagram-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: #e0e0e0;
    cursor: pointer;
    position: relative;
}

.picstagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.picstagram-item:hover img {
    transform: scale(1.08);
}

/* CodeHub Content */
.codehub-content {
    padding: 20px;
}

.project-card {
    background: linear-gradient(135deg, rgba(13, 2, 33, 0.8) 0%, rgba(26, 0, 51, 0.8) 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    border: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 0 25px rgba(0, 255, 255, 0.2);
}

.project-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #00ffff;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.project-card p {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 12px;
}

.project-card a {
    color: #00ffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.project-card a:hover {
    color: #ff0080;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Contact Content */
.contact-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(13, 2, 33, 0.8) 0%, rgba(26, 0, 51, 0.8) 100%);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card:hover {
    transform: translateY(-3px);
    border: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.15),
        0 0 25px rgba(0, 255, 255, 0.2);
}

.contact-card i {
    font-size: 32px;
    color: #ff99cc;
    display: block;
    margin-bottom: 12px;
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 14px;
    color: #bbb;
    margin: 0;
}

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

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* Responsive Design for Lockscreen */
@media (max-width: 1200px) {
    .cloud1 {
        width: 150px;
        height: 60px;
    }
    
    .cloud2 {
        width: 170px;
        height: 70px;
    }
    
    .cloud3 {
        width: 140px;
        height: 55px;
    }
    
    .digital-time {
        font-size: 100px;
        letter-spacing: 6px;
    }
    
    .digital-date {
        font-size: 20px;
    }
    
    .login-btn {
        padding: 14px 40px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .cloud1 {
        width: 120px;
        height: 50px;
    }
    
    .cloud2 {
        width: 140px;
        height: 60px;
    }
    
    .cloud3 {
        width: 110px;
        height: 45px;
    }
    
    .digital-time {
        font-size: 80px;
        letter-spacing: 4px;
    }
    
    .digital-date {
        font-size: 18px;
        margin-top: 15px;
    }
    
    .lockscreen-time {
        margin-bottom: 40px;
    }
    
    .login-btn {
        padding: 12px 36px;
        font-size: 14px;
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .cloud1 {
        width: 100px;
        height: 40px;
    }
    
    .cloud2 {
        width: 110px;
        height: 50px;
    }
    
    .cloud3 {
        width: 90px;
        height: 35px;
    }
    
    .digital-time {
        font-size: 60px;
        letter-spacing: 3px;
    }
    
    .digital-date {
        font-size: 14px;
        margin-top: 12px;
        letter-spacing: 1px;
    }
    
    .lockscreen-time {
        margin-bottom: 30px;
    }
    
    .login-btn {
        padding: 10px 32px;
        font-size: 13px;
        margin-top: 50px;
        gap: 8px;
    }
    
    .login-btn i {
        font-size: 14px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .desktop {
        padding: 30px;
    }
    
    .start-menu-btn {
        width: 50px;
        height: 50px;
    }
    
    .start-menu-btn img {
        width: 40px;
        height: 40px;
    }
    
    .search-bar-container {
        left: 110px;
        width: calc(100% - 200px);
        max-width: 400px;
    }
    
    .app-window {
        width: 80%;
        height: 75%;
    }
    
    .widget-container {
        bottom: 40px;
        right: 40px;
    }
    
    .time-display {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }
    
    .desktop {
        padding: 15px;
    }
    
    .desktop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 100%;
        margin-bottom: 90px;
    }
    
    .start-menu-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        left: 15px;
    }
    
    .start-menu-btn img {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    
    .start-menu {
        bottom: 75px;
        left: 15px;
        width: 280px;
    }
    
    .search-bar-container {
        bottom: 20px;
        left: 70px;
        right: auto;
        width: calc(100% - 210px);
    }
    
    .search-bar {
        padding: 8px 15px;
    }
    
    .search-bar i {
        font-size: 14px;
        margin-right: 10px;
    }
    
    .search-bar input {
        font-size: 12px;
    }
    
    .widget-container {
        bottom: 20px;
        right: 15px;
    }
    
    .time-widget {
        padding: 15px;
        min-width: 120px;
    }
    
    .time-display {
        font-size: 24px;
        margin-bottom: 6px;
    }
    
    .date-display {
        font-size: 11px;
    }
    
    .app-window {
        width: 95%;
        height: 80%;
        max-width: 100%;
    }
    
    .app-titlebar {
        padding: 12px 15px;
    }
    
    .app-titlebar h3 {
        font-size: 14px;
    }
    
    .app-content {
        padding: 15px;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .app-icon p {
        font-size: 12px;
    }
    
    .picstagram-grid {
        grid-template-columns: 2fr 2fr;
        gap: 10px;
    }
    
    .profile-stats {
        flex-direction: row;
        gap: 30px;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .profile-image {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 480px) {
    .desktop {
        padding: 10px;
        display: flex;
        flex-direction: column;
    }
    
    .desktop-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 100px;
    }
    
    /* Taskbar spacing at bottom */
    .start-menu-btn {
        width: 42px;
        height: 42px;
        bottom: 12px;
        left: 12px;
        z-index: 100;
    }
    
    .start-menu-btn img {
        width: 32px;
        height: 32px;
    }
    
    .start-menu {
        bottom: 70px;
        left: 12px;
        width: calc(100vw - 30px);
        max-width: 250px;
    }
    
    .search-bar-container {
        bottom: 12px;
        left: 64px;
        right: auto;
        width: calc(100vw - 200px);
        max-width: none;
        z-index: 98;
    }
    
    .search-bar {
        padding: 8px 12px;
        border-radius: 20px;
    }
    
    .search-bar i {
        font-size: 12px;
        margin-right: 8px;
    }
    
    .search-bar input {
        font-size: 11px;
    }
    
    .search-bar input::placeholder {
        font-size: 11px;
    }
    
    .widget-container {
        position: fixed;
        bottom: 12px;
        right: 12px;
        z-index: 99;
    }
    
    .time-widget {
        padding: 12px;
        min-width: 100px;
    }
    
    .time-display {
        font-size: 18px;
    }
    
    .date-display {
        font-size: 9px;
    }
    
    .app-window {
        width: 98vw;
        height: 85vh;
        bottom: 5px;
    }
    
    .app-titlebar {
        padding: 10px 12px;
    }
    
    .app-titlebar h3 {
        font-size: 13px;
    }
    
    .close-btn {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .app-content {
        padding: 12px;
    }
    
    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .app-icon p {
        font-size: 11px;
    }
    
    .profile-card {
        margin-bottom: 15px;
    }
    
    .profile-bg {
        height: 60px;
    }
    
    .profile-pic {
        width: 70px;
        height: 70px;
        margin-top: -35px;
    }
    
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .profile-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .profile-info h2 {
        font-size: 16px;
    }
    
    .headline, .location {
        font-size: 12px;
    }
    
    .feed-post, .project-card {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .feed-post h3, .project-card h4 {
        font-size: 14px;
    }
    
    .feed-post p, .project-card p {
        font-size: 12px;
    }
    
    .skill-tag {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .contact-card {
        padding: 15px;
    }
    
    .contact-card i {
        font-size: 28px;
    }
    
    .contact-card h4 {
        font-size: 14px;
    }
    
    .contact-card p {
        font-size: 12px;
    }
}
