/* css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;700;900&family=Oswald:wght@500;700&display=swap');

body {
    background-color: #050505;
    cursor: none; /* 隱藏系統游標 */
    overflow-x: hidden;
    font-family: 'Noto Sans TC', sans-serif;
}

/* 1. 電影全域雜訊 (Film Grain/Noise) */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* 2. 垂直容器參考線 (Guides) */
.guide-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    padding: 0 5vw;
}

.guide-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.05), transparent);
}

/* 3. 自訂滑鼠跟隨 (GPU 加速) */
.custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: #ff5e00;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 94, 0, 0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s ease-out;
}

/* 4. 工業參考線 (Divider) for Cases */
.divider-v {
    width: 1px;
    height: 100%;
    background: rgba(255,255,255,0.1);
}

/* 高級圓角系統 */
.corner-rounded-xs {
    border-radius: 2px;
}

.corner-rounded-sm {
    border-radius: 4px;
}

.corner-rounded-md {
    border-radius: 8px;
}

/* Oswald 裝飾字體 */
.font-display {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

/* 視差深度 GSAP Class */
.gsap-parallax {
    transform: translateZ(0); /* GPU 加速 */
}

/* 手機平板隱藏自訂游標 */
@media (max-width: 1024px) {
    .custom-cursor,
    .cursor-follower {
        display: none;
    }
}
