/* GIRIMI Static Site - Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* ===== BASE ===== */
body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
    overflow-x: hidden;
}

/* ===== CUSTOM GIF CURSOR ===== */
.cursor-gif {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    width: 32px;
    /* 调整这里改变光标大小 */
    height: 32px;
    transform: translate(-50%, -50%);
    display: none;
}

/* 隐藏旧的光标元素 */
.cursor-core,
.cursor-aura {
    display: none !important;
}

/* ===== MESH BACKGROUND ===== */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: #FAFAFA;
    transition: background 0.7s ease;
}

.dark .mesh-bg {
    background: #09090b;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
}

.blob-1 {
    width: 60vw;
    height: 60vw;
    background: #fbcfe8;
    top: -10%;
    left: -10%;
}

.dark .blob-1 {
    background: #831843;
}

.blob-2 {
    width: 50vw;
    height: 50vw;
    background: #f5d0fe;
    bottom: -10%;
    right: -10%;
}

.dark .blob-2 {
    background: #4c0519;
}

.blob-3 {
    width: 40vw;
    height: 40vw;
    background: #ffe4e6;
    top: 40%;
    left: 40%;
}

.dark .blob-3 {
    background: #701a75;
}

/* ===== TYPOGRAPHY ===== */
.text-gradient {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark .text-gradient {
    background: linear-gradient(135deg, #f472b6 0%, #e879f9 50%, #fb7185 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== GLASS PANELS ===== */
.glass-panel {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.dark .glass-panel {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.nav-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .nav-glass {
    background: rgba(9, 9, 11, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SELECTION ===== */
::selection {
    background: #fbcfe8;
    color: #831843;
}

.dark ::selection {
    background: #831843;
    color: #fbcfe8;
}

/* ===== MAGNETIC ELEMENTS ===== */
.magnetic {
    display: inline-block;
    will-change: transform;
}

/* ===== PAGE CONTENT ===== */
.page-content {
    min-height: 100vh;
    padding-top: 6rem;
}

/* ===== BLOG STYLES ===== */
.blog-post-content {
    line-height: 1.8;
}

.blog-post-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-post-content p {
    margin-bottom: 1.25rem;
}

.blog-post-content code {
    background: rgba(236, 72, 153, 0.1);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

/* ===== LINK CARD (for links.html) ===== */
.link-card {
    transition: all 0.3s ease;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(236, 72, 153, 0.15);
}