
body {
    background-image: url('https://i.pinimg.com/1200x/cd/d5/19/cdd519a3e408defd9b679b30258668dd.jpg');
  
}


/* DESKTOP */
.desktop {
    position: relative;
    min-height: 100vh;
    padding: 40px;
}

/* APP CENTRAL */
.main-app {
    max-width: 650px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

/* WIDGETS */
.widget {
    position: absolute;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(248,187,208,0.45);
    font-family: 'Courier New', monospace;
    font-size: 11px;
}

/* CLOCK */
.clock-widget {
    top: 40px;
    left: 40px;
    text-align: center;
}
.clock-widget span {
    font-size: 22px;
    color: #81c784;
    font-weight: bold;
}

/* STICKY NOTE */
.sticky-note {
    top: 160px;
    left: 60px;
    background: #fff9c4;
    box-shadow: inset 0 0 0 1px #f8bbd0;
}
.sticky-note strong {
    display: block;
    margin-bottom: 6px;
}
.sticky-note ul {
    padding-left: 15px;
}

/* MINI PLAYER */
.mini-player {
    bottom: 80px;
    left: 50px;
    background: linear-gradient(#a5d6a7, #c8e6c9);
    color: white;
}
.mini-controls {
    margin-top: 6px;
    text-align: center;
}

/* FOLDER */
.folder {
    top: 120px;
    right: 80px;
    text-align: center;
}
.folder img {
    width: 40px;
    display: block;
    margin: auto;
}

/* STICKER */
.sticker {
    position: absolute;
    bottom: 60px;
    right: 120px;
    font-size: 28px;
    opacity: 0.6;
}

.music-player-window {
    max-width: 600px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(165,214,167,0.35);
    font-family: 'Courier New', monospace;
    margin: 20px auto;
    overflow: hidden;
}

/* TITLE BAR */
.player-title-bar {
    background: linear-gradient(#a5d6a7, #81c784);
    color: white;
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

/* TABS */
.player-tabs {
    display: flex;
    background: rgba(248,187,208,0.45);
    padding: 6px;
    gap: 6px;
}

.tab-btn {
    flex: 1;
    border: none;
    background: white;
    padding: 8px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: bold;
    color: #f06292;
    cursor: pointer;
}

.tab-btn.active, .tab-btn:hover {
    background: #f8bbd0;
    color: white;
}

/* MAIN */
.player-main {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* PLAYLISTS */
.playlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.playlist-card {
    position: relative;
    background: linear-gradient(145deg, #fff, #fce4ec);
    border-radius: 16px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(248,187,208,0.45);
    text-decoration: none;
    transition: transform 0.3s;
}

.playlist-card:hover {
    transform: translateY(-5px);
}

.playlist-card img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    object-fit: cover;
}

.playlist-card span {
    display: block;
    font-size: 11px;
    color: #81c784;
    font-weight: bold;
    margin-top: 5px;
}

.playlist-card small {
    font-size: 10px;
    color: #f48fb1;
}

/* FLOATING HEARTS */
.hearts::before,
.hearts::after {
    content: "♡";
    position: absolute;
    color: #f8bbd0;
    opacity: 0;
    animation: floatHearts 1.5s infinite;
}

.playlist-card:hover .hearts::before,
.playlist-card:hover .hearts::after {
    opacity: 1;
}

.hearts::before {
    top: 10px;
    left: 15px;
}

.hearts::after {
    bottom: 15px;
    right: 20px;
}

@keyframes floatHearts {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-12px); opacity: 0; }
}

/* NOW PLAYING iPOD */
.now-playing {
    background: #fdf2f5;
    padding: 10px;
    border-top: 1px dashed #f8bbd0;
}

.song-info {
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
}

.scroll-text {
    display: inline-block;
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

.progress-bar {
    margin-top: 6px;
    width: 100%;
    height: 6px;
    background: #f8bbd0;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 40%;
    background: linear-gradient(to right, #81c784, #aed581);
    animation: progressMove 6s infinite;
}

@keyframes progressMove {
    from { width: 0%; }
    to { width: 100%; }
}
