/* 404页面独有样式 */
.error-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.error-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 20, 39, 0.9) 0%, rgba(12, 20, 39, 0.7) 100%);
    z-index: -1;
}

.error-content {
    text-align: center;
    max-width: 800px;
    padding: 3rem;
    background: rgba(26, 36, 61, 0.7);
    border-radius: 16px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 110, 0.2);
    position: relative;
    overflow: hidden;
}

.error-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.05) 0%, transparent 100%);
    z-index: -1;
}

.error-code {
    font-size: 10rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    line-height: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.error-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.error-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.qrcode-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(12, 20, 39, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qrcode-img {
    width: 200px;
    height: 200px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 8px;
    padding: 10px;
    background: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.qrcode-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.qrcode-text {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.qrcode-note {
    font-size: 0.9rem;
    color: var(--text-dark);
    max-width: 300px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .error-code {
        font-size: 5rem;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
    
    .qrcode-img {
        width: 150px;
        height: 150px;
    }
}