/* 高级科技港风格 - 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    margin: 0; 
    font-family: 'SF Pro Display', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    background-attachment: fixed;
    color: #e0e0e0;
    position: relative;
    overflow-x: hidden;
}

/* 动态背景粒子效果 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.header, .footer {
    text-align: center;
    padding: 20px 10px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(138, 43, 226, 0.2) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    position: relative;
    z-index: 1;
}

.content { 
    padding: 8px 12px; 
    position: relative;
    z-index: 1;
}

/* 高级科技卡片样式 */
.card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.9) 0%, rgba(15, 20, 35, 0.9) 100%);
    backdrop-filter: blur(20px);
    margin-bottom: 15px;
    padding: 15px 15px;
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* 卡片光效 */
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 123, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.card:hover::before {
    opacity: 1;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 15px 45px rgba(0, 123, 255, 0.3),
        0 0 30px rgba(138, 43, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.4);
}

.card img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid rgba(0, 123, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.card:hover img {
    transform: scale(1.1) rotate(3deg);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
}

/* 导航栏科技风格 */
.navigation {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding: 15px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8) 0%, rgba(15, 20, 35, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.navigation a {
    text-decoration: none;
    color: #00d4ff;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(138, 43, 226, 0.1) 100%);
    border: 1px solid rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navigation a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.navigation a:hover::before {
    width: 300px;
    height: 300px;
}

.navigation a:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.3) 0%, rgba(138, 43, 226, 0.3) 100%);
    border-color: rgba(0, 255, 255, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4);
}

.card-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.card-text h3 {
    color: #00d4ff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    letter-spacing: 0.5px;
}

.card-text p {
    color: #b0b8c8;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 5px;
}

.footer {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.9) 0%, rgba(15, 20, 35, 0.9) 100%);
    backdrop-filter: blur(20px);
    color: #b0b8c8;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    font-size: 14px;
}

/* 高级科技按钮 */
.custom-button {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2) 0%, rgba(138, 43, 226, 0.2) 100%);
    color: #00d4ff;
    border: 1px solid rgba(0, 123, 255, 0.4);
    border-radius: 8px;
    padding: 8px 16px;
    margin: 5px 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.custom-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.custom-button:hover::before {
    left: 100%;
}

.custom-button:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.4) 0%, rgba(138, 43, 226, 0.4) 100%);
    border-color: rgba(0, 255, 255, 0.6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 123, 255, 0.4),
        0 0 20px rgba(0, 255, 255, 0.3);
}

.custom-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

h3 {
    margin-bottom: 8px;
}

p {
    margin-top: 5px;
}

/* 强调文本样式 */
strong {
    color: #00d4ff;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

span[style*="color: red"] {
    color: #ff4757 !important;
    text-shadow: 0 0 5px rgba(255, 71, 87, 0.3);
}

span[style*="color: green"] {
    color: #2ed573 !important;
    text-shadow: 0 0 5px rgba(46, 213, 115, 0.3);
}

/* 链接样式优化 */
a {
    position: relative;
    z-index: 1;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .card {
        padding: 12px;
    }
    
    .card img {
        width: 70px;
        height: 70px;
    }
    
    .card-text h3 {
        font-size: 16px;
    }
    
    .card-text p {
        font-size: 13px;
    }
    
    .custom-button {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .navigation a {
        width: 100%;
        text-align: center;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 20, 35, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.5) 0%, rgba(138, 43, 226, 0.5) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.8) 0%, rgba(138, 43, 226, 0.8) 100%);
}
