@import url('https://fonts.googleapis.com/css2?family=Vend+Sans:ital,wght@0,300..700;1,300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url("icons/cursor.png"), auto !important;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.desktop {
    display: none;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    font-family: Vend Sans;
    /*the background is from AI*/
    background-color: #080010;
    background-image: 
        repeating-linear-gradient(0deg, rgba(180,0,40,0.07) 0px, rgba(180,0,40,0.07) 1px, transparent 1px, transparent 40px),
        repeating-linear-gradient(90deg, rgba(180,0,40,0.07) 0px, rgba(180,0,40,0.07) 1px, transparent 1px, transparent 40px),
        radial-gradient(ellipse at center, #2a0010 0%, #080010 80%);

}

.icons-grid {
    display: flex;
    gap: 10px;
    flex-direction: column;
    position: absolute;top: 10px; left: 10px;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    color: rgb(255, 255, 255);
    width: 90px;
    padding: 8px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.icon img {
    width: 50px;
    height: 50px;
}

.icon:hover {
    background-color: rgba(81, 81, 255, 0.7);
}

.mwindow {
    position: absolute;
    width: 500px;
    height: 350px;
    background-color: rgba(20, 10, 20, 0.85);
    color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mwindow-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    height: 35px;
    color: white;
    background-color: #000000;
    cursor: grab;
}

.mwindow-titlebar button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mwindow-titlebar button:hover {
    background-color: rgb(190, 34, 34);
}

.mwindow-content {
    padding: 16px;
    height: calc(100% - 35px);
    overflow-y: auto;
}

.swindow {
    position: absolute;
    width: 500px;
    height: 350px;
    background-color: rgba(20, 10, 20, 0.85);
    color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.swindow-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    height: 35px;
    color: white;
    background-color: #000000;
    cursor: grab;
}

.swindow-titlebar button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swindow-titlebar button:hover {
    background-color: rgb(190, 34, 34);
}

.swindow-content {
    padding: 16px;
    height: calc(100% - 35px);
    overflow-y: auto;
}

.awindow {
    position: absolute;
    width: 500px;
    height: 350px;
    background-color: rgba(20, 10, 20, 0.85);
    color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.awindow-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    height: 35px;
    color: white;
    background-color: #000000;
    cursor: grab;
}

.awindow-titlebar button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.awindow-titlebar button:hover {
    background-color: rgb(190, 34, 34);
}

.awindow-content {
    padding: 16px;
    height: calc(100% - 35px);
    overflow-y: auto;
}

.fwindow {
    position: absolute;
    width: 500px;
    height: 350px;
    background-color: rgba(20, 10, 20, 0.85);
    color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fwindow-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    height: 35px;
    color: white;
    background-color: #000000;
    cursor: grab;
}

.fwindow-titlebar button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fwindow-titlebar button:hover {
    background-color: rgb(190, 34, 34);
}

.fwindow-content {
    padding: 16px;
    height: calc(100% - 35px);
    overflow-y: auto;
}

.taskbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 45px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 1000;
}

.taskbarL {
    display: flex;
    align-items: center;
}

.taskbarC {
    display: flex;
    align-items: center;
    gap: 8px;
}

.taskbarR {
    display: flex;
    align-items: center;
}

#clock {
    color: white;
    font-size: 14px;
}

.bootscreen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #080010;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

h1 {
    position: relative;
    color: #cc1133;
    font-family: monospace;
    font-size: 48px;
    margin-bottom: 30px;
    z-index: 1;
}

.loadingbar {
    position: relative;
    width: 300px;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    z-index: 1;
}

.loadingfill {
    width: 0%;
    height: 100%;
    background-color: #cc1133;
    border-radius: 2px;
    transition: width 2.5s ease;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.loginscreen {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #080010;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    gap: 20px;
    transition: opacity 0.8s ease;
}

.loginscreen h2{
    position: relative;
    z-index: 1;
    color: #cc1133;
    font-family: monospace;
    font-size: 32px;
}

.loginscreen p{
    position: relative;
    z-index: 1;
    color: white;
    font-family: monospace;
    font-size: 18px;
}

#loginBtn {
    position: relative;
    z-index: 1;
    background-color: #cc1133;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-family: monospace;
}

#loginBtn:hover {
    background-color: #ff1144;
}

.avatar {
    position: relative;
    z-index: 1;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #cc1133;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.avatar img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

#orpheus {
    position: relative;
    z-index: 1;
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    z-index: 500;
}

.maxBtn:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mwindow, .swindow, .awindow, .fwindow {
    backdrop-filter: blur(10px);
}

.mwindow-titlebar, .swindow-titlebar, .awindow-titlebar, .fwindow-titlebar {
    border-bottom: 1px solid rgba(59, 55, 117, 0.5);
}

.indicator {
    background-color: rgba(255,255,255,0.1);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    gap: 8px;
}

.indicator img {
    width: 20px;
    height: 20px;
}

.mwindow-content::-webkit-scrollbar, .swindow-content::-webkit-scrollbar, .awindow-content::-webkit-scrollbar, .fwindow-content::-webkit-scrollbar {
    width: 6px;
}

.mwindow-content::-webkit-scrollbar-track, .swindow-content::-webkit-scrollbar-track, .awindow-content::-webkit-scrollbar-track, .fwindow-content::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
}

.mwindow-content::-webkit-scrollbar-thumb, .swindow-content::-webkit-scrollbar-thumb, .awindow-content::-webkit-scrollbar-thumb, .fwindow-content::-webkit-scrollbar-thumb {
    background: #cc1133;
    border-radius: 3px;
}

.mwindow-content::-webkit-scrollbar-thumb:hover, .swindow-content::-webkit-scrollbar-thumb:hover, .awindow-content::-webkit-scrollbar-thumb:hover, .fwindow-content::-webkit-scrollbar-thumb:hover {
    background: #ff1144;
}

.mwindow-content, .swindow-content, .awindow-content, .fwindow-content {
    scrollbar-width: thin;
    scrollbar-color: #cc1133 rgba(0,0,0,0.2);
}

.disk-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background-color: rgba(204, 17, 51, 0.15);
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 14px;
    border: 1px solid rgba(204, 17, 51, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.product {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.product button {
background-color: #cc1133;
color: white;
border: none;
padding: 6px 16px;
border-radius: 4px;
width: 100%;
font-size: 13px;
}

.product button:hover {
    background-color: #ff1144;
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.wwindow {
    position: absolute;
    width: 500px;
    height: 350px;
    background-color: rgba(20, 10, 20, 0.85);
    color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wwindow-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    height: 35px;
    color: white;
    background-color: #000000;
    cursor: grab;
}

.wwindow-titlebar button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wwindow-content {
    padding: 16px;
    height: calc(100% - 35px);
    overflow-y: auto;
}

.wallpaper-presets {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
    margin-bottom: 16px;
}

.preset {
    position: relative;
    width: 80px;
    height: 50px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
}

.preset:hover {
    border: 2px solid #cc1133;
}

.dropzone {
    border: 2px dashed rgba(204, 17, 51, 0.5);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-top: 8px;
    cursor: pointer;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

#wallpaperUpload {
    display: none;
}

.preset-delete {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 10px;
    display: none;
    align-items: center;
    justify-content: center;
}

.preset:hover .preset-delete {
    display: flex;
}