:root {
    --parallax-x: 0px;
    --parallax-y: 0px;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0f1a16;
    font-family: 'Poppins', 'Noto Sans TC', sans-serif;
}

.main-ui {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.glass-card {
    width: 100%;
    max-width: 1400px;
    height: 88vh;
    max-height: 88vh;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    box-sizing: border-box;
}

.custom-scroll::-webkit-scrollbar {
    width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.loading-shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* 手機才套用 */
@media (max-width: 640px) {
    body, html {
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
    }

    .main-ui {
        height: auto;
        min-height: 100vh;
        align-items: flex-start;
        padding: 12px;
    }

    .glass-card {
        height: auto;
        max-height: none;
        border-radius: 24px;
    }
}