/* --- same css setup as main style.css --- */
:root {
    --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --accent-pink: #ff9a9e;
    --accent-glow: 0 0 20px rgba(167, 139, 250, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Quicksand', 'Noto Sans TC', sans-serif;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0; /* 配合 JS 淡入 */
    transition: opacity 0.5s;
}

/* --- HEADER 結構 (跟相簿一樣) --- */
header {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 20px auto;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.back-btn {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: 0.3s;
    z-index: 20;
}

.back-btn:hover { background: rgba(255, 255, 255, 0.2); }

.page-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 1.8rem;
    white-space: nowrap;
    font-family: 'Fira Code', monospace;
}

/* --- BIO CARD --- */
.bio-card {
    width: 90%;
    max-width: 450px;
    margin: 40px 0;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    text-align: center;
    position: relative;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.lang-switch {
    position: absolute; top: 25px; right: 25px;
    cursor: pointer; opacity: 0.6; font-size: 1.2rem; transition: 0.3s;
}
.lang-switch:hover { opacity: 1; transform: rotate(15deg); }

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.2);
    box-shadow: var(--accent-glow);
    margin-bottom: 20px;
}

h2 { margin-bottom: 10px; font-size: 1.8rem; font-family: 'Fira Code', monospace; }
.tagline { color: var(--text-muted); margin-bottom: 30px; font-size: 0.95rem; line-height: 1.6; }

/* --- LINKS --- */
.links { display: flex; flex-direction: column; gap: 15px; }

.btn {
    display: block;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid transparent;
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
    font-size: 0.95rem;
}
.btn:hover { 
    background: rgba(255, 255, 255, 0.15); 
    border-color: var(--accent-pink);
    transform: translateY(-2px);
}

/* 語言切換邏輯 */
body.lang-en .zh { display: none !important; }
body.lang-zh .en { display: none !important; }

@media (max-width: 600px) {
    .page-title { font-size: 1.2rem; }
    .back-btn { padding: 6px 12px; font-size: 0.8rem; }
}
