@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1473448912268-2022ce9509d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    background-color: #0b0f19;
    padding-top: 0;
}

body.bg-starry {
    background: url('https://images.unsplash.com/photo-1506703719100-a0f3a48c0f86?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat fixed;
    background-color: #0b0f19;
}

.background-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(16, 23, 42, 0.5) 0%, rgba(2, 6, 23, 0.9) 100%);
    z-index: 1;
}

/* ─── Particles ─── */
#particles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    bottom: -20px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 200, 200, 0.3);
    animation: rise linear infinite;
    opacity: 0;
}
@keyframes rise {
    0% { bottom: -20px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { bottom: 110vh; opacity: 0; }
}

/* ─── Glass Navigation ─── */
.glass-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.7rem;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 9999px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-links {
    display: flex;
    gap: 0.2rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link i { font-size: 1.05rem; }
.nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.nav-link.active {
    background: #fff;
    color: #0f172a;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.2);
}

/* ─── Settings ─── */
.top-right-controls {
    position: fixed;
    top: 5rem;
    right: 2.5rem;
    z-index: 100;
}
.settings-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 1.15rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.settings-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(45deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.settings-menu {
    position: absolute;
    top: 54px; right: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 0.6rem;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.settings-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.settings-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1rem;
    color: rgba(255,255,255,0.85);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}
.settings-item:hover {
    background: rgba(255,255,255,0.15);
    color: white;
}

@keyframes cardFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.glass-card {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 1100px;
    height: 85vh;
    min-height: 600px;

    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: cardFloat 6s ease-in-out infinite;
}

.main-container {
    flex: 1;
    height: 100%;
    position: relative;
    width: 100%;
    padding-top: 6rem;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.main-container::-webkit-scrollbar { display: none; }

/* ─── Sections ─── */
.nav-section {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem 2rem;
    width: 100%;
}
.nav-section.active {
    display: flex;
    flex: 1;
}

/* ─── Home ─── */
#home.nav-section {
    justify-content: center;
    min-height: 75vh;
}
.profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 0px;   /* 负值上移，正值下移 */
  
}

/* Avatar breathing glow ring */
.avatar-wrapper {
    position: relative;
    width: 120px; height: 120px;
    border-radius: 50%;
    padding: 4px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 1.2rem;
    box-shadow: 0 0 30px rgba(255,255,255,0.08);
}
.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.4), transparent, rgba(147,197,253,0.4), transparent);
    animation: ringSpin 3s linear infinite;
    mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #fff calc(100% - 2px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #fff calc(100% - 2px));
}
@keyframes ringSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.avatar {
    position: relative;
    z-index: 1;
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f1f5f9;
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.status-dot {
    position: absolute;
    bottom: 5px; right: 5px;
    width: 20px; height: 20px;
    background-color: #10b981;
    border: 3px solid #1e293b;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(16,185,129,0.4);
    z-index: 2;
    animation: pulseGlow 2s infinite;
}
.name {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}
.subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
}

/* Quote glass card */
.quote-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    padding: 0.65rem 1.3rem;
    margin-bottom: 1.8rem;
    max-width: 700px;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.quote {
    font-style: italic;
    color: rgba(255,255,255,0.92);
    font-size: 0.88rem;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    margin: 0;
}

/* Glass social buttons */
.social-links { display: flex; gap: 0.9rem; }
.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px; height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    position: relative;
    transition: all 0.3s ease;
}
.glass-btn {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.glass-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.35);
}
.qr-popup {
    position: absolute;
    bottom: 54px; left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 130px;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.2);
    pointer-events: none;
    z-index: 10;
}
.social-icon.qr-trigger:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ─── Section Titles ─── */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-align: center;
}
.section-subtitle {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.5px;
}
.sub-section-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    text-align: left;
    width: 100%;
    max-width: 800px;
}

/* ─── Card Grid ─── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 900px;
}
.card-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 1.2rem 1.3rem;
    transition: all 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
}
.card-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.card-item .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.card-item .card-desc {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    flex: 1;
}
.card-item .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.8rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.card-item .card-rating {
    color: #fbbf24;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.card-item .card-link {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}
.card-item .card-link:hover { color: #60a5fa; }
.card-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.25s ease;
}
.card-link-btn:hover {
    background: rgba(96,165,250,0.2);
    color: #60a5fa;
}

/* ─── Notes Toolbar ─── */
.notes-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin-bottom: 1.2rem;
}
.search-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    flex: 1;
    min-width: 200px;
}
.search-box i { color: rgba(255,255,255,0.4); font-size: 0.9rem; }
.search-box input {
    background: none;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    font-family: inherit;
}
.search-box input::placeholder { color: rgba(255,255,255,0.3); }
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.filter-tag {
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: transparent;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.25s ease;
    font-family: inherit;
}
.filter-tag:hover { background: rgba(255,255,255,0.1); color: #fff; }
.filter-tag.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}

/* ─── Note Card Extra ─── */
.note-card .card-footer { justify-content: flex-end; gap: 0.6rem; border-top: none; margin-top: 0.5rem; }
.note-card .btn-like {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.25s ease;
    font-family: inherit;
}
.note-card .btn-like:hover { color: #f472b6; background: rgba(244,114,182,0.1); }
.note-card .btn-like.liked { color: #f472b6; }
.note-card .btn-read {
    background: rgba(255,255,255,0.08);
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0.25rem 0.7rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    font-family: inherit;
}
.note-card .btn-read:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ─── Timeline (Diary) ─── */
.timeline {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 8px; top: 0; bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.15);
}
.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.65rem; top: 6px;
    width: 10px; height: 10px;
    background: #60a5fa;
    border-radius: 50%;
    border: 2px solid rgba(15,23,42,0.9);
    box-shadow: 0 0 8px rgba(96,165,250,0.4);
}
.timeline-date {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.3rem;
}
.timeline-content {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
}
.timeline-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.timeline-content p {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}
.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.5rem;
}
.timeline-tag {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
}
.timeline-tag.weather { background: rgba(251,191,36,0.15); color: #fbbf24; }
.timeline-tag.mood { background: rgba(244,114,182,0.15); color: #f472b6; }
.timeline-images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}
.timeline-img {
    width: 80px; height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.25s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.timeline-img:hover { transform: scale(1.05); }

/* ─── Download Table ─── */
.download-table-wrapper {
    width: 100%;
    max-width: 800px;
    overflow-x: auto;
}
.download-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.download-table th {
    text-align: left;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}
.download-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.75);
}
.download-table tr:hover td { background: rgba(255,255,255,0.03); }
.download-table a {
    color: #60a5fa;
    text-decoration: none;
}
.download-table a:hover { text-decoration: underline; }
.download-tip {
    margin-top: 0.8rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

/* ─── Secret ─── */
.secret-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 2px;
}

/* ─── Footer ─── */
.footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    font-weight: 300;
}

/* ─── Modals ─── */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    background: rgba(15,23,42,0.88);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.modal-overlay.show .modal-box {
    transform: translateY(0) scale(1);
}
.modal-box::-webkit-scrollbar { width: 5px; }
.modal-box::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 6px;
}
.modal-close {
    position: absolute;
    top: 1rem; right: 1.2rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.modal-close:hover { color: #fff; }
.modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.email-box { max-width: 420px; align-items: center; }
.email-display {
    background: rgba(0,0,0,0.3);
    border: 1px dashed rgba(255,255,255,0.25);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fbbf24;
    margin: 0.5rem 0;
    text-align: center;
    width: 100%;
    word-break: break-all;
}
.email-desc { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.5; text-align: center; }
.modal-actions { display: flex; gap: 0.8rem; margin-top: 0.5rem; }
.btn-cancel, .btn-confirm {
    padding: 0.7rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}
.btn-cancel {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
}
.btn-cancel:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-confirm {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}
.btn-confirm:hover { background: rgba(255,255,255,0.15); }

/* ─── Reading Modal ─── */
.reading-box {
    max-width: 640px;
    position: relative;
}
.reading-content {
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
}
.reading-content p { margin-bottom: 0.8rem; }
.reading-footer {
    display: flex;
    justify-content: center;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.btn-like {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.25s ease;
    font-family: inherit;
}
.btn-like:hover { color: #f472b6; border-color: rgba(244,114,182,0.3); background: rgba(244,114,182,0.08); }
.btn-like.liked { color: #f472b6; border-color: rgba(244,114,182,0.3); background: rgba(244,114,182,0.1); }

/* ─── Lightbox ─── */
#lightbox {
    cursor: zoom-out;
    background: rgba(0,0,0,0.85);
}
#lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
#lightbox.show img { transform: scale(1); }
#lightbox .modal-close {
    position: fixed;
    top: 1.5rem; right: 2rem;
    color: rgba(255,255,255,0.7);
    font-size: 2.5rem;
    z-index: 1001;
}

/* ─── Mobile Nav ─── */
@media (max-width: 768px) {
    body { padding-top: 0; }
    .glass-nav {
        top: 16px;
        padding: 0.4rem;
        max-width: 94vw;
    }
    .nav-links {
        gap: 0.15rem;
    }
    .nav-link {
        padding: 0.4rem 0.85rem;
        font-size: 0.85rem;
        gap: 0.3rem;
    }
    .nav-link i { font-size: 0.85rem; }

    .glass-card {
        width: 96%;
        height: 82vh;
        min-height: 500px;
    }
    .nav-section { padding: 1rem; }
    .card-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.3rem; }
    .name { font-size: 1.7rem; }
    .top-right-controls { right: 1.2rem; top: 4.2rem; }
    .settings-btn { width: 38px; height: 38px; font-size: 1rem; }
    .timeline { padding-left: 1.2rem; }
    .timeline-item::before { left: -1.05rem; width: 8px; height: 8px; }
}

@media (max-width: 480px) {
    .glass-card { height: 78vh; }
    .avatar-wrapper { width: 140px; height: 140px; }
    .name { font-size: 1.4rem; }
    .quote { font-size: 0.82rem; }
    .social-icon { width: 38px; height: 38px; font-size: 0.9rem; }
}
