/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 背景星空 */
#starfield-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 顶部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 25px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo样式 - 与首页一致 */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.brand-text {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 1px;
}

/* 导航链接 */
.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-links a {
    color: #808080;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: #ffffff;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 1px;
    background: #ffffff;
}

/* 右侧导航 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.user-time {
    font-size: 13px;
    color: #808080;
    letter-spacing: 1px;
    font-weight: 400;
}

/* 搜索框 */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #2a2a2a;
    border-radius: 22px;
    padding: 10px 18px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: #404040;
}

.search-input {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 14px;
    width: 220px;
    outline: none;
    padding: 0;
}

.search-input::placeholder {
    color: #606060;
}

.search-btn {
    background: transparent;
    border: none;
    color: #808080;
    cursor: pointer;
    padding: 0;
    margin-left: 12px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

.search-btn:hover {
    color: #ffffff;
}

/* 主内容 */
.main-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 60px 100px;
}

.content-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* 页面切换 */
.page-content {
    display: none !important;
}

.page-content.active {
    display: grid !important;
}

/* 视频页面、作品页面、关于我页面、聊天页面特殊布局 */
.video-page-layout.active,
.works-page-layout.active,
.about-page-layout.active,
.chat-page-layout.active {
    display: flex !important;
}

/* 左侧文字区域 */
.text-section {
    animation: fadeInLeft 1s ease-out;
    display: flex;
    gap: 60px;
    align-items: center;
}

/* 左侧统计列 */
.stats-column {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 11px;
    color: #606060;
    letter-spacing: 1px;
    font-weight: 300;
}

/* 标题容器 */
.title-container {
    flex: 1;
}

.main-title {
    font-size: 90px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.title-word {
    display: block;
}

/* 个人简介区域 */
.bio-section {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 600px;
}

.subtitle {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #808080;
    font-weight: 300;
    line-height: 1.8;
    flex: 1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.subtitle:hover {
    color: #a0a0a0;
}

.edit-bio-btn {
    background: transparent;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 8px;
    color: #808080;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.edit-bio-btn svg {
    width: 18px;
    height: 18px;
}

.edit-bio-btn:hover {
    border-color: #ffffff;
    color: #ffffff;
    opacity: 1;
}

/* 视频页面布局 */
.video-page-layout {
    flex-direction: column;
    gap: 60px;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    grid-template-columns: 1fr;
}

.video-header-section {
    display: flex;
    gap: 60px;
    align-items: center;
}

.video-grid-section {
    width: 100%;
    margin-left: 140px;
}

/* 视频网格容器 */
.videos-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 100%;
}

.video-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: #404040;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #ffffff;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-card:hover .video-play-btn {
    opacity: 1;
}

.video-play-btn svg {
    width: 20px;
    height: 20px;
    margin-left: 3px;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.video-meta {
    font-size: 12px;
    color: #808080;
}

/* 添加视频卡片 */
.add-video-card {
    background: rgba(26, 26, 26, 0.3);
    border: 2px dashed #404040;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.add-video-card:hover {
    border-color: #606060;
    background: rgba(26, 26, 26, 0.5);
}

.add-video-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #606060;
    font-size: 14px;
    transition: color 0.3s ease;
}

.add-video-card:hover .add-video-btn {
    color: #808080;
}

.add-video-btn svg {
    width: 40px;
    height: 40px;
}

/* 作品页面布局 */
.works-page-layout {
    flex-direction: column;
    gap: 60px;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    grid-template-columns: 1fr;
}

.works-header-section {
    display: flex;
    gap: 60px;
    align-items: center;
}

.works-grid-section {
    width: 100%;
    margin-left: 140px;
}

/* 作品分类容器 */
.works-categories {
    max-width: 100%;
}

.category-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.category-tab {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    color: #808080;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    border-color: #404040;
    color: #a0a0a0;
}

.category-tab.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* 作品网格 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.work-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.work-card:hover {
    transform: translateY(-5px);
    border-color: #404040;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.work-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.work-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-type-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.work-type-badge.games {
    background: rgba(102, 126, 234, 0.9);
    color: #ffffff;
}

.work-type-badge.music {
    background: rgba(118, 75, 162, 0.9);
    color: #ffffff;
}

.work-type-badge.art {
    background: rgba(78, 205, 196, 0.9);
    color: #ffffff;
}

.work-info {
    padding: 15px;
}

.work-title {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-meta {
    font-size: 12px;
    color: #808080;
}

/* 添加作品卡片 */
.add-work-card {
    background: rgba(26, 26, 26, 0.3);
    border: 2px dashed #404040;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}

.add-work-card:hover {
    border-color: #606060;
    background: rgba(26, 26, 26, 0.5);
    transform: translateY(0);
}

.add-work-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #606060;
    font-size: 14px;
    transition: color 0.3s ease;
}

.add-work-card:hover .add-work-btn {
    color: #808080;
}

.add-work-btn svg {
    width: 40px;
    height: 40px;
}

/* 关于我页面布局 */
.about-page-layout {
    flex-direction: column;
    gap: 60px;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    grid-template-columns: 1fr;
}

.about-header-section {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-content-section {
    width: 100%;
    margin-left: 140px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* 信息卡片 */
.info-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: #404040;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

/* 个人信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item label {
    font-size: 12px;
    color: #606060;
}

.info-item span {
    font-size: 15px;
    color: #ffffff;
    font-weight: 500;
}

/* 会员状态卡片 */
.membership-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.membership-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.membership-badge svg {
    width: 24px;
    height: 24px;
    color: #fbbf24;
}

.membership-expires {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #808080;
}

.upgrade-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 钱包卡片 */
.wallet-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wallet-balance {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.balance-amount {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.currency {
    font-size: 24px;
    opacity: 0.6;
}

.balance-label {
    font-size: 13px;
    color: #808080;
}

.wallet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.wallet-btn {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wallet-btn:hover {
    border-color: #404040;
    background: rgba(255, 255, 255, 0.08);
}

.wallet-btn.recharge:hover {
    border-color: #10b981;
    color: #10b981;
}

.wallet-btn.withdraw:hover {
    border-color: #f59e0b;
    color: #f59e0b;
}

/* 加入天数卡片 */
.days-info {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.days-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
}

.days-icon svg {
    width: 32px;
    height: 32px;
}

.days-text {
    flex: 1;
}

.days-label {
    font-size: 13px;
    color: #808080;
    margin-bottom: 10px;
}

.days-number {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.days-count {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.days-unit {
    font-size: 18px;
    color: #808080;
}

/* 图表卡片 */
.chart-card {
    grid-column: span 2;
}

.chart-container {
    width: 100%;
    height: 250px;
    position: relative;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2a2a2a;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #808080;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

/* 聊天页面布局 */
.chat-page-layout {
    flex-direction: column;
    gap: 60px;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    grid-template-columns: 1fr;
}

.chat-header-section {
    display: flex;
    gap: 60px;
    align-items: center;
}

.chat-content-section {
    width: 100%;
    margin-left: 140px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    height: 600px;
}

/* 联系人面板 */
.contacts-panel {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.contacts-header {
    padding: 20px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contacts-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.add-contact-btn {
    background: transparent;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 6px 10px;
    color: #808080;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-contact-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.contacts-search {
    padding: 15px 20px;
    border-bottom: 1px solid #2a2a2a;
}

.search-contacts {
    width: 100%;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
}

.search-contacts::placeholder {
    color: #606060;
}

.contacts-list {
    flex: 1;
    overflow-y: auto;
}

.contact-item {
    padding: 15px 20px;
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(42, 42, 42, 0.5);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.contact-item.active {
    background: rgba(102, 126, 234, 0.15);
}

.contact-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #10b981;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-name {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.contact-last-msg {
    font-size: 12px;
    color: #808080;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.contact-time {
    font-size: 11px;
    color: #606060;
}

.unread-badge {
    background: #667eea;
    color: #ffffff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* 聊天窗口 */
.chat-window {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-window-header {
    padding: 20px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.chat-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.chat-user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-user-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.chat-user-status {
    font-size: 12px;
    color: #10b981;
}

.chat-actions {
    display: flex;
    gap: 10px;
}

.chat-action-btn {
    background: transparent;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 8px 12px;
    color: #808080;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-action-btn:hover {
    border-color: #404040;
    color: #ffffff;
}

/* 聊天消息区域 */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    display: flex;
    gap: 10px;
    max-width: 70%;
}

.message.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.message-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.message.sent .message-content {
    align-items: flex-end;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.message.received .message-bubble {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-bottom-left-radius: 4px;
}

.message.sent .message-bubble {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 11px;
    color: #606060;
    padding: 0 5px;
}

/* 聊天输入区域 */
.chat-input-area {
    padding: 20px;
    border-top: 1px solid #2a2a2a;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-tool-btn {
    background: transparent;
    border: none;
    color: #808080;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.chat-tool-btn:hover {
    color: #ffffff;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.chat-input::placeholder {
    color: #606060;
}

.chat-input:focus {
    border-color: #404040;
    background: rgba(255, 255, 255, 0.08);
}

.chat-send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* 右侧图片区域 */
.image-section {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

.profile-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 500px;
    margin-left: auto;
}

.profile-image-container:hover .change-avatar-btn {
    opacity: 1;
    visibility: visible;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: grayscale(30%) contrast(1.1);
    transition: all 0.3s ease;
}

.profile-image-container:hover .profile-image {
    filter: grayscale(30%) contrast(1.1) brightness(0.7);
}

.image-label {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(10, 10, 10, 0.8);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    letter-spacing: 2px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 更换头像按钮 */
.change-avatar-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 30px;
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.change-avatar-btn svg {
    width: 32px;
    height: 32px;
}

.change-avatar-btn:hover {
    background: rgba(10, 10, 10, 0.95);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(1.05);
}

/* 底部导航点 */
.bottom-nav {
    position: fixed;
    bottom: 40px;
    left: 60px;
    z-index: 100;
}

.nav-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #404040;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffffff;
    width: 30px;
    border-radius: 4px;
}

.dot:hover {
    background: #808080;
}

/* 右侧功能按钮 */
.side-actions {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 40px;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.side-action-item {
    color: #606060;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 10px 5px;
    position: relative;
    font-weight: 300;
}

.side-action-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #606060, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.side-action-item:hover {
    color: #ffffff;
    letter-spacing: 8px;
}

.side-action-item:hover::before {
    opacity: 1;
}

/* 动画 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 弹窗样式 - 玻璃质感 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.glass-modal {
    background: rgba(26, 26, 26, 0.25);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 8px 32px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .glass-modal {
    transform: scale(1) translateY(0);
}

/* 弹窗头部 */
.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.15) 0%,
        rgba(118, 75, 162, 0.15) 100%
    );
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #808080;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: rotate(90deg);
}

/* 弹窗内容 */
.modal-body {
    padding: 30px;
}

.bio-textarea {
    width: 100%;
    min-height: 150px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    font-family: inherit;
    resize: vertical;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) inset;
}

.bio-textarea::placeholder {
    color: #606060;
}

.bio-textarea:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.15) inset;
}

.char-counter {
    margin-top: 12px;
    text-align: right;
    font-size: 13px;
    color: #808080;
    font-weight: 500;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.danger {
    color: #ef4444;
}

/* 名称输入框 */
.name-input {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) inset;
}

.name-input::placeholder {
    color: #606060;
}

.name-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.15) inset;
}

/* 输入提示 */
.input-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    color: #a0a0a0;
    font-size: 13px;
}

.input-hint svg {
    width: 16px;
    height: 16px;
    color: #667eea;
    flex-shrink: 0;
}

.input-hint span {
    line-height: 1.4;
}

/* 弹窗底部 */
.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.15);
}

.modal-btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.5px;
}

.modal-btn-cancel {
    background: rgba(255, 255, 255, 0.08);
    color: #a0a0a0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.modal-btn-confirm {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modal-btn-confirm:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .content-wrapper {
        gap: 60px;
    }

    .main-title {
        font-size: 70px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .text-section {
        flex-direction: column;
        gap: 40px;
    }

    .stats-column {
        flex-direction: row;
        gap: 30px;
        width: 100%;
        justify-content: center;
    }

    .profile-image-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .video-header-section,
    .works-header-section,
    .about-header-section,
    .chat-header-section {
        flex-direction: column;
        gap: 40px;
    }

    .video-grid-section,
    .works-grid-section,
    .about-content-section,
    .chat-content-section {
        margin-left: 0;
    }

    .chat-content-section {
        grid-template-columns: 1fr;
        height: auto;
    }

    .contacts-panel {
        display: none;
    }

    .videos-grid-container,
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content-section {
        grid-template-columns: 1fr;
    }

    .main-title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 20px 30px;
    }
    
    .logo {
        width: 38px;
        height: 38px;
    }
    
    .brand-text {
        font-size: 20px;
    }

    .main-content {
        padding: 80px 30px 80px;
    }

    .main-title {
        font-size: 48px;
    }

    .bottom-nav {
        left: 30px;
        bottom: 30px;
    }

    .side-actions {
        right: 20px;
        gap: 30px;
    }
    
    .side-action-item {
        font-size: 12px;
        letter-spacing: 5px;
    }
    
    .bio-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .subtitle {
        font-size: 13px;
    }
    
    .edit-bio-btn {
        align-self: flex-start;
    }
    
    /* 弹窗响应式 */
    .glass-modal {
        max-width: calc(100% - 40px);
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 18px 20px;
    }
    
    .logo {
        width: 35px;
        height: 35px;
    }
    
    .brand-text {
        font-size: 18px;
    }

    .main-content {
        padding: 80px 20px 80px;
    }

    .main-title {
        font-size: 36px;
    }

    .user-time {
        display: none;
    }

    .search-input {
        width: 120px;
    }

    .search-box {
        padding: 6px 12px;
    }

    .videos-grid-container,
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    /* 小屏幕弹窗响应式 */
    .glass-modal {
        max-width: calc(100% - 20px);
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 18px;
    }
    
    .modal-title {
        font-size: 16px;
    }
    
    .modal-close {
        width: 32px;
        height: 32px;
    }
    
    .modal-close svg {
        width: 18px;
        height: 18px;
    }
    
    .modal-body {
        padding: 18px;
    }
    
    .bio-textarea {
        font-size: 14px;
        min-height: 120px;
    }
    
    .name-input {
        font-size: 14px;
        padding: 14px;
    }
    
    .input-hint {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .input-hint svg {
        width: 14px;
        height: 14px;
    }
    
    .modal-footer {
        padding: 12px 18px;
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
        padding: 12px;
    }
}
