/* 
   KittyOS.exe - Core Styles v1.0.5
   Aesthetic: Chaotic-cute, IT-girl, 2009, Windows XP
*/

@import url('https://fonts.googleapis.com/css2?family=VT323&family=Caveat:wght@400;700&display=swap');

:root {
    --hot-pink: #ff4081;
    --pastel-pink: #fce4ec;
    --soft-lavender: #f3e5f5;
    --border-color: #333;
    --system-font: 'VT323', monospace;
}

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

body {
    background: var(--pastel-pink);
    height: 100vh;
    overflow: hidden;
    font-family: var(--system-font);
}

/* Film Grain Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/p6-for-air.png");
    opacity: 0.05;
    z-index: 9999;
    pointer-events: none;
}

/* Custom Cursor (Minimal Bow) */
#custom-cursor {
    position: fixed;
    width: 20px;
    height: 14px;
    background: #ff4081;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
}

#custom-cursor::before, #custom-cursor::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff4081;
    border-radius: 50%;
    top: -3px;
}

#custom-cursor::before { left: -3px; }
#custom-cursor::after { right: -3px; }

#custom-cursor::marker {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    left: 7px;
    top: 4px;
}

/* OS Desktop */
.desktop {
    width: 100%;
    height: calc(100vh - 35px);
    position: relative;
    padding: 15px;
    background: linear-gradient(to bottom, #fce4ec, #f8bbd0);
    background-image: radial-gradient(rgba(255, 255, 255, 0.4) 10%, transparent 10%);
    background-size: 25px 25px;
}

/* Taskbar */
.taskbar {
    position: fixed;
    bottom: 0; left: 0; width: 100%; height: 35px;
    background: #f48fb1;
    border-top: 2px solid #fff;
    display: flex;
    align-items: center;
    padding: 0 5px;
    z-index: 9000;
}

.start-btn {
    background: #e91e63;
    color: white;
    border: 1px solid #fff;
    padding: 0 10px;
    font-weight: bold;
    height: 25px;
    display: flex;
    align-items: center;
    box-shadow: 2px 2px 0 #333;
    margin-right: 10px;
}

.task-item {
    background: #f06292;
    border: 1px solid #fff;
    padding: 0 10px;
    height: 25px;
    display: flex;
    align-items: center;
    color: white;
    margin-right: 5px;
    font-size: 0.9rem;
}

.taskbar-right {
    margin-left: auto;
    background: #ec407a;
    padding: 0 10px;
    height: 25px;
    display: flex;
    align-items: center;
    color: white;
    border: 1px solid #fff;
}

/* Windows */
.window {
    position: absolute;
    background: #fff;
    border: 1px solid #333;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
}

.window.active { display: block; }

.window-title {
    background: #f06292;
    color: white;
    padding: 2px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    cursor: move;
}

.window-btns { display: flex; gap: 2px; }

.btn {
    width: 18px;
    height: 18px;
    border: 1px solid #333;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.window-content {
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
}

/* Icons */
.icon {
    width: 70px;
    text-align: center;
    position: absolute;
    color: #333;
}

.icon-img {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #333;
    margin: 0 auto 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 2px 2px 0px #f06292;
}

/* Decorations */
.divider { border-top: 1px dashed #f06292; margin: 10px 0; }
.blinking { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.placeholder {
    border: 1px dashed #f06292;
    background: #fff;
    color: #f06292;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.gif-box {
    position: absolute;
    border: 1px dashed var(--hot-pink);
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.gif-box:hover {
    border-style: solid;
    background: rgba(255, 255, 255, 0.5);
}

.polaroid {
    background: white;
    padding: 10px 10px 25px 10px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    display: inline-block;
}

/* Helper class for your uploaded photos */
.user-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This prevents stretching! */
    display: block;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fce4ec; }
::-webkit-scrollbar-thumb { background: #f06292; border: 1px solid #fce4ec; }
