/* ==================== 公共样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f5f5f5;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .gradient-body::before {
        background-size: 30px 30px;
        animation-duration: 25s;
    }

    .gradient-body::after {
        animation-duration: 12s;
    }
}

/* ==================== 赛博朋克动态背景 ==================== */
.gradient-body {
    background: #0a0a0f;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.gradient-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(0,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.gradient-body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0,255,255,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255,0,255,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(255,255,0,0.1) 0%, transparent 40%);
    animation: neonFlow 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes neonFlow {
    0% {
        opacity: 0.5;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(1deg);
    }
    100% {
        opacity: 0.7;
        transform: scale(0.95) rotate(-1deg);
    }
}

.gradient-body .header {
    background: rgba(10,10,15,0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0,255,255,0.2);
    box-shadow:
        0 2px 20px rgba(0,0,0,0.12),
        inset 0 -1px 0 rgba(255,255,255,0.08);
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .gradient-body .header {
        padding: 12px 15px;
    }
}

.gradient-body .logo {
    font-size: 24px;
    color: #00ffff;
    font-weight: bold;
    text-decoration: none;
    text-shadow:
        0 0 10px rgba(0,255,255,0.8),
        0 0 20px rgba(0,255,255,0.5),
        0 0 30px rgba(0,255,255,0.3);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        text-shadow:
            0 0 10px rgba(0,255,255,0.8),
            0 0 20px rgba(0,255,255,0.5),
            0 0 30px rgba(0,255,255,0.3);
    }
    100% {
        text-shadow:
            0 0 15px rgba(0,255,255,1),
            0 0 30px rgba(0,255,255,0.8),
            0 0 45px rgba(0,255,255,0.5);
    }
}

.gradient-body .nav a {
    color: #ff00ff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    text-shadow: 0 0 8px rgba(255,0,255,0.6);
    transition: all 0.3s;
    position: relative;
}

.gradient-body .nav a:hover {
    color: #fff;
    text-shadow:
        0 0 10px rgba(255,0,255,1),
        0 0 20px rgba(255,0,255,0.8),
        0 0 30px rgba(255,255,0,0.6);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .gradient-body .logo {
        font-size: 18px;
    }
    
    .gradient-body .nav a {
        margin-left: 12px;
        font-size: 12px;
    }
}

.gradient-body .hero {
    text-align: center;
    padding: 30px 20px 20px;
    color: #fff;
    flex-shrink: 0;
    position: relative;
}

.gradient-body .hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow:
        0 0 10px rgba(0,255,255,0.8),
        0 0 20px rgba(255,0,255,0.6);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow:
            0 0 10px rgba(0,255,255,0.8),
            0 0 20px rgba(255,0,255,0.6);
    }
    100% {
        text-shadow:
            0 0 15px rgba(255,255,0,1),
            0 0 30px rgba(0,255,255,0.8),
            0 0 40px rgba(255,0,255,0.6);
    }
}

@media (max-width: 768px) {
    .gradient-body .hero {
        padding: 20px 15px 15px;
    }

    .gradient-body .hero h1 {
        font-size: 28px;
    }

    .gradient-body .hero p {
        font-size: 14px;
    }
}

.gradient-body .hero p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.gradient-body .search-box {
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
}

.gradient-body .search-box input {
    width: 100%;
    padding: 20px 120px 20px 25px;
    border: 2px solid rgba(0,255,255,0.3);
    border-radius: 50px;
    font-size: 16px;
    background: rgba(10,10,15,0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #00ffff;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.15),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transition: all 0.35s ease;
}

.gradient-body .search-box input::placeholder {
    color: rgba(0,255,255,0.5);
}

.gradient-body .search-box input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow:
        0 0 30px rgba(0,255,255,0.6),
        0 0 50px rgba(255,0,255,0.3),
        inset 0 0 20px rgba(0,255,255,0.2);
}

.gradient-body .search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow:
        0 0 20px rgba(0,255,255,0.5),
        0 0 40px rgba(255,0,255,0.3);
    transition: all 0.3s;
    text-shadow: none;
}

.gradient-body .search-box button:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
    box-shadow:
        0 0 30px rgba(0,255,255,0.8),
        0 0 60px rgba(255,0,255,0.6),
        0 0 80px rgba(255,255,0,0.4);
}

@media (max-width: 768px) {
    .gradient-body .search-box {
        margin-bottom: 30px;
    }
    
    .gradient-body .search-box input {
        padding: 15px 100px 15px 20px;
        font-size: 14px;
    }
    
    .gradient-body .search-box button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

.gradient-body .categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding: 0 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-body .category-tag {
    background: rgba(10,10,15,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #00ffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid rgba(0,255,255,0.25);
    box-shadow:
        0 0 12px rgba(0,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.gradient-body .category-tag:hover {
    background: rgba(0,255,255,0.2);
    color: #fff;
    border-color: #00ffff;
    box-shadow:
        0 0 20px rgba(0,255,255,0.6),
        0 0 40px rgba(255,0,255,0.4);
    transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
    .gradient-body .categories {
        gap: 8px;
    }
    
    .gradient-body .category-tag {
        padding: 8px 15px;
        font-size: 13px;
    }
}

.gradient-body .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
    width: 100%;
    flex: 1;
    position: relative;
}

.gradient-body .section-title {
    color: #00ffff;
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    text-shadow:
        0 0 8px rgba(0,255,255,0.6),
        0 0 16px rgba(255,0,255,0.4);
}

.detail-page .section-title {
    color: #333;
}

.gradient-body .main {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
    flex: 1;
    width: 100%;
}

@media (max-width: 768px) {
    .gradient-body .main {
        margin: 15px auto;
        padding: 0 15px;
    }
}

.gradient-body .filter-bar {
    background: rgba(10,10,15,0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,255,255,0.2);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .gradient-body .filter-bar {
        padding: 12px 15px;
        gap: 8px;
    }
}

.gradient-body .filter-bar a {
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    color: rgba(0,255,255,0.7);
    background: rgba(0,255,255,0.1);
    border: 1px solid rgba(0,255,255,0.2);
    transition: all 0.3s;
}

.gradient-body .filter-bar a:hover,
.gradient-body .filter-bar a.active {
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f;
    font-weight: 600;
    box-shadow:
        0 0 15px rgba(0,255,255,0.5),
        0 0 25px rgba(255,0,255,0.4);
}

.gradient-body .results-info {
    color: rgba(0,255,255,0.9);
    margin-bottom: 20px;
    font-size: 14px;
    text-shadow:
        0 0 6px rgba(0,255,255,0.5),
        0 0 12px rgba(0,255,255,0.3);
}

.gradient-body .results-info span {
    font-weight: bold;
    color: #ff00ff;
    text-shadow:
        0 0 8px rgba(255,0,255,0.6),
        0 0 16px rgba(255,0,255,0.3);
}

.gradient-body .resource-list {
    background: rgba(10,10,15,0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,255,255,0.2);
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.gradient-body .resource-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
    border-bottom: 1px solid rgba(0,255,255,0.2);
    transition: all 0.3s;
    cursor: pointer;
}

@media (max-width: 768px) {
    .gradient-body .resource-item {
        padding: 15px;
    }
}

.gradient-body .resource-item:last-child {
    border-bottom: none;
}

.gradient-body .resource-item:hover {
    background: rgba(0,255,255,0.08);
    box-shadow:
        inset 3px 0 0 #00ffff,
        inset -3px 0 0 #ff00ff;
}

.gradient-body .resource-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #00ffff;
}

.gradient-body .resource-item h3 a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s;
}

.gradient-body .resource-item h3 a:hover {
    color: #ff00ff;
    text-shadow:
        0 0 8px rgba(255,0,255,0.8),
        0 0 16px rgba(255,0,255,0.5);
}

.gradient-body .resource-item .desc {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.gradient-body .resource-item .meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    color: rgba(0,255,255,0.7);
}

.gradient-body .resource-item .meta .pan-badge {
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    box-shadow:
        0 0 8px rgba(0,255,255,0.4),
        0 0 16px rgba(255,0,255,0.3);
}

.gradient-body .pagination {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 20px;
}

.gradient-body .pagination a,
.gradient-body .pagination span {
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s;
    font-size: 14px;
}

.gradient-body .pagination a:hover {
    background: rgba(255,255,255,0.4);
}

.gradient-body .pagination a.active {
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f;
    font-weight: bold;
    box-shadow:
        0 0 15px rgba(0,255,255,0.5),
        0 0 25px rgba(255,0,255,0.4);
}

.gradient-body .empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(10,10,15,0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,255,255,0.18);
    border-radius: 12px;
    color: rgba(0,255,255,0.8);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.gradient-body .resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .gradient-body .resource-grid {
        grid-template-columns: 1fr;
    }
}

.gradient-body .resource-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(10,10,15,0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,255,255,0.2);
    border-radius: 12px;
    padding: 20px;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.08);
    transition: all 0.35s ease;
    cursor: pointer;
}

.gradient-body .resource-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.4),
        0 0 25px rgba(0,255,255,0.4),
        0 0 40px rgba(255,0,255,0.2),
        inset 0 0 30px rgba(0,255,255,0.1);
    border-color: #00ffff;
}

.gradient-body .resource-card h3 {
    font-size: 16px;
    color: #00ffff;
    margin-bottom: 12px;
    line-height: 1.5;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gradient-body .resource-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.gradient-body .resource-card h3 a:hover {
    color: #ff00ff;
    text-shadow:
        0 0 8px rgba(255,0,255,0.8),
        0 0 16px rgba(255,0,255,0.5);
}

.gradient-body .resource-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(0,255,255,0.7);
    font-size: 13px;
}

.gradient-body .resource-card .pan-type {
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    box-shadow:
        0 0 10px rgba(0,255,255,0.4),
        0 0 20px rgba(255,0,255,0.3);
}

.gradient-body .empty-state {
    text-align: center;
    padding: 40px;
    background: rgba(10,10,15,0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,255,255,0.18);
    border-radius: 12px;
    color: rgba(0,255,255,0.8);
    font-size: 14px;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
}

.gradient-body .footer {
    background: rgba(10,10,15,0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: rgba(0,255,255,0.8);
    text-align: center;
    padding: 20px;
    font-size: 14px;
    flex-shrink: 0;
    border-top: 1px solid rgba(0,255,255,0.2);
    box-shadow:
        0 -2px 20px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
    z-index: 10;
}

.gradient-body .footer a {
    color: #ff00ff;
    text-decoration: none;
    text-shadow: 0 0 6px rgba(255,0,255,0.6);
}

.gradient-body .footer a:hover {
    color: #fff;
    text-shadow:
        0 0 10px rgba(255,0,255,1),
        0 0 20px rgba(0,255,255,0.6);
}

/* ==================== 白色背景页面 ==================== */
.white-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.white-body .header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
}

@media (max-width: 768px) {
    .white-body .header {
        padding: 15px;
    }
}

.white-body .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .white-body .header-container {
        flex-direction: column;
        gap: 15px;
    }
}

.white-body .logo {
    font-size: 24px;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.white-body .nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.white-body .search-box-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.white-body .search-box-wrapper input {
    width: 100%;
    padding: 15px 60px 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    box-sizing: border-box;
}

.white-body .search-box-wrapper input:focus {
    outline: none;
}

.white-body .search-box-wrapper button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
}

@media (max-width: 768px) {
    .white-body .search-box-wrapper button {
        padding: 10px 18px;
        font-size: 13px;
    }
}

.white-body .main {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
    flex: 1;
    width: 100%;
}

@media (max-width: 768px) {
    .white-body .main {
        margin: 15px auto;
        padding: 0 15px;
    }
}

.white-body .filter-bar {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

@media (max-width: 768px) {
    .white-body .filter-bar {
        padding: 12px 15px;
        gap: 8px;
    }
}

.white-body .filter-bar a {
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    transition: all 0.3s;
}

.white-body .filter-bar a:hover,
.white-body .filter-bar a.active {
    background: #667eea;
    color: white;
}

.white-body .results-info {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.white-body .results-info span {
    color: #667eea;
    font-weight: bold;
}

.white-body .resource-list {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.white-body .resource-item {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

@media (max-width: 768px) {
    .white-body .resource-item {
        padding: 15px;
    }
}

.white-body .resource-item:last-child {
    border-bottom: none;
}

.white-body .resource-item:hover {
    background: #fafafa;
}

.white-body .resource-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.white-body .resource-item h3 a {
    color: #333;
    text-decoration: none;
}

.white-body .resource-item h3 a:hover {
    color: #667eea;
}

.white-body .resource-item .desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.white-body .resource-item .meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 13px;
    color: #999;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .white-body .resource-item .meta {
        gap: 8px;
        font-size: 12px;
    }
}

.white-body .resource-item .meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.white-body .pan-badge {
    background: #667eea;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.white-body .pan-badge.baidu {
    background: #2932e1;
}

.white-body .pan-badge.aliyun {
    background: #00b4ff;
}

.white-body .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.white-body .empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.white-body .empty-state p {
    font-size: 14px;
}

.white-body .pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .white-body .pagination {
        gap: 5px;
    }
}

.white-body .pagination a {
    padding: 10px 15px;
    background: white;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 14px;
}

@media (max-width: 480px) {
    .white-body .pagination a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

.white-body .pagination a:hover,
.white-body .pagination a.active {
    background: #667eea;
    color: white;
}

.white-body .footer {
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 14px;
}

/* ==================== 详情页面 ==================== */
.detail-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .detail-container {
        margin: 15px auto;
        padding: 0 15px;
    }
}

.detail-card {
    background: rgba(10,10,15,0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,255,255,0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .detail-card {
        padding: 20px;
        border-radius: 10px;
    }
}

.detail-title {
    font-size: 24px;
    color: #00ffff;
    margin-bottom: 15px;
    line-height: 1.5;
    text-shadow:
        0 0 8px rgba(0,255,255,0.6),
        0 0 16px rgba(255,0,255,0.4);
}

@media (max-width: 768px) {
    .detail-title {
        font-size: 20px;
    }
}

.detail-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,255,255,0.2);
}

@media (max-width: 480px) {
    .detail-meta {
        gap: 10px;
        font-size: 13px;
    }
}

.detail-meta span {
    color: rgba(0,255,255,0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-desc {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

@media (max-width: 768px) {
    .detail-desc {
        font-size: 14px;
    }
}

.detail-section {
    margin-bottom: 25px;
}

.detail-section h4 {
    font-size: 16px;
    color: #ff00ff;
    margin-bottom: 12px;
    text-shadow:
        0 0 6px rgba(255,0,255,0.6),
        0 0 12px rgba(255,0,255,0.3);
}

.detail-info {
    background: rgba(0,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0,255,255,0.2);
}

@media (max-width: 768px) {
    .detail-info {
        padding: 15px;
    }
}

.detail-info p {
    margin-bottom: 10px;
    font-size: 14px;
    word-break: break-all;
    color: rgba(255,255,255,0.8);
}

.detail-info p:last-child {
    margin-bottom: 0;
}

.detail-info strong {
    color: #00ffff;
    display: inline-block;
    width: 80px;
    text-shadow:
        0 0 6px rgba(0,255,255,0.5),
        0 0 12px rgba(0,255,255,0.3);
}

@media (max-width: 480px) {
    .detail-info strong {
        width: 70px;
        font-size: 13px;
    }

    .detail-info p {
        font-size: 13px;
    }
}

.pan-link {
    display: inline-block;
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f !important;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    box-shadow:
        0 5px 20px rgba(0,255,255,0.4),
        0 0 30px rgba(255,0,255,0.3);
}

.pan-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(0,255,255,0.8),
        0 0 40px rgba(255,0,255,0.6),
        0 0 60px rgba(255,255,0,0.4);
    color: #fff !important;
}

@media (max-width: 768px) {
    .pan-link {
        display: block;
        padding: 12px 20px;
        font-size: 14px;
    }
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #ff00ff;
    text-decoration: none;
    font-size: 14px;
    text-shadow:
        0 0 6px rgba(255,0,255,0.6),
        0 0 12px rgba(255,0,255,0.3);
    transition: all 0.3s;
}

.back-link:hover {
    color: #00ffff;
    text-shadow:
        0 0 10px rgba(0,255,255,0.8),
        0 0 20px rgba(0,255,255,0.5);
}

.back-link:hover {
    text-decoration: underline;
}

/* ==================== 搜索框动画与状态 ==================== */
.search-form-wrapper {
    position: relative;
}

.notice-box {
    margin-top: 15px;
    background: rgba(10,10,15,0.9);
    border: 1px solid rgba(0,255,255,0.3);
    border-radius: 8px;
    padding: 12px 16px;
    display: none;
    text-align: left;
    box-shadow:
        0 0 15px rgba(0,255,255,0.2),
        inset 0 0 15px rgba(0,255,255,0.05);
}

.status-local {
    color: #00ffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    display: none;
    text-shadow:
        0 0 6px rgba(0,255,255,0.6),
        0 0 12px rgba(0,255,255,0.3);
}

.status-web {
    color: #ff00ff;
    font-size: 14px;
    font-weight: bold;
    display: none;
    text-shadow:
        0 0 6px rgba(255,0,255,0.6),
        0 0 12px rgba(255,0,255,0.3);
}

.status-collect {
    color: #ffff00;
    font-size: 14px;
    font-weight: bold;
    text-shadow:
        0 0 6px rgba(255,255,0,0.6),
        0 0 12px rgba(255,255,0,0.3);
}

/* ==================== 404 页面样式 ==================== */
.error-page-content {
    text-align: center;
    padding: 100px 20px;
}

.error-code {
    color: white;
    font-size: 100px;
    opacity: 0.3;
    margin-bottom: 20px;
}

.error-icon {
    color: white;
    font-size: 80px;
    margin-bottom: 20px;
}

.error-title {
    color: #00ffff;
    margin-bottom: 30px;
    text-shadow:
        0 0 10px rgba(0,255,255,0.8),
        0 0 20px rgba(255,0,255,0.6);
}

.error-desc {
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
}

.error-msg-text {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.error-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow:
        0 5px 20px rgba(0,255,255,0.4),
        0 0 30px rgba(255,0,255,0.3);
}

.error-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(0,255,255,0.8),
        0 0 40px rgba(255,0,255,0.6),
        0 0 60px rgba(255,255,0,0.4);
}

/* ==================== 后台管理页面 ==================== */
.admin-body {
    background: #f5f5f5;
    min-height: 100vh;
}

.admin-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .admin-header {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
    }
}

.admin-logo {
    font-size: 22px;
    font-weight: bold;
    color: white;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
}

.admin-user a {
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .admin-logo {
        font-size: 18px;
    }
    .admin-user {
        font-size: 14px;
    }
}

.admin-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

@media (max-width: 768px) {
    .admin-container {
        flex-direction: column;
    }
}

.admin-sidebar {
    width: 240px;
    background: #fff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .admin-sidebar {
        width: 100%;
        box-shadow: none;
    }
    .admin-sidebar ul {
        padding: 10px 0;
        text-align: center;
    }
    .admin-sidebar li {
        display: inline-block;
    }
    .admin-sidebar li a {
        padding: 10px 15px;
    }
}

.admin-sidebar ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
}

.admin-sidebar li a {
    display: block;
    padding: 14px 28px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
}

.admin-sidebar li a:hover,
.admin-sidebar li a.active {
    background: #f0f0f0;
    color: #667eea;
}

.admin-main {
    flex: 1;
    padding: 30px;
}

@media (max-width: 768px) {
    .admin-main {
        padding: 15px;
    }
}

/* ==================== 后台通用组件 ==================== */
.page-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px; 
    flex-wrap: wrap; 
    gap: 15px; 
}

.page-title { 
    font-size: 24px; 
    color: #333; 
    margin: 0; 
}

.admin-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .admin-card {
        padding: 20px;
    }
}

.admin-card-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-title.no-border {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .admin-card-title {
        font-size: 16px;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Toggle Switch 开关组件 */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 28px;
}

.toggle-slider > span:last-child {
    position: absolute;
    content: '';
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #28a745;
}

.toggle-switch input:checked + .toggle-slider > span:last-child,
.toggle-slider.active > span:last-child {
    transform: translateX(28px);
}

.toggle-switch input:focus + .toggle-slider {
    box-shadow: 0 0 1px #28a745;
}

@media (max-width: 768px) {
    .toggle-switch {
        transform: scale(0.95);
    }
}

/* ==================== 仪表盘控制台 ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.stat-box h3 {
    color: #666;
    font-size: 15px;
    margin-bottom: 10px;
}

.stat-box .num {
    font-size: 32px;
    font-weight: bold;
    color: #667eea;
}

@media (max-width: 480px) {
    .stat-box .num {
        font-size: 26px;
    }
}

/* ==================== 标签页 ==================== */
.tab-buttons { 
    display: flex; 
    gap: 10px; 
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.tab-btn:hover { background: #f0f0f0; }
.tab-btn.active { background: #667eea; color: white; }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ==================== 状态与提示 ==================== */
.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}
.status-active { background: #e3f2fd; color: #0d6efd; }
.status-inactive { background: #f8d7da; color: #dc3545; }

.status-enabled { color: #28a745; font-weight: 600; }
.status-disabled { color: #dc3545; font-weight: 600; }

.alert { padding: 15px 20px; border-radius: 8px; margin-bottom: 20px; font-size: 15px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }

/* ==================== 按钮与表单控件组 ==================== */
.btn-group { display: flex; gap: 15px; margin-top: 25px; flex-wrap: wrap; }
@media (max-width: 480px) {
    .btn-group { flex-direction: column; }
    .btn-group button, .btn-group a { width: 100%; text-align: center; }
}

.switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #667eea;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* ==================== 模态框 ==================== */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); align-items: center; justify-content: center; }
.modal.show { display: flex; }
.modal-content { background-color: #fff; padding: 25px; border-radius: 12px; width: 100%; max-width: 400px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); animation: modalFadeIn 0.3s; }
@keyframes modalFadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.modal-title { font-size: 18px; font-weight: 600; color: #333; margin: 0; }
.close { color: #aaa; font-size: 24px; font-weight: bold; cursor: pointer; transition: color 0.2s; }
.close:hover { color: #333; }
.modal-footer { margin-top: 25px; display: flex; justify-content: flex-end; gap: 10px; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.admin-table th,
.admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .admin-table {
        display: block;
        overflow-x: auto;
    }
}

.admin-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.admin-table tr:hover {
    background: #fafafa;
}

.admin-table .actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .admin-table .actions {
        flex-direction: column;
        gap: 5px;
    }
}

.admin-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    line-height: 1.5;
}

.admin-btn-primary {
    background: #667eea;
    color: white;
}

.admin-btn-primary:hover {
    background: #5a6fd6;
}

.admin-btn-danger {
    background: #dc3545;
    color: white;
}

.admin-btn-danger:hover {
    background: #c82333;
}

.admin-btn-success {
    background: #28a745;
    color: white;
}

.admin-btn-success:hover {
    background: #218838;
}

.admin-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .admin-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .admin-btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* ==================== 表单样式 ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

@media (max-width: 768px) {
    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1.5;
}

.form-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .form-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    /* 只在独立按钮时才全宽显示 */
    .btn-group .form-btn,
    form > .form-btn:last-of-type,
    form > .btn:last-of-type {
        width: 100%;
    }
}

/* 为 .form-group 内的所有表单元素统一样式（无需手动添加 form-control 类） */
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fff;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group select {
    appearance: auto;
    cursor: pointer;
    padding-right: 40px;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
    font-family: inherit;
}

@media (max-width: 768px) {
    .form-group input[type="text"],
    .form-group input[type="password"],
    .form-group input[type="email"],
    .form-group input[type="url"],
    .form-group input[type="number"],
    .form-group input[type="tel"],
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
}

/* ==================== 详情页面（新） ==================== */
.detail-page {
    background: #f5f5f5;
    min-height: 100vh;
}

.detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
}

.detail-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .detail-header {
        padding: 15px;
    }
    .detail-header-top {
        flex-direction: column;
        gap: 15px;
    }
}

.detail-header .logo {
    font-size: 24px;
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.detail-header .nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.detail-header .nav a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .detail-header .logo {
        font-size: 18px;
    }
    .detail-header .nav a {
        margin-left: 12px;
        font-size: 12px;
    }
}

.detail-main {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .detail-main {
        margin: 15px auto;
        padding: 0 15px;
    }
}

.detail-card {
    background: rgba(10,10,15,0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,255,255,0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .detail-card {
        padding: 20px;
        border-radius: 10px;
    }
}

.detail-title {
    font-size: 24px;
    color: #00ffff;
    margin-bottom: 15px;
    line-height: 1.5;
    text-shadow:
        0 0 8px rgba(0,255,255,0.6),
        0 0 16px rgba(255,0,255,0.4);
}

@media (max-width: 768px) {
    .detail-title {
        font-size: 20px;
    }
}

.detail-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,255,255,0.2);
}

@media (max-width: 480px) {
    .detail-meta {
        gap: 10px;
        font-size: 13px;
    }
}

.detail-meta span {
    color: rgba(0,255,255,0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-meta .pan-badge {
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    box-shadow:
        0 0 8px rgba(0,255,255,0.4),
        0 0 16px rgba(255,0,255,0.3);
}

.detail-meta .pan-badge.baidu {
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f;
}

.detail-meta .pan-badge.aliyun {
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f;
}

.detail-desc {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

@media (max-width: 768px) {
    .detail-desc {
        font-size: 14px;
    }
}

.download-section {
    background: rgba(0,255,255,0.05);
    border: 1px solid rgba(0,255,255,0.2);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow:
        0 0 15px rgba(0,255,255,0.1),
        inset 0 0 15px rgba(0,255,255,0.03);
}

@media (max-width: 768px) {
    .download-section {
        padding: 15px;
    }
}

.download-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #00ffff;
    text-shadow:
        0 0 6px rgba(0,255,255,0.6),
        0 0 12px rgba(0,255,255,0.3);
}

.download-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

@media (max-width: 480px) {
    .download-row {
        flex-direction: column;
    }
}

.download-row input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(0,255,255,0.4);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(10,10,15,0.9);
    color: #00ffff;
    box-shadow:
        0 0 10px rgba(0,255,255,0.2),
        inset 0 0 10px rgba(0,255,255,0.05);
}

.download-row input::placeholder {
    color: rgba(0,255,255,0.5);
}

.copy-btn {
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: #0a0a0f;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow:
        0 0 15px rgba(0,255,255,0.4),
        0 0 25px rgba(255,0,255,0.3);
    transition: all 0.3s;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 20px rgba(0,255,255,0.8),
        0 0 35px rgba(255,0,255,0.6);
}

@media (max-width: 480px) {
    .copy-btn {
        width: 100%;
        padding: 12px 20px;
    }
}

.extract-code {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0,255,255,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.extract-code span {
    color: rgba(0,255,255,0.8);
    font-size: 14px;
}

.extract-code strong {
    color: #ff00ff;
    font-size: 20px;
    font-weight: bold;
    text-shadow:
        0 0 8px rgba(255,0,255,0.6),
        0 0 16px rgba(255,0,255,0.3);
}

.tips {
    background: rgba(255,255,0,0.05);
    border: 1px solid rgba(255,255,0,0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tips h4 {
    color: #ffff00;
    margin-bottom: 10px;
    font-size: 14px;
    text-shadow:
        0 0 6px rgba(255,255,0,0.6),
        0 0 12px rgba(255,255,0,0.3);
}

.tips ul {
    color: rgba(255,255,255,0.8);
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

.related {
    margin-top: 25px;
}

.related h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #00ffff;
    text-shadow:
        0 0 8px rgba(0,255,255,0.6),
        0 0 16px rgba(255,0,255,0.4);
}

.related-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

@media (max-width: 480px) {
    .related-list {
        grid-template-columns: 1fr;
    }
}

.related-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 8px;
}

.related-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.related-item a:hover {
    color: #667eea;
}

.detail-page .footer {
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 14px;
}

/* ==================== 登录页面 ==================== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.login-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .login-card {
        padding: 30px 20px;
        border-radius: 10px;
    }
}

.login-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .login-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

.login-error {
    background: #fee;
    color: #c33;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.login-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
}

.login-link a:hover {
    text-decoration: underline;
}

/* ==================== 赛博朋克增强效果 ==================== */
.gradient-body .scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0,255,255,0.03) 51%,
        transparent 52%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

.gradient-body .cyber-particle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow:
        0 0 10px #00ffff,
        0 0 20px #00ffff;
    pointer-events: none;
    z-index: 1;
    animation: particleFloat 6s ease-in-out infinite;
}

.gradient-body .cyber-particle:nth-child(odd) {
    background: #ff00ff;
    box-shadow:
        0 0 10px #ff00ff,
        0 0 20px #ff00ff;
    animation-delay: -3s;
    animation-duration: 8s;
}

.gradient-body .cyber-particle:nth-child(3n) {
    background: #ffff00;
    box-shadow:
        0 0 10px #ffff00,
        0 0 20px #ffff00;
    animation-delay: -5s;
    animation-duration: 10s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    50% {
        transform: translate(100px, -200px) scale(1.5);
    }
}

.gradient-body .neon-border {
    position: relative;
}

.gradient-body .neon-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ffff);
    background-size: 400% 400%;
    border-radius: inherit;
    z-index: -1;
    animation: neonBorderGlow 8s ease infinite;
    filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s;
}

.gradient-body .neon-border:hover::before {
    opacity: 1;
}

@keyframes neonBorderGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.gradient-body .glitch-text {
    position: relative;
}

.gradient-body .glitch-text::before,
.gradient-body .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.gradient-body .glitch-text::before {
    color: #00ffff;
    z-index: -1;
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.gradient-body .glitch-text::after {
    color: #ff00ff;
    z-index: -2;
    animation: glitch-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-2px, 2px);
    }
    20% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(2px, -2px);
    }
    40% {
        clip-path: inset(43% 0 1% 0);
        transform: translate(-2px, 2px);
    }
    60% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(2px, -2px);
    }
    80% {
        clip-path: inset(54% 0 7% 0);
        transform: translate(-2px, 2px);
    }
    100% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(2px, -2px);
    }
}

@keyframes glitch-2 {
    0% {
        clip-path: inset(25% 0 58% 0);
        transform: translate(2px, -2px);
    }
    20% {
        clip-path: inset(54% 0 7% 0);
        transform: translate(-2px, 2px);
    }
    40% {
        clip-path: inset(58% 0 43% 0);
        transform: translate(2px, -2px);
    }
    60% {
        clip-path: inset(40% 0 61% 0);
        transform: translate(-2px, 2px);
    }
    80% {
        clip-path: inset(92% 0 1% 0);
        transform: translate(2px, -2px);
    }
    100% {
        clip-path: inset(43% 0 1% 0);
        transform: translate(-2px, 2px);
    }
}
