/* Google Fonts 引入 - 思源黑体与思源宋体 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700&family=Noto+Serif+SC:wght@200;300;400;600&display=swap');

/* CSS Variables Based on Project Design */
:root {
    --color-bg-primary: #FFFFFF;
    --color-bg-secondary: #F8F9FA;
    --color-text-main: #212529;
    --color-text-muted: #6C757D;
    --color-accent-tan: #E8DCCA; 
}

/* Global Reset & Typography */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg-primary);
    color: var(--color-text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Font Families Utility */
.font-sans-sc { font-family: 'Noto Sans SC', sans-serif; }
.font-serif-sc { font-family: 'Noto Serif SC', serif; }

/* Interaction & Animation */
.img-hover-zoom {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.group:hover .img-hover-zoom {
    transform: scale(1.03); /* Subtle zoom for high-end feel */
}

/* Custom Scrollbar Hiding */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-500 { animation-delay: 500ms; }

/* Selection Color */
::selection {
    background-color: var(--color-accent-tan);
    color: var(--color-text-main);
}

/* Safe Area for Mobile */
.h-screen-dvh {
    height: 100vh;
    height: 100dvh;
}