:root {
    --bg: #0f1a20;
    --panel: rgba(17, 27, 34, 0.75);
    --card: #121f27;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e8eef5;
    --muted: #96a3b2;
    --primary: #0ba5e9;
    --primary-strong: #0390cc;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(11, 165, 233, 0.18), transparent 26%),
                radial-gradient(circle at 85% 15%, rgba(3, 144, 204, 0.16), transparent 24%),
                var(--bg);
    color: var(--text);
    line-height: 1.7;
}

.navbar {
    backdrop-filter: blur(12px);
    background: rgba(10, 16, 21, 0.75) !important;
    border-bottom: 1px solid var(--border);
}

.navbar .nav-link {
    font-weight: 500;
    letter-spacing: 0.1px;
}

.navbar .navbar-brand {
    font-weight: 700;
    letter-spacing: 0.3px;
}

main .container {
    background: transparent;
    padding: 32px 12px 48px;
    margin-top: 24px;
}

.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.profile-img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 26px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #1b2a33 0%, #0f1a20 100%);
}

.profile-img-large {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 30px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #1b2a33 0%, #0f1a20 100%);
}

.section-title {
    border-left: 4px solid var(--primary);
    padding-left: 0.75rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.card {
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
    background: rgba(15, 26, 32, 0.75);
    overflow: hidden;
    color: var(--text);
}

.card-portfolio {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-portfolio:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.form-control, .form-select {
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 12px 14px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    background: rgba(255, 255, 255, 0.04);
    color: #f7fbff;
    caret-color: #ffffff;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(11, 165, 233, 0.18);
    background: rgba(255, 255, 255, 0.1);
}

.form-label {
    color: #f3f7ff;
    font-weight: 500;
}

.form-control::placeholder {
    color: rgba(230, 240, 255, 0.6);
}

.form-control:focus::placeholder {
    color: rgba(255, 255, 255, 0.75);
}

.form-control, .form-select, textarea {
    font-weight: 500;
}

.btn-primary {
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 10px 30px rgba(11, 165, 233, 0.32);
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    border: none;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.btn-nav-cta {
    border-radius: 999px;
    padding: 8px 20px;
    border: 1px solid rgba(11, 165, 233, 0.6);
    color: #e5f6ff;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    background: radial-gradient(circle at 0 0, rgba(11, 165, 233, 0.4), transparent 55%),
                rgba(5, 12, 18, 0.8);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.btn-nav-cta:hover {
    color: #ffffff;
    border-color: rgba(11, 165, 233, 0.9);
}

.btn-nav-revise {
    border-radius: 999px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e8eef5;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.btn-nav-revise:hover {
    color: #ffffff;
    border-color: rgba(11, 165, 233, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

.btn-outline-primary, .btn-outline-danger, .btn-secondary {
    border-radius: 12px;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: rgba(11, 165, 233, 0.4);
}

.list-group-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
}

footer {
    letter-spacing: 0.2px;
    background: rgba(10, 16, 21, 0.8);
    border-top: 1px solid var(--border);
}

.text-muted { color: var(--muted) !important; }

.hero-buttons .btn { min-width: 160px; }

.hero-badges {
    position: relative;
    display: inline-block;
}

.pill-badge {
    position: absolute;
    right: -18%;
    min-width: 120px;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    font-weight: 600;
}

.pill-badge.badge-top { top: 8%; }
.pill-badge.badge-mid { top: 45%; }
.pill-badge.badge-bottom { bottom: 4%; }

/* 针对大头像的badge位置调整 */
.hero-badges .pill-badge {
    right: -15%;
}

.hero-badges .pill-badge.badge-top { top: 12%; }
.hero-badges .pill-badge.badge-mid { top: 48%; }
.hero-badges .pill-badge.badge-bottom { bottom: 8%; }
