/* 主要樣式文件 - main.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "MS Sans Serif", "Microsoft Sans Serif", Tahoma, sans-serif;
    background: url('../assets/images/zhuombg.jpg') center/cover no-repeat;
    color: #000;
    line-height: 1.4;
    overflow: hidden;
    cursor: default;
    height: 100vh;
}

/* 全局 CRT 扫描线 - 满屏细横纹滚动 */
#crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 200vh;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 3px
    );
    pointer-events: none;
    z-index: 99999;
    animation: crtScroll 10s linear infinite;
}

@keyframes crtScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* 单独一条明显的滚动亮线 */
#crt-bright-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 3px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(255, 255, 255, 0.12),
        transparent
    );
    pointer-events: none;
    z-index: 99999;
    animation: crtBrightLine 6s linear infinite;
}

@keyframes crtBrightLine {
    0% { top: -3px; }
    100% { top: 100vh; }
}

/* 滾動條樣式 */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: #c0c0c0;
    border: 1px inset #c0c0c0;
}

::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4d0c8;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .desktop-icon {
        width: 60px;
        height: 60px;
        font-size: 10px;
    }
    
    .icon-image {
        width: 24px;
        height: 24px;
        font-size: 24px;
    }
}
