:root{
    --panelH:42px;
    --startBtn:52px;
    --wallpaper:linear-gradient(135deg, #1d2b3e 0%, #3b5068 100%);
    --accent:#1abc9c;
    --glass:rgba(255,255,255,.08);
    --glassborder:rgba(255,255,255,.8);
    
    --shadow:0 8px 32px rgba(0,0,0,.3);
  }
.pc-base{
    min-height: 100vh; 
    background: linear-gradient(135deg, #1d2b3e 0%, #3b5068 100%);
}
.pc-topnav{
    height: 40px;
    margin-bottom: 40px;
    padding: 8px 20px;
    text-align: center;
}
.pc-main{
    padding:40px 8px;
    
    
}
.pc-main-icons{
    display: flex;
    float: row;
    flex-wrap: wrap;
    gap: 5px;
    padding: 4px 16px;
}
.pc-main-icon{
    font-size: 14px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s;
}
.pc-main-icon:hover{
    background:var(--glass);
    backdrop-filter:blur(10px);
    border-radius: 8px;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.pc-main-icon span{
    display: block;
}
.pc-main-icon i{
    font-size: 28px;
    margin-bottom: 8px;

}


.pc-taskbar{
    position:absolute;
    bottom:0px;
    left:0;
    right:0;
    height:34px;
    background:var(--glass);
    backdrop-filter:blur(10px);

    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items:center;
    align-content: space-between;

    padding:0px 16px;gap:.5rem;
    transition:.3s;
}
.pc-start-button{

}
.pc-time{
    align-self: center;
    justify-self: center;
    padding: 8px 12px;
    flex-basis: 80px;
    height: 100%;
    margin-right: auto; /* برای RTL - ساعت به انتهای چپ می‌رود */
    text-align: center;
    border-radius: 0px;
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    
}
.pc-start-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}
.pc-start-menu{
    position: fixed; /* تغییر از absolute به fixed */
    display: none;
    bottom: 50px; /* فاصله از تسک بار */
    right: 20px;
    width: 320px;
    max-width: 90vw;
    height: 400px;
    max-height: 70vh;
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    padding: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    z-index: 1000; /* بالاتر از همه */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);


    /*
    position: absolute;
    display: none;
    bottom: 45px;
    right: 20px;
    text-align: center;
    width:90%;max-width:420px;
    background:rgba(30,30,46,.85);
    backdrop-filter:blur(12px);
    border-radius:16px;
    box-shadow:var(--shadow);padding:1rem;
    transition:.3s;transform-origin:center bottom;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;*/
    
}
.pc-start-menu.active {
    display: block;
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* محتوای منو */
.start-menu-content {
    height: 100%;
    overflow-y: auto;
    padding: 10px;
}

.start-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: #fff;
}

.start-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.start-menu-item i {
    font-size: 18px;
    color: var(--accent);
}

.start-menu-item span {
    font-size: 14px;
}

/* انیمیشن برای آیکون دکمه استارت */
.pc-start-button {
    transition: all 0.3s;
    position: relative;
}

.pc-start-button.active {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* اسکرول بار زیبا */
.start-menu-content::-webkit-scrollbar {
    width: 6px;
}

.start-menu-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.start-menu-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.start-menu-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* افکت نور پس‌زمینه */
.pc-start-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    z-index: 1;
}

/* افکت شیشه‌ای قوی‌تر */
.pc-start-menu {
    background: linear-gradient(
        135deg,
        rgba(40, 40, 60, 0.9) 0%,
        rgba(30, 30, 50, 0.95) 100%
    );
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

/* انیمیشن ورود با تاخیر برای آیتم‌ها */
.start-menu-item {
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
    transform: translateX(10px);
    text-decoration: none;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* تاخیر برای هر آیتم */
.start-menu-item:nth-child(1) { animation-delay: 0.1s; }
.start-menu-item:nth-child(2) { animation-delay: 0.15s; }
.start-menu-item:nth-child(3) { animation-delay: 0.2s; }
.start-menu-item:nth-child(4) { animation-delay: 0.25s; }
.start-menu-item:nth-child(5) { animation-delay: 0.3s; }