
/* 基础美化 - 现代简约风 */
.fancy-link {
    text-decoration: none;
    color: #2c3e50;
    position: relative;
    transition: color 0.3s ease;
}

.fancy-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.fancy-link:hover {
    color: #3498db;
}

.fancy-link:hover::after {
    width: 100%;
}

/* 按钮样式 - 扁平化设计 */
.btn-link {
    display: inline-block;
    padding: 12px 24px;
    background: #e74c3c;
    color: white !important;
    border-radius: 25px;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* 渐变背景样式 */
.gradient-link {
    display: inline-block;
    padding: 10px 30px;
    color: white !important;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    position: relative;
    overflow: hidden;
    transition: filter 0.3s;
}

.gradient-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: left 0.5s;
}

.gradient-link:hover::before {
    left: 100%;
}

.gradient-link:hover {
    filter: brightness(1.1);
}

/* 3D立体效果 */
.link-3d {
    display: inline-block;
    padding: 12px 24px;
    color: #fff !important;
    background: #27ae60;
    border-radius: 5px;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0,0,0,0);
    transition: all 0.3s;
}

.link-3d:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

/* 图标链接样式 */
.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f1f1f1;
    border-radius: 50px;
    color: #2c3e50 !important;
    transition: all 0.3s;
}

.icon-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.icon-link:hover {
    background: #3498db;
    color: white !important;
    transform: translateY(-2px);
}

/* 边框动画效果 */
.border-link {
    padding: 10px 20px;
    position: relative;
    border: 2px solid transparent;
    color: #2c3e50;
    transition: all 0.3s;
}

.border-link::before,
.border-link::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #3498db;
    transition: all 0.3s;
}

.border-link::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.border-link::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

.border-link:hover {
    color: #3498db;
}

.border-link:hover::before,
.border-link:hover::after {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}
