/* 页面内容区域 */

/* 网页主体样式 */
body {
    /* 设置默认博客背景图片 */
    background-image: url('/assets/img/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    color: #fff;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 80px;
    min-height: calc(100vh - 60px);
}

/* 页面标题 */
.page-title {
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* 区域标题 */
.section-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.6rem;
    font-weight: 400;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
}

.section-title i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
}

.section-title .copy-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-left: auto;
}

/* 液态毛玻璃卡片 */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px) saturate(120%);
    -webkit-backdrop-filter: blur(15px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 25px;
    margin-bottom: 30px;
    color: #fff;
}

/* 我的信息网格布局 */
.my-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.my-info-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.my-info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.my-info-item:active {
    transform: translateY(0);
}

.info-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    font-weight: 300;
}

.info-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    word-break: break-all;
    padding-right: 30px;
}

.copy-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    transition: color 0.2s;
}

.my-info-item:hover .copy-icon {
    color: rgba(255, 255, 255, 0.8);
}

/* 我的信息底部提示 */
.my-info-note {
    background: rgba(0, 123, 255, 0.15);
    border-radius: 8px;
    padding: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid rgba(0, 123, 255, 0.5);
}

.my-info-note i {
    color: rgba(0, 123, 255, 0.8);
    font-size: 1.1rem;
}

.notice-link {
    color: rgba(100, 200, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.notice-link:hover {
    color: rgba(150, 220, 255, 1);
    text-decoration: underline;
}

/* 友链容器 */
.friends-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

/* 友链卡片 */
.friend-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.friend-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.friend-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.friend-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.friend-name-container {
    flex-grow: 1;
    overflow: hidden;
}

.friend-nickname {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-url {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.friend-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.friend-describe {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.friend-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.friend-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.friend-link i {
    font-size: 0.9rem;
}

/* 加载状态 */
.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

/* 页脚 */
.page-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.page-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.page-footer a:hover {
    text-decoration: underline;
}

/* 复制成功提示 */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(40, 167, 69, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-content {
        padding: 20px 15px 60px;
    }

    .page-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.4rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .section-title .copy-hint {
        margin-left: 0;
        font-size: 0.85rem;
    }

    .glass-card {
        padding: 20px;
    }

    .my-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .friends-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .friend-card-header {
        padding: 15px;
    }

    .friend-card-body {
        padding: 15px;
    }

    .my-info-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }

    .friend-icon {
        width: 45px;
        height: 45px;
    }

    .friend-nickname {
        font-size: 1.1rem;
    }
}