@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400&display=swap');

/* ============ 1. 全局页重置 (屏蔽 Main.css 干扰) ============ */
.page-work main,
.page-about main,
.page-contact main {
    all: unset !important;
    display: block !important;
    width: 100% !important;
    min-height: 100vh !important;
    background-image: none !important;
    background-color: #ffffff !important;
    position: relative !important;
    overflow: visible !important;
}

/* 只重置 work/about/contact 页面内的 h1，不影响首页动画 */
.page-work main h1,
.page-about main h1,
.page-contact main h1 {
    all: unset !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    animation: none !important;
    display: block !important;
    text-align: center !important;
}

/* ============ 2. Work 页面布局 ============ */
.work-hero {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.work-title-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}
.work-title {
    font-size: 32px !important;
    color: #000 !important;
    font-weight: 400 !important;
}
.work-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
}
.work-card {
    width: 380px;
    height: 500px;
    background: #fff;
    border: 3px solid #eee;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}
.work-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.work-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* ============ 3. About 页面布局 ============ */
.candidacy-hero {
    width: 100%;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    position: relative;
    background-color: #ffffff;
    overflow: hidden;
}

.ch-title {
    color: #001DFF !important;
    font-family: 'Arial Narrow', Arial, sans-serif !important;
    font-size: clamp(40px, 6vw, 90px) !important;
    font-weight: 400 !important;
    margin: 40px 0 !important;
    white-space: nowrap;
}

.ch-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(16px, 2.5vw, 40px);
    color: #000000;
    text-align: center;
    margin-top: 30px;
}

.ch-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}
.ch-item {
    position: relative;
}
.ch-img {
    height: 250px;
    object-fit: contain;
}
.ch-star {
    position: absolute;
    color: #000;
    z-index: -1;
}

/* 装饰线条 */
.ch-box-camera,
.ch-box-guitar {
    position: absolute;
    border: 2px solid #FF16F8;
}
.ch-box-camera { inset: 10px; }
.ch-box-guitar { inset: 10px; }

.ch-line-camera,
.ch-line-guitar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ch-tag-year,
.ch-tag-welcome,
.ch-tag-jam {
    position: absolute;
    background-color: #FF16F8;
    color: white;
    font-family: 'Arial Narrow', Arial, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 4px;
    white-space: nowrap;
}
.ch-tag-year {
    bottom: 0;
    right: -10px;
    writing-mode: vertical-rl;
    padding: 8px;
}
.ch-tag-welcome {
    bottom: -40px;
    left: 0;
}
.ch-tag-jam {
    top: -40px;
    right: 0;
}

/* ============ 4. Contact 页面布局 ============ */
.page-contact main {
    background: #f1f1f1 !important;
}
.contact-page-wrap {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Averia Serif Libre', serif;
    overflow: hidden;
}
.contact-huge-title {
    font-family: 'Averia Serif Libre', serif !important;
    font-size: clamp(50px, 10vw, 120px) !important;
    line-height: 0.8 !important;
    color: #111 !important;
    margin: 0 !important;
    text-align: center;
}
.blob-container {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}
.big-yellow-blob {
    width: 140vw;
    height: 750px;
    background: #DFFF00;
    border-radius: 50% 50% 0 0;
    margin-left: -20vw;
    display: flex;
    justify-content: center;
    padding-top: 100px;
}
.eyes-wrap {
    display: flex;
    gap: 30px;
}
.eye {
    width: 170px;
    height: 260px;
    background: #fff;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
}
.pupil {
    width: 70px;
    height: 70px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 40%;
    left: 45%;
}
.pill {
    position: absolute;
    background: #DFFF00;
    color: #000;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
    z-index: 50;
}