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

body {
    background-image: url("https://i.pinimg.com/1200x/28/77/0b/28770bba4d20d3ef0bba9e086ea64ea4.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.welcome-screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; 
    padding-right: 12vw;   
}

h2 {
    font-family: 'Waterfall', cursive;
    color: rgb(255, 230, 216);
    text-align: right;    
    font-size: 130px;     
    line-height: 1.1;
}

p {
    font-family: 'Waterfall', cursive;
    color: white;
    text-align: right;
    font-size: 40px;     
    margin-top: 20px;    
}

.welcome-gifs {
    position: absolute;
    left: 10vw;           
    top: 50%;            
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 60px;           
    align-items: center;
}

.welcome-gifs img {
    width: 180px;        
    height: auto;
    border: none;        
    box-shadow: none;    
    background: transparent;
}

.welcome-gifs img:nth-child(1) {
    transform: rotate(-10deg);
}

.welcome-gifs img:nth-child(2) {
    transform: rotate(12deg);
}

.desktop {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: "Old Standard TT", serif;
}

.desktop::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://i.pinimg.com/1200x/27/ba/b4/27bab44dd30bb2f4d670f0c303008b43.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #d3540069;
    filter: blur(6px); 
    transform: scale(1.03); 
    z-index: -1;
}

.top-navbar {
    width: 100%;
    height: 38px;
    background-color: #2b1b17; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: #ffffff;
    font-size: 0.9rem;
    z-index: 10;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-brand {
    font-weight: 600;
}

.center-clock-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 100px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    user-select: none;
}

#center-time {
    font-size: 6.5rem;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -2px;
}

#center-date-sub {
    font-size: 1.4rem;
    font-family: "Old Standard TT", Serif;
    margin-top: 12px;
    opacity: 0.9;
    font-weight: 400;
}

.dock {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 70px;                  
    padding: 0 24px;              
    gap: 16px;                  
    
    position: fixed;
    bottom: 20px;           
    left: 50%;
    transform: translateX(-50%);
    
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    z-index: 1000;
}

.dock-icon {
    width: 50px;            
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;  
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
    font-size: 2rem;       
}

#calc-icon {
    background: transparent;
    border: none;
    box-shadow: none;
}

.dock-icon:hover {
    transform: translateY(-6px) scale(1.18);
}

.dock-icon img {
    width: 38px;                  
    height: 38px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    align-self: center;
}

.window {
display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    background: rgba(35, 23, 19, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    color: white;
    flex-direction: column;
    overflow: hidden;
    z-index: 30;
}

.window-header{
    background: rgba(0,0,0,0.3);
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.close-btn {
    background: #e74c3c;
    border: none;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

.window-content {
    padding: 12px;
}

.notepad-area {
    width: 100%;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-family: inherit;
    resize: none;
    outline: none;
}

#calc-screen {
    width: 100%;
    height: 40px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px;
    color: white;
    font-size: 1.2rem;
    text-align: right;
}

.calc-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.calc-buttons button {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

.calc-buttons button:hover {
    background: rgba(255, 255, 255, 0.25);
}

.calc-buttons .equal-btn {
    background: #d35400;
}
.calc-buttons .equal-btn:hover {
    background: #e67e22;
}

#paint-app {
    width: 600px;
    height: 450px;
    display: flex;
    flex-direction: column;
}

.paint-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: #f0f0f0;
    border-bottom: 1px solid #ccc;
    user-select: none;
    font-family: sans-serif;
    font-size: 14px;
}

.paint-toolbar input[type="color"] {
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    background: transparent;
}

.paint-toolbar button {
    padding: 4px 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}

.paint-toolbar button:hover {
    background: #e5e5e5;
}

.paint-canvas-container {
    flex: 1;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    cursor: crosshair;
}

#paint-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.dock-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.dock {
    display: flex;
    flex-direction: row; 
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    background: rgb(255, 123, 0);
    border-radius: 20px;
    border: 1px solid rgb(255, 142, 61);
    box-shadow: 0 8px 32px rgb(75, 40, 0);
}

.dock-icon {
    font-size: 22px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.2s ease, background 0.2s ease;
    user-select: none;
}

.dock-icon:hover {
    transform: scale(1.2) translateY(-4px);
    background: rgba(128, 117, 22, 0.2);
}

#app-bucketlist {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    max-height: 420px;
    background: rgba(30, 20, 15, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    color: white;
    overflow: hidden;
    font-family: Beth Ellen, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    z-index: 10000;
}

#app-bucketlist .window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

#app-bucketlist .close-btn {
    background:none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.8;
}

#app-bucketlist .bucketlist-content {
    padding: 14px;
    max-height: 340px;
    overflow-y: auto;
}

#app-bucketlist .bucket-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#app-bucketlist .bucket-list li label{
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

#app-bucketlist .bucket-list input[type="checkbox"] {
    accent-color: #ff7e5f;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

#app-bucketlist .bucket-list input[type="checkbox"]:checked + span {
    text-decoration: line-through;
    opacity: 0.5;
}

#app-music {
    position: fixed;
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    transform:none;
    background: rgba(120, 55, 2, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 0;
    border: none;
    box-shadow: none;
    color: white;
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

#app-music .window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: bold;
    font-size: 18px;
}

#app-music .music-content {
    flex:1;
    width: 100%;
    height:calc(100vh - 60px);
    padding: 0;
    overflow: hidden;
}

#app-music .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
}

#app-music .close-btn:hover {
    opacity: 1;
}

.app-window {
    position: absolute;
    top: 100px;    
    left: 100px;
    z-index: 1000;
}

.window-header {
    cursor: move;     
    user-select: none;  
}

#app-gallery.fullscreen-app{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transform: none;

    background: radial-gradient(circle at center, rgba(42,24,16,0.96), rgba(20,10,6,0.98));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border-radius: 0;
    border: none;
    box-shadow: none;
    color: #f7e7ce;
    z-index: 10000;
    pointer-events: auto;

    display: flex;
    flex-direction: column;
    font-family: 'Lora', Georgia, serif;
    overflow: hidden;
}

.gallery-topbar{
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    background: rgba(60,30,18,0.6);
    border-bottom: 1px solid rgba(224,122,95,0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.gallery-title span{
    font-size: 20px;
    font-weight: bold;
    color: #f4a261;
    letter-spacing: 0.5px;
}

.gallery-title small{
    margin-left: 14px;
    font-size: 13px;
    color: rgba(247,231,206,0.7);
    background: rgba(0,0,0,0.3);
    padding: 3px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}

.gallery-close-btn{
    background: rgba(244,122,95,0.2);
    border: 1px solid rgba(244,122,95,0.4);
    color: #f7e7ce;
    width:36px;
    height:36px;
    border-radius: 50%;
    font-size: 16px;
    cursor:pointer;
    transition: all 0.2s ease;
}

.gallery-close-btn:hover{
    background: #e07a5f;
    transform: scale(1.1);
}

.gallery-stage{
    flex:1;
    position: relative;
    display:flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.gallery-frame{
    width:85%;
    max-width: 950px;
    background: rgba(35,20,12,0.7);
    border: 1px solid rgba(224,122,95,0.35);
    border-radius:20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) inset 0 0 15px rgba(244,122,95,0.15);
    display: flex;
    flex-direction: column;
}

.gallery-image-wrapper{
    width: 100%;
    height: 58vh;
    overflow: hidden;
    background: #100603;
}

.gallery-image-wrapper-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-info-bar{
    padding: 20px 28px;
    background: rgba(20,10,5,0.85);
    border-top: 1px solid rgba(244,122,95,0.2);
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-details h2{
    margin:0;
    font-size: 22px;
    color: #f4a261;
    font-weight: 600;
}

.set-wallpaper-btn{
    background: linear-gradient(135deg, #e07a5f, #b85336);
    color:#ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(184,83,54,0.4);
    transition: all 0.2s ease;
}

.set-wallpaper-btn:hover{
    background: linear-gradient(135deg, #f4a261, #e07a5f);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244,162,97,0.4);
}

.slide-nav-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(45,25,15,0.7);
    border: 1px solid rgba(244,122,95,0.4);
    color:#f7e7ce;
    width: 56px;
    height:56px;
    border-radius:50%;
    font-size:24px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.slide-nav-btn:hover{
    background: rgba(244,122,95,0.8);
    transform: translateY(-50%) scale(1.12);
}

.prev-btn{ left: 40px; }
.next-btn{ right: 40px; }

#app-timer{
    width: 320px;
    background: rgba(45,24,16,0.92);
    border: 2px solid rgba(255,230,216,0.3);
    border-radius:16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    color:#ffe6d8;
    overflow: hidden;
    position: absolute;
    top:20%;
    left: 40%;
}

.timer-content{
    padding: 24px 20px;
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.timer-display{
    font-family: "Old Standard TT",serif;
    font-size:3.2rem;
    font-weight: 700;
    color:#ffffff;
    text-shadow: 0 0 12px rgba(255,200,150,0.4);
    letter-spacing: 2px;
}

.timer-inputs{
    display:flex;
    align-items:center;
    gap:8px;
    color:#e2a782;
    font-size:1.2rem;
    font-family: "Old Standard TT", serif;
}

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

.input-group input{
    width: 55px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,230,216,0.3);
    border-radius: 8px;
    color: white;
    font-family: "Old Standard TT", serif;
    font-size: 1.2rem;
    text-align: center;
    outline: none;
}

.input-group input:focus{
    border-color:#d35400;
    box-shadow: 0 0 8px rgba(211,84,0,0.6);
}

.input-group label{
    font-size:0.65rem;
    margin-top: 4px;
    letter-spacing: 1px;
    opacity: 0.8;
}

.timer-controls{
    display: flex;
    gap: 12px;
    width: 100%;
}

.timer-btn{
    flex:1;
    padding: 10px 0;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color:#ffe6d8;
    font-family: "Old Standard TT", serif;
    font-size:1rem;
    cursor:pointer;
    transition: all 0.2s ease;
}

.timer-btn:hover{
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.timer-btn.primary{
    background: #d35400;
    color:white;
    font-weight: bold;
}

.timer-btn.primary:hover{
    background: #e67e22;
}